VRBL-INV-IN-1p0-118
Basic Info
| Rule | In case of Shipment Transport Mode Code indicating rail transport, the Additional Document Reference Group used for Transport Contract must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-in-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:AdditionalDocumentReference[cbc:ID/@schemeID = 'AAS']
|
| displayName_probe | = |
%{cac:AdditionalDocumentReference} used for Transport Contract
|
Implementation
(
not($RailTransport)
)
or
(
boolean(cac:AdditionalDocumentReference[cbc:ID/@schemeID = 'AAS'])
)