VRBL-INV-TW-TX-B2C-1p0-7

Basic Info

Rule The Buyer Party Name Group must exist for Invoices.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party
Pattern vrbl-invoice-tw-tx-b2c-1p0
Severity fatal

Implementation

(
	not(/ubl:Invoice/cbc:InvoiceTypeCode = '380')
)
or
(
	boolean(cac:PartyName)
)