Validation message

[UBL-SR-18]-Buyer VAT identifier shall occur maximum once

Context

/ubl:Invoice | /cn:CreditNote

XPath

1

(count(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)='VAT']/cbc:CompanyID) <= 1)

Used in business terms