#13822 Fix XRechnung export truncating item name to 40 characters
XRechnung export in the German E-Document app no longer cuts the line item name (BT-153) to 40 characters. The full line Description, up to its 100-character field length, is now exported for sales and service invoices and credit memos.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-11 by pri-kise (community contribution) · 2 files (+68 -2), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Removed 40-character limit on item names in XRechnung export for sales invoices and credit memos
- Full description field (up to 100 characters) is now exported without truncation
- Complies with XRechnung 3.0.2 specification and UBL 2.1 schema which have no length restriction on BT-153
- Added tests verifying that maximum-length item descriptions are properly exported
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 13916 “Export XRechnung Document”, EDocumentDE (DE layer): modified
Context
- Fixes: #13602 [Bug]: XRechnung export truncates item name (BT-153) to 40 characters (closed)
- Work items: AB#658779
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: integration
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- XMLport object — possibly related: XMLport objects export external documents like XRechnung with correct data formatting. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).