November 23, 2022
over 1 year ago by Helen Kosova
Changes and improvements from our last release.
General
Breaking changes
- The counterpart address subresource has turned into a new resource. The
/make_default
replaces the default address replaces the address returned in counterpart responses (i.e. theorganization.registered_address
for organizations, orindividual.residential_address
for individuals).- The no longer change the address when PATCHing the counterpart. Instead, use
/make_default
to set the default address for the counterpart. - New subresource
/approval_status
added to/payables/{payable_id}
resource (see more).
- The no longer change the address when PATCHing the counterpart. Instead, use
Accounts Payable
Breaking changes
The data type of Payable.currency_exchange.rate
was changed from integer
to double
. The rate is now specified as is, for example, 0.98.
New features and improvements
- Now Monite also supports purchase orders as a new payable type.
- Entity settings (
/entities/{entity_id}/settings
) include a new settingtemplate.purchase_orders_pdf_template_id
to specify the default PDF template for purchase orders.
Accounts Receivable
Breaking changes
The response from GET /receivables/{receivable_id}/pdf_link
was changed from a plain string "path_to_file.pdf"
to a JSON object in the format:
{"file_url": "path_to_file.pdf"}
New features and improvements
- Invoices and quotes can now include discounts. Discounts can apply to the entire document, individual line items, or both; and can be specified either as a percentage or a flat amount.
- New fields in VAT rate objects returned by
GET /vat_rates
andGET /vat_rates/{vat_rate_id}
:valid_from
,valid_until
,status
(active or inactive),created_at
,updated_at
,created_by
.
Payments
Breaking changes
The new endpoint /payment_methods
and the new Onboarding for Payments flow are described in our docs.