Error codes · UBL 2.1
UBL-CR-026In your invoicing software
A UBL invoice should not include the BillingReference DocumentTypeCode
This is the rejection, word for word: „[UBL-CR-026] Your invoice contains BillingReference/DocumentTypeCode which is not allowed in EN16931. Only the document ID is permitted for billing references.“
What to have readyNothing. The file has to be re-exported from your invoicing software; we check it again afterwards.
What we doInvoice Navigator automatically removes the disallowed `cbc:DocumentTypeCode` element from your Invoice.
If you enter it yourself in your invoicing software
Before
<cac:InvoiceDocumentReference> <cbc:DocumentTypeCode>value</cbc:DocumentTypeCode> </cac:InvoiceDocumentReference>
After
<cac:InvoiceDocumentReference> <!-- cbc:DocumentTypeCode removed for EN 16931 compliance --> </cac:InvoiceDocumentReference>
Element order is part of the rule: if the element sits in the wrong place, the validator rejects with UBL-CR-026.
What the finding looks likeExample
FindingStructure invalid · UBL-CR-026
Location/Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:DocumentTypeCode
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check