UBL-SR-53: CompanyID (VAT Identifier) must be stated when providing the PartyTaxScheme/TaxScheme/ID
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-53]- CompanyID (VAT Identifier) must be stated when providing the PartyTaxScheme/TaxScheme/ID.
exists(cac:TaxScheme/cbc:ID) and exists(cbc:CompanyID)UBL-SR-53 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule applies to each cac:PartyTaxScheme. The test requires both cac:TaxScheme/cbc:ID and cbc:CompanyID to exist in that element. The message says CompanyID (VAT Identifier) must be stated when providing PartyTaxScheme/TaxScheme/ID; because the test uses and, a PartyTaxScheme missing either element fails. This is a fatal rule, so the document is rejected.
How to fix
Ensure every cac:PartyTaxScheme contains both cac:TaxScheme/cbc:ID and cbc:CompanyID. If cbc:CompanyID is missing, add the VAT identifier. If cac:TaxScheme/cbc:ID is missing, add the tax scheme identifier. Check the system that generates the invoice to include both elements whenever a PartyTaxScheme is used.
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-SR-53.
Validate an invoice against these rules · All release changes