Fehlercodes · Peppol BIS 3.0
Only one Invoiced Object identifier is allowed at document level
So lautet die Ablehnung wörtlich: „[PEPPOL-EN16931-R006] PEPPOL-EN16931-R006 was a Peppol BIS 3 rule that rejected invoices carrying more than one AdditionalDocumentReference with DocumentTypeCode 130 (the 'Invoiced Object Identifier', BT-18) at document level. The rule was removed in later Peppol BIS releases because it duplicated UBL-SR-04, but validators built on older schematron snapshots — and many Stack Overflow answers written before the retirement — still reference it.“
Original assertion (CII flavour, since retired): count(ram:AdditionalReferencedDocument[ram:TypeCode='130']) <= 1. In UBL: count(cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']) <= 1. If your ERP emitted two or more Invoiced Object references (for instance, two separate 'contract' or 'project' identifiers), the rule fired as fatal. The rule was dropped because BR-01 / UBL-SR-04 already restrict BT-18 to a single occurrence at document level.
<cac:AdditionalDocumentReference> <cbc:ID schemeID="AAI">PO-9021</cbc:ID> <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> </cac:AdditionalDocumentReference> <cac:AdditionalDocumentReference> <cbc:ID schemeID="AAI">ASSET-771</cbc:ID> <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> </cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference> <cbc:ID schemeID="AAI">ASSET-771</cbc:ID> <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> </cac:AdditionalDocumentReference>