/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment

Attachment Group

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV0220
Usage O

Description

A group containing an attached document or a external reference.

Child elements
Usage Element Description Cardinality
O cbc:EmbeddedDocumentBinaryObject Attachment File

A binary large object containing an attached document.

0..1
O cac:ExternalReference Attachment External Reference Group

A reference to an attached document that is external to the document(s) being exchanged.

0..1
Details

Example: NZ_CreditNote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AdditionalDocumentReference>
    <!-- ... omitted for readability -->
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="CN03.pdf">UGxhaW4gdGV4dCBpbiBwbGFjZSBvZiBwZGYgYXR0YWNobWVudCBmb3Igc2FtcGxlIGludm9pY2Vz</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>