• Register

Acccrual

This API allows to post accrual information based on the selected contract, invoice details and brand allocation. #### Request URI
#### Request Structure
API field Type Description Mandatory Technical Details
contractCode String Identifier of the commercial contract to be used for the accrual posting. Y
invoiceDate String Date of the invoice associated with the accrual posting. Y Format: YYYY-MM-DD.
companyCode String Company code under which the accrual is posted. Y
threshold String Threshold value to be considered during the accrual posting. N Decimal value.
invoiceNetAmount String Net amount of the invoice. Y Decimal value.
invoiceCurrencyCode String Currency of the invoice net amount. Y Use the ISO 4217 currency code, for example EUR.
creditNote String Indicates whether the invoice is a credit note. Y Expected values: true or false.
accrualCheckRequired String Indicates whether the accrual validation must be performed. Y Expected values: true or false.
invoiceItems (1..∞)
brandCode String Brand associated with the invoice amount. Y
amount String Invoice amount associated with the brand. Y Decimal value.
#### Request Example

#### Response Structure
API field Type Description
settlementDocumentNumber String Identifier of the settlement document created for the accrual.
accountingDocumentNumber String Identifier of the accounting document generated by the posting.
companyCode String Company code associated with the generated documents.
fiscalYear String Fiscal year associated with the accounting document.
exceptionCode String Code providing additional information in case of exceptions.
message String Outcome message for the accrual posting.
#### Response Example

Docs Navigation