Credit To Document Assignment

This chapter provides an in-depth overview of the CreditToDocumentAssignment notification message, which is published when a credit is assigned to a document.

Notification Overview

Headers of the CreditToDocumentAssignmentNotification Notification

The following table lists the headers in the CreditToDocumentAssignmentNotification notification:

Header Description Value

X-Ocs-Io-transaction-id

ID of the transaction.

X-Ocs-Io-notification-code

Code of the Notification.

creditToDocumentAssignment

X-Ocs-Io-notification-payload

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

CreditToDocumentAssignmentNotification

Fields of the CreditToDocumentAssignmentNotification Notification Payload

The following table lists and describes the fields in the CreditToDocumentAssignmentNotification notification payload:

Field Description

effectiveDate

Effective Date/Time of the Notification.

account

ID (Ref ID / External ID) of the Account.

sourceDocumentNo

Number of the Source Document (Credit).

sourceDocumentExternalNo

External number of the Source Document (Credit).

targetDocumentNo

Number of the Target Document (Debt).

targetDocumentExternalNo

External number of the Target Document (Debt).

transactionAmount

Amount of the Transaction.

currency

Currency of the Document.

transactionCreatedDate

Date/Time when Transaction was created.

Detailed API documentation and endpoint specifics are available here.