VRBL-INV-PT-SAF-T-1p0-11

Basic Info

Rule When Self-Billing is not indicated, the Seller Additional Account ID must exist within the Seller.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-pt-saft-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:AdditionalAccountID

Implementation

(
	normalize-space(/ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:SelfBillingIndicator) = 'true'
)
or
(
	boolean(cbc:AdditionalAccountID)
)