VRBL-INV-EN16931-S-233

Basic Info

Rule The Buyer Tax Company ID used for VAT ID is expected no more than 1 times within the Invoice.
Context /ubl:Invoice
Pattern vrbl-invoice-en16931-ubl-syntax
Severity fatal

Used Template: CountLessEqualNumber

Parameter Value
probe = cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:CompanyID
displayName_probe = %{cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID} used for VAT ID
number = 1

Implementation

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