Italy: Attachments

You can use these elements to attach files.

Use the AdditionalDocumentReference element and its sub-elements and attributes to attached Base 64 encoded Documents. For example, if you want to reference a human readable PDF version of the Document.

Italian Specification

DetailValue
Italian Specification 2.5 (Allegati)

Elements

ElementDescription
Invoice/AdditionalDocumentReference/IDSpecify an ID for the attachment.
Invoice/AdditionalDocumentReference/DocumentDescriptionSpecify a description.
Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObject [ mimeCode ]Specify the type of file. For example mimeCode="application/pdf
Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObject [ filename ]Specify the file name. For example human_readable_original.pdf
Invoice/AdditionalDocumentReference/Attachment/ EmbeddedDocumentBinaryObjectSpecify the binary object that represents the attached file. For example ZWNvc2lvIC0gY29ubmVjdGlvbnMgdGhhdCB3b3JrCg==

Restrictions

  • You must create a group for each attachment.

Example

<ubl:Invoice>
    <cac:AdditionalDocumentReference>
        <cbc:ID>human_readable_original.pdf</cbc:ID>
        <cbc:DocumentDescription>original invoice as sent by email</cbc:DocumentDescription>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="human_readable_original.pdf">ZWNvc2lvIC0gY29ubmVjdGlvbnMgdGhhdCB3b3JrCg==</cbc:EmbeddedDocumentBinaryObject>
        </cac:Attachment>
    </cac:AdditionalDocumentReference>
</ubl:Invoice>