VRBL-INV-PL-B2B-3-1

Basic Info

Rule The Seller Party Identification Group used for TAX ID or the Seller Tax ID must exist.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-pl-b2b-3p0
Severity fatal

Implementation

boolean(cac:Party/cac:PartyIdentification[cbc:ID/@schemeID = concat($VRBL-PL-Prefix, 'TAX')])
or
boolean(cac:Party/cac:PartyTaxScheme/cbc:CompanyID)