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

Attachment File

Singapore | VRBL-Invoice-SG-1p4
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: 1A_VRBL_PINT-SG_INV_example_02_full_valid_invoice_1.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AdditionalDocumentReference>
    <!-- ... omitted for readability -->
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject filename="report.csv" mimeCode="text/csv">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-35 The Attachment Filename must exist within the Attachment File.
VRBL-INV-PEPPOL-PINT-262 The value of the Attachment Mime Code must be contained in MIME Media Types [VRBL-CL-PINT-MIMEMediaType]. Allowed values: application/pdf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/jpeg, image/png, text/csv.