This MCP server allows AI assistants to perform sensitive actions on your behalf (creating invoices, modifying clients, sending documents, etc.). AI can make mistakes. Always verify the actions it performs and review the data before confirming any critical operation.
Ask in plain language and let the AI handle the rest. Here are the most common actions used day-to-day.
Create, view, update and email invoices. Record received payments.
Add and update clients, their contacts and delivery addresses.
Add prospects, manage their contacts and turn them into clients once they sign.
Draft quotes, send them to clients and convert them into an invoice once accepted.
Create sale orders, track them and convert them into invoices when ready.
Create delivery notes, send them by email and convert them into invoices in no time.
Issue full or partial credit notes from an invoice and email them to clients.
Track deposits, record received payments and issue credit notes if needed.
View all your payments and trace the ones linked to a specific invoice or advance.
Add articles or services and update their prices and VAT rates.
Add and view your suppliers to keep your address book up to date.
Draft and send reminder emails for unpaid invoices.
Add evoliz as a custom connector in your AI assistant in a few clicks. Copy the endpoint URL above, then follow the steps.
https://evoliz.io/mcp
https://evoliz.io/mcp
No parameters required.
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) users. |
search |
string | Optional | Search parameter to find users by name, email, etc. |
| Name | Type | Required | Description |
|---|---|---|---|
userid |
integer | Required | The unique identifier of the user to retrieve. |
| Name | Type | Required | Description |
|---|---|---|---|
firstname |
string | Optional | User first name. |
lastname |
string | Optional | User last name. |
email |
string | Optional | User email address. |
email_notification |
boolean | Optional | Send an email notification for the user creation. Default: true. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 50. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) clients. |
search |
string | Optional | Search parameter to find clients by name, code, email, etc. |
| Name | Type | Required | Description |
|---|---|---|---|
clientid |
integer | Required | The unique identifier of the client to retrieve. |
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Required | Client name (required). |
type |
string | Required | Client type (required). |
address |
object | Required | Client address information (required). |
address.addr |
string | Optional | Street address |
address.addr2 |
string | Optional | Additional address line 2 |
address.addr3 |
string | Optional | Additional address line 3 |
address.postcode |
string | Required | Postal code |
address.town |
string | Required | Town/City |
address.iso2 |
string | Required | Country ISO2 code (e.g., FR, US) |
code |
string | Optional | Client code. If not provided, will be automatically generated. |
legalform |
string | Optional | Client legal form (e.g., SAS, SARL, EURL). |
activity_number |
string | Optional | Client activity number. |
immat_number |
string | Optional | Client immatriculation number (e.g., RCS PARIS 12345678912345). |
bank_information |
object | Optional | Client bank information. |
bank_information.bank_name |
string | Optional | Bank name |
bank_information.bank_account_detail |
string | Optional | Bank account details |
bank_information.iban |
string | Optional | IBAN (e.g., FR00 1234 5678 9012 3456 7890 134) |
bank_information.bank_identification_code |
string | Optional | BIC/SWIFT code |
delivery_address |
object | Optional | Client delivery address (deprecated, use new client address endpoint). |
delivery_address.name |
string | Optional | Delivery address name |
delivery_address.code |
string | Optional | Delivery address code |
delivery_address.favorite |
boolean | Optional | Mark as favorite address |
delivery_address.addr |
string | Optional | Street address |
delivery_address.addr2 |
string | Optional | Additional address line 2 |
delivery_address.addr3 |
string | Optional | Additional address line 3 |
delivery_address.postcode |
string | Optional | Postal code |
delivery_address.town |
string | Optional | Town/City |
delivery_address.iso2 |
string | Optional | Country ISO2 code |
delivery_address.business_number |
string | Optional | Business number for this address |
phone |
string | Optional | Client phone number (e.g., 01 46 72 50 04). |
mobile |
string | Optional | Client mobile number (e.g., +33600000000). |
fax |
string | Optional | Client fax number. |
website |
string | Optional | Client website URL (e.g., https://www.triiptic.fr). |
safe_amount |
number | Optional | Amount of outstanding guarantee/safe amount. |
term |
object | Optional | Specific document conditions for the client. |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.validity |
number | Optional | Validity period |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID |
term.paytypeid |
integer | Optional | Payment type ID |
term.vat_rate |
number | Optional | VAT rate percentage |
term.vat_exoneration |
integer | Optional | VAT exoneration code |
term.vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason |
term.analyticid |
integer | Optional | Analytic axis ID |
term.rebate_percent |
number | Optional | Rebate percentage |
ttc |
boolean | Optional | Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option. |
comment |
string | Optional | Comments on this client. |
business_number |
string | Optional | Client business number (SIRET). May be required for FR-DOM-TOM users. REQUIRED for French clients of type Professionnel or Administration publique when the company has enabled electronic invoicing (FR: facturation électronique). |
business_identification_number |
string | Optional | Client business identification number (SIREN). REQUIRED for French clients of type Professionnel or Administration publique when the company has enabled electronic invoicing (FR: facturation électronique). |
vat_number |
string | Optional | Client intra-community VAT number. REQUIRED for French clients of type Professionnel or Administration publique (set to "N/C" if Not Concerned/Known/Communicated). Optional otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
clientid |
integer | Optional | Client ID to update (required). |
code |
string | null | Optional | Client code. |
name |
string | null | Optional | Client name. |
civility |
string | null | Optional | Client civility (e.g., M., Mme, etc.). |
type |
string | Optional | Client type. |
legalform |
string | null | Optional | Client legal form (e.g., SAS, SARL, EURL). |
activity_number |
string | null | Optional | Client activity number. |
immat_number |
string | null | Optional | Client immatriculation number. |
bank_information |
object | Optional | Client bank information. |
bank_information.bank_name |
string | Optional | Bank name |
bank_information.bank_account_detail |
string | Optional | Bank account details |
bank_information.iban |
string | Optional | IBAN |
bank_information.bank_identification_code |
string | Optional | BIC/SWIFT code |
address |
object | Optional | Client address information. |
address.addr |
string | Optional | Street address |
address.addr2 |
string | Optional | Additional address line 2 |
address.addr3 |
string | Optional | Additional address line 3 |
address.postcode |
string | Optional | Postal code |
address.town |
string | Optional | Town/City |
address.iso2 |
string | Optional | Country ISO2 code (e.g., FR) |
phone |
string | null | Optional | Client phone number. |
mobile |
string | null | Optional | Client mobile number. |
fax |
string | null | Optional | Client fax number. |
website |
string | null | Optional | Client website URL. |
safe_amount |
number | null | Optional | Amount of outstanding guarantee/safe amount. |
term |
object | Optional | Specific document conditions for the client. Each field is an object with "enabled" (boolean) and "value" properties; the value is prohibited when enabled is not true. Example: {"paytermid": {"enabled": true, "value": 1}}. |
term.penalty |
object | Optional | Penalty percentage override |
term.nopenalty |
object | Optional | No penalty override |
term.recovery_indemnity |
object | Optional | Recovery indemnity override |
term.discount_term |
object | Optional | Discount term override |
term.no_discount_term |
object | Optional | No discount term override |
term.paytermid |
object | Optional | Payment term override |
term.paytypeid |
object | Optional | Payment type override |
term.validity |
object | Optional | Quote validity override |
term.rebate_percent |
object | Optional | Rebate percentage override |
term.vat_rate |
object | Optional | VAT rate override |
term.analyticid |
object | Optional | Analytic axis override |
term.vat_exoneration |
object | Optional | VAT exoneration override |
term.vat_exoneration_other_reason |
object | Optional | Custom VAT exoneration reason override |
ttc |
object | Optional | Billing option (prices include VAT). Example: {"enabled": true, "value": true}. |
ttc.enabled |
boolean | Optional | Whether the TTC billing override is active |
ttc.value |
boolean | Optional | Bill in VAT-included prices. Prohibited unless enabled is true. |
comment |
string | null | Optional | Comments on this client. |
business_number |
string | null | Optional | Client business number (SIRET). REQUIRED for French clients of type Professionnel or Administration publique when the company has enabled electronic invoicing (FR: facturation électronique); an existing value can no longer be cleared. |
business_identification_number |
string | null | Optional | Client business identification number (SIREN). REQUIRED for French clients of type Professionnel or Administration publique when the company has enabled electronic invoicing (FR: facturation électronique); an existing value can no longer be cleared. |
vat_number |
string | null | Optional | Client intra-community VAT number. Set to "N/C" if Not Concerned/Known/Communicated. |
enabled |
boolean | Optional | Determines if the client is active. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
clientid |
integer | Optional | Filter by client ID. Use ClientListTool to find clients. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) contacts. |
consent |
string | Optional | Filter by GDPR consent status. |
search |
string | Optional | Search by name or email. |
email |
string | Optional | Filter by exact email address. |
sort_by |
string | Optional | Sort field. Default: lastname. |
order |
string | Optional | Sort order. Default: asc. |
| Name | Type | Required | Description |
|---|---|---|---|
contactid |
integer | Optional | The contact ID to retrieve. Required. Use ClientContactListTool to find contacts. |
| Name | Type | Required | Description |
|---|---|---|---|
clientid |
integer | Required | The client ID to attach the contact to. Required. Use ClientListTool to find clients. |
lastname |
string | Required | Contact last name. Required. |
email |
string | Required | Contact email address. Required. |
civility |
string | Optional | Contact civility (e.g., Monsieur, Madame). |
firstname |
string | Optional | Contact first name. |
profil |
string | Optional | Contact job/function (e.g., CTO, Director). |
consent |
string | Optional | GDPR consent status. Default: without. |
label_tel_primary |
string | Optional | Primary phone label. Required when tel_primary is present. |
tel_primary |
string | Optional | Primary phone number. Required when label_tel_primary is present. |
label_tel_secondary |
string | Optional | Secondary phone label. Required when tel_secondary is present. |
tel_secondary |
string | Optional | Secondary phone number. Required when label_tel_secondary is present. |
label_tel_tertiary |
string | Optional | Tertiary phone label. Required when tel_tertiary is present. |
tel_tertiary |
string | Optional | Tertiary phone number. Required when label_tel_tertiary is present. |
favorite |
boolean | Optional | Set as client favorite contact. |
| Name | Type | Required | Description |
|---|---|---|---|
contactid |
integer | Optional | The contact ID to update. Required. Use ClientContactListTool to find contacts. |
civility |
string | null | Optional | Contact civility. |
lastname |
string | Optional | Contact last name. |
firstname |
string | null | Optional | Contact first name. |
profil |
string | null | Optional | Contact job/function. |
email |
string | null | Optional | Contact email (cannot be unset when contact is favorite). |
consent |
string | Optional | GDPR consent status. |
label_tel_primary |
string | null | Optional | Primary phone label. |
tel_primary |
string | null | Optional | Primary phone number. |
label_tel_secondary |
string | null | Optional | Secondary phone label. |
tel_secondary |
string | null | Optional | Secondary phone number. |
label_tel_tertiary |
string | null | Optional | Tertiary phone label. |
tel_tertiary |
string | null | Optional | Tertiary phone number. |
favorite |
boolean | null | Optional | Set as client favorite (requires email). |
enabled |
boolean | Optional | Activate (true) or deactivate (false) contact. |
| Name | Type | Required | Description |
|---|---|---|---|
clientid |
integer | Optional | Only list the addresses of this client. Use ClientListTool to find clients. |
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
search |
string | Optional | Search by name, code, or address. |
code |
string | Optional | Filter by address code. |
country_iso2 |
string | Optional | Filter by country ISO2 code (e.g., FR). |
type |
string | Optional | Filter by address type. |
enabled |
boolean | Optional | Filter by active status. |
sort_by |
string | Optional | Sort field. Default: name. |
order |
string | Optional | Sort order. Default: asc. |
| Name | Type | Required | Description |
|---|---|---|---|
addressid |
integer | Required | The address ID to retrieve. Required. Use ClientAddressListTool to find addresses. |
| Name | Type | Required | Description |
|---|---|---|---|
clientid |
integer | Required | The client ID to attach the address to. Required. Use ClientListTool to find clients. |
name |
string | Required | Address name/label (e.g., "Warehouse", "Office"). Required. |
type |
string | Required | Address type. Required. |
code |
string | Optional | Address code. If not provided, will be automatically generated. |
addr |
string | Optional | Street address (first line). REQUIRED when the company has enabled electronic invoicing, optional otherwise. |
addr2 |
string | Optional | Additional address line 2. |
addr3 |
string | Optional | Additional address line 3. |
postcode |
string | Required | Postal code. Required. |
town |
string | Required | City/Town. Required. |
iso2 |
string | Required | Country ISO2 code (e.g., FR, US, DE). Required. |
business_number |
string | Optional | Business number (SIRET) for this address location. |
favorite |
boolean | Optional | Set as client favorite address. |
| Name | Type | Required | Description |
|---|---|---|---|
addressid |
integer | Required | The address ID to update. Required. Use ClientAddressListTool to find addresses. |
name |
string | Optional | Address name/label. |
code |
string | Optional | Address code. |
addr |
string | Optional | Street address (first line). When the company has enabled electronic invoicing, this field cannot be blanked out: omit it or provide a non-empty value. |
addr2 |
string | Optional | Additional address line 2. |
addr3 |
string | Optional | Additional address line 3. |
postcode |
string | Optional | Postal code. |
town |
string | Optional | City/Town. |
iso2 |
string | Optional | Country ISO2 code (e.g., FR, US, DE). |
business_number |
string | Optional | Business number (SIRET) for this address location. |
favorite |
boolean | Optional | Set as client favorite address. |
enabled |
boolean | Optional | Activate or deactivate the address. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
userid |
integer | Optional | Filter by prospect creator ID. |
country_iso2 |
string | Optional | Filter by country ISO2 code (e.g., FR, US). |
enabled |
boolean | Optional | Filter active (true) or inactive (false) prospects. |
search |
string | Optional | Search parameter. |
| Name | Type | Required | Description |
|---|---|---|---|
prospectid |
integer | Optional | The prospect ID to retrieve. Required. Use ProspectListTool to find prospects. |
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Required | Prospect name (must be unique). Required. |
type |
string | Required | Prospect type. Required. |
address |
object | Required | Prospect address. Required. |
address.addr |
string | Optional | Address line 1 |
address.addr2 |
string | Optional | Address line 2 |
address.postcode |
string | Required | Postal code. Required. |
address.town |
string | Required | Town/city. Required. |
address.iso2 |
string | Required | Country ISO2 code (e.g., FR). Required. |
business_number |
string | Optional | Business number (SIRET). |
activity_number |
string | Optional | Activity number (APE/NAF code). |
vat_number |
string | Optional | Intra-community VAT number. REQUIRED for French prospects of type Professionnel or Administration publique. |
phone |
string | Optional | Phone number. |
mobile |
string | Optional | Mobile number. |
fax |
string | Optional | Fax number. |
website |
string | Optional | Website URL. |
comment |
string | Optional | Comments on this prospect. |
| Name | Type | Required | Description |
|---|---|---|---|
prospectid |
integer | Optional | The prospect ID to transform into a client. Required. Use ProspectListTool to find prospects. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
prospectid |
integer | Optional | Filter by prospect ID. Use ProspectListTool to find prospects. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) contacts. |
consent |
string | Optional | Filter by GDPR consent status. |
search |
string | Optional | Search by name or email. |
email |
string | Optional | Filter by exact email address. |
sort_by |
string | Optional | Sort field. Default: lastname. |
order |
string | Optional | Sort order. Default: asc. |
| Name | Type | Required | Description |
|---|---|---|---|
contactid |
integer | Optional | The contact ID to retrieve. Required. Use ProspectContactListTool to find contacts. |
| Name | Type | Required | Description |
|---|---|---|---|
prospectid |
integer | Required | The prospect ID to attach the contact to. Required. Use ProspectListTool to find prospects. |
lastname |
string | Required | Contact last name. Required. |
email |
string | Optional | Contact email address. Optional (unlike client contacts). |
civility |
string | Optional | Contact civility (e.g., Monsieur, Madame). |
firstname |
string | Optional | Contact first name. |
profil |
string | Optional | Contact job/function (e.g., CTO, Director). |
consent |
string | Optional | GDPR consent status. Default: without. |
label_tel_primary |
string | Optional | Primary phone label. Required when tel_primary is present. |
tel_primary |
string | Optional | Primary phone number. Required when label_tel_primary is present. |
label_tel_secondary |
string | Optional | Secondary phone label. Required when tel_secondary is present. |
tel_secondary |
string | Optional | Secondary phone number. Required when label_tel_secondary is present. |
label_tel_tertiary |
string | Optional | Tertiary phone label. Required when tel_tertiary is present. |
tel_tertiary |
string | Optional | Tertiary phone number. Required when label_tel_tertiary is present. |
favorite |
boolean | Optional | Set as prospect favorite contact. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
country_iso2 |
string | Optional | Filter by country ISO2 code (e.g., FR, US, DE). |
enabled |
boolean | Optional | Filter active (true) or inactive (false) suppliers. |
search |
string | Optional | Search parameter. |
code |
string | Optional | Filter by supplier code identifier (e.g., F160). |
sort_by |
string | Optional | Sort field. Default: sorted by name ascending. |
order |
string | Optional | Sort direction. Default: asc. |
| Name | Type | Required | Description |
|---|---|---|---|
supplierid |
integer | Optional | The supplier ID to retrieve. Required. Use SupplierListTool to find suppliers. |
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Optional | Supplier name. Required. |
code |
string | Optional | Supplier code. Auto-generated if not provided. |
legalform |
string | Optional | Legal form (e.g., SAS, SARL, EURL). |
activity_number |
string | Optional | Activity code (APE/NAF). |
business_number |
string | Optional | Business number (SIRET). |
vat_number |
string | Optional | Intra-community VAT number. Use "N/C" if not applicable. |
bank_information |
object | Optional | Supplier bank information |
bank_information.bank_account_detail |
string | Optional | Bank account details |
bank_information.iban |
string | Optional | IBAN (e.g., FR00 1234 5678 9012 3456 7890 134) |
bank_information.bank_identification_code |
string | Optional | BIC/SWIFT code |
address |
object | Optional | Supplier address |
address.addr |
string | Optional | Street address |
address.addr2 |
string | Optional | Additional address line |
address.postcode |
string | Optional | Postal code |
address.town |
string | Optional | Town/City |
address.iso2 |
string | Optional | Country ISO2 code (e.g., FR, US) |
phone |
string | Optional | Phone number. |
mobile |
string | Optional | Mobile number. |
fax |
string | Optional | Fax number. |
website |
string | Optional | Website URL. |
default_values |
object | Optional | Default values for documents with this supplier |
default_values.paytermid |
integer | Optional | Default payment term ID. Use PayTermListTool to get valid IDs. |
default_values.paytypeid |
integer | Optional | Default payment type ID. Use PayTypeListTool to get valid IDs. |
default_values.analyticid |
integer | Optional | Default analytic axis ID. |
comment |
string | Optional | Comments on this supplier. |
purchase_classifications |
array | Optional | Default purchase classification IDs. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Buy's creator ID. Use UserListTool to find users. |
supplierid |
integer | Optional | Supplier ID. Use SupplierListTool to find suppliers. |
clientid |
integer | Optional | Client ID (rebilled client). Use ClientListTool to find clients. |
enabled |
boolean | Optional | Filter active (true) / inactive (false) buys. |
file |
boolean | Optional | Filter buys with (true) or without (false) an attached file. |
billable |
boolean | Optional | Filter buys that are billable to a client or not. |
supplier_pay |
boolean | Optional | Supplier Pay initialized on buys or not. |
classificationid |
integer | Optional | Buy classification ID. |
analyticid |
integer | Optional | Analytic axis ID. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
status |
string | Optional | Buy status filter. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Buys period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Buys min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Buys max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
document_type |
string | Optional | Document type: buy (supplier invoice) or expense_report (note de frais). |
source |
string | Optional | Channel the document was ingested through. Use "pa" to keep only electronic invoices received from the Plateforme Agréée. |
e_invoicing_status |
string | Optional | Electronic invoicing reception status of the document (received, refused, cashed). |
sort_by |
string | Optional | Sort field. e_invoicing_status orders buys without status first, then received, refused, cashed. Requires order parameter. |
order |
string | Optional | Sort order: asc (ascending) or desc (descending). Requires sort_by. |
| Name | Type | Required | Description |
|---|---|---|---|
buyid |
integer | Required | The buy ID to retrieve. Required. Use BuyListTool to find buys. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Supplier credit's creator ID. Use UserListTool to find users. |
supplierid |
integer | Optional | Supplier ID. Use SupplierListTool to find suppliers. |
enabled |
boolean | Optional | Filter active (true) / inactive (false) supplier credits. |
file |
boolean | Optional | Filter supplier credits with (true) or without (false) an attached file. |
classificationid |
integer | Optional | Buy classification ID. |
analyticid |
integer | Optional | Analytic axis ID. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
status |
string | Optional | Supplier credit status filter. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Supplier credits period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Supplier credits min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Supplier credits max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
source |
string | Optional | Channel the document was ingested through. Use "pa" to keep only electronic documents received from the Plateforme Agréée. |
e_invoicing_status |
string | Optional | Electronic invoicing reception status of the document (received, refused, cashed). |
| Name | Type | Required | Description |
|---|---|---|---|
supplier_creditid |
integer | Required | The supplier credit ID to retrieve. Required. Use SupplierCreditListTool to find supplier credits. |
| Name | Type | Required | Description |
|---|---|---|---|
document_type |
string | Optional | Document type: buy (supplier invoice) or expense_report (note de frais). |
source |
string | Optional | Channel the document arrived through. Use "pa" to keep only electronic invoices received from the Plateforme Agréée. |
e_invoicing_status |
string | Optional | Electronic invoicing reception status of the document (received, refused, cashed). |
only_mine |
boolean | Optional | When true, list only the documents deposited by the authenticated user (GET /bintray/me). Default: false, the whole company reception box. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) articles. |
search |
string | Optional | Search parameter to find articles by reference, designation, etc. |
nature |
string | Optional | Type of article: product or service. |
sale_classificationid |
integer | Optional | Sell classification ID to filter articles. |
purchase_classificationid |
integer | Optional | Purchase classification ID to filter articles. |
supplierid |
integer | Optional | Supplier ID to filter articles. Use SupplierListTool to find suppliers. |
reference |
string | Optional | Filter articles by exact reference. |
sort_by |
string | Optional | Sort the response by the given field. Only "articleid" is allowed. If not given, sorted by reference ascending. |
order |
string | Optional | Sort direction: asc (ascending) or desc (descending). Default: asc. Requires sort_by parameter. |
| Name | Type | Required | Description |
|---|---|---|---|
articleid |
integer | Optional | The article ID to retrieve. Required. Use ArticleListTool to find articles. |
| Name | Type | Required | Description |
|---|---|---|---|
reference |
string | Optional | Article reference (required). |
designation |
string | Optional | Article designation/description (required). HTML accepted. |
nature |
string | Optional | Article type: product or service. |
quantity |
number | Optional | Article quantity. |
weight |
number | Optional | Article weight. |
unit |
string | Optional | Article unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
sale_classificationid |
integer | Optional | Article sell classification ID. Only accepted when sell classifications are enabled. |
unit_price |
number | Optional | Article unit price (excluding or including VAT according to ttc field value, or defaults to company configuration). |
vat_rate |
number | Optional | Article VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free article. |
ttc |
boolean | Optional | Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option. |
purchase_unit_price_vat_exclude |
number | Optional | Article purchase unit price (VAT excluded). Must be less than unit price VAT excluded. |
purchase_classificationid |
integer | Optional | Article buy classification ID. |
supplierid |
integer | Optional | Linked supplier ID. Use SupplierListTool to find suppliers. |
supplier_reference |
string | Optional | Article reference from the supplier. |
stock_management |
boolean | Optional | Enable stock management for this article. |
stocked_quantity |
number | Optional | Article stocked quantity. |
custom_fields |
string | Optional | Custom fields as JSON object. Fields validated according to your custom field settings. Key is the hash of the custom field ID. Example: {"custom_field_hash1": "value1", "custom_field_hash2": 20.5} |
| Name | Type | Required | Description |
|---|---|---|---|
articleid |
integer | Optional | Article ID to update. Required. Use ArticleListTool to find articles. |
reference |
string | null | Optional | Article reference. |
nature |
string | null | Optional | Article type: product or service. |
designation |
string | null | Optional | Article designation/description. HTML accepted. |
quantity |
number | null | Optional | Article quantity. |
weight |
number | null | Optional | Article weight. |
unit |
string | null | Optional | Article unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
sale_classificationid |
integer | null | Optional | Article sell classification ID. Only accepted when sell classifications are enabled. |
unit_price |
number | null | Optional | Article unit price (excluding or including VAT according to ttc field value). |
vat_rate |
number | null | Optional | Article VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free article. |
ttc |
boolean | null | Optional | Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option. |
purchase_unit_price_vat_exclude |
number | null | Optional | Article purchase unit price (VAT excluded). Must be less than unit price VAT excluded. |
purchase_classificationid |
integer | null | Optional | Article buy classification ID. |
supplierid |
integer | null | Optional | Linked supplier ID. Use SupplierListTool to find suppliers. |
supplier_reference |
string | null | Optional | Article reference from the supplier. |
stock_management |
boolean | null | Optional | Enable stock management for this article. |
stocked_quantity |
number | null | Optional | Article stocked quantity. Only accepted when stock_management is true or article already has stock management enabled. |
enabled |
boolean | null | Optional | Determines if the article is active. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Invoice's creator ID. Use UserListTool to find users. |
clientid |
integer | Optional | Client ID. Use ClientListTool to find clients. |
currency |
string | Optional | ISO currency code (e.g., EUR). |
enabled |
boolean | null | Optional | Filter active (true) / inactive (false) invoices. |
typedoc |
string | Optional | Invoice's type. |
status |
string | Optional | Invoice status filter. Refer to the "invoice-statuses" resource for the full list of statuses and their descriptions. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Invoices period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Invoices min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Invoices max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
analyticid |
integer | Optional | Analytic axis ID. |
direct_debit |
boolean | Optional | Direct debit initialized on invoices or not. |
sort_by |
string | Optional | Sort by invoiceid. Requires order parameter. |
order |
string | Optional | Sort order: asc (ascending) or desc (descending). Requires sort_by. |
document_number |
string | Optional | Filter by exact document number (e.g., "F-20240001", "F-00000002269"). Strict comparison. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the items field. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to retrieve. Required. Use InvoiceListTool to find invoices. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the response. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
documentdate |
string | Required | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Required | The client's ID to attach the invoice to. Required. Use ClientListTool to find clients. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the invoice to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the invoice to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Required | Invoice payment terms information. Required (term.paytermid must be provided). |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Required | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the invoice (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
retention |
object | Optional | Invoice retention information |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention date (YYYY-MM-DD) |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Required | Invoice items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
business_process |
string | Optional | Business process type. REQUIRED when the company has enabled electronic invoicing (FR: facturation électronique), optional otherwise. "mixed" is not allowed for private individual clients (FR: Particulier). |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | Draft invoice ID to save. Required. Use InvoiceListTool with status="filled" to find draft invoices. |
auto_recovery_enabled |
boolean | Optional | Enable auto recovery. If not specified, uses default company setting. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | Invoice ID to update. Required. Use InvoiceListTool to find invoices. |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. Required. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the invoice to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the invoice to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Optional | Invoice payment terms information |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the invoice (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
retention |
object | Optional | Invoice retention information |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention date (YYYY-MM-DD) |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Optional | Invoice items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | Invoice ID to send. Required. Use InvoiceListTool to find invoices. |
to |
array | Optional | Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed. |
from |
string | Optional | Sender's email address. Defaults to configured SMTP or notification@evoliz.com. |
copy |
boolean | Optional | Send a copy to your user email address. |
attachment |
boolean | Optional | Add the PDF document as an attachment. Uses app email setting if not specified. |
subject |
string | null | Optional | Custom subject for the email. |
body |
string | null | Optional | Custom body for the email (text or HTML). |
signature |
boolean | Optional | Include company signature in the email. Default: true. |
links |
boolean | Optional | Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified. |
contact |
object | Optional | Contact information to include in the email |
contact.civility |
string | Optional | Contact civility (e.g., "Monsieur", "Madame") |
contact.lastname |
string | Optional | Contact last name |
contact.firstname |
string | Optional | Contact first name |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to list payments for. Required. Use InvoiceListTool to find invoices. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
page |
integer | Optional | Page number for pagination. Default 1. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | Invoice ID to add the payment to. Required. Use InvoiceListTool with status="sent" or "inpayment" to find invoices awaiting payment. |
paydate |
string | Optional | Payment date (YYYY-MM-DD format). Required. |
label |
string | Optional | Payment label/description. Required. |
paytypeid |
integer | Optional | Payment method ID. Required. Refer to the "payment-methods" resource for the full list. Always ask the user which method they prefer. Use 13 for credit note payment. |
amount |
number | Optional | Payment amount. Required for standard payments (paytypeid != 13). PROHIBITED for credit note payments. |
creditid |
integer | Optional | Credit note ID. REQUIRED when paytypeid is 13, PROHIBITED otherwise. |
comment |
string | Optional | Comments on the payment. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The progress invoice ID to update. Required. Must be a draft progress invoice (typedoc "situation", status "filled"). |
documentdate |
string | Optional | Invoice date (YYYY-MM-DD). |
object |
string | null | Optional | Object/subject on the document. |
comment |
string | null | Optional | Comments on the invoice (HTML accepted). |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 10 or "5%"). |
progress |
object | Optional | Global progression. Only for global progression mode. |
progress.overall |
number | Optional | Cumulative progress percentage (0-100). Use this OR current, not both. |
progress.current |
number | Optional | Progress percentage for this invoice (0-100). Use this OR overall, not both. |
items |
array | Optional | Detailed progression by item. For items linked to the source document, only progression fields are allowed. |
items[].itemid |
integer | Optional | The item ID to update progression for. Must be linked to the source document. |
items[].progress |
object | Optional | Item progression. Use overall or current, not both. |
items[].quantity |
number | Optional | Quantity of the item to invoice. Alternative to progress. |
retention |
object | null | Optional | Retention information. Omit to preserve existing values. Set to null to reset. |
bonus_ids |
array | Optional | Array of bonus IDs from the source document. Omit to preserve existing. Empty array [] to remove all. Each bonus can only be used once. |
business_process |
string | Optional | Business process type. Omit to preserve the invoice's current value. When the company has enabled electronic invoicing (FR: facturation électronique), the invoice must always carry one: null is rejected, and omitting it while the invoice has none is rejected (400). |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The progress invoice ID. Required. Must be a draft progress invoice (typedoc "situation", status "filled"). |
items |
array | Optional | Array of items to add. At least one item required. |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID from catalog. Use ArticleListTool to find articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The progress invoice ID. Required. Must be a draft progress invoice (typedoc "situation", status "filled"). |
itemid |
integer | Optional | The item ID to delete. Required. Must be a freely added item (not linked to the source document). Use InvoiceGetTool to see items and their IDs. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to create a total credit from. Required. Use InvoiceListTool to find invoices. |
documentdate |
string | Optional | Document date for the credit (YYYY-MM-DD). Defaults to today. Must be between today and +30 days. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to create a partial credit from. Required. Use InvoiceListTool to find invoices. |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Required. Use ClientListTool to find clients. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the credit to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Optional | Credit payment terms information. Required. |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the credit (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
retention |
object | Optional | Credit retention information |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention date (YYYY-MM-DD) |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Optional | Credit items array. Required. |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
business_process |
string | Optional | Business process type. If omitted, copied from the source invoice. When the company has enabled electronic invoicing (FR: facturation électronique), the credit must carry one: omitting it while the source invoice has none is rejected (400). |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to list bonus payments for. Required. Use InvoiceListTool to find invoices. |
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to create the bonus payment for. Required. Use InvoiceListTool to find invoices. |
paydate |
string | Optional | Payment date in YYYY-MM-DD format. Required. |
paytypeid |
integer | Optional | Payment type ID. Required. Use PayTypeListTool to find types. Type 13 is not allowed. |
amount |
number | Optional | Payment amount. Required. Must not exceed the remaining bonus amount to pay on the invoice. |
label |
string | Optional | Payment label (max 80 characters). |
comment |
string | Optional | Payment comment. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Credit's creator ID. Use UserListTool to find users. |
clientid |
integer | Optional | Client ID. Use ClientListTool to find clients. |
currency |
string | Optional | ISO currency code (e.g., EUR). |
enabled |
boolean | null | Optional | Filter active (true) / inactive (false) credits. |
status |
string | Optional | Credit status filter. Refer to the "credit-statuses" resource for the full list of statuses and their descriptions. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Credits period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Credits min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Credits max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
analyticid |
integer | Optional | Analytic axis ID. |
sort_by |
string | Optional | Sort by creditid. Requires order parameter. |
order |
string | Optional | Sort order: asc (ascending) or desc (descending). Requires sort_by. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the items field. Default: false. |
document_number |
string | Optional | Filter by exact document number (e.g., "AV-20240001"). Strict comparison. |
| Name | Type | Required | Description |
|---|---|---|---|
creditid |
integer | Optional | The credit ID to retrieve. Required. Use CreditListTool to find credits. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the response. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
documentdate |
string | Required | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Required | The client's ID to attach the credit to. Required. Use ClientListTool to find clients. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the credit to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the credit to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Required | Credit payment terms information. Required (term.paytermid must be provided). |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Required | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the credit (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
retention |
object | Optional | Credit retention information |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention date (YYYY-MM-DD) |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Required | Credit items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
business_process |
string | Optional | Business process type. REQUIRED when the company has enabled electronic invoicing (FR: facturation électronique), optional otherwise. "mixed" is not allowed for private individual clients (FR: Particulier). |
invoice_ref |
string | Optional | Previous invoice number reference (max 35 chars, letters/digits/-+_ only). REQUIRED on a manually created credit when the company has enabled electronic invoicing, optional otherwise. |
invoice_ref_date |
string | Optional | Previous invoice date (YYYY-MM-DD). Cannot be later than the credit's documentdate. REQUIRED on a manually created credit when the company has enabled electronic invoicing, optional otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
creditid |
integer | Optional | Credit ID to update. Required. Use CreditListTool to find credits. |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. Required. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the credit to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the credit to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Optional | Credit payment terms information |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the credit (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
execdate |
string | Optional | Execution date of payment terms (YYYY-MM-DD). |
retention |
object | Optional | Credit retention information |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention date (YYYY-MM-DD) |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Optional | Credit items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
invoice_ref |
string | Optional | Previous invoice number reference (max 35 chars, letters/digits/-+_ only). Not modifiable when the credit is linked to an existing invoice or advance. |
invoice_ref_date |
string | Optional | Previous invoice date (YYYY-MM-DD). Cannot be later than the credit's documentdate. Not modifiable when the credit is linked to an existing invoice or advance. |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
creditid |
integer | Optional | Draft credit ID to save. Required. Use CreditListTool with status="filled" to find draft credits. |
| Name | Type | Required | Description |
|---|---|---|---|
creditid |
integer | Optional | Credit ID to send. Required. Use CreditListTool to find credits. |
to |
array | Optional | Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed. |
from |
string | Optional | Sender's email address. Defaults to configured SMTP or notification@evoliz.com. |
copy |
boolean | Optional | Send a copy to your user email address. |
attachment |
boolean | Optional | Add the PDF document as an attachment. Uses app email setting if not specified. |
subject |
string | null | Optional | Custom subject for the email. |
body |
string | null | Optional | Custom body for the email (text or HTML). |
signature |
boolean | Optional | Include company signature in the email. Default: true. |
links |
boolean | Optional | Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified. |
contact |
object | Optional | Contact information to include in the email |
contact.civility |
string | Optional | Contact civility (e.g., "Monsieur", "Madame") |
contact.lastname |
string | Optional | Contact last name |
contact.firstname |
string | Optional | Contact first name |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Delivery's creator ID. Use UserListTool to find users. |
clientid |
integer | Optional | Client ID. Use ClientListTool to find clients. |
currency |
string | Optional | ISO currency code (e.g., EUR). |
status |
string | Optional | Delivery status filter. Refer to the "delivery-statuses" resource for the full list of statuses and their descriptions. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Deliveries period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Deliveries min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Deliveries max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
sort_by |
string | Optional | Sort by deliveryid. Requires order parameter. |
order |
string | Optional | Sort order: asc (ascending) or desc (descending). Requires sort_by. |
show_items_extended |
boolean | Optional | Include items of types text in the items field. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
deliveryid |
integer | Optional | The delivery ID to retrieve. Required. Use DeliveryListTool to find deliveries. |
show_items_extended |
boolean | Optional | Include items of type text in the response. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
documentdate |
string | Required | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Required | The client's ID to attach the delivery to. Required. Use ClientListTool to find clients. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the delivery to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the delivery to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Required | Delivery payment terms information. Required (term.paytermid must be provided). |
term.paytermid |
integer | Required | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the delivery (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
number_packages |
number | Optional | Number of packages in the delivery. |
shipping_info |
string | null | Optional | Shipping/tracking information (e.g., carrier name, tracking number). |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Required | Delivery items array. NOTE: Items do NOT have vat_rate, rebate, or sale_classificationid fields. |
items[].type |
string | Optional | Item type. No sub_total for deliveries. |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article without articleid) |
items[].weight |
number | null | Optional | Item weight (delivery-specific field) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
business_process |
string | Optional | Business process type. Optional, but for companies with electronic invoicing enabled (FR: facturation électronique) the invoices created from this delivery copy it from the delivery and are rejected when it is missing — set it upfront. "mixed" is not allowed for private individual clients (FR: Particulier). |
| Name | Type | Required | Description |
|---|---|---|---|
deliveryid |
integer | Optional | Delivery ID to update. Required. Use DeliveryListTool to find deliveries. |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. Required. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's contact ID to address the delivery to. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | The client's delivery address ID to attach the delivery to. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Optional | Delivery payment terms information |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the delivery (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
number_packages |
number | Optional | Number of packages in the delivery. |
shipping_info |
string | null | Optional | Shipping/tracking information (e.g., carrier name, tracking number). |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. Use DocumentTemplateListTool to find templates. |
items |
array | Optional | Delivery items array. NOTE: Items do NOT have vat_rate, rebate, or sale_classificationid fields. |
items[].type |
string | Optional | Item type. No sub_total for deliveries. |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article without articleid) |
items[].weight |
number | null | Optional | Item weight (delivery-specific field) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
deliveryid |
integer | Optional | Delivery ID to send. Required. Use DeliveryListTool to find deliveries. |
to |
array | Optional | Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed. |
from |
string | Optional | Sender's email address. Defaults to configured SMTP or notification@evoliz.com. |
copy |
boolean | Optional | Send a copy to your user email address. |
attachment |
boolean | Optional | Add the PDF document as an attachment. Uses app email setting if not specified. |
subject |
string | null | Optional | Custom subject for the email. Supports dynamic fields like {DOCUMENT_NUMBER}, {TOTALQTY}, {WEIGHTPACK}, {QTYPACK}. |
body |
string | null | Optional | Custom body for the email (text or HTML). Supports dynamic fields like {DOCUMENT_NUMBER}, {TOTALQTY}, {WEIGHTPACK}, {QTYPACK}. |
signature |
boolean | Optional | Include company signature in the email. Default: true. |
links |
boolean | Optional | Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified. |
contact |
object | Optional | Contact information to include in the email |
contact.civility |
string | Optional | Contact civility (e.g., "Monsieur", "Madame") |
contact.lastname |
string | Optional | Contact last name |
contact.firstname |
string | Optional | Contact first name |
| Name | Type | Required | Description |
|---|---|---|---|
deliveryid |
integer | Optional | Delivery ID to convert into an invoice. Required. Use DeliveryListTool to find deliveries. |
| Name | Type | Required | Description |
|---|---|---|---|
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
userid |
integer | Optional | Quote's creator ID. |
clientid |
integer | Optional | Quote's client ID. Cannot be used with prospectid or organization=PROSPECT. |
prospectid |
integer | Optional | Quote's prospect ID. Cannot be used with clientid or organization=CLIENT. |
organization |
string | Optional | Organization type: CLIENT or PROSPECT. |
currency |
string | Optional | ISO currency code (e.g., EUR, USD). Max 3 characters. |
status |
string | Optional | Quote status filter. Refer to the "quote-statuses" resource for the full list of statuses and their descriptions. |
paytypeid |
integer | Optional | Payment method ID. |
analyticid |
integer | Optional | Analytic axis ID. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | VAT type for amount filtering. Default: vat_exclude. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) quotes. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Quotes period. |
date_min |
string | Optional | Quotes min date (YYYY-MM-DD). Must be used with date_max and period=custom. |
date_max |
string | Optional | Quotes max date (YYYY-MM-DD). Must be used with date_min and period=custom. |
sort_by |
string | Optional | Sort field. Only "quoteid" allowed. Default: sorted by document_date and document_number descending. |
order |
string | Optional | Sort direction: asc or desc. Default: asc. Requires sort_by parameter. |
document_number |
string | Optional | Filter by exact document number (e.g., "D-20240001", "D-00000002269"). Strict comparison. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in items field. Default: false. |
page |
integer | Optional | Page number for pagination. Default 1. |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | The quote ID to retrieve. Required. Use QuoteListTool to find quotes. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the response. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
documentdate |
string | Required | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. REQUIRED if prospectid is not provided; mutually exclusive with prospectid. |
prospectid |
integer | Optional | The prospect's ID to attach the quote to. Use ProspectListTool to find prospects. REQUIRED if clientid is not provided; mutually exclusive with clientid and delivery_addressid. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's or prospect's contact ID to address the quote to. |
delivery_addressid |
integer | Optional | The client's or prospect's delivery address ID to attach the quote to. |
object |
string | null | Optional | Object/subject on the document. |
validity |
integer | Optional | Quote validity period in days. Default: company default validity setting. |
term |
object | Required | Quote payment terms information. Required (term.paytermid must be provided). |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Required | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the quote (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
delivery_date |
string | Optional | Delivery date (YYYY-MM-DD format). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. |
items |
array | Required | Quote items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
retention |
object | Optional | Quote retention information (retenue de garantie) |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention release date (YYYY-MM-DD) |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
business_process |
string | Optional | Business process type. Optional, but for companies with electronic invoicing enabled (FR: facturation électronique) the invoices/advances created from this quote copy it from the quote and are rejected when it is missing — set it upfront. "mixed" is not allowed for private individual clients (FR: Particulier). |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | Quote ID to update (required). |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. Required if prospectid is not provided. |
prospectid |
integer | Optional | The prospect's ID to attach the quote to. Required if clientid is not provided. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | The client's or prospect's contact ID to address the quote to. |
delivery_addressid |
integer | Optional | The client's or prospect's delivery address ID to attach the quote to. |
object |
string | null | Optional | Object/subject on the document. |
validity |
integer | Optional | Quote validity period in days. |
term |
object | Optional | Quote payment terms information |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the quote (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (only when analytic option is enabled). |
delivery_date |
string | Optional | Delivery date (YYYY-MM-DD format). |
prices_include_vat |
boolean | Optional | Indicate whether prices include VAT or not. Default: false. |
global_rebate |
string | Optional | Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. |
items |
array | Optional | Quote items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find existing articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation/description (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string. |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
retention |
object | Optional | Quote retention information (retenue de garantie) |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention release date (YYYY-MM-DD) |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | Quote ID to send (required). |
to |
array | Optional | Array of recipient email addresses (required). In demo mode, only authenticated company email is allowed. |
from |
string | Optional | Sender email address from your configured SMTP servers. Default: notification@evoliz.com |
copy |
boolean | Optional | Send a copy to your user email address. |
attachment |
boolean | Optional | Add the PDF document as an attachment. Uses app email settings if not set. |
subject |
string | Optional | Subject of the email. |
body |
string | Optional | Body of the email in text or HTML format. |
signature |
boolean | Optional | Include company signature in the email. Default: true. |
links |
boolean | Optional | DEPRECATED: Add "View PDF" and "Download PDF" links. Uses app email settings if not set. |
contact |
object | Optional | Contact information for the email |
contact.civility |
string | Optional | Contact civility (e.g., Monsieur, Madame) |
contact.lastname |
string | Optional | Contact last name |
contact.firstname |
string | Optional | Contact first name |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | Quote ID to convert into an invoice (required). |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | Quote ID to create a progress invoice from. Required. Use QuoteListTool to find quotes. |
progress |
object | Optional | Global progression. Use for global progression mode. Provide either overall or current, not both. |
progress.overall |
number | Optional | Cumulative progress percentage (0-100) across all progress invoices. Use this OR current, not both. |
progress.current |
number | Optional | Progress percentage (0-100) for this specific invoice. Use this OR overall, not both. |
items |
array | Optional | Detailed progression by item. Use for detailed progression mode. At least one item required. |
items[].itemid |
integer | Optional | The item ID to progress. Required. Must be an item from the quote. |
items[].progress |
object | Optional | Item progression. Use overall or current, not both. |
items[].quantity |
number | Optional | Quantity of the item to invoice. Alternative to progress. |
advance_deduction_mode |
string | Optional | Advance deduction mode. Required on first progress invoice when quote has advances. prorate: proportional deduction, first: full deduction on first invoice, last: deduction when remaining <= advances. |
bonus_ids |
array | Optional | Array of bonus IDs from the quote to apply to this progress invoice. Each bonus can only be used once across all progress invoices. |
| Name | Type | Required | Description |
|---|---|---|---|
quoteid |
integer | Optional | The quote ID. Required. Use QuoteListTool to find quotes. |
documentdate |
string | Optional | Advance invoice date (YYYY-MM-DD). Required. |
amount |
number | Optional | Advance amount. Must be > 0 and <= quote remaining amount. Required. |
delivery_addressid |
integer | Optional | Client delivery address ID. Use ClientAddressListTool to find addresses. |
paytypeid |
integer | Optional | Payment method ID. Defaults to quote's paytypeid. Use PayTypeListTool to get valid IDs. |
templateid |
integer | Optional | Advance invoice template ID (when multi-template is enabled). |
comment |
string | Optional | Comments on the advance. |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. Defaults to the source document setting. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
designation |
string | Optional | Custom item designation. Default: "Acompte sur Devis n{document_number}". |
business_process |
string | Optional | Business process type. If omitted, copied from the source quote. When the company has enabled electronic invoicing (FR: facturation électronique), the advance must carry one: omitting it while the quote has none is rejected (400). |
| Name | Type | Required | Description |
|---|---|---|---|
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
userid |
integer | Optional | Order's creator ID. |
clientid |
integer | Optional | Client ID. Use ClientListTool to find clients. |
currency |
string | Optional | ISO currency code (e.g., EUR). Max 3 characters. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
analyticid |
integer | Optional | Analytic axis ID. |
status |
string | Optional | Sale order status filter. Refer to the "sale-order-statuses" resource for the full list of statuses and their descriptions. |
amount_min |
number | Optional | Minimum amount (requires amount_max). |
amount_max |
number | Optional | Maximum amount (requires amount_min). |
amount_type |
string | Optional | VAT type for amount filtering. Default: vat_exclude. |
period |
string | Optional | Orders period. |
date_min |
string | Optional | Orders min date (YYYY-MM-DD). Requires date_max and period=custom. |
date_max |
string | Optional | Orders max date (YYYY-MM-DD). Requires date_min and period=custom. |
search |
string | Optional | Search parameter. |
enabled |
boolean | Optional | Filter active (true) or inactive (false) orders. |
document_number |
string | Optional | Filter by exact document number (e.g., "C-20240001", "C-00000002269"). Strict comparison. |
sort_by |
string | Optional | Sort field. |
order |
string | Optional | Sort direction. Default: asc. |
show_items_extended |
boolean | Optional | Include text and sub_total items. Default: false. |
page |
integer | Optional | Page number for pagination. Default 1. |
| Name | Type | Required | Description |
|---|---|---|---|
orderid |
integer | Optional | The sale order ID to retrieve. Required. Use SaleOrderListTool to find orders. |
show_items_extended |
boolean | Optional | Include text and sub_total items. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
documentdate |
string | Required | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Required | The client's ID. Use ClientListTool to find clients. Required. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | Client contact ID. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | Client delivery address ID. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Required | Sale order payment terms. Required (term.paytermid must be provided). |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Required | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the order (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (when analytic option is enabled). |
retract |
boolean | Optional | Withdrawal period flag. |
delivery_date |
string | Optional | Delivery date (YYYY-MM-DD format). |
prices_include_vat |
boolean | Optional | Whether prices include VAT. Default: false. |
global_rebate |
string | Optional | Global rebate (number or "X%"). |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. IMPORTANT: unlike the evoliz web UI, which applies the company preferred CGV by default, the API defaults to false — when this field is omitted the document is created WITHOUT CGV. If the company uses CGV, ask the user whether to include them before creating. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. |
items |
array | Required | Sale order items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code. Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate (number or "X%") |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
retention |
object | Optional | Sale order retention information (retenue de garantie) |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention release date (YYYY-MM-DD) |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
business_process |
string | Optional | Business process type. Optional, but for companies with electronic invoicing enabled (FR: facturation électronique) the invoices/advances created from this order copy it from the order and are rejected when it is missing — set it upfront. "mixed" is not allowed for private individual clients (FR: Particulier). |
| Name | Type | Required | Description |
|---|---|---|---|
orderid |
integer | Optional | The sale order ID to update. Required. Use SaleOrderListTool to find orders. |
documentdate |
string | Optional | Document date (YYYY-MM-DD format). Required. |
clientid |
integer | Optional | The client's ID. Use ClientListTool to find clients. Required. |
external_document_number |
string | null | Optional | External document number, must be unique. |
contactid |
integer | Optional | Client contact ID. Use ClientContactListTool to find contacts. |
delivery_addressid |
integer | Optional | Client delivery address ID. Use ClientAddressListTool to find addresses. |
object |
string | null | Optional | Object/subject on the document. |
term |
object | Optional | Sale order payment terms |
term.penalty |
number | Optional | Penalty percentage |
term.nopenalty |
boolean | Optional | No penalty flag |
term.recovery_indemnity |
boolean | Optional | Recovery indemnity flag |
term.discount_term |
number | Optional | Discount term |
term.no_discount_term |
boolean | Optional | No discount term flag |
term.paytermid |
integer | Optional | Payment term ID. Use PayTermListTool to get valid IDs. |
term.duedate |
string | Optional | Due date (YYYY-MM-DD) |
term.paydelay |
integer | Optional | Payment delay in days |
term.endmonth |
boolean | Optional | End of month flag |
term.payday |
integer | Optional | Payment day of month |
term.paytypeid |
integer | Optional | Payment type ID. Use PayTypeListTool to get valid IDs. |
comment |
string | null | Optional | Comments on the order (HTML accepted). |
analyticid |
integer | Optional | Analytic axis ID (when analytic option is enabled). |
retract |
boolean | Optional | Withdrawal period flag. |
delivery_date |
string | Optional | Delivery date (YYYY-MM-DD format). |
prices_include_vat |
boolean | Optional | Whether prices include VAT. Default: false. |
global_rebate |
string | Optional | Global rebate (number or "X%"). |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. WARNING: omitting this field on update RESETS the document to no CGV (full replacement behavior) — pass true to keep the CGV on a document that already includes them. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
templateid |
integer | Optional | Template ID for document generation. |
items |
array | Optional | Sale order items array |
items[].type |
string | Optional | Item type |
items[].articleid |
integer | Optional | Article ID. Use ArticleListTool to find articles. |
items[].reference |
string | Optional | Article reference |
items[].designation |
string | Optional | Item designation (HTML accepted) |
items[].quantity |
number | Optional | Quantity (required for type=article) |
items[].unit |
string | Optional | Unit code. Use UnitCodeListTool to get valid codes. |
items[].unit_price |
number | Optional | Unit price (required for type=article) |
items[].vat_rate |
number | Optional | VAT rate percentage. Must be one of the VAT rates configured for the company — use VatRateListTool to get them. 0 is NOT accepted: omit vat_rate for a VAT-free line (a VAT-exempt company carries a document-level vat_exoneration reason). |
items[].rebate |
string | Optional | Rebate (number or "X%") |
items[].sale_classificationid |
integer | Optional | Sale classification ID |
items[].purchase_unit_price_vat_exclude |
number | Optional | Purchase unit price excluding VAT |
retention |
object | Optional | Sale order retention information (retenue de garantie) |
retention.percent |
number | Optional | Retention percentage |
retention.date |
string | Optional | Retention release date (YYYY-MM-DD) |
bonuses |
array | Optional | Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings. |
bonuses[].label |
string | Optional | Bonus label (max 80 characters) |
bonuses[].amount |
number | Optional | Bonus amount (min 0) |
vat_exoneration |
string | Optional | Document-level VAT exoneration reason (CGI article). ONLY allowed when the company is VAT-exempt. If omitted on a VAT-exempt company, the company default reason is stamped on the document automatically — set it explicitly to control the legal reason. Use "other" together with vat_exoneration_other_reason. |
vat_exoneration_other_reason |
string | Optional | Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
orderid |
integer | Optional | Sale order ID to convert into an invoice. Required. Use SaleOrderListTool to find orders. |
| Name | Type | Required | Description |
|---|---|---|---|
orderid |
integer | Optional | The sale order ID. Required. Use SaleOrderListTool to find orders. |
documentdate |
string | Optional | Advance invoice date (YYYY-MM-DD). Required. |
amount |
number | Optional | Advance amount. Must be > 0 and <= order remaining amount. Required. |
delivery_addressid |
integer | Optional | Client delivery address ID. Use ClientAddressListTool to find addresses. |
paytypeid |
integer | Optional | Payment method ID. Defaults to order's paytypeid. Use PayTypeListTool to get valid IDs. |
templateid |
integer | Optional | Advance invoice template ID (when multi-template is enabled). |
comment |
string | Optional | Comments on the advance. |
include_sale_general_conditions |
boolean | Optional | Include the company sale general conditions (FR: CGV) in the PDF. Defaults to the source document setting. The detail tools do not tell whether an existing document includes them: when copying or duplicating a document, ask the user whether the CGV must be included instead of assuming. |
designation |
string | Optional | Custom item designation. Default: "Acompte sur Commande n°{document_number}". |
business_process |
string | Optional | Business process type. If omitted, copied from the source sale order. When the company has enabled electronic invoicing (FR: facturation électronique), the advance must carry one: omitting it while the order has none is rejected (400). |
| Name | Type | Required | Description |
|---|---|---|---|
orderid |
integer | Optional | Sale order ID to create a progress invoice from. Required. Use SaleOrderListTool to find orders. |
progress |
object | Optional | Global progression. Use for global progression mode. Provide either overall or current, not both. |
progress.overall |
number | Optional | Cumulative progress percentage (0-100) across all progress invoices. Use this OR current, not both. |
progress.current |
number | Optional | Progress percentage (0-100) for this specific invoice. Use this OR overall, not both. |
items |
array | Optional | Detailed progression by item. Use for detailed progression mode. At least one item required. |
items[].itemid |
integer | Optional | The item ID to progress. Required. Must be an item from the sale order. |
items[].progress |
object | Optional | Item progression. Use overall or current, not both. |
items[].quantity |
number | Optional | Quantity of the item to invoice. Alternative to progress. |
advance_deduction_mode |
string | Optional | Advance deduction mode. Required on first progress invoice when sale order has advances. prorate: proportional deduction, first: full deduction on first invoice, last: deduction when remaining <= advances. |
bonus_ids |
array | Optional | Array of bonus IDs from the sale order to apply to this progress invoice. Each bonus can only be used once across all progress invoices. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
userid |
integer | Optional | Advance's creator ID. Use UserListTool to find users. |
clientid |
integer | Optional | Client ID. Use ClientListTool to find clients. |
currency |
string | Optional | ISO currency code (e.g., EUR). |
enabled |
boolean | null | Optional | Filter active (true) / inactive (false) advances. |
status |
string | Optional | Advance status filter. Refer to the "advance-statuses" resource for the full list of statuses and their descriptions. |
amount_min |
number | Optional | Minimum amount (requires amount_max parameter). |
amount_max |
number | Optional | Maximum amount (requires amount_min parameter). |
amount_type |
string | Optional | Set vat type to filter with amount_min and amount_max. Default: vat_exclude. |
search |
string | Optional | Search parameter. |
period |
string | Optional | Advances period. Use "custom" with date_min and date_max. |
date_min |
string | Optional | Advances min date (YYYY-MM-DD). Must be used with date_max and period set to custom. |
date_max |
string | Optional | Advances max date (YYYY-MM-DD). Must be used with date_min and period set to custom. |
paytypeid |
integer | Optional | Payment method ID. Use PayTypeListTool to get valid IDs. |
analyticid |
integer | Optional | Analytic axis ID. |
direct_debit |
boolean | Optional | Direct debit initialized on advances or not. |
sort_by |
string | Optional | Sort by advanceid. Requires order parameter. |
order |
string | Optional | Sort order: asc (ascending) or desc (descending). Requires sort_by. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the items field. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
advanceid |
integer | Optional | The advance ID to retrieve. Required. Use AdvanceListTool to find advances. |
show_items_extended |
boolean | Optional | Include items of types text and sub_total in the response. Default: false. |
| Name | Type | Required | Description |
|---|---|---|---|
advanceid |
integer | Optional | The advance ID to list payments for. Required. Use AdvanceListTool to find advances. |
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
| Name | Type | Required | Description |
|---|---|---|---|
advanceid |
integer | Optional | Advance ID to add the payment to. Required. Use AdvanceListTool with status="sent" or "inpayment" to find advances awaiting payment. |
paydate |
string | Optional | Payment date (YYYY-MM-DD format). Required. |
label |
string | Optional | Payment label/description. Required. |
paytypeid |
integer | Optional | Payment method ID. Required. Refer to the "payment-methods" resource for the full list. Always ask the user which method they prefer. Use 13 for credit note payment. |
amount |
number | Optional | Payment amount. Required for standard payments (paytypeid != 13). PROHIBITED for credit note payments. |
creditid |
integer | Optional | Credit note ID. REQUIRED when paytypeid is 13, PROHIBITED otherwise. |
comment |
string | Optional | Comments on the payment. |
| Name | Type | Required | Description |
|---|---|---|---|
advanceid |
integer | Optional | The advance ID to create a total credit from. Required. Use AdvanceListTool to find advances. |
documentdate |
string | Optional | Document date for the credit (YYYY-MM-DD). Defaults to today. Must be within +30 days from today. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
| Name | Type | Required | Description |
|---|---|---|---|
paytypeid |
integer | Optional | The payment type ID to retrieve. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
| Name | Type | Required | Description |
|---|---|---|---|
paytermid |
integer | Optional | The payment term ID to retrieve. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
| Name | Type | Required | Description |
|---|---|---|---|
unitcodeid |
integer | Optional | The unit code ID to retrieve. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter. Default 15, max 100. |
| Name | Type | Required | Description |
|---|---|---|---|
vatrateid |
integer | Optional | The VAT rate ID to retrieve. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
type |
string | Optional | Filter by document type. |
search |
string | Optional | Search by template label. |
| Name | Type | Required | Description |
|---|---|---|---|
templateid |
integer | Optional | The template ID to retrieve. Required. Use DocumentTemplateListTool to find templates. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
clientid |
integer | Optional | Filter by client ID. |
paytypeid |
integer | Optional | Filter by payment type ID. Use PayTypeListTool to find payment types. |
userid |
integer | Optional | Filter by user ID. |
typedoc |
string | Optional | Filter by document type. |
amount_min |
number | Optional | Minimum payment amount filter. |
amount_max |
number | Optional | Maximum payment amount filter. |
date_min |
string | Optional | Minimum date filter (YYYY-MM-DD). |
date_max |
string | Optional | Maximum date filter (YYYY-MM-DD). |
period |
string | Optional | Predefined period filter. Use PeriodsResource to see available periods. |
sort_by |
string | Optional | Field to sort by (e.g., paydate, amount). |
order |
string | Optional | Sort order: asc or desc. |
| Name | Type | Required | Description |
|---|---|---|---|
paymentid |
integer | Optional | The payment ID to retrieve. Required. Use PaymentListTool to find payments. |
| Name | Type | Required | Description |
|---|---|---|---|
document_type |
string | Optional | Type of the document. Required. |
documentid |
integer | Optional | ID of the invoice, credit note or advance. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
document_type |
string | Optional | Type of the document. Required. |
documentid |
integer | Optional | ID of the invoice, credit note or advance. Required. |
addressing_identifier |
string | Optional | The recipient's electronic address, as returned by ElectronicAddressListTool. Required. |
legal_commitment |
string | Optional | Legal commitment number (FR: numéro d'engagement). Required when the chosen address has needs_legal_commitment = true, ignored otherwise. |
| Name | Type | Required | Description |
|---|---|---|---|
document_type |
string | Optional | Type of the document. Required. |
documentid |
integer | Optional | ID of the invoice, credit note or advance. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
paymentid |
integer | Optional | ID of the payment to notify. Required. Use PaymentListTool or InvoicePaymentListTool to find it. |
| Name | Type | Required | Description |
|---|---|---|---|
invoiceid |
integer | Optional | The invoice ID to create the recovery for. Required. Must be a payable invoice. Use InvoiceListTool to find invoices. |
recovery_date |
string | Optional | Recovery date in YYYY-MM-DD format. Required. |
subject |
string | Optional | Email subject (max 200 characters). Required. |
body |
string | Optional | Email body content (text or HTML). Required. |
recovery_templateid |
integer | Optional | Recovery template ID to use. |
contactid |
integer | Optional | Client contact ID. Must belong to the invoice's client. Use ClientContactListTool to find contacts. |
signature |
boolean | Optional | Include company signature in the email. Default: true. |
comment |
string | Optional | Internal comment for this recovery. |
| Name | Type | Required | Description |
|---|---|---|---|
recoveryid |
integer | Optional | The recovery ID to send. Required. Use RecoveryCreateTool to create a recovery first. |
to |
array | Optional | Array of recipient email addresses. Required. |
from |
string | Optional | Sender's email address. Defaults to configured SMTP or notification email. |
copy |
boolean | Optional | Send a copy to your user email address. |
attachment |
boolean | Optional | Include the recovery document as PDF attachment. |
| Name | Type | Required | Description |
|---|---|---|---|
document_type |
string | Optional | The document type. Required. Use "corder" for sale orders. |
document_id |
integer | Optional | The document ID. Required. |
| Name | Type | Required | Description |
|---|---|---|---|
page |
integer | Optional | Page number for pagination. Default 1. |
per_page |
integer | Optional | Pagination parameter (1-100). Default: 15. |
element_type |
string | Optional | Filter by entity type (e.g., invoice, quote, client, sale_order). |
action |
string | Optional | Filter by action type (e.g., create, update, delete, send). |
userid |
integer | Optional | Filter by user ID. |
period |
string | Optional | Predefined period filter. Use PeriodsResource to see available periods. |
date_min |
string | Optional | Minimum date filter (YYYY-MM-DD). Required when period=custom. |
date_max |
string | Optional | Maximum date filter (YYYY-MM-DD). Required when period=custom. |
sort_by |
string | Optional | Field to sort by. |
order |
string | Optional | Sort order: asc or desc. |
| Name | Type | Required | Description |
|---|---|---|---|
eventid |
integer | Optional | The event ID to retrieve. Required. Use EventListTool to find events. |
| Name | Type | Required | Description |
|---|---|---|---|
doc_type |
string | Optional | Document type to retrieve. Required. Options: invoice (Facture), quote (Devis), corder (Commande), delivery (Bon de livraison), credit (Avoir), advance (Acompte), buy (Achat), supplier-credit (Avoir fournisseur), article, etc. |
docid |
integer | Optional | Document ID to retrieve. Required. Use the corresponding ListTool (InvoiceListTool, QuoteListTool, SaleOrderListTool, etc.) to find document IDs. |
| Name | Type | Required | Description |
|---|---|---|---|
asset |
string | Required | Asset name to retrieve. |
Interactive HTML widget rendering the invoice list returned by the invoice-list-tool.
Interactive HTML widget rendering a single invoice with its PDF preview, fed by invoice-get-tool and file-get-tool.
Interactive HTML widget rendering the quote list returned by the quote-list-tool.
Interactive HTML widget rendering a single quote with its PDF preview, fed by quote-detail-tool and file-get-tool.
Interactive HTML widget rendering the credit list returned by the credit-list-tool.
Interactive HTML widget rendering a single credit note with its PDF preview, fed by credit-detail-tool and file-get-tool.
Reference list of predefined period filters available for date filtering in the API.
Reference list of dynamic placeholder fields available for invoice/quote email subject and body.
Reference list of available payment methods (FR: Moyens de paiement) with their identifiers. Always present these options to the user before creating a payment.
Reference list of invoice statuses and sub-statuses with their codes and descriptions. Use this to understand the invoice lifecycle.
Reference list of quote (FR: Devis) statuses and sub-statuses with their codes and descriptions. Use this to understand the quote lifecycle.
Reference list of sale order (FR: Bon de commande) statuses and sub-statuses with their codes and descriptions. Use this to understand the sale order lifecycle.
Reference list of delivery (FR: Bon de livraison) statuses and sub-statuses with their codes and descriptions. Use this to understand the delivery lifecycle.
Reference list of credit note (FR: Avoir) statuses and sub-statuses with their codes and descriptions. Use this to understand the credit note lifecycle.
Reference list of advance invoice (FR: Facture d'acompte) statuses and sub-statuses with their codes and descriptions. Use this to understand the advance lifecycle.