VRBL-INV-IT-1p2-96

Basic Info

Rule Either the Buyer Tax ID used as VAT ID or a Buyer Party Identification with Buyer Party ID Scheme ID equal to '0210' must be provided within Buyer Party.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party
Pattern vrbl-invoice-it-1p2
Severity fatal

Implementation

boolean(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:CompanyID) or boolean(cac:PartyIdentification[cbc:ID/@schemeID = '0210'])