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)CardinalityDescription
Additional Document Reference (Invoice/AdditionalDocumentReference)0..nA group of elements providing information about additional supporting documents substantiating the claims made in the invoice.
Additional Document Reference ID (Invoice/AdditionalDocumentReference/ID)1..1An identifier of the supporting document.
Additional Document Reference Description (Invoice/AdditionalDocumentReference/DocumentDescription)0..1A description of the supporting document.
Attachment (Invoice/AdditionalDocumentReference/Attachment)0..1A group of elements providing information about an attached additional supporting document.
Attached Document (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject)0..1An attached document embedded as binary object, sent together with the invoice.
Attached Document Mime Code (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject @mimeCode)1..1The mime code of the attached document.
Attached Document Filename (Invoice/AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject @filename)1..1The filename of the attached document.
External Reference (Invoice/AdditionalDocumentReference/Attachment)0..1External reference.
External Document Location (Invoice/AdditionalDocumentReference/Attachment/ExternalReference/URI)1..1The 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:
NameFile ExternsionMIME Type
JPEG.jpgimage/jpg
Protected Document Format (PDF).pdfapplication/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).csvtext/csv
Plain Text.txttext/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>