Get a receivable by ID
get
https://api.mercadoe.com/v1/bills/accounts-receivable/{accountsreceivableId}
Returns the details of an existing accounts receivable document (invoice or credit note, for example) with the given ID
Request
Path Parameters
accountsreceivableId
int64
required
Responses
200
404
Success
Body
application/json
paymentType
string
Payment type
deductions
double | null
Deductions subtracted from the total amount.
currency
string
Currency in alphabetic code.
For more information, please refer to: https://www.iso.org/iso-4217-currency-codes.html.
For more information, please refer to: https://www.iso.org/iso-4217-currency-codes.html.
supplierId
int32
ME Supplier Id.
documentNumber
string
Invoice number
documentReference
string
Document number in the ERP
dueDate
date-time | null
Invoice 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
value
double | null
Total amount payable
totalNetAmount
double | null
Total net amount
totalGrossAmount
double | null
Total gross amount (Invoice total value)
paymentAmount
double | null
Payment amount
orderId
int32 | null
ME Order Id
status
string
Payment status
totalTaxAmount
double | null
Total tax amount
clientObservation
string
Client notes
clientOrderId
string
Order ID in the Client’s ERP
businessOrganizations
array of object
Business Organizations is a list consisting of the Company Code and the Delivery Center/Location Code.