VRBL-INV-SA-1p2-40

Basic Info

Rule In case of a tax invoice, the Buyer Tax Company ID or the Buyer Party Legal Entity Company ID or the Buyer Party Identification ID must be present.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

$SA-SimplifiedInvoiceIndicator = 'true'
or
count(cac:PartyTaxScheme/cbc:CompanyID) > 0
or
count(cac:PartyLegalEntity/cbc:CompanyID) > 0
or
count(cac:PartyIdentification/cbc:ID) > 0