---
id: change/bcapps/12148
type: change
title: "#12148 [E-Documents Core] [Peppol] - Make PEPPOL Order Response conformant with BIS 28 (T76) and report the seller's decision"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit e-document processing
  - codeunit e-document subscribers
  - codeunit import e-document process
  - codeunit e-doc. sales doc. helper
  - table e-document sales header
  - table e-document sales line
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-19T01:10:56.721Z"
  flags: []
generated:
  at: "2026-11-24T00:13:35.655Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: e96e976513a3232497ba7b333447e6db2761d1ba
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12148
    title: "microsoft/BCApps#12148: [E-Documents Core] [Peppol] - Make PEPPOL Order Response conformant with BIS 28 (T76) and report the seller's decision"
    date: "2026-10-16"
    commit: e96e976513a3232497ba7b333447e6db2761d1ba
    t: null
    quote: Makes the response follow the T76 syntax and derives the response from what the seller actually did on the sales order.
links:
  learn: []
  objects:
    - object/codeunit/6108
    - object/codeunit/6103
    - object/codeunit/6104
    - object/codeunit/6427
    - object/table/6153
    - object/table/6154
    - object/codeunit/6173
    - object/interface/iedocresponsemessagebuilder
    - object/codeunit/6433
    - object/codeunit/6434
    - object/enum/6427
    - object/enum/37202
    - object/codeunit/37224
    - object/codeunit/37209
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Germany/germany-einvoicing
      title: Electronic invoicing in Germany
      label: possibly related
      why: Documents electronic invoicing with PEPPOL format support that this PEPPOL order response conformance implements.
      by: model
number: 12148
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12148
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-16T11:23:29Z"
author: GediminasGaubys
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 26
  additions: 2766
  deletions: 98
  al: 14
apps:
  - EDocument
  - PEPPOL
objects_touched:
  - key: codeunit/6108
    page: codeunit/6108
    type: codeunit
    id: 6108
    name: E-Document Processing
    app: EDocument
    status: modified
  - key: codeunit/6103
    page: codeunit/6103
    type: codeunit
    id: 6103
    name: E-Document Subscribers
    app: EDocument
    status: modified
  - key: codeunit/6104
    page: codeunit/6104
    type: codeunit
    id: 6104
    name: Import E-Document Process
    app: EDocument
    status: modified
  - key: codeunit/6427
    page: codeunit/6427
    type: codeunit
    id: 6427
    name: E-Doc. Sales Doc. Helper
    app: EDocument
    status: modified
  - key: table/6153
    page: table/6153
    type: table
    id: 6153
    name: E-Document Sales Header
    app: EDocument
    status: modified
  - key: table/6154
    page: table/6154
    type: table
    id: 6154
    name: E-Document Sales Line
    app: EDocument
    status: modified
  - key: codeunit/6173
    page: codeunit/6173
    type: codeunit
    id: 6173
    name: E-Document PEPPOL Handler
    app: EDocument
    status: modified
  - key: interface/iedocresponsemessagebuilder
    page: interface/iedocresponsemessagebuilder
    type: interface
    id: null
    name: IEDocResponseMessageBuilder
    app: EDocument
    status: added
  - key: codeunit/6433
    page: codeunit/6433
    type: codeunit
    id: 6433
    name: E-Doc. Message Mgt.
    app: EDocument
    status: modified
  - key: codeunit/6434
    page: codeunit/6434
    type: codeunit
    id: 6434
    name: E-Doc. PEPPOL Msg. Builder
    app: EDocument
    status: modified
  - key: enum/6427
    page: enum/6427
    type: enum
    id: 6427
    name: E-Doc. Response Type
    app: EDocument
    status: modified
  - key: enum/37202
    page: enum/37202
    type: enum
    id: 37202
    name: PEPPOL Electronic Addr. Scheme
    app: PEPPOL
    status: added
  - key: codeunit/37224
    page: codeunit/37224
    type: codeunit
    id: 37224
    name: PEPPOL Electronic Address
    app: PEPPOL
    status: added
  - key: codeunit/37209
    page: codeunit/37209
    type: codeunit
    id: 37209
    name: PEPPOL Order Resp. Builder
    app: PEPPOL
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12578
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12578
fixes_issues: []
work_items:
  - 648723
systems:
  - integration
quote: Makes the response follow the T76 syntax and derives the response from what the seller actually did on the sales order.
joined_against:
  major: "30"
  commit: eb2bfe5258a473c969a6b85cdc98ce8524408706
---

# #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](https://github.com/microsoft/BCApps/pull/12148) · 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"](../../objects/codeunit/6108.md), EDocument: modified
- [Codeunit 6103 "E-Document Subscribers"](../../objects/codeunit/6103.md), EDocument: modified
- [Codeunit 6104 "Import E-Document Process"](../../objects/codeunit/6104.md), EDocument: modified
- [Codeunit 6427 "E-Doc. Sales Doc. Helper"](../../objects/codeunit/6427.md), EDocument: modified
- [Table 6153 "E-Document Sales Header"](../../objects/table/6153.md), EDocument: modified
- [Table 6154 "E-Document Sales Line"](../../objects/table/6154.md), EDocument: modified
- [Codeunit 6173 "E-Document PEPPOL Handler"](../../objects/codeunit/6173.md), EDocument: modified
- [Interface "IEDocResponseMessageBuilder"](../../objects/interface/iedocresponsemessagebuilder.md), EDocument: added
- [Codeunit 6433 "E-Doc. Message Mgt."](../../objects/codeunit/6433.md), EDocument: modified
- [Codeunit 6434 "E-Doc. PEPPOL Msg. Builder"](../../objects/codeunit/6434.md), EDocument: modified
- [Enum 6427 "E-Doc. Response Type"](../../objects/enum/6427.md), EDocument: modified
- [Enum 37202 "PEPPOL Electronic Addr. Scheme"](../../objects/enum/37202.md), PEPPOL: added
- [Codeunit 37224 "PEPPOL Electronic Address"](../../objects/codeunit/37224.md), PEPPOL: added
- [Codeunit 37209 "PEPPOL Order Resp. Builder"](../../objects/codeunit/37209.md), PEPPOL: modified

## Also merged into

- [#12578](https://github.com/microsoft/BCApps/pull/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."

## 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](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Germany/germany-einvoicing) — 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).
