VRBL-INV-AE-1p0-71
Basic Info
| Rule | The Allowance Tax Scheme ID MUST be 'VAT' when the Seller Tax ID is provided. |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cac:TaxCategory/cac:TaxScheme
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
cbc:ID = 'VAT'
or
not(/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID)