UBL-SR-23: Seller tax representative VAT identifier shall occur maximum once, if the Seller has a…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-23]-Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative
(count(cac:PartyTaxScheme/cbc:CompanyID) <= 1)UBL-SR-23 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 requires that within cac:TaxRepresentativeParty there is at most one cac:PartyTaxScheme/cbc:CompanyID. A document fails when this element occurs more than once in the tax representative party.
How to fix
Remove or consolidate duplicate cac:PartyTaxScheme/cbc:CompanyID elements under cac:TaxRepresentativeParty so that only one remains. If the invoice is generated by a system, adjust the mapping so it emits a single VAT identifier for the seller tax representative.
Guidance on this rule. The original text above is authoritative.
Where to go next
UBL-SR-23 changed in 1 published Peppol BIS Billing UBL release comparison:
- UBL-SR-23 in 3.0.20 → 3.0.21: Test expression rewritten
Validate an invoice against these rules · All release changes