Peppol BIS Billing 3.0.20 · UBL

UBL-SR-13: Seller tax registration shall occur maximum once

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-SR-13]-Seller tax registration shall occur maximum once

Stored validation assertion
(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)!='VAT']/cbc:CompanyID) <= 1)

UBL-SR-13 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

The rule requires that in a UBL invoice or credit note, among cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme entries whose cac:TaxScheme/cbc:ID is not VAT (case-insensitive), there is at most one cbc:CompanyID. The message says seller tax registration shall occur maximum once, but the test as written counts only non-VAT tax schemes; VAT-typed tax schemes are not counted. A document fails because more than one such non-VAT cbc:CompanyID is present.

How to fix

Ensure that the cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme elements with a cac:TaxScheme/cbc:ID other than VAT contain no more than one cbc:CompanyID. If more than one is present, remove the additional non-VAT cac:PartyTaxScheme or its cbc:CompanyID, leaving at most one. VAT-typed cac:PartyTaxScheme entries are not restricted by this rule.

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-13.

Validate an invoice against these rules · All release changes