Document Documents

This chapter provides an in-depth overview of the DocumentDocuments business transaction message, which is published when a document is linked with another document.

Business Transaction Overview

Headers of the DocumentDocuments Business Transaction Message

The following table lists the headers in the DocumentDocuments business transaction message:

Header Description Value

X-Ocs-Io-transaction-id

ID of the transaction.

X-Ocs-Io-message-code

Code of the Message.

documentDocuments

X-Ocs-Io-message-payload

Name (JAVA’s Simple Name) of the Message’s Payload.

documentDocumentsEx

Fields of the DocumentDocument Business Transaction Payload

The following table lists and describes the fields in the DocumentDocument business transaction payload:

Field Description

refId

Ref ID of the Document.

account

ID of the Account.

sourceEntity

Source Entity (From).

  • 'DOCUMENT_AR' - Entity of type DocumentEx, used for Debt Documents (AR).

  • 'DOCUMENT_LIABILITY' - Entity of type DocumentEx, used for Credit Documents (LIABILITY).

targetEntity

Target Entity (To).

  • 'DOCUMENT_AR' - Entity of type DocumentEx, used for Debt Documents (AR).

  • 'DOCUMENT_LIABILITY' - Entity of type DocumentEx, used for Credit Documents (LIABILITY).

monetaryTransaction

Monetary Transaction - Document assigned to Document.

Detailed API documentation and endpoint specifics are available here.