VRBL-INV-IN-1p0-105
Basic Info
| Rule | When the Additional Document Reference Group used for Transport Contract is provided, the Shipment Transport Mode Code must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-in-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:Delivery/cac:Shipment/cac:ShipmentStage/cbc:TransportModeCode
|
Implementation
(
not(boolean(cac:AdditionalDocumentReference[cbc:ID/@schemeID = 'AAS']))
)
or
(
boolean(cac:Delivery/cac:Shipment/cac:ShipmentStage/cbc:TransportModeCode)
)