Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

[Bug]: ZUGFeRD Invoice: Seller Item Number (BT-155) not included in XML export - #29931

Merged
Jesper Schulz-Wedde (JesperSchulz) merged 1 commit into
microsoft:mainfrom
miljance:ZUGFeRDSellerItemNumber
May 11, 2026
Merged

Jesper Schulz-Wedde (JesperSchulz) merged 1 commit into
microsoft:mainfrom
miljance:ZUGFeRDSellerItemNumber

Conversation

@miljance

@miljance Miljan Milosavljević (miljance) commented Apr 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fix ZUGFeRD export missing SellerAssignedID (BT-155) Populate ram:SellerAssignedID within ram:SpecifiedTradeProduct on each invoice/credit memo line when the line item No. is non-empty. This aligns the ZUGFeRD export with the existing XRechnung behaviour and satisfies the EN 16931 BT-155 recommendation.

Affected files:

  • ExportZUGFeRDDocument.Codeunit.al: add SellerAssignedID before Name in InsertInvoiceLine and InsertCrMemoLine
  • ZUGFeRDXMLDocumentTests.Codeunit.al: assert SellerAssignedID in all eight Verify*Line helpers (sales/service invoice and credit memo, first and second line)

Work Item(s)

Fixes #29871
AB#622278

Populate ram:SellerAssignedID within ram:SpecifiedTradeProduct on each
invoice/credit memo line when the line item No. is non-empty. This
aligns the ZUGFeRD export with the existing XRechnung behaviour and
satisfies the EN 16931 BT-155 recommendation.

Affected files:
- ExportZUGFeRDDocument.Codeunit.al: add SellerAssignedID before Name
  in InsertInvoiceLine and InsertCrMemoLine
- ZUGFeRDXMLDocumentTests.Codeunit.al: assert SellerAssignedID in all
  eight Verify*Line helpers (sales/service invoice and credit memo,
  first and second line)

Fixes #29871
@djukicmilica Milica Đukić (djukicmilica) added the linked Issue is linked to a Azure Boards work item label Apr 23, 2026
@JesperSchulz Jesper Schulz-Wedde (JesperSchulz) added the processing-PR The PR is currently being reviewed label Apr 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Processing this PR. The branch is now locked 🔒 Please don't push updates unless otherwise agreed.

@JesperSchulz
Jesper Schulz-Wedde (JesperSchulz) merged commit 234988e into microsoft:main May 11, 2026
17 of 18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Finance GitHub request for Finance area linked Issue is linked to a Azure Boards work item processing-PR The PR is currently being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: ZUGFeRD Invoice: Seller Item Number (BT-155) not included in XML export

3 participants