VRBL-INV-MX-1p0-88
Basic Info
| Rule | For a Foreign Trade Invoice, the Delivery Party Street Name must exist within the Delivery Party Address Group. |
| Context |
/ubl:Invoice/cac:Delivery/cac:DeliveryParty/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)
)