Accept or reject a document
Path parameters
inbox_document_id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
inbox_document_status
2 = Approve
3 = Approve with objection
4 = Reject
5 = Receive merchandise
Response
Document status updated successfully
inbox_document_id
Inbox document ID.
email_subject
The subject line of the email.
sender_email
The email address of the sender.
document_date
The date when the document was created or issued.
receive_date
The date when the document was received.
inbox_document_status
The current status of the document in the inbox.
document_id
The identifier assigned to the created document.
issuer_name
Issuer name.
issuer_tax_id_code
Tax ID code according to tax id table. Required when the document requires the receiver to be specified.
issuer_tax_id_type
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
document_type_id
Document type ID according to document type table.
document_type_taxbureau
Type of document at the tax bureau.
document_number
A unique number assigned to the document.
account_id
Account ID.
purchase_order
The identifier for the purchase order.
reception_confirmation_status
Indicates the status of the reception confirmation for the document.
reception_confirmation_date
The date when the reception of the document was confirmed.
receiver_tax_id_code
The tax identification code of the document receiver.
receiver_tax_id_type
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
document_approval_status
Indicates the current approval status of the document.
document_approval_date
The date on which the document was approved.
product_receipt_status
Indicates the current status of the product receipt.
product_receipt_date
The date on which the product was received.
product_receipt_location
The location where the product was received.
net_amount
Total of all net values from each of the detail lines.
total_amount
Document grand total
document_xml
Base64 encoded XML
document_pdf
Base64 encoded PDF
stamp_img
Base64 encoded stamp image