Entity settings

Learn how to manage aspects of your entity settings using the Monite API.

Overview

Monite’s entity settings are a way to customize the behavior of certain functionality for your entities. The entity settings API provides functionality for managing and configuring settings specific to entities within the Monite platform. They allow you to personalize and customize certain aspects of your entities’ integration.

Some of these customizations include enabling payment and overdue reminders, customizing document number formatting, setting default currencies and currency exchange rates, and other entity-specific configurations.

Roles and permissions

To get or update entity settings using an entity user token, this entity user must have a role with the read and update permissions for the entity resource.

If using a partner-level token, no special permissions are needed.

Get entity settings

To retrieve settings for an entity, send a GET request to the /entities/{entity_id}/settings endpoint:

1curl -X GET 'https://api.sandbox.monite.com/v1/entities/5b031d0c...44df31ebf0db/settings' \
2 -H 'X-Monite-Version: 2024-01-31' \
3 -H 'Authorization: Bearer ACCESS_TOKEN'

A successful request returns the current settings for the entity provided.

1{
2 ...
3 "currency": {},
4 "default_role": {},
5 "document_ids": {
6 "include_date": false,
7 "prefix": "string",
8 "separator": "-",
9 "min_digits": 5,
10 "document_type_prefix": {
11 "quote": "Q",
12 "invoice": "INV",
13 "credit_note": "CN",
14 "purchase_order": "PO"
15 },
16 },
17 ...
18 "language": "en",
19 "payment_priority": "working_capital",
20 ...
21 "receivable_edit_flow": "compliant",
22 "reminder": {
23 "enabled": true
24 },
25 "quote_signature_required": false,
26 ...
27}

Update entity settings

To update the details of an entity, make a PATCH request to the /entities/{entity_id}/settings endpoint.

The following snippet shows an example of the payload for the PATCH /entities/{entity_id}/settings endpoint that enables payment reminders for entity invoices and updates the document ID format for invoices and quotes.

1curl -X PATCH 'https://api.sandbox.monite.com/v1/entities/5b031d0c...44df31ebf0db/settings' \
2 -H 'X-Monite-Version: 2024-01-31' \
3 -H 'Authorization: Bearer ACCESS_TOKEN' \
4 -H 'Content-Type: application/json' \
5 -d '{
6 "reminder": {
7 "enabled": true
8 },
9 "quote_signature_required": true,
10 "language": "fr",
11 "document_ids": {
12 "include_date": true,
13 "min_digits": 4,
14 "document_type_prefix": {
15 "invoice": "IN"
16 }
17 }
18 }'

The successful request returns the complete entity settings object with the updated fields.

The language field on the entity settings object determines the language of the entity’s PDFs.