UBL-CR-673: A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring…
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-673]-A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Document Description
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cbc:DocumentDescription)UBL-CR-673 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.
What this rule requires
This rule forbids the element //cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cbc:DocumentDescription in a UBL document. The test is not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cbc:DocumentDescription), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that element is present.
How to fix
Remove //cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cbc:DocumentDescription from the document. If your system always writes it, change the export so that it leaves this element out.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-673.
Validate an invoice against these rules · All release changes