VRBL-INV-SA-1p2-2

Basic Info

Rule The Buyer Tax Company ID must not match the Seller Tax ID.
Context /ubl:Invoice
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

count(cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID)=0 or (cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID)!= (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID)