#12148 [E-Documents Core] [Peppol] - Make PEPPOL Order Response conformant with BIS 28 (T76) and report the seller's decision
PEPPOL Order Response messages now conform to BIS 28 (T76) standard by including mandatory endpoint identifiers, order lines with status tracking, delivery dates, and seller's actual business decisions on sales orders.
- 26files
- 14AL files
- 14objects
Pull request · merged into main (BC30) on 2026-10-16 by GediminasGaubys (community contribution) · 26 files (+2766 -98), 14 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Both parties now get the mandatory cbc:EndpointID with schemeID, echoed from the inbound order or taken from GLN/VAT identification; missing setup raises an error
- Response code follows the seller’s decision: AP with no lines when nothing changed, CA with every order line when something changed
- Each line is reported as accepted (5), changed (3), not accepted (7) or added (1), with quantities, net prices and promised delivery periods in the buyer’s unit
- Order lines are compared with the sales lines linked via E-Doc. Record Link; Shipment Date and Planned Delivery Date are snapshotted on the draft line
- PEPPOL Order Resp. Builder takes primitives only, Build resets it, and calling SetLine* before AddLine raises an internal error
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6108 “E-Document Processing”, EDocument: modified
- Codeunit 6103 “E-Document Subscribers”, EDocument: modified
- Codeunit 6104 “Import E-Document Process”, EDocument: modified
- Codeunit 6427 “E-Doc. Sales Doc. Helper”, EDocument: modified
- Table 6153 “E-Document Sales Header”, EDocument: modified
- Table 6154 “E-Document Sales Line”, EDocument: modified
- Codeunit 6173 “E-Document PEPPOL Handler”, EDocument: modified
- Interface “IEDocResponseMessageBuilder”, EDocument: added
- Codeunit 6433 “E-Doc. Message Mgt.”, EDocument: modified
- Codeunit 6434 “E-Doc. PEPPOL Msg. Builder”, EDocument: modified
- Enum 6427 “E-Doc. Response Type”, EDocument: modified
- Enum 37202 “PEPPOL Electronic Addr. Scheme”, PEPPOL: added
- Codeunit 37224 “PEPPOL Electronic Address”, PEPPOL: added
- Codeunit 37209 “PEPPOL Order Resp. Builder”, PEPPOL: modified
Also merged into
- #12578 into
releases/29.xon 2026-10-16
Context
- Work items: AB#648723
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: integration
- From the description: “Makes the response follow the T76 syntax and derives the response from what the seller actually did on the sales order.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Electronic invoicing in Germany — possibly related: Documents electronic invoicing with PEPPOL format support that this PEPPOL order response conformance implements. (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).