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
Detail | Value |
---|---|
Italian Specification | 2.5 (Allegati) |
Elements
Element | Description |
---|---|
Invoice/AdditionalDocumentReference/ID | Specify an ID for the attachment. |
Invoice/AdditionalDocumentReference/DocumentDescription | Specify 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/ EmbeddedDocumentBinaryObject | Specify 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>
Updated about 2 months ago