VRBL-INV-AE-1p0-115
Basic Info
| Rule | When the Seller provides multiple Seller Party Tax Scheme Group, there MUST be no more than two, and exactly one MUST use the Tax Scheme ID 'VAT'. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
count(cac:PartyTaxScheme) < 2
or
(
count(cac:PartyTaxScheme) = 2
and count(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']) = 1
)