VRBL-INV-SA-1p2-3

Basic Info

Rule The Invoice must contain the Seller Tax ID and the Seller Party Tax Scheme Group used for VAT ID.
Context /ubl:Invoice
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

((cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) != '' and (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme[cbc:ID = 'VAT']))