Embedded Attachments in Predefined Invoice Messages

Invoice attachments can be at the header.

These tables list the predefined OAGIS 10.1 message definitions for outbound invoices and the Universal Business Language (UBL) invoice message definitions along with the XPath expressions for embedded attachments. This table lists the predefined OAGIS 10.1 message definitions OAGIS_10.1_PROCESS_INVOICE_OUT and OAGIS_10.1_PROCESS_INVOICE_OUT_V2 along with the XPath expressions for embedded attachments.

Message Definition

OAGIS_10.1_PROCESS_INVOICE_OUT, OAGIS_10.1_PROCESS_INVOICE_OUT_V2

Level

Header

Attachment Element XPath

/ProcessInvoice/DataArea/Invoice/InvoiceHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the predefined OAGIS 10.1 message definitions OAGIS_10.1_PROCESS_INVOICE_COLLAB_MSG_OUT and, OAGIS_10.1_PROCESS_INVOICE_COLLAB_MSG_OUT_V2 along with the XPath expressions for embedded attachments.

Message Definitions

OAGIS_10.1_PROCESS_INVOICE_COLLAB_MSG_OUT, OAGIS_10.1_PROCESS_INVOICE_COLLAB_MSG_OUT_V2

Level

Header

Attachment Element XPath

/CollaborationMessage/BusinessObjectDocument

/DataArea/Invoice/InvoiceHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the predefined UBL invoice message definitions UBL_2.1_INVOICE_OUT, UBL_2.1_INVOICE_IN, and UBL_EN_16391_INVOICE_IN along with the XPath expressions for embedded attachments.

Message Definition

UBL_2.1_INVOICE_OUT, UBL_2.1_INVOICE_IN, UBL_EN_16391_INVOICE_IN

Level

Header

Attachment Element XPath

/Invoice/AdditionalDocumentReference/Attachment/

Embedded Attachment location in the attachment element

/EmbeddedDocumentBinaryObject

File Identifier location in the attachment element

/EmbeddedDocumentBinaryObject/@uri

File Name location in the attachment element

/EmbeddedDocumentBinaryObject/@filename

File Type location in the attachment element

/EmbeddedDocumentBinaryObject/@mimeCode

File Size location in the attachment element

N/A

This table lists the predefined UBL invoice message definition UBL_2.1_CREDIT_NOTE_IN along with the XPath expressions for embedded attachments:

Message Definition

UBL_2.1_CREDIT_NOTE_IN

Level

Header

Attachment Element XPath

CreditNote/ AdditionalDocumentReference/Attachment/

Embedded Attachment location in the attachment element

/EmbeddedDocumentBinaryObject

File Identifier location in the attachment element

/EmbeddedDocumentBinaryObject/@uri

File Name location in the attachment element

/EmbeddedDocumentBinaryObject/@filename

File Type location in the attachment element

/EmbeddedDocumentBinaryObject/@mimeCode

File Size location in the attachment element

N/A