Update received document
Updates an existing received document with new information
Path parameters
merchantId
Merchant ID
receivedDocumentId
Received Document ID
organizationId
Organization ID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
documentStatus
Accept or Reject a document param
Allowed values:
Response
Received document successfully updated
receivedDocumentId
Unique identifier for the document
emailSubject
The subject line of the email.
senderEmail
The email address of the sender.
documentDate
The date when the document was created or issued.
receiveDate
The date when the document was received.
receivedDocumentStatus
The current status of the document in the inbox.
documentId
The identifier assigned to the created document.
issuerName
Issuer name
issuerTaxIdCode
Tax ID code according to tax id table. Required when the document requires the receiver to be specified.
issuerTaxIdType
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
documentTypeId
Document type ID according to document type table.
documentTypeTaxbureau
Type of document at the tax bureau.
documentNumber
A unique number assigned to the document.
accountId
Account ID.
purchaseOrder
The identifier for the purchase order.
receptionConfirmationStatus
Indicates the status of the reception confirmation for the document.
receptionConfirmationDate
The date when the reception of the document was confirmed.
receiverTaxIdCode
The tax identification code of the document receiver.
receiverTaxIdType
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
documentApprovalStatus
Indicates the current approval status of the document.
documentApprovalDate
The date on which the document was approved.
productReceiptStatus
Indicates the current status of the product receipt.
productReceiptDate
productReceiptLocation
The date on which the product was received.
netAmount
Total of all net values from each of the detail lines.
totalAmount
Document grand total
documentXml
Base64 encoded XML
documentPdf
Base64 encoded PDF
stampImg
Base64 encoded stamp image