Skip to content

Update accounts receivable

put
https://api.mercadoe.com/v1/bills/accounts-receivable

Update an existing account receivable by providing the correlationId, documentNumber, documentReference, and clientSupplierCode.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Query Parameters

documentNumber
string
documentReference
string
clientSupplierCode
string

Body

application/json
dueDate
date-time | null
Due date
compensationDate
date-time | null
Payment date (Clearing date)
documentDate
date-time | null
Document issue date
receiptDate
date-time | null
Receipt date
paymentCondition
string
Payment condition description
documentType
string
Document type
paymentType
string
Payment type
deductions
float
Deductions
currency
string
Currency in alphabetic code.
For more information, please refer to: https://www.iso.org/iso-4217-currency-codes.html.
value
float
Total amount of the account payable
totalNetAmount
float
Total net amount
totalGrossAmount
float
Total gross amount (Invoice total value)
paymentAmount
float | null
Payment amount
clientObservation
string
Client notes
clientOrderId
string
Client order number
orderId
int32 | null
Order Id
status
string
Status
totalTaxAmount
double | null
Total tax amount
businessOrganizations
array of object
List with the business organizations, consisting of the following fields: code, description, virtualEntityField (delivery center code), virtualEntityDescription (delivery center description), and entityType.

Responses

202
400
404
Accepted

Body

application/json
correlationId
string