code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#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.

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

Also merged into

  • #12578 into releases/29.x on 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.”

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).