Error codes · UBL 2.1

UBL-CR-104In your invoicing software

A UBL invoice should not include the ContractDocumentReference...

This is the rejection, word for word: „[UBL-CR-104] Your invoice contains ContractDocumentReference/DocumentStatusCode which is not allowed in EN16931 invoices.“

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:DocumentStatusCode` element from your Invoice (UBL-CR-104).
If you enter it yourself in your invoicing software
Before
<cac:ContractDocumentReference>
  <cbc:DocumentStatusCode>value</cbc:DocumentStatusCode>
</cac:ContractDocumentReference>
After
<cac:ContractDocumentReference>
  <!-- cbc:DocumentStatusCode removed for EN 16931 compliance -->
</cac:ContractDocumentReference>

Element order is part of the rule: if the element sits in the wrong place, the validator rejects with UBL-CR-104.

What the finding looks likeExample
FindingStructure invalid · UBL-CR-104
Location/Invoice/cac:ContractDocumentReference/cbc:DocumentStatusCode
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check