VRBL-INV-AE-1p0-69

Basic Info

Rule The Invoice Line Tax Scheme ID MUST be 'VAT' when the Seller Tax ID is provided.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/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)