VRBL: Additional Document References
You may want to model references to other documents.
You can use the AdditionalDocumentReference element to reference a supporting document.
Line-level references are explained in the Line Level Document Reference topic.
Elements
Use the AdditionalDocumentReference element to specify this information:
Name (Path) | Cardinality | Description |
---|---|---|
Additional Document Reference (Invoice/AdditionalDocumentReference ) | 0..n | A group of elements providing information about additional supporting documents substantiating the claims made in the invoice. |
Additional Document Reference ID (Invoice/AdditionalDocumentReference/ID ) | 1..1 | An identifier of the supporting document. |
Additional Document Reference Description (Invoice/AdditionalDocumentReference/DocumentDescription ) | 0..1 | A description of the supporting document. |
Attachment (Invoice/AdditionalDocumentReference/Attachment ) | 0..1 | A group of elements providing information about an attached additional supporting document. |
Attached Document (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject ) | 0..1 | An attached document embedded as binary object, sent together with the invoice. |
Attached Document Mime Code (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject @mimeCode ) | 1..1 | The mime code of the attached document. |
Attached Document Filename (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject @filename ) | 1..1 | The filename of the attached document. |
External Reference (Invoice/AdditionalDocumentReference/Attachment ) | 0..1 | External reference. |
External Document Location (Invoice/AdditionalDocumentReference/Attachment/ExternalReference/URI ) | 1..1 | The URL (Uniform Resource Locator) that identifies where the external document is located. |
Restrictions
- You must create a group for each attachment.
- The file formats differ for each country. Here is a selection:
Name | File Externsion | MIME Type |
---|---|---|
JPEG | .jpg | image/jpg |
Protected Document Format (PDF) | .pdf | application/pdf |
Microsoft Excel | .xls | - application/excel - application/vnd.ms-excel - application/x-excel - application/x-msexcel - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
Comma Separated Values (CSV) | .csv | text/csv |
Plain Text | .txt | text/txt |
Country-Specific configurations
Example
<Invoice>
<!-- code omitted for clarity -->
<cac:AdditionalDocumentReference>
<cbc:ID>100001D</cbc:ID>
<cbc:DocumentDescription>Time sheet<cbc:DocumentDescription>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/csv" filename="timesheet.csv">m9iZXJ0IFMuIHdhcyBoZXJlCg==</cbc:EmbeddedDocumentBinaryObject>
<cac:ExternalReference>
<cbc:URI>http://www.example.com/timesheet.html</cbc:URI>
</cac:ExternalReference>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<!-- code omitted for clarity -->
</Invoice>
Updated 14 days ago