Context
PT
/ubl:Invoice/cac:DespatchDocumentReference
VRBL-Invoice-PT-2p1 - Despatch Advice Reference
Portugal |
VRBL-Invoice-PT-2p1
| Context ID | INV0202 |
| Usage | O |
Description
A reference to a Despatch Advice associated with this document.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ID |
Despatch Advice Reference ID
An identifier for the referenced document. |
1..1 |
Details
Example: PT_invoice_380_ATM_payment.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:DespatchDocumentReference>
<cbc:ID>DN1234567890</cbc:ID>
</cac:DespatchDocumentReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PT-2p1-34 | The Despatch Advice Reference ID must be filled. |
| VRBL-INV-PT-2p1-35 | The Despatch Advice Reference ID does not meet the defined format: alphanumeric with size between 1 and 20. |