/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject

Attachment File

India | VRBL-Invoice-IN-1p0
Context ID INV0221
Usage O

Description

An attached document embedded as binary object (b64 encoded), sent together with the invoice.

Child elements
Usage Element Description Cardinality
M @filename Attachment Filename

The filename of the binary object.

0..1
O @mimeCode Attachment Mime Code

The mime type of the binary object.

1..1
Details

Example: IN_Credit-Note_with_E-way_bill.xml

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