VRBL-INV-MX-1p0-80

Basic Info

Rule For a Foreign Trade Invoice, the Buyer Street Name must exist within the Buyer Address Group.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
Pattern vrbl-invoice-mx-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:StreetName

Implementation

(
	not(../../../cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:DocumentSupplements/vrbl:Supplement = 'VRBL:MX:ForeignTrade')
)
or
(
	boolean(cbc:StreetName)
)