Context
NZ
/ubl:Invoice/cac:AdditionalDocumentReference
VRBL-Invoice-NZ-1p0 - Additional Document Reference Group
New Zealand |
VRBL-Invoice-NZ-1p0
| Context ID | INV0213 |
| Usage | O* |
Description
A group of business terms providing information about additional supporting documents or referenced documents substantiating the claims made in the Invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ID |
Additional Document Reference ID
An identifier for the referenced document. |
1..1 |
| O | cbc:DocumentTypeCode |
Additional Document Reference Document Type Code
The type of document being referenced, expressed as a code. |
0..1 |
| O | cbc:DocumentDescription |
Additional Document Reference Document Description
Text describing the referenced document. |
0..n |
| O | cac:Attachment |
Attachment Group
The referenced document as an attachment to the document from which it is referenced. |
0..1 |
Details
Example: NZ_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AdditionalDocumentReference>
<cbc:ID>CN03.pdf</cbc:ID>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="CN03.pdf">UGxhaW4gdGV4dCBpbiBwbGFjZSBvZiBwZGYgYXR0YWNobWVudCBmb3Igc2FtcGxlIGludm9pY2Vz</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-85 | The Additional Document Reference Group expects a maximum of one Additional Document Reference Document Type. |
| VRBL-INV-CORE-86 | The Additional Document Reference Group expects a maximum of one Additional Document Reference Document Description. |