VRBL-INV-TR-1p2-35

Basic Info

Rule If the Buyer Party contains a TCKN, the Buyer Person Group must exist within the Buyer Party.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party
Pattern vrbl-invoice-tr-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:Person

Implementation

(
	not(string-length(cac:PartyTaxScheme/cbc:CompanyID)=11)
)
or
(
	boolean(cac:Person)
)