Error codes · UBL 2.1

UBL-CR-301In your invoicing software

A UBL invoice should not include the TaxRepresentativeParty...

This is the rejection, word for word: „[UBL-CR-301] Your invoice contains an IndustryClassificationCode element in the TaxRepresentativeParty which is not allowed in EN16931 invoices. This element must be removed.

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

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

What the finding looks likeExample
FindingStructure invalid · UBL-CR-301
Location/Invoice/cac:TaxRepresentativeParty/cbc:IndustryClassificationCode
From youA re-exported file
ThenRe-export
ProofSHA-256 and /verify link after the check
UBL-CR-301: A UBL invoice should not include the TaxRepresentativeParty...