Skip to content

Update accounts payable

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

Update an existing account payable 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
price
double
Amount payable
deliveryPlace
string | null
Delivery place
documentType
string
Document type
clientOrderId
string
Client order Id
clientObservation
string | null
Client notes
paymentCondition
string
Payment condition
dueDate
date-time
Due date
receiptDate
date-time
Receipt date
anticipationDate
date-time | null
Anticipation date
clientAccountingDocument
string
Accounting document number
deductions
double
Deductions
expectedDate
date-time
Expected date
isConfirmed
boolean
Flag to indicate the payment confirmation (True/False).
paymentType
string
Payment type
paymentAmount
double
Payment amount
status
string | null
Status
anticipationStatus
string | null
Anticipation status
anticipationTax
double | null
Anticipation tax
anticipatedValue
double | null
Anticipated value
currency
string | null
Currency in alphabetic code.
For more information, please refer to: https://www.iso.org/iso-4217-currency-codes.html.
agency
string | null
Bank branch
account
string | null
Bank account
bank
string | null
Bank

Responses

202
400
404
Accepted

Body

application/json
correlationId
string