VRBL-INV-MX-1p0-92
Basic Info
|
Rule
|
For a Foreign Trade Invoice, the Invoice Line Customs Declaration Price Group must exist within the Invoice Line Customs Declaration. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceLineExtension/vrbl:CustomsDeclaration
|
|
Pattern
|
vrbl-invoice-mx-1p0 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:Price
|
Implementation
(
not(../../../../../../cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:DocumentSupplements/vrbl:Supplement = 'VRBL:MX:ForeignTrade' and cbc:CustomsTariffQuantity/@unitCode != '99')
)
or
(
boolean(cac:Price)
)