UBL-SR-18

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

About

ID
UBL-SR-18
Flag
fatal
Context
pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument
Test
(count(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)='VAT']/cbc:CompanyID) <= 1)