Rules
Basic Info
|
Rule
|
For a Foreign Trade Invoice, the Seller Address Line 1 must exist within the Seller Postal Address. |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/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)
)