Skip to content

[EDI] [E-document] Order Response is not conformant with Peppol BIS 3.0 and misreports the seller decision #11799

Description

Description

The generated Order Response omits elements that Peppol BIS 3.0 transaction T76 makes mandatory, and it reports a fixed response code that does not reflect what the seller actually did.

Findings

  • cbc:EndpointID with a schemeID attribute is mandatory (1..1) on both parties in T76. It is absent, so the document would be rejected by an Access Point.
  • No cac:OrderLine elements are written, so LineStatusCode, Quantity, and MaximumBackorderQuantity are never sent.
  • No dates are written, so cac:Delivery/cac:PromisedDeliveryPeriod is absent.
  • cbc:OrderResponseCode is hardcoded to AC (Accepted). Setting a line quantity to 0 in the Sales Order still produces an Accepted response.
  • cbc:ProfileID uses the order_only profile while the originating Order used the ordering profile.
  • cbc:ID is the internal E-Document entry number rather than a business document number.

Impact

The response actively misreports the seller decision, and every element required to express a partial, changed, or rejected acceptance is supported by the standard but is not written.

Steps to reproduce

  1. In the buyer company, send a Purchase Order containing three lines.
  2. In the seller company, change quantities and shipment dates on the Sales Order, and set one line quantity to 0.
  3. Release the Sales Order.
  4. Open the outgoing Order Response message and export the XML.
  5. Inspect the XML for cbc:EndpointID, cac:OrderLine, cac:Delivery, and cbc:OrderResponseCode.

Scope note

One requirement is not achievable in T76. cac:OrderReference contains only cbc:ID and carries no order date, and rule PEPPOL-T76-B25001 forbids additional elements, so the buyer order date part of the requirement should be dropped.

Fixes
AB#648723

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Team: IntegrationsGitHub request for Integrations area

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions