Payment Documents

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

Business Transaction Overview

Headers of the PaymentDocuments Business Transaction Message

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

Header Description Value

X-Ocs-Io-transaction-id

ID of the transaction.

X-Ocs-Io-message-code

Code of the Message.

paymentDocuments

X-Ocs-Io-message-payload

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

PaymentDocumentsEx

Fields of the PaymentDocumentsEx Business Transaction Payload

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

Field Description

refId

Ref ID of the Payment.

account

ID of the Account.

sourceEntity

Source Entity (From).

  • 'PAYMENT_IN' - Entity of type PaymentEx, used for Incoming payments.

  • 'PAYMENT_OUT' - Entity of type PaymentEx, used for Outgoing payments.

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 - Payment assigned to Document.

Detailed API documentation and endpoint specifics are available here.