What’s new in v2024-05-25
Stay up to date with the latest features, improvements, and breaking changes in the current version of Monite API.
Overview
This version includes improvements and changes to the Monite platform to make the API more consistent and predictable.
In future updates to the API version 2024-05-25
, we plan to add more features and improvements to our product offering. We’ll add these new features to the current API version unless they introduce new breaking changes. In such cases, we will introduce them in subsequent API versions.
Breaking changes
The version 2024-05-25 includes the following breaking changes, which you should consider when upgrading from the previous API version:
- The response status code changed from
400 Bad Request
to401 Unauthorized
when Monite API is called with theAuthorization: Bearer <token>
header containing an expired access token. - The successful response status code of the
POST /roles
endpoint changed from200
to201
. - Removed the
accounting
settings from partner settings. - Removed the
payable.enable_line_items
settings from partner settings.
New features and improvements
General
- The
entity
object has a newstatus
field (active
orinactive
as values) that allows partners to activate or deactivate the entities.
Payables
- OCR. New endpoint
POST /payables/{payable_id}/cancel_ocr
allows users to cancel an ongoing OCR process for a specific payable. Also, theocr_status
field of thepayable
object has a new valuecanceled
.
Receivables
- Recurring invoices:
- Recurring invoices now include the new fields
recipients
,subject_text
, andbody_text
. - Recurring invoices are now sent automatically when created if the fields
subject_text
andbody_text
are set. - New status
send_failed
for recurrences.
- Recurring invoices now include the new fields
- Removed the
language
field from thePOST /receivables/{receivable_id}/send
endpoint. Now, use thecounterpart
fieldlanguage
to specify the language to be used to localize the emails and PDFs sent to this counterpart. - Removed the
file
field from invoice, quote, and credit note responses. Now, use thefile_url
andoriginal_file_url
fields instead. - The fields below were removed from
LineItemProduct
schema:created_at
updated_at
entity_id
entity_user_id
measure_unit_id
- The fields
created_at
andupdated_at
were removed from theLineItemProductMeasureUnit
schema.
For more information on what changes we consider breaking and non-breaking in our API, please refer to our Versioning policy.