Document Payments
This chapter provides an in-depth overview of the DocumentPayments business transaction message, which is published when a payment is linked with a document.
Business Transaction Overview
Headers of the DocumentPayments Business Transaction Message
The following table lists the headers in the DocumentPayments business transaction message:
| Header | Description | Value |
|---|---|---|
X-Ocs-Io-transaction-id |
ID of the transaction. |
|
X-Ocs-Io-message-code |
Code of the Message. |
|
X-Ocs-Io-message-payload |
Name (JAVA’s Simple Name) of the Message’s Payload. |
|
Fields of the DocumentPayments Business Transaction Payload
The following table lists and describes the fields in the DocumentPayments business transaction payload:
| Field | Description |
|---|---|
refId |
Ref ID of the Document. |
account |
ID of the Account. |
sourceEntity |
Source Entity (From).
|
targetEntity |
Target Entity (To).
|
monetaryTransaction |
Monetary Transaction - Payment assigned to Document. |
| Detailed API documentation and endpoint specifics are available here. |