Add a new payable by providing the amount, currency, vendor name, and other details.
You can provide the base64_encoded contents of the original invoice file in the field base64_encoded_file
.
You can use this endpoint to bypass the Monite OCR service and provide the data directly (for example, if you already have the data in place).
A newly created payable has the the draft
status.
Base64-encoded contents of the original issued payable. The file is provided for reference purposes as the original source of the data.
Any file formats are allowed. The most common formats are PDF, PNG, JPEG, TIFF.
The number of days to pay with potential discount for options shorter than due_date
The subtotal amount to be paid, in minor units. For example, $12.50 is represented as 1250.
The suggested date and corresponding discount in which payable could be paid. The date is in the YYYY-MM-DD format. The discount is calculated as X * (10^-4) - for example, 100 is 1%, 25 is 0,25%, 10000 is 100 %. Date varies depending on the payment terms and may even be equal to the due date with discount 0.
Tax amount in minor units. For example, $12.50 is represented as 1250.
The total amount to be paid, in minor units. For example, $12.50 is represented as 1250.
UTC date and time when this payable was created. Timestamps follow the ISO 8601 format.
UTC date and time when this payable was last updated. Timestamps follow the ISO 8601 format.
Specifies how this payable was created in Monite: upload
- created via an API call, email
- sent via email to the entity’s mailbox.
Specifies how the property values of this payable were provided: ocr
- Monite OCR service extracted the values from the provided PDF or image file, user_specified
- values were added or updated via an API call.
The ID of the role that the entity user who created this payable had at that time. If the payable was created using a partner access token, the value is null
.
A unique invoice number assigned by the invoice issuer for payment tracking purposes. This is different from id
which is an internal ID created automatically by Monite.
The number of days to pay with potential discount for options shorter than due_date
The subtotal amount to be paid, in minor units. For example, $12.50 is represented as 1250.
The suggested date and corresponding discount in which payable could be paid. The date is in the YYYY-MM-DD format. The discount is calculated as X * (10^-4) - for example, 100 is 1%, 25 is 0,25%, 10000 is 100 %. Date varies depending on the payment terms and may even be equal to the due date with discount 0.
Tax amount in minor units. For example, $12.50 is represented as 1250.
The total amount to be paid, in minor units. For example, $12.50 is represented as 1250.