FR EN

evoliz MCP

Connecteur IA v0.1

Connectez votre assistant IA (Claude, ChatGPT…) à evoliz pour piloter votre facturation et votre comptabilité en langage naturel. Authentification sécurisée via OAuth 2.1.

Endpoint
https://evoliz.io/mcp
105
Outils
15
Ressources
Important

Ce serveur MCP permet aux assistants IA d'effectuer des actions sensibles en votre nom (création de factures, modification de clients, envoi de documents, etc.). L'IA peut faire des erreurs. Vérifiez toujours les actions qu'elle effectue et relisez les données avant de confirmer toute opération critique.

Que peut faire cette IA pour vous ?

Demandez en langage naturel et laissez l'IA s'occuper du reste. Voici les actions les plus utilisées au quotidien.

Factures

Créez, consultez, modifiez et envoyez des factures par email. Enregistrez les paiements reçus.

Clients

Ajoutez et mettez à jour vos clients, leurs contacts et leurs adresses de livraison.

Prospects

Ajoutez des prospects, gérez leurs contacts et transformez-les en clients une fois signés.

Devis

Rédigez des devis, envoyez-les à vos clients et transformez-les en facture une fois acceptés.

Commandes client

Créez des commandes client, suivez-les et convertissez-les en facture quand c'est prêt.

Bons de livraison

Créez des bons de livraison, envoyez-les et convertissez-les en facture en un clin d'œil.

Avoirs

Créez des avoirs totaux ou partiels à partir d'une facture et envoyez-les par email.

Acomptes

Suivez vos acomptes, enregistrez les paiements reçus et créez des avoirs si besoin.

Paiements

Consultez tous vos paiements et retrouvez ceux liés à une facture ou un acompte.

Catalogue

Ajoutez des articles ou services et mettez à jour leurs prix et taux de TVA.

Fournisseurs

Ajoutez et consultez vos fournisseurs pour garder votre carnet d'adresses à jour.

Relances

Rédigez et envoyez des relances par email pour les factures impayées.

Comment connecter evoliz à votre IA

Ajoutez evoliz comme connecteur personnalisé dans votre assistant IA en quelques clics. Copiez l'URL de l'endpoint ci-dessus puis suivez les étapes.

Claude

  1. Ouvrez les paramètres de Claude et allez dans « Connecteurs ».
  2. Cliquez sur « Ajouter un connecteur personnalisé » et collez l'URL de l'endpoint.
    https://evoliz.io/mcp
  3. Authentifiez-vous avec vos identifiants evoliz.

ChatGPT

  1. Dans ChatGPT, ouvrez Paramètres puis « Connecteurs » (plan Pro ou Business requis).
  2. Cliquez sur « Ajouter » et collez l'URL de l'endpoint.
    https://evoliz.io/mcp
  3. Authentifiez-vous avec vos identifiants evoliz.

Outils

company-detail-tool
Lecture seule
Get detailed information about the authenticated user's current company (FR: Entreprise/Société). A company (FR: entreprise, société) is the business entity that owns the Evoliz account and manages invoices, quotes, clients, etc. Returns comprehensive company details including: - Company identification (ID, code, name) - Contact information (email, phone) - Legal status - Address - Accounting period - Payment terms No parameters required - automatically uses the authenticated user's company.

Aucun paramètre requis.

user-list-tool
Lecture seule
List users (FR: Utilisateurs) in the authenticated user's company. A user (FR: utilisateur) is a person who has access to the Evoliz account with specific permissions and roles. Returns a paginated list of users with their details including: - User ID, firstname, lastname - Profile type (user, admin, etc.) - Email, phone, mobile, fax - Role (CTO, etc.) - Creation date and last connection - Active/inactive status Optional filters: - enabled: Filter active (true) or inactive (false) users - search: Search users by name, email, etc. - per_page: Number of results per page (1-100, default: 15) Example usage: - List all users: {} - List active users only: {"enabled": true} - Search for specific user: {"search": "francois"} - Get 50 users per page: {"per_page": 50}
4 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
enabled boolean Optionnel Filter active (true) or inactive (false) users.
search string Optionnel Search parameter to find users by name, email, etc.
user-detail-tool
Lecture seule
Get detailed information about a specific user (FR: Utilisateur) by its ID. A user (FR: utilisateur) is a person who has access to the Evoliz account with specific permissions and roles. Returns comprehensive user details including: - User ID, firstname, lastname - Profile type (user, admin, etc.) - Email, phone, mobile, fax - Role - Creation date and last connection Required parameter: - userid: The unique identifier of the user to retrieve
1 paramètre(s)
Nom Type Requis Description
userid integer Requis The unique identifier of the user to retrieve.
user-create-admin-tool
Create a new admin user (FR: Utilisateur administrateur) in the company. A user (FR: utilisateur) is a person who has access to the Evoliz account with specific permissions and roles. Optional parameters: - firstname: User first name - lastname: User last name - email: User email address - email_notification: Send an email notification for the user creation (default: true) The API will create the admin user and optionally send a notification email. Example usage: { "firstname": "François", "lastname": "Aupetit", "email": "contact@triiptic.fr", "email_notification": true } Example minimal usage: { "firstname": "John", "lastname": "Doe", "email": "john.doe@example.com" } Note: By default, an email notification will be sent unless email_notification is set to false.
4 paramètre(s)
Nom Type Requis Description
firstname string Optionnel User first name.
lastname string Optionnel User last name.
email string Optionnel User email address.
email_notification boolean Optionnel Send an email notification for the user creation. Default: true.
client-list-tool
Lecture seule
List clients (FR: Clients) in the authenticated user's company. A client (FR: client) is a customer or business entity that purchases goods or services from your company. Returns a paginated list of clients with comprehensive details including: - Client identification (ID, code, name, type, legal form) - Business numbers (SIRET, SIREN, VAT number, etc.) - Bank information (IBAN, BIC, bank name, account details) - Address and delivery address - Contact information (phone, mobile, fax, website) - Payment terms and conditions - Safe amount, rebate percentages - Custom fields - Active/inactive status Optional filters: - enabled: Filter active (true) or inactive (false) clients - search: Search clients by name, code, email, etc. - per_page: Number of results per page (1-100, default: 50) Example usage: - List all clients: {} - List active clients only: {"enabled": true} - Search for specific client: {"search": "Triiptic"} - Get 100 clients per page: {"per_page": 100}
4 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 50.
enabled boolean Optionnel Filter active (true) or inactive (false) clients.
search string Optionnel Search parameter to find clients by name, code, email, etc.
client-detail-tool
Lecture seule
Get detailed information about a specific client (FR: Client) by its ID. A client (FR: client) is a customer or business entity that purchases goods or services from your company. Returns comprehensive client details including: - Client identification (ID, code, name, type, legal form) - Business numbers (SIRET, SIREN, VAT number) - Bank information - Address and delivery address - Contact information - Payment terms Required parameter: - clientid: The unique identifier of the client to retrieve
1 paramètre(s)
Nom Type Requis Description
clientid integer Requis The unique identifier of the client to retrieve.
client-create-tool
Create a new client (FR: Client) with given data. A client (FR: client) is a customer or business entity that purchases goods or services from your company. Required fields: - name: Client name - type: Client type (Particulier, Professionnel, or Administration publique) - address: Client address information (object with addr, postcode, town, iso2) Optional fields include code, legal form, business numbers, bank information, delivery address, contact details, payment terms, custom fields, etc. The API will validate all data and return the created client with its ID. Example minimal usage: { "name": "Triiptic", "type": "Professionnel", "address": { "addr": "176 avenue Joseph Louis Lambot", "postcode": "83130", "town": "La Garde", "iso2": "FR" } } Example with full details: { "name": "Triiptic SAS", "type": "Professionnel", "code": "C00123", "legalform": "SAS", "business_number": "123 456 789 12345", "business_identification_number": "123 456 789", "vat_number": "FR20123456789", "address": { "addr": "176 avenue Joseph Louis Lambot", "addr2": "Etage 2", "postcode": "83130", "town": "La Garde", "iso2": "FR" }, "phone": "01 46 72 50 04", "website": "https://www.triiptic.fr", "safe_amount": 4000, "ttc": false } Notes: - If code is not provided, it will be automatically generated - For French clients of type Professionnel or Administration publique: vat_number is REQUIRED - Set vat_number to 'N/C' if Not Concerned, Not Known or Not Communicated
20 paramètre(s)
Nom Type Requis Description
name string Requis Client name (required).
type string Requis Client type (required).
address object Requis Client address information (required).
address.addr string Optionnel Street address
address.addr2 string Optionnel Additional address line 2
address.addr3 string Optionnel Additional address line 3
address.postcode string Requis Postal code
address.town string Requis Town/City
address.iso2 string Requis Country ISO2 code (e.g., FR, US)
code string Optionnel Client code. If not provided, will be automatically generated.
legalform string Optionnel Client legal form (e.g., SAS, SARL, EURL).
activity_number string Optionnel Client activity number.
immat_number string Optionnel Client immatriculation number (e.g., RCS PARIS 12345678912345).
bank_information object Optionnel Client bank information.
bank_information.bank_name string Optionnel Bank name
bank_information.bank_account_detail string Optionnel Bank account details
bank_information.iban string Optionnel IBAN (e.g., FR00 1234 5678 9012 3456 7890 134)
bank_information.bank_identification_code string Optionnel BIC/SWIFT code
delivery_address object Optionnel Client delivery address (deprecated, use new client address endpoint).
delivery_address.name string Optionnel Delivery address name
delivery_address.code string Optionnel Delivery address code
delivery_address.favorite boolean Optionnel Mark as favorite address
delivery_address.addr string Optionnel Street address
delivery_address.addr2 string Optionnel Additional address line 2
delivery_address.addr3 string Optionnel Additional address line 3
delivery_address.postcode string Optionnel Postal code
delivery_address.town string Optionnel Town/City
delivery_address.iso2 string Optionnel Country ISO2 code
delivery_address.business_number string Optionnel Business number for this address
phone string Optionnel Client phone number (e.g., 01 46 72 50 04).
mobile string Optionnel Client mobile number (e.g., +33600000000).
fax string Optionnel Client fax number.
website string Optionnel Client website URL (e.g., https://www.triiptic.fr).
safe_amount number Optionnel Amount of outstanding guarantee/safe amount.
term object Optionnel Specific document conditions for the client.
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.validity number Optionnel Validity period
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID
term.paytypeid integer Optionnel Payment type ID
term.vat_rate number Optionnel VAT rate percentage
term.vat_exoneration integer Optionnel VAT exoneration code
term.vat_exoneration_other_reason string Optionnel Custom VAT exoneration reason
term.analyticid integer Optionnel Analytic axis ID
term.rebate_percent number Optionnel Rebate percentage
ttc boolean Optionnel Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option.
comment string Optionnel Comments on this client.
business_number string Optionnel 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 Optionnel 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 Optionnel 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.
client-update-tool
Update an existing client (FR: Client) with given data. A client (FR: client) is a customer or business entity that purchases goods or services from your company. Only provided fields will be updated (partial update). Required parameters: - clientid: The client ID to update Optional fields (all nullable): - code, name, civility, type, legalform - activity_number, immat_number - business_number, business_identification_number, vat_number - bank_information, address - phone, mobile, fax, website - safe_amount, term, ttc - comment - enabled (activate/deactivate client) Note: For term and ttc fields, use the format: { "enabled": true, "value": <actual_value> } Example minimal usage: { "clientid": 9876, "name": "Triiptic SAS Updated" } Example with multiple fields: { "clientid": 9876, "name": "Triiptic SAS", "phone": "01 46 72 50 05", "website": "https://www.triiptic.com", "safe_amount": 5000, "enabled": true } Example with term update: { "clientid": 9876, "term": { "penalty": { "enabled": true, "value": 5 }, "rebate_percent": { "enabled": true, "value": 10 } } }
22 paramètre(s)
Nom Type Requis Description
clientid integer Optionnel Client ID to update (required).
code string | null Optionnel Client code.
name string | null Optionnel Client name.
civility string | null Optionnel Client civility (e.g., M., Mme, etc.).
type string Optionnel Client type.
legalform string | null Optionnel Client legal form (e.g., SAS, SARL, EURL).
activity_number string | null Optionnel Client activity number.
immat_number string | null Optionnel Client immatriculation number.
bank_information object Optionnel Client bank information.
bank_information.bank_name string Optionnel Bank name
bank_information.bank_account_detail string Optionnel Bank account details
bank_information.iban string Optionnel IBAN
bank_information.bank_identification_code string Optionnel BIC/SWIFT code
address object Optionnel Client address information.
address.addr string Optionnel Street address
address.addr2 string Optionnel Additional address line 2
address.addr3 string Optionnel Additional address line 3
address.postcode string Optionnel Postal code
address.town string Optionnel Town/City
address.iso2 string Optionnel Country ISO2 code (e.g., FR)
phone string | null Optionnel Client phone number.
mobile string | null Optionnel Client mobile number.
fax string | null Optionnel Client fax number.
website string | null Optionnel Client website URL.
safe_amount number | null Optionnel Amount of outstanding guarantee/safe amount.
term object Optionnel 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 Optionnel Penalty percentage override
term.nopenalty object Optionnel No penalty override
term.recovery_indemnity object Optionnel Recovery indemnity override
term.discount_term object Optionnel Discount term override
term.no_discount_term object Optionnel No discount term override
term.paytermid object Optionnel Payment term override
term.paytypeid object Optionnel Payment type override
term.validity object Optionnel Quote validity override
term.rebate_percent object Optionnel Rebate percentage override
term.vat_rate object Optionnel VAT rate override
term.analyticid object Optionnel Analytic axis override
term.vat_exoneration object Optionnel VAT exoneration override
term.vat_exoneration_other_reason object Optionnel Custom VAT exoneration reason override
ttc object Optionnel Billing option (prices include VAT). Example: {"enabled": true, "value": true}.
ttc.enabled boolean Optionnel Whether the TTC billing override is active
ttc.value boolean Optionnel Bill in VAT-included prices. Prohibited unless enabled is true.
comment string | null Optionnel Comments on this client.
business_number string | null Optionnel 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 Optionnel 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 Optionnel Client intra-community VAT number. Set to "N/C" if Not Concerned/Known/Communicated.
enabled boolean Optionnel Determines if the client is active.
client-contact-list-tool
Lecture seule
List client contacts (FR: Contacts clients) in the company. A client contact is a person associated with a client company (e.g., CEO, accountant, sales rep). Returns contact details including: - Contact identification (ID, name, civility) - Associated client information - Email and phone numbers (primary, secondary, tertiary) - Job profile/function - Consent status (GDPR) - Favorite flag Optional filters: - clientid: Filter by specific client ID - enabled: Filter active/inactive contacts - consent: Filter by consent status (without, authorized, unauthorized) - search: Search by name, email - email: Filter by email address Example usage: { "clientid": 9876, "enabled": true }
9 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
clientid integer Optionnel Filter by client ID. Use ClientListTool to find clients.
enabled boolean Optionnel Filter active (true) or inactive (false) contacts.
consent string Optionnel Filter by GDPR consent status.
search string Optionnel Search by name or email.
email string Optionnel Filter by exact email address.
sort_by string Optionnel Sort field. Default: lastname.
order string Optionnel Sort order. Default: asc.
client-contact-detail-tool
Lecture seule
Get detailed information about a specific client contact by its ID. Returns full contact details including: - Contact info (name, civility, email, profile/job) - Associated client information - Phone numbers (primary, secondary, tertiary with labels) - Consent status and favorite flag - Custom fields Required parameter: - contactid: The contact ID to retrieve Example usage: { "contactid": 8568 }
1 paramètre(s)
Nom Type Requis Description
contactid integer Optionnel The contact ID to retrieve. Required. Use ClientContactListTool to find contacts.
client-contact-create-tool
Create a new contact for a client. The client must be enabled (active): contacts of a disabled client are read-only. Required fields: - clientid: The client to attach the contact to - lastname: Contact last name - email: Contact email address Optional fields: - civility: Contact civility - firstname: Contact first name - profil: Job/function - consent: GDPR consent status - Phone numbers (primary, secondary, tertiary) with labels - favorite: Set as client's favorite contact Phone label values: see the label_tel_* parameter enums (e.g., "Portable", "Principal"). Example usage: { "clientid": 9876, "lastname": "Gasquet", "firstname": "Olivier", "email": "contact@triiptic.fr", "profil": "CTO", "label_tel_primary": "Portable", "tel_primary": "+33600000000" }
14 paramètre(s)
Nom Type Requis Description
clientid integer Requis The client ID to attach the contact to. Required. Use ClientListTool to find clients.
lastname string Requis Contact last name. Required.
email string Requis Contact email address. Required.
civility string Optionnel Contact civility (e.g., Monsieur, Madame).
firstname string Optionnel Contact first name.
profil string Optionnel Contact job/function (e.g., CTO, Director).
consent string Optionnel GDPR consent status. Default: without.
label_tel_primary string Optionnel Primary phone label. Required when tel_primary is present.
tel_primary string Optionnel Primary phone number. Required when label_tel_primary is present.
label_tel_secondary string Optionnel Secondary phone label. Required when tel_secondary is present.
tel_secondary string Optionnel Secondary phone number. Required when label_tel_secondary is present.
label_tel_tertiary string Optionnel Tertiary phone label. Required when tel_tertiary is present.
tel_tertiary string Optionnel Tertiary phone number. Required when label_tel_tertiary is present.
favorite boolean Optionnel Set as client favorite contact.
client-contact-update-tool
Update an existing client contact with given data (PATCH). Only provided fields will be updated. The contact's client must be enabled (active): contacts of a disabled client are read-only. Required parameter: - contactid: The contact ID to update Updatable fields: - civility, lastname, firstname, profil, email - consent: GDPR consent status - Phone numbers and labels - favorite: Set as client's favorite - enabled: Activate/deactivate contact Example usage: { "contactid": 8568, "profil": "CEO", "tel_primary": "+33100000000" }
15 paramètre(s)
Nom Type Requis Description
contactid integer Optionnel The contact ID to update. Required. Use ClientContactListTool to find contacts.
civility string | null Optionnel Contact civility.
lastname string Optionnel Contact last name.
firstname string | null Optionnel Contact first name.
profil string | null Optionnel Contact job/function.
email string | null Optionnel Contact email (cannot be unset when contact is favorite).
consent string Optionnel GDPR consent status.
label_tel_primary string | null Optionnel Primary phone label.
tel_primary string | null Optionnel Primary phone number.
label_tel_secondary string | null Optionnel Secondary phone label.
tel_secondary string | null Optionnel Secondary phone number.
label_tel_tertiary string | null Optionnel Tertiary phone label.
tel_tertiary string | null Optionnel Tertiary phone number.
favorite boolean | null Optionnel Set as client favorite (requires email).
enabled boolean Optionnel Activate (true) or deactivate (false) contact.
client-address-list-tool
Lecture seule
List addresses (FR: Adresses) for a specific client. Client addresses are delivery/shipping addresses associated with a client. Each client can have multiple addresses with one marked as favorite. Returns address details including: - Address identification (ID, name, code) - Full address (addr, addr2, addr3, postcode, town, country) - Business number for the address - Favorite flag Optional filters: - clientid: Only list the addresses of this client - search: Search by name, code, or address - code, country_iso2, type, enabled Example usage: { "clientid": 9876 }
10 paramètre(s)
Nom Type Requis Description
clientid integer Optionnel Only list the addresses of this client. Use ClientListTool to find clients.
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
search string Optionnel Search by name, code, or address.
code string Optionnel Filter by address code.
country_iso2 string Optionnel Filter by country ISO2 code (e.g., FR).
type string Optionnel Filter by address type.
enabled boolean Optionnel Filter by active status.
sort_by string Optionnel Sort field. Default: name.
order string Optionnel Sort order. Default: asc.
client-address-detail-tool
Lecture seule
Get detailed information about a specific client address by its ID. Returns full address details including: - Address identification (ID, name, code) - Full address (addr, addr2, addr3, postcode, town, country) - Business number for the address - Favorite flag - Associated client information Required parameter: - addressid: The address ID to retrieve Example usage: { "addressid": 1234 }
1 paramètre(s)
Nom Type Requis Description
addressid integer Requis The address ID to retrieve. Required. Use ClientAddressListTool to find addresses.
client-address-create-tool
Create a new address for a client. Client addresses are delivery/shipping addresses that can be used on invoices and quotes. Required fields: - clientid: The client to attach the address to - name: Address name/label - type: Address type (currently only "delivery") - postcode: Postal code - town: City/Town - iso2: Country ISO2 code (e.g., FR, US, DE) Optional fields: - code: Address code (auto-generated if not provided) - addr, addr2, addr3: Street address lines - business_number: Business number for this location - favorite: Set as client's favorite address Note: addr (first address line) is REQUIRED when the company has enabled electronic invoicing, optional otherwise. Example usage: { "clientid": 9876, "name": "Entrepôt Lyon", "type": "delivery", "addr": "45 rue de la Logistique", "postcode": "69001", "town": "Lyon", "iso2": "FR", "favorite": true }
12 paramètre(s)
Nom Type Requis Description
clientid integer Requis The client ID to attach the address to. Required. Use ClientListTool to find clients.
name string Requis Address name/label (e.g., "Warehouse", "Office"). Required.
type string Requis Address type. Required.
code string Optionnel Address code. If not provided, will be automatically generated.
addr string Optionnel Street address (first line). REQUIRED when the company has enabled electronic invoicing, optional otherwise.
addr2 string Optionnel Additional address line 2.
addr3 string Optionnel Additional address line 3.
postcode string Requis Postal code. Required.
town string Requis City/Town. Required.
iso2 string Requis Country ISO2 code (e.g., FR, US, DE). Required.
business_number string Optionnel Business number (SIRET) for this address location.
favorite boolean Optionnel Set as client favorite address.
client-address-update-tool
Update an existing client address with given data (PATCH). Only provided fields will be updated. Required parameter: - addressid: The address ID to update Updatable fields: - name, code: Address identification - addr, addr2, addr3: Street address lines - postcode, town, iso2: Location details - business_number: Business number for this location - favorite: Set as client's favorite address - enabled: Activate/deactivate the address Note: when the company has enabled electronic invoicing, addr (first address line) cannot be blanked out — omit it or provide a non-empty value. Example usage: { "addressid": 1234, "name": "Nouveau Entrepôt", "favorite": true }
12 paramètre(s)
Nom Type Requis Description
addressid integer Requis The address ID to update. Required. Use ClientAddressListTool to find addresses.
name string Optionnel Address name/label.
code string Optionnel Address code.
addr string Optionnel 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 Optionnel Additional address line 2.
addr3 string Optionnel Additional address line 3.
postcode string Optionnel Postal code.
town string Optionnel City/Town.
iso2 string Optionnel Country ISO2 code (e.g., FR, US, DE).
business_number string Optionnel Business number (SIRET) for this address location.
favorite boolean Optionnel Set as client favorite address.
enabled boolean Optionnel Activate or deactivate the address.
prospect-list-tool
Lecture seule
List prospects (FR: Prospects) in the authenticated user's company. A prospect (FR: prospect) is a potential customer who has not yet made a purchase. Prospects can be converted to clients using ProspectTransformTool. Returns a paginated list of prospects with: - Prospect identification (ID, name) - Business numbers (SIRET, VAT number, activity number) - Address and contact information - Comments and custom fields - Active/inactive status Optional filters: - enabled: Filter active (true) or inactive (false) prospects - search: Search by name, email, etc. - country_iso2: Filter by country (ISO2 code) - userid: Filter by creator ID Example usage: { "search": "Triiptic", "enabled": true }
6 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
userid integer Optionnel Filter by prospect creator ID.
country_iso2 string Optionnel Filter by country ISO2 code (e.g., FR, US).
enabled boolean Optionnel Filter active (true) or inactive (false) prospects.
search string Optionnel Search parameter.
prospect-detail-tool
Lecture seule
Get detailed information about a specific prospect (FR: Prospect) by its ID. Returns comprehensive prospect details including: - Basic info (name, business numbers) - Address information - Contact details (phone, mobile, fax, website) - Comments and custom fields Required parameter: - prospectid: The prospect ID to retrieve Example usage: { "prospectid": 12345 }
1 paramètre(s)
Nom Type Requis Description
prospectid integer Optionnel The prospect ID to retrieve. Required. Use ProspectListTool to find prospects.
prospect-create-tool
Create a new prospect (FR: Prospect) with given data. A prospect is a potential customer who has not yet made a purchase. Prospects can later be converted to clients using ProspectTransformTool. Required fields: - name: Prospect name (must be unique) - type: Prospect type (Particulier, Professionnel or Administration publique) - address: Address object with postcode, town, and iso2 Optional fields: - business_number: SIRET number (required for French prospects of type Administration publique) - activity_number: APE/NAF code - vat_number: Intra-community VAT number (required for French prospects of type Professionnel or Administration publique) - phone, mobile, fax, website - comment: Comments on the prospect Example usage: { "name": "Acme Corp", "type": "Professionnel", "address": { "addr": "123 Main Street", "postcode": "75001", "town": "Paris", "iso2": "FR" }, "phone": "+33 1 23 45 67 89" }
11 paramètre(s)
Nom Type Requis Description
name string Requis Prospect name (must be unique). Required.
type string Requis Prospect type. Required.
address object Requis Prospect address. Required.
address.addr string Optionnel Address line 1
address.addr2 string Optionnel Address line 2
address.postcode string Requis Postal code. Required.
address.town string Requis Town/city. Required.
address.iso2 string Requis Country ISO2 code (e.g., FR). Required.
business_number string Optionnel Business number (SIRET).
activity_number string Optionnel Activity number (APE/NAF code).
vat_number string Optionnel Intra-community VAT number. REQUIRED for French prospects of type Professionnel or Administration publique.
phone string Optionnel Phone number.
mobile string Optionnel Mobile number.
fax string Optionnel Fax number.
website string Optionnel Website URL.
comment string Optionnel Comments on this prospect.
prospect-transform-tool
Transform a prospect (FR: Prospect) into a client (FR: Client). CRITICAL: This action is IRREVERSIBLE — the prospect is permanently deleted after the transformation and cannot be restored. NEVER call this tool without the user's explicit confirmation. This converts a prospect into a full client. The transformation: - Creates a new client with all prospect data - Transforms all prospect contacts into client contacts - Links all related entities (quotes, etc.) to the new client - The prospect is deleted after successful transformation Required parameter: - prospectid: The prospect ID to transform Returns the newly created client data. Example usage: { "prospectid": 12345 }
1 paramètre(s)
Nom Type Requis Description
prospectid integer Optionnel The prospect ID to transform into a client. Required. Use ProspectListTool to find prospects.
prospect-contact-list-tool
Lecture seule
List prospect contacts (FR: Contacts prospects) in the company. A prospect contact is a person associated with a prospect company (e.g., CEO, accountant, sales rep). Returns contact details including: - Contact identification (ID, name, civility) - Associated prospect information - Email and phone numbers (primary, secondary, tertiary) - Job profile/function - Consent status (GDPR) - Favorite flag Optional filters: - prospectid: Filter by specific prospect ID - enabled: Filter active/inactive contacts - consent: Filter by consent status (without, authorized, unauthorized) - search: Search by name, email - email: Filter by email address Example usage: { "prospectid": 9876, "enabled": true }
9 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
prospectid integer Optionnel Filter by prospect ID. Use ProspectListTool to find prospects.
enabled boolean Optionnel Filter active (true) or inactive (false) contacts.
consent string Optionnel Filter by GDPR consent status.
search string Optionnel Search by name or email.
email string Optionnel Filter by exact email address.
sort_by string Optionnel Sort field. Default: lastname.
order string Optionnel Sort order. Default: asc.
prospect-contact-detail-tool
Lecture seule
Get detailed information about a specific prospect contact by its ID. Returns full contact details including: - Contact info (name, civility, email, profile/job) - Associated prospect information - Phone numbers (primary, secondary, tertiary with labels) - Consent status and favorite flag - Custom fields Required parameter: - contactid: The contact ID to retrieve Example usage: { "contactid": 8568 }
1 paramètre(s)
Nom Type Requis Description
contactid integer Optionnel The contact ID to retrieve. Required. Use ProspectContactListTool to find contacts.
prospect-contact-create-tool
Create a new contact for a prospect. Required fields: - prospectid: The prospect to attach the contact to - lastname: Contact last name Optional fields: - email: Contact email address - civility: Contact civility - firstname: Contact first name - profil: Job/function - consent: GDPR consent status - Phone numbers (primary, secondary, tertiary) with labels - favorite: Set as prospect's favorite contact Phone label values: see the label_tel_* parameter enums (e.g., "Portable", "Principal"). Example usage: { "prospectid": 9876, "lastname": "Martin", "firstname": "Sophie", "email": "sophie.martin@prospect.fr", "profil": "Directrice Achats", "label_tel_primary": "Portable", "tel_primary": "+33600000000" }
14 paramètre(s)
Nom Type Requis Description
prospectid integer Requis The prospect ID to attach the contact to. Required. Use ProspectListTool to find prospects.
lastname string Requis Contact last name. Required.
email string Optionnel Contact email address. Optional (unlike client contacts).
civility string Optionnel Contact civility (e.g., Monsieur, Madame).
firstname string Optionnel Contact first name.
profil string Optionnel Contact job/function (e.g., CTO, Director).
consent string Optionnel GDPR consent status. Default: without.
label_tel_primary string Optionnel Primary phone label. Required when tel_primary is present.
tel_primary string Optionnel Primary phone number. Required when label_tel_primary is present.
label_tel_secondary string Optionnel Secondary phone label. Required when tel_secondary is present.
tel_secondary string Optionnel Secondary phone number. Required when label_tel_secondary is present.
label_tel_tertiary string Optionnel Tertiary phone label. Required when tel_tertiary is present.
tel_tertiary string Optionnel Tertiary phone number. Required when label_tel_tertiary is present.
favorite boolean Optionnel Set as prospect favorite contact.
supplier-list-tool
Lecture seule
List suppliers (FR: Fournisseurs) of the current user company. A supplier (FR: fournisseur) is a company or person from whom you purchase goods or services. Returns supplier details including: - Supplier identification (ID, code, name) - Legal information (legal form, business number, VAT number) - Address and contact info (phone, mobile, fax, website) - Bank information (IBAN, BIC) - Default values (payment terms, payment type, analytic) - Custom fields - Enabled state Optional filters: - per_page: Pagination (1-100, default: 15) - country_iso2: Filter by country ISO2 code - enabled: Filter active/inactive suppliers - search: Search parameter - code: Filter by supplier code - sort_by, order: Sorting options Example usage: - List all suppliers: {} - Filter active suppliers: {"enabled": true} - Search: {"search": "Triiptic"} - Filter by code: {"code": "F160"}
8 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
country_iso2 string Optionnel Filter by country ISO2 code (e.g., FR, US, DE).
enabled boolean Optionnel Filter active (true) or inactive (false) suppliers.
search string Optionnel Search parameter.
code string Optionnel Filter by supplier code identifier (e.g., F160).
sort_by string Optionnel Sort field. Default: sorted by name ascending.
order string Optionnel Sort direction. Default: asc.
supplier-detail-tool
Lecture seule
Get detailed information about a specific supplier (FR: Fournisseur) by its ID. Returns full supplier details including: - Supplier identification (ID, code, name, creator user ID) - Legal form and business numbers (SIRET, APE/NAF, VAT number) - Bank information (account details, IBAN, BIC) - Full address (street, postal code, town, country) - Contact info (phone, mobile, fax, website) - Comments - Enabled state - Custom fields - Default values (payment terms, payment type, analytic axis) Required parameter: - supplierid: The supplier ID to retrieve Example usage: { "supplierid": 9876 }
1 paramètre(s)
Nom Type Requis Description
supplierid integer Optionnel The supplier ID to retrieve. Required. Use SupplierListTool to find suppliers.
supplier-create-tool
Create a new supplier (FR: Fournisseur) with given data. A supplier (FR: fournisseur) is a company or person from whom you purchase goods or services. Required field: - name: Supplier name Optional fields: - code: Supplier code (auto-generated if not provided) - legalform: Legal form (e.g., SAS, SARL) - activity_number: Activity code (APE/NAF) - business_number: SIRET number - vat_number: Intra-community VAT number (use "N/C" if not applicable) - bank_information: Bank details (IBAN, BIC, account details) - address: Full address (addr, postcode, town, iso2) - phone, mobile, fax: Phone numbers - website: Website URL - default_values: Default payment terms (paytermid, paytypeid, analyticid) - comment: Comments - purchase_classifications: Default purchase classification IDs Example minimal usage: { "name": "Triiptic" } Example with full details: { "name": "Triiptic SAS", "code": "F160", "legalform": "SAS", "business_number": "123 456 789 12345", "vat_number": "FR20123456789", "address": { "addr": "176 avenue Joseph Louis Lambot", "postcode": "83130", "town": "La Garde", "iso2": "FR" }, "phone": "01 46 72 50 04", "website": "https://www.triiptic.fr", "default_values": { "paytermid": 3, "paytypeid": 3 } }
15 paramètre(s)
Nom Type Requis Description
name string Optionnel Supplier name. Required.
code string Optionnel Supplier code. Auto-generated if not provided.
legalform string Optionnel Legal form (e.g., SAS, SARL, EURL).
activity_number string Optionnel Activity code (APE/NAF).
business_number string Optionnel Business number (SIRET).
vat_number string Optionnel Intra-community VAT number. Use "N/C" if not applicable.
bank_information object Optionnel Supplier bank information
bank_information.bank_account_detail string Optionnel Bank account details
bank_information.iban string Optionnel IBAN (e.g., FR00 1234 5678 9012 3456 7890 134)
bank_information.bank_identification_code string Optionnel BIC/SWIFT code
address object Optionnel Supplier address
address.addr string Optionnel Street address
address.addr2 string Optionnel Additional address line
address.postcode string Optionnel Postal code
address.town string Optionnel Town/City
address.iso2 string Optionnel Country ISO2 code (e.g., FR, US)
phone string Optionnel Phone number.
mobile string Optionnel Mobile number.
fax string Optionnel Fax number.
website string Optionnel Website URL.
default_values object Optionnel Default values for documents with this supplier
default_values.paytermid integer Optionnel Default payment term ID. Use PayTermListTool to get valid IDs.
default_values.paytypeid integer Optionnel Default payment type ID. Use PayTypeListTool to get valid IDs.
default_values.analyticid integer Optionnel Default analytic axis ID.
comment string Optionnel Comments on this supplier.
purchase_classifications array Optionnel Default purchase classification IDs.
buy-list-tool
Lecture seule
List buys (FR: Achats) visible by the current user, according to visibility restrictions set in user profile. A buy (FR: achat) is a purchase document (supplier invoice or expense report) recorded on the company. Returns a paginated list of compact summary rows: buyid, document_number, documentdate, duedate, status, supplier name, currency, totals (vat_exclude / vat_include) and the electronic invoicing reception data: source (pa = electronic invoice received from the Plateforme Agréée) and e_invoicing {status: received/refused/cashed, status_code: DGFiP lifecycle code} or null. Use BuyDetailTool to get the full document (items, payment terms, status dates, links). Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Sorting: - Default sort: by document date descending (most recent first). - sort_by=e_invoicing_status orders buys without e-invoicing status first, then received, refused and cashed. Example usage: - List 10 latest buys: {"per_page": 10} - List unpaid buys: {"status": "unpaid"} - List buys of a supplier: {"supplierid": 12345} - List electronic invoices received from the Plateforme Agréée: {"source": "pa"} - List refused electronic invoices: {"e_invoicing_status": "refused"} - List expense reports only: {"document_type": "expense_report"} - Custom period: {"period": "custom", "date_min": "2026-01-01", "date_max": "2026-06-30"} Use BuyDetailTool to get the full detail of a buy, including its items.
25 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Buy's creator ID. Use UserListTool to find users.
supplierid integer Optionnel Supplier ID. Use SupplierListTool to find suppliers.
clientid integer Optionnel Client ID (rebilled client). Use ClientListTool to find clients.
enabled boolean Optionnel Filter active (true) / inactive (false) buys.
file boolean Optionnel Filter buys with (true) or without (false) an attached file.
billable boolean Optionnel Filter buys that are billable to a client or not.
supplier_pay boolean Optionnel Supplier Pay initialized on buys or not.
classificationid integer Optionnel Buy classification ID.
analyticid integer Optionnel Analytic axis ID.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
status string Optionnel Buy status filter.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Buys period. Use "custom" with date_min and date_max.
date_min string Optionnel Buys min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Buys max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
document_type string Optionnel Document type: buy (supplier invoice) or expense_report (note de frais).
source string Optionnel Channel the document was ingested through. Use "pa" to keep only electronic invoices received from the Plateforme Agréée.
e_invoicing_status string Optionnel Electronic invoicing reception status of the document (received, refused, cashed).
sort_by string Optionnel Sort field. e_invoicing_status orders buys without status first, then received, refused, cashed. Requires order parameter.
order string Optionnel Sort order: asc (ascending) or desc (descending). Requires sort_by.
buy-detail-tool
Lecture seule
Get detailed information about a specific buy (FR: Achat) by its ID. Returns full buy details including: - Buy identification (buyid, document_number, external_document_number) - Supplier and optional client (rebilling) info - Financial data (totals vat_exclude/vat/vat_include, paid amount, net to pay) - Status, status dates, locked state, payment terms, comment - Items with VAT breakdown, analytic info - Electronic invoicing reception data: - source: channel the document was ingested through (pa = electronic invoice received from the Plateforme Agréée) - e_invoicing.status: reception lifecycle status (received, refused, cashed) or null - e_invoicing.status_code: DGFiP lifecycle code (202, 210, 212) or null Required parameter: - buyid: The buy ID to retrieve. Use BuyListTool to find buys. Example usage: { "buyid": 12345 }
1 paramètre(s)
Nom Type Requis Description
buyid integer Requis The buy ID to retrieve. Required. Use BuyListTool to find buys.
supplier-credit-list-tool
Lecture seule
List supplier credits (FR: Avoirs fournisseurs) visible by the current user, according to visibility restrictions set in user profile. A supplier credit (FR: avoir fournisseur) is a credit note received from a supplier, reducing what the company owes. Returns a paginated list of compact summary rows: supplier_creditid, document_number, documentdate, duedate, status, supplier name, currency, totals (vat_exclude / vat_include) and the electronic invoicing reception data: source (pa = electronic document received from the Plateforme Agréée) and e_invoicing {status: received/refused/cashed, status_code: DGFiP lifecycle code} or null. Use SupplierCreditDetailTool to get the full document (items, payment terms, status dates, links). Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Example usage: - List 10 latest supplier credits: {"per_page": 10} - List supplier credits of a supplier: {"supplierid": 12345} - List electronic documents received from the Plateforme Agréée: {"source": "pa"} - Custom period: {"period": "custom", "date_min": "2026-01-01", "date_max": "2026-06-30"} Use SupplierCreditDetailTool to get the full detail of a supplier credit, including its items.
19 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Supplier credit's creator ID. Use UserListTool to find users.
supplierid integer Optionnel Supplier ID. Use SupplierListTool to find suppliers.
enabled boolean Optionnel Filter active (true) / inactive (false) supplier credits.
file boolean Optionnel Filter supplier credits with (true) or without (false) an attached file.
classificationid integer Optionnel Buy classification ID.
analyticid integer Optionnel Analytic axis ID.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
status string Optionnel Supplier credit status filter.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Supplier credits period. Use "custom" with date_min and date_max.
date_min string Optionnel Supplier credits min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Supplier credits max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
source string Optionnel Channel the document was ingested through. Use "pa" to keep only electronic documents received from the Plateforme Agréée.
e_invoicing_status string Optionnel Electronic invoicing reception status of the document (received, refused, cashed).
supplier-credit-detail-tool
Lecture seule
Get detailed information about a specific supplier credit (FR: Avoir fournisseur) by its ID. Returns full supplier credit details including: - Identification (supplier_creditid, document_number, external_document_number) - Supplier info - Financial data (totals vat_exclude/vat/vat_include) - Status, status dates, locked state, payment terms, comment - Items with VAT breakdown, analytic info - Electronic invoicing reception data: - source: channel the document was ingested through (pa = electronic document received from the Plateforme Agréée) - e_invoicing.status: reception lifecycle status (received, refused, cashed) or null - e_invoicing.status_code: DGFiP lifecycle code (202, 210, 212) or null Required parameter: - supplier_creditid: The supplier credit ID to retrieve. Use SupplierCreditListTool to find supplier credits. Example usage: { "supplier_creditid": 12345 }
1 paramètre(s)
Nom Type Requis Description
supplier_creditid integer Requis The supplier credit ID to retrieve. Required. Use SupplierCreditListTool to find supplier credits.
bintray-list-tool
Lecture seule
List the documents in the company's reception box (FR: Boîte de réception des achats, "bintray"). The reception box holds incoming purchase documents (supplier invoices, expense reports), whatever channel they arrived through: manual upload, email, scan, mobile, API, or the Plateforme Agréée (electronic invoicing). Returns the documents currently in the reception box (not paginated) — this includes documents already processed or promoted to a buy, not only pending ones; check each document's status to tell them apart. Each document comes with: - Document identification and filename - Reception date and creator - source: channel the document arrived through (pa = electronic invoice received from the Plateforme Agréée) - status (OCR/processing state) and document_type (buy or expense_report) - Electronic invoicing reception data: - e_invoicing.status: reception lifecycle status (received, refused, cashed) or null - e_invoicing.status_code: DGFiP lifecycle code (202, 210, 212) or null Example usage: - List all reception box documents: {} - List only electronic invoices received from the Plateforme Agréée: {"source": "pa"} - List refused electronic invoices: {"e_invoicing_status": "refused"} - List only the documents I uploaded myself: {"only_mine": true}
4 paramètre(s)
Nom Type Requis Description
document_type string Optionnel Document type: buy (supplier invoice) or expense_report (note de frais).
source string Optionnel Channel the document arrived through. Use "pa" to keep only electronic invoices received from the Plateforme Agréée.
e_invoicing_status string Optionnel Electronic invoicing reception status of the document (received, refused, cashed).
only_mine boolean Optionnel When true, list only the documents deposited by the authenticated user (GET /bintray/me). Default: false, the whole company reception box.
article-list-tool
Lecture seule
List articles (FR: Articles) in the authenticated user's company. An article (FR: article) is a product or service that can be sold to clients and added to invoices or quotes. Returns a paginated list of articles with comprehensive details including: - Article identification (ID, reference, nature, designation) - Classifications (sale and purchase) - Pricing (unit price VAT exclude/include, VAT rate, TTC flag) - Stock management (quantity, stocked quantity, weight, unit) - Margin information (purchase price, coefficient, margin %, markup %, amount) - Supplier information (supplier ID, code, name, supplier reference) - Picture link - Custom fields - Active/inactive status Optional filters: - enabled: Filter active (true) or inactive (false) articles - search: Search articles by reference, designation, etc. - nature: Filter by nature (product or service) - sale_classificationid: Filter by sale classification ID - purchase_classificationid: Filter by purchase classification ID - supplierid: Filter by supplier ID - reference: Filter articles by reference - per_page: Number of results per page (1-100, default: 15) - sort_by: Sort by field (only "articleid" allowed) - order: Sort order (asc or desc, default: asc) Example usage: - List all articles: {} - List active articles only: {"enabled": true} - Search for specific article: {"search": "Banana"} - Filter by nature: {"nature": "product"} - Get 50 articles per page: {"per_page": 50} - Sort by article ID descending: {"sort_by": "articleid", "order": "desc"}
11 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
enabled boolean Optionnel Filter active (true) or inactive (false) articles.
search string Optionnel Search parameter to find articles by reference, designation, etc.
nature string Optionnel Type of article: product or service.
sale_classificationid integer Optionnel Sell classification ID to filter articles.
purchase_classificationid integer Optionnel Purchase classification ID to filter articles.
supplierid integer Optionnel Supplier ID to filter articles. Use SupplierListTool to find suppliers.
reference string Optionnel Filter articles by exact reference.
sort_by string Optionnel Sort the response by the given field. Only "articleid" is allowed. If not given, sorted by reference ascending.
order string Optionnel Sort direction: asc (ascending) or desc (descending). Default: asc. Requires sort_by parameter.
article-detail-tool
Lecture seule
Get detailed information about a specific article (FR: Article) by its ID. An article (FR: article) is a product or service that can be sold to clients and added to invoices or quotes. Returns comprehensive article details including: - Article identification (ID, reference, reference_clean, nature) - Designation (with and without HTML) - Classifications (sale and purchase with ID, code, label) - Pricing (unit_price_vat_exclude, unit_price_vat_include, vat rate, ttc flag) - Quantity, weight, unit - Margin information (purchase price, coefficient, margin %, markup %, amount) - Supplier info (supplierid, code, name, supplier_reference) - Stock management (stock_management flag, stocked_quantity) - Picture link - Custom fields - Enabled state Required parameter: - articleid: The article ID to retrieve. Use ArticleListTool to find articles. Picture: when the article has one, the response contains a picture_link URL pointing at the API (requires an authenticated API call to download — the image content itself is not returned by MCP tools). The API does not expose picture upload, so ArticleCreateTool and ArticleUpdateTool cannot attach one. Example usage: { "articleid": 12345 }
1 paramètre(s)
Nom Type Requis Description
articleid integer Optionnel The article ID to retrieve. Required. Use ArticleListTool to find articles.
article-create-tool
Create a new article (FR: Article) with given data. An article (FR: article) is a product or service that can be sold to clients and added to invoices or quotes. Required fields: - reference: Article reference - designation: Article designation Optional fields include nature, quantity, weight, unit, classifications, pricing, VAT, supplier information, stock management, etc. The API will validate all data and return the created article with its ID. Example minimal usage: { "reference": "SPLIT", "designation": "Banana Split" } Example with full details: { "reference": "SPLIT", "designation": "Banana Split <br />\nPour une durée de 12 mois", "nature": "product", "quantity": 12, "weight": 152.123, "unit": "M", "sale_classificationid": 45732, "unit_price": 36, "vat_rate": 20, "ttc": true, "purchase_unit_price_vat_exclude": 16, "purchase_classificationid": 45732, "supplierid": 9876, "supplier_reference": "SPLIT", "stock_management": true, "stocked_quantity": 5 } Notes: - unit_price is based on ttc field value (true = incl. taxes, false = excl. taxes, null = company default) - purchase_unit_price_vat_exclude must be less than unit price VAT excluded - sale_classificationid only accepted when sell classifications are enabled - HTML is accepted in designation field
17 paramètre(s)
Nom Type Requis Description
reference string Optionnel Article reference (required).
designation string Optionnel Article designation/description (required). HTML accepted.
nature string Optionnel Article type: product or service.
quantity number Optionnel Article quantity.
weight number Optionnel Article weight.
unit string Optionnel Article unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
sale_classificationid integer Optionnel Article sell classification ID. Only accepted when sell classifications are enabled.
unit_price number Optionnel Article unit price (excluding or including VAT according to ttc field value, or defaults to company configuration).
vat_rate number Optionnel 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 Optionnel Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option.
purchase_unit_price_vat_exclude number Optionnel Article purchase unit price (VAT excluded). Must be less than unit price VAT excluded.
purchase_classificationid integer Optionnel Article buy classification ID.
supplierid integer Optionnel Linked supplier ID. Use SupplierListTool to find suppliers.
supplier_reference string Optionnel Article reference from the supplier.
stock_management boolean Optionnel Enable stock management for this article.
stocked_quantity number Optionnel Article stocked quantity.
custom_fields string Optionnel 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}
article-update-tool
Update an existing article (FR: Article) with given data. An article (FR: article) is a product or service that can be sold to clients and added to invoices or quotes. Only provided fields will be updated (partial update). Required parameters: - articleid: The article ID to update Optional fields (all nullable): - reference, nature, designation - quantity, weight, unit - sale_classificationid, purchase_classificationid - unit_price, vat_rate, ttc - purchase_unit_price_vat_exclude - supplierid, supplier_reference - stock_management, stocked_quantity - enabled (activate/deactivate article) Note: stocked_quantity only accepted when stock_management is true or article already has stock management enabled. Example minimal usage: { "articleid": 12345, "designation": "Banana Split Updated" } Example with multiple fields: { "articleid": 12345, "reference": "SPLIT-V2", "unit_price": 40, "vat_rate": 20, "stocked_quantity": 10, "enabled": true }
18 paramètre(s)
Nom Type Requis Description
articleid integer Optionnel Article ID to update. Required. Use ArticleListTool to find articles.
reference string | null Optionnel Article reference.
nature string | null Optionnel Article type: product or service.
designation string | null Optionnel Article designation/description. HTML accepted.
quantity number | null Optionnel Article quantity.
weight number | null Optionnel Article weight.
unit string | null Optionnel Article unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
sale_classificationid integer | null Optionnel Article sell classification ID. Only accepted when sell classifications are enabled.
unit_price number | null Optionnel Article unit price (excluding or including VAT according to ttc field value).
vat_rate number | null Optionnel 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 Optionnel Billing option: true = prices include taxes, false = prices exclude taxes, null = use company billing option.
purchase_unit_price_vat_exclude number | null Optionnel Article purchase unit price (VAT excluded). Must be less than unit price VAT excluded.
purchase_classificationid integer | null Optionnel Article buy classification ID.
supplierid integer | null Optionnel Linked supplier ID. Use SupplierListTool to find suppliers.
supplier_reference string | null Optionnel Article reference from the supplier.
stock_management boolean | null Optionnel Enable stock management for this article.
stocked_quantity number | null Optionnel Article stocked quantity. Only accepted when stock_management is true or article already has stock management enabled.
enabled boolean | null Optionnel Determines if the article is active.
invoice-list-tool
Lecture seule
List invoices (FR: Factures) for the authenticated user visible according to visibility restrictions set in user profile. An invoice (FR: facture) is a commercial document issued to a client for goods or services provided. Returns a paginated list of compact summary rows: invoiceid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use InvoiceGetTool to get the full document (items, client and contact details, payment terms, margins, links). For available status values, refer to the "invoice-statuses" resource. Available typedoc values: - invoice: Standard invoice - retention: Retention invoice (retenue de garantie) - situation: Situation/progress invoice (facture de situation) — created via QuoteProgressInvoiceTool or SaleOrderProgressInvoiceTool - benefit: Benefit invoice Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Search by document number: Use the document_number parameter to find a specific invoice by its number (e.g., "F-20240001", "F-00000002269"). This is a strict comparison, so the full document number must be provided. Example usage: - List 10 latest invoices: {"per_page": 10} - List sent invoices: {"status": "sent"} - List unpaid invoices: {"status": "unpaid"} - List invoices for a client: {"clientid": 12345} - Find invoice by document number: {"document_number": "F-20240001"} - List invoices for a custom period: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} - Sort by invoice ID descending: {"sort_by": "invoiceid", "order": "desc"} Default sort: by document_date and document_number descending (most recent first).
22 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Invoice's creator ID. Use UserListTool to find users.
clientid integer Optionnel Client ID. Use ClientListTool to find clients.
currency string Optionnel ISO currency code (e.g., EUR).
enabled boolean | null Optionnel Filter active (true) / inactive (false) invoices.
typedoc string Optionnel Invoice's type.
status string Optionnel Invoice status filter. Refer to the "invoice-statuses" resource for the full list of statuses and their descriptions.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Invoices period. Use "custom" with date_min and date_max.
date_min string Optionnel Invoices min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Invoices max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
analyticid integer Optionnel Analytic axis ID.
direct_debit boolean Optionnel Direct debit initialized on invoices or not.
sort_by string Optionnel Sort by invoiceid. Requires order parameter.
order string Optionnel Sort order: asc (ascending) or desc (descending). Requires sort_by.
document_number string Optionnel Filter by exact document number (e.g., "F-20240001", "F-00000002269"). Strict comparison.
show_items_extended boolean Optionnel Include items of types text and sub_total in the items field. Default: false.
invoice-get-tool
Lecture seule
Get detailed information about a specific invoice (FR: Facture) by its ID. An invoice (FR: facture) is a commercial document issued to a client, detailing the products/services sold and the payment terms. Returns comprehensive invoice details including: - Invoice identification (invoiceid, document_number, external_document_number, typedoc) - Status (filled, create, sent, inpayment, paid, match, nopaid, unpaid, locked) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Dates (documentdate, duedate, execdate) - Client info (clientid, client object with code, name, civility, address, postcode, town, country, iso) - Contact info (contactid, contact object with civility, lastname, firstname, email, phone) - Delivery address (delivery_address object with label, address, postcode, town, country, iso) - Object and comment fields - Items array with full details: - type (article, sub_total, text) - itemid, articleid, reference, designation - quantity, unit, unit_price, vat_rate - rebate, total_vat_exclude, total_vat_include - margin info (purchase_unit_price, margin, margin_rate, markup) - sale_classificationid - Financial totals: - total_vat_exclude, total_vat_include - total_rebate, global_rebate - remaining_vat_exclude, remaining_vat_include - paid_vat_exclude, paid_vat_include - VAT summary (vat_sums array with rate, base_vat_exclude, total_vat) - Margin totals (total_margin, total_margin_rate, total_markup) - Payment terms (term object with paytype, payterm, duedate, penalty, recovery_indemnity, paydelay, endmonth, payday) - Retention info (retention object with percent, total, date) - Bonuses array (post-tax deductions with label and amount) - Progress info (for situation invoices: progress.overall and progress.current percentages) - Currency, analyticid, templateid - Labels array, lockdate - Created/updated timestamps Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text and sub_total in the response. By default, only article items are returned. Required parameter: - invoiceid: The invoice ID to retrieve. Use InvoiceListTool to find invoices. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "invoiceid": 12345 }
2 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to retrieve. Required. Use InvoiceListTool to find invoices.
show_items_extended boolean Optionnel Include items of types text and sub_total in the response. Default: false.
invoice-create-tool
Create a new draft invoice (FR: Facture) with given data. The created invoice will have status "filled" (draft). An invoice (FR: facture) is a commercial document issued to a client for goods or services provided. Totals, margins, retention, and included VAT fields are automatically calculated. Required fields: - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the invoice to Optional fields include client contact, delivery address, payment terms, items, retention, bonuses, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings Note: This tool creates standard invoices. For progress invoices (factures de situation), use QuoteProgressInvoiceTool or SaleOrderProgressInvoiceTool instead. The API will validate all data and return the created invoice with its ID. Example minimal usage: { "documentdate": "2024-01-15", "clientid": 12345 } Example with items: { "documentdate": "2024-01-15", "clientid": 12345, "object": "Abonnement Logiciel", "items": [ { "type": "article", "reference": "SOFT-001", "designation": "Licence annuelle", "quantity": 1, "unit": "U", "unit_price": 1200.00, "vat_rate": 20 } ] }
20 paramètre(s)
Nom Type Requis Description
documentdate string Requis Document date (YYYY-MM-DD format). Required.
clientid integer Requis The client's ID to attach the invoice to. Required. Use ClientListTool to find clients.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the invoice to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the invoice to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Requis Invoice payment terms information. Required (term.paytermid must be provided).
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Requis Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the invoice (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
retention object Optionnel Invoice retention information
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention date (YYYY-MM-DD)
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Requis Invoice items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
business_process string Optionnel 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-save-tool
Save a draft invoice (FR: Facture) with a definitive document number. An invoice (FR: facture) is a commercial document issued to a client for goods or services provided. This tool transforms a draft invoice (status "filled") into a created invoice (status "created") with a permanent document number. Prerequisite: The invoice must be in "filled" status (draft). Use InvoiceListTool with status="filled" to find drafts. IMPORTANT: This action is irreversible. Once saved, the invoice cannot be reverted to draft status. The document number becomes permanent and sequential. You MUST ask the user for explicit confirmation before calling this tool. Never call it automatically after creating a draft. Required parameters: - invoiceid: The draft invoice ID to save Optional parameters: - auto_recovery_enabled: Enable auto recovery (if not specified, uses default company setting) Workflow: 1. Create draft invoice (InvoiceCreateTool) → status: "filled" 2. Save invoice (this tool) → status: "created" with definitive document number After saving: - The invoice receives a definitive document number (e.g., "F-20190000160") - Status changes from "filled" to "created" - The invoice becomes locked and can no longer be edited freely Example usage: - Save draft invoice: {"invoiceid": 2476128} - Save with auto recovery: {"invoiceid": 2476128, "auto_recovery_enabled": true}
2 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel Draft invoice ID to save. Required. Use InvoiceListTool with status="filled" to find draft invoices.
auto_recovery_enabled boolean Optionnel Enable auto recovery. If not specified, uses default company setting.
invoice-update-tool
Update an existing invoice (FR: Facture) with given data. IMPORTANT: This is a PUT request (full replacement). Fields not provided will be reset to defaults. Always retrieve current data with InvoiceGetTool first, modify what you need, then send the complete object back. WARNING: This endpoint CANNOT be used for progress invoices (typedoc "situation"). To update a progress invoice, use InvoiceProgressUpdateTool instead. An invoice (FR: facture) is a commercial document issued to a client for goods or services provided. Totals, margins, retention, and included VAT fields are automatically calculated. Required fields: - invoiceid: The invoice ID to update - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the invoice to Optional fields include client contact, delivery address, payment terms, items, retention, bonuses, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings The API will validate all data and return the updated invoice. Example minimal usage: { "invoiceid": 2476128, "documentdate": "2024-01-15", "clientid": 12345 } Example with items: { "invoiceid": 2476128, "documentdate": "2024-01-15", "clientid": 12345, "object": "Abonnement Logiciel", "items": [ { "type": "article", "reference": "SOFT-001", "designation": "Licence annuelle", "quantity": 1, "unit": "U", "unit_price": 1200.00, "vat_rate": 20 } ] }
20 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel Invoice ID to update. Required. Use InvoiceListTool to find invoices.
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. Required.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the invoice to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the invoice to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Optionnel Invoice payment terms information
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the invoice (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
retention object Optionnel Invoice retention information
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention date (YYYY-MM-DD)
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Optionnel Invoice items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
invoice-send-tool
Send an invoice (FR: Facture) by email with a link to the invoice. An invoice (FR: facture) is a commercial document issued to a client for goods or services provided. Prerequisite: The invoice must be in "created" status or later (not "filled" draft). Use InvoiceSaveTool first to save a draft. After sending, the invoice status changes to "sent". This tool sends an email notification to one or more recipients with a link to view the invoice. You can optionally attach the PDF document and customize the email content. The subject and body fields support dynamic variables that are automatically replaced: Use EmailDynamicFieldsResource to see available dynamic fields (e.g., {DOCUMENT_NUMBER}, {CLIENT_NAME}, etc.). Required parameters: - invoiceid: The invoice ID to send - to: Array of recipient email addresses Optional parameters: - from: Sender's email (defaults to configured SMTP or notification@evoliz.com) - copy: Send a copy to your user email address (boolean) - attachment: Add the PDF document as an attachment (boolean) - subject: Custom email subject (string, supports dynamic fields) - body: Custom email body in text or HTML (string, supports dynamic fields) - signature: Include company signature in the email (boolean, default: true) - links: Add "View PDF" and "Download PDF" links (boolean, deprecated) - contact: Contact information object with civility, lastname, firstname Note: In demo mode, you can only send emails to the authenticated company's email address. Example minimal usage: { "invoiceid": 2476128, "to": ["client@example.com"] } Example with full options: { "invoiceid": 2476128, "to": ["client@example.com", "accounting@example.com"], "from": "sales@mycompany.com", "copy": true, "attachment": true, "subject": "Your invoice from ACME Corp", "body": "Please find your invoice attached.", "signature": true, "contact": { "civility": "Monsieur", "lastname": "Dupont", "firstname": "Jean" } }
10 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel Invoice ID to send. Required. Use InvoiceListTool to find invoices.
to array Optionnel Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed.
from string Optionnel Sender's email address. Defaults to configured SMTP or notification@evoliz.com.
copy boolean Optionnel Send a copy to your user email address.
attachment boolean Optionnel Add the PDF document as an attachment. Uses app email setting if not specified.
subject string | null Optionnel Custom subject for the email.
body string | null Optionnel Custom body for the email (text or HTML).
signature boolean Optionnel Include company signature in the email. Default: true.
links boolean Optionnel Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified.
contact object Optionnel Contact information to include in the email
contact.civility string Optionnel Contact civility (e.g., "Monsieur", "Madame")
contact.lastname string Optionnel Contact last name
contact.firstname string Optionnel Contact first name
invoice-payment-list-tool
Lecture seule
List all payments (FR: Règlements) for a specific invoice. A payment (FR: règlement) is a financial transaction recording money received from a client for an invoice. Required parameter: - invoiceid: The invoice ID to list payments for. Use InvoiceListTool to find invoices. Optional parameters: - per_page: Number of results per page (1-100, default 15) - page: Page number for pagination (default 1) Returns paginated list of payments with details including: - Payment identification (paymentid, external_id) - Dates (paydate) - Amount (amount, currency) - Label and comment - Payment method (paytypeid, paytype object with code and label) - Client info (clientid, client object with code, name) - Invoice info (invoiceid, document_number) - Cash entry reference (cashentryid, cash_entry object) - Credit note info if applicable (creditid, paytypeid=13 indicates credit note payment) - Created/updated timestamps Use page and per_page parameters to navigate through paginated results when multiple pages exist. Example usage: { "invoiceid": 4013943 } Example with pagination: { "invoiceid": 4013943, "per_page": 50, "page": 2 }
3 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to list payments for. Required. Use InvoiceListTool to find invoices.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
page integer Optionnel Page number for pagination. Default 1.
invoice-payment-create-tool
Create a new payment (FR: Règlement) on an invoice. A payment (FR: règlement) records money received from a client for an invoice. IMPORTANT: Before creating a payment, you MUST ask the user which payment method they want to use. Refer to the "payment-methods" resource for the full list of available methods and present them to the user. Required fields: - invoiceid: The invoice ID to add the payment to - paydate: Payment date (YYYY-MM-DD format) - label: Payment label/description - paytypeid: Payment method ID (ask the user to choose from the payment-methods resource) IMPORTANT - Two payment modes: 1. Standard payment (any paytypeid except 13): - amount: REQUIRED (cannot exceed invoice remaining balance: remaining_vat_include) - creditid: PROHIBITED 2. Credit note payment (paytypeid = 13): - creditid: REQUIRED (credit note ID to use) - amount: PROHIBITED (calculated automatically from credit note) - The credit note must not be already used and must belong to the same company Optional fields: - comment: Comments on the payment
7 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel Invoice ID to add the payment to. Required. Use InvoiceListTool with status="sent" or "inpayment" to find invoices awaiting payment.
paydate string Optionnel Payment date (YYYY-MM-DD format). Required.
label string Optionnel Payment label/description. Required.
paytypeid integer Optionnel 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 Optionnel Payment amount. Required for standard payments (paytypeid != 13). PROHIBITED for credit note payments.
creditid integer Optionnel Credit note ID. REQUIRED when paytypeid is 13, PROHIBITED otherwise.
comment string Optionnel Comments on the payment.
invoice-progress-update-tool
Update a draft progress invoice (FR: Facture de situation). This endpoint is specifically for progress invoices (typedoc "situation"). Do NOT use InvoiceUpdateTool for progress invoices. The invoice must be in draft status ("filled"). Editable fields: - documentdate, object, comment, execdate - include_sale_general_conditions, global_rebate - Progress (global or per-item) - retention (date and percent) - bonus_ids (bonus selection from source document) Progression modes: 1. Global progression: - Set progress.overall (cumulative %) or progress.current (this invoice's %) - Applies to all items linked to the source document 2. Detailed progression (per item): - Provide items with itemid and progress (overall or current) or quantity - Items linked to the source document can ONLY have their progression modified - Their designation, price, etc. cannot be changed here Retention: - Omit retention field to preserve existing values - Set retention to null to reset retention fields - retention.percent can only be updated if not already defined in the source document Bonus management (bonus_ids): - Omit bonus_ids entirely: existing bonuses are preserved - Empty array []: all bonuses are removed - Array with IDs [1, 2]: replaces existing bonuses with specified ones - Each bonus can only be applied to one progress invoice at a time - Do NOT send bonus_ids: null — omit the field entirely to preserve Required parameter: - invoiceid: The progress invoice ID to update Example — update global progression: { "invoiceid": 12345, "progress": {"overall": 75} } Example — update detailed progression: { "invoiceid": 12345, "items": [ {"itemid": 100, "progress": {"overall": 90}}, {"itemid": 101, "progress": {"current": 20}} ] } Example — update metadata and bonuses: { "invoiceid": 12345, "documentdate": "2024-06-15", "object": "Facture de situation n°2 - Chantier Dupont", "progress": {"current": 30}, "bonus_ids": [1, 2] }
12 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The progress invoice ID to update. Required. Must be a draft progress invoice (typedoc "situation", status "filled").
documentdate string Optionnel Invoice date (YYYY-MM-DD).
object string | null Optionnel Object/subject on the document.
comment string | null Optionnel Comments on the invoice (HTML accepted).
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
include_sale_general_conditions boolean Optionnel 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 Optionnel Global rebate amount or percentage (e.g., 10 or "5%").
progress object Optionnel Global progression. Only for global progression mode.
progress.overall number Optionnel Cumulative progress percentage (0-100). Use this OR current, not both.
progress.current number Optionnel Progress percentage for this invoice (0-100). Use this OR overall, not both.
items array Optionnel Detailed progression by item. For items linked to the source document, only progression fields are allowed.
items[].itemid integer Optionnel The item ID to update progression for. Must be linked to the source document.
items[].progress object Optionnel Item progression. Use overall or current, not both.
items[].quantity number Optionnel Quantity of the item to invoice. Alternative to progress.
retention object | null Optionnel Retention information. Omit to preserve existing values. Set to null to reset.
bonus_ids array Optionnel 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 Optionnel 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).
invoice-progress-add-items-tool
Add new items to a draft progress invoice (FR: Facture de situation). This tool allows adding NEW items to an existing progress invoice. These are free items not linked to the original quote/sale order. The invoice must be in draft status ("filled") and of type SITUATION. Item types: - article: Product/service line with reference, designation, quantity, unit_price, vat_rate - sub_total: Subtotal separator line. Only designation is used. - text: Free text line. Only designation is used. The invoice totals are automatically recalculated after adding items. Required parameters: - invoiceid: The progress invoice ID - items: Array of items to add (at least one) Example — add article items: { "invoiceid": 12345, "items": [ { "type": "article", "reference": "SERVICE01", "designation": "Service supplémentaire", "quantity": 1, "unit": "U", "unit_price": 500.00, "vat_rate": 20 } ] } Example — add mixed items: { "invoiceid": 12345, "items": [ { "type": "article", "reference": "ITEM001", "designation": "Item ajouté", "quantity": 5, "unit": "U", "unit_price": 150.00, "vat_rate": 20 }, { "type": "text", "designation": "Note: Service effectué le 15/12/2024" }, { "type": "sub_total", "designation": "Sous-total services" } ] }
2 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The progress invoice ID. Required. Must be a draft progress invoice (typedoc "situation", status "filled").
items array Optionnel Array of items to add. At least one item required.
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID from catalog. Use ArticleListTool to find articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%").
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
invoice-progress-delete-item-tool
Delete an item from a draft progress invoice (FR: Facture de situation). This tool removes an item from an existing progress invoice. The invoice must be in draft status ("filled") and of type SITUATION. Restrictions: - Cannot delete the last article item from an invoice - Cannot delete items with progress (items linked to the original quote/sale order) - Only items that were freely added to the progress invoice (not from the source document) can be deleted - The invoice totals are automatically recalculated after deletion Use InvoiceGetTool with show_items_extended=true to see all items and their IDs before deleting. Required parameters: - invoiceid: The progress invoice ID - itemid: The item ID to delete Example usage: { "invoiceid": 12345, "itemid": 67890 }
2 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The progress invoice ID. Required. Must be a draft progress invoice (typedoc "situation", status "filled").
itemid integer Optionnel 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.
invoice-credit-tool
Create a total credit note (FR: avoir total) from an existing invoice. A total credit note cancels the entire invoice amount. The credit is automatically finalized (receives a definitive document number) upon creation. IMPORTANT CONSTRAINTS: - The invoice must NOT have any payments recorded. If the invoice has payments, they must be deleted first. - If the credit amount equals the invoice amount, the invoice will be marked as deleted. - This action creates a finalized credit note (not a draft). Required parameters: - invoiceid: The invoice ID to create a total credit from. Use InvoiceListTool to find invoices. Optional parameters: - documentdate: Document date for the credit (YYYY-MM-DD). Defaults to today's date. Must be between today and +30 days. The created credit note will: - Mirror all items from the original invoice - Have the same client, contact, and delivery address - Be automatically saved with a definitive document number - Reference the original invoice E-invoicing note: the created credit copies its business process (FR: type d'opération) from the source invoice. When the company has enabled electronic invoicing (FR: facturation électronique), the invoice must carry one, otherwise the operation is rejected (400). Example usage: - Create total credit from invoice: {"invoiceid": 2476128} - Create total credit with specific date: {"invoiceid": 2476128, "documentdate": "2024-02-01"}
2 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to create a total credit from. Required. Use InvoiceListTool to find invoices.
documentdate string Optionnel Document date for the credit (YYYY-MM-DD). Defaults to today. Must be between today and +30 days.
invoice-partial-credit-tool
Create a partial credit note (FR: avoir partiel) from an existing invoice. A partial credit note cancels part of an invoice amount. Unlike the total credit (InvoiceCreditTool), this creates a DRAFT credit note (status "filled") that must be saved separately using CreditSaveTool. IMPORTANT CONSTRAINTS: - Cannot be used on invoices that have bonuses (post-tax deductions). - Items and term are required to define the partial credit content. - The created credit will be in draft status and needs to be saved (CreditSaveTool) to get a document number. Required parameters: - invoiceid: The invoice ID to create a partial credit from - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID - term: Payment terms object - items: Array of items to include in the partial credit Optional parameters include contact, delivery address, comment, retention, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Workflow: 1. Create partial credit from invoice (this tool) -> status: "filled" (draft) 2. Save the credit (CreditSaveTool) -> status: "created" with definitive document number 3. Optionally send the credit (CreditSendTool) Example usage: { "invoiceid": 2476128, "documentdate": "2024-02-01", "clientid": 12345, "term": { "paytermid": 1, "paytypeid": 1 }, "items": [ { "type": "article", "designation": "Partial refund - Licence annuelle", "quantity": 1, "unit": "U", "unit_price": 600.00, "vat_rate": 20 } ] }
17 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to create a partial credit from. Required. Use InvoiceListTool to find invoices.
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Required. Use ClientListTool to find clients.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the credit to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Optionnel Credit payment terms information. Required.
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the credit (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
retention object Optionnel Credit retention information
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention date (YYYY-MM-DD)
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Optionnel Credit items array. Required.
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
business_process string Optionnel 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).
invoice-bonus-payment-list-tool
Lecture seule
List bonus payments (FR: Paiements de primes/escomptes) for a specific invoice. Bonus payments are discount-related payments applied to an invoice when the bonuses/primes feature is enabled. Returns paginated list of bonus payments with standard payment details including: - Payment identification (paymentid) - Payment info (paydate, label, amount, paytype) - Client information Required parameter: - invoiceid: The invoice ID to list bonus payments for. Example usage: {"invoiceid": 12345}
3 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to list bonus payments for. Required. Use InvoiceListTool to find invoices.
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
invoice-bonus-payment-create-tool
Create a bonus payment (FR: Paiement de prime/escompte) for an invoice. Bonus payments are discount-related payments applied to an invoice. The bonuses/primes feature must be enabled for the company. Required parameters: - invoiceid: The invoice ID to create the bonus payment for - paydate: Payment date (YYYY-MM-DD format) - paytypeid: Payment type ID (use PayTypeListTool to find types, type 13 is not allowed) - amount: Payment amount (must not exceed remaining bonus amount to pay) Optional parameters: - label: Payment label (max 80 characters) - comment: Payment comment Example usage: { "invoiceid": 12345, "paydate": "2025-06-15", "paytypeid": 1, "amount": 50.00, "label": "Bonus payment Q2" }
6 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to create the bonus payment for. Required. Use InvoiceListTool to find invoices.
paydate string Optionnel Payment date in YYYY-MM-DD format. Required.
paytypeid integer Optionnel Payment type ID. Required. Use PayTypeListTool to find types. Type 13 is not allowed.
amount number Optionnel Payment amount. Required. Must not exceed the remaining bonus amount to pay on the invoice.
label string Optionnel Payment label (max 80 characters).
comment string Optionnel Payment comment.
credit-list-tool
Lecture seule
List credits (FR: Avoirs) for the authenticated user visible according to visibility restrictions set in user profile. A credit note (FR: avoir) is a document that cancels all or part of an invoice. Returns a paginated list of compact summary rows: creditid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use CreditDetailTool to get the full document (items, client and contact details, payment terms, links). For available status values, refer to the "credit-statuses" resource. Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Search by document number: Use the document_number parameter to find a specific credit by its number (e.g., "AV-20240001"). This is a strict comparison, so the full document number must be provided. Example usage: - List 10 latest credits: {"per_page": 10} - List sent credits: {"status": "sent"} - List credits for a client: {"clientid": 12345} - Find credit by document number: {"document_number": "AV-20240001"} - List credits for a custom period: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} - Sort by credit ID descending: {"sort_by": "creditid", "order": "desc"} Default sort: by document_date and document_number descending (most recent first).
20 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Credit's creator ID. Use UserListTool to find users.
clientid integer Optionnel Client ID. Use ClientListTool to find clients.
currency string Optionnel ISO currency code (e.g., EUR).
enabled boolean | null Optionnel Filter active (true) / inactive (false) credits.
status string Optionnel Credit status filter. Refer to the "credit-statuses" resource for the full list of statuses and their descriptions.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Credits period. Use "custom" with date_min and date_max.
date_min string Optionnel Credits min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Credits max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
analyticid integer Optionnel Analytic axis ID.
sort_by string Optionnel Sort by creditid. Requires order parameter.
order string Optionnel Sort order: asc (ascending) or desc (descending). Requires sort_by.
show_items_extended boolean Optionnel Include items of types text and sub_total in the items field. Default: false.
document_number string Optionnel Filter by exact document number (e.g., "AV-20240001"). Strict comparison.
credit-detail-tool
Lecture seule
Get detailed information about a specific credit (FR: Avoir) by its ID. A credit note (FR: avoir) is a document that cancels all or part of an invoice. Returns comprehensive credit details including: - Credit identification (creditid, document_number, external_document_number) - Status (filled, create, sent, inpayment, paid, match, nopaid, unpaid, locked) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Dates (documentdate, duedate, execdate) - Client info (clientid, client object with code, name, civility, address, postcode, town, country, iso) - Contact info (contactid, contact object with civility, lastname, firstname, email, phone) - Delivery address (delivery_address object with label, address, postcode, town, country, iso) - Object and comment fields - Items array with full details: - type (article, sub_total, text) - itemid, articleid, reference, designation - quantity, unit, unit_price, vat_rate - rebate, total_vat_exclude, total_vat_include - sale_classificationid - Financial totals: - total_vat_exclude, total_vat_include - total_rebate, global_rebate - remaining_vat_exclude, remaining_vat_include - paid_vat_exclude, paid_vat_include - VAT summary (vat_sums array with rate, base_vat_exclude, total_vat) - Payment terms (term object with paytype, payterm, duedate, penalty, recovery_indemnity, paydelay, endmonth, payday) - Retention info (retention object with percent, total, date) - Bonuses array (post-tax deductions with label and amount) - Currency, analyticid, templateid - Labels array, lockdate - Created/updated timestamps Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text and sub_total in the response. By default, only article items are returned. Required parameter: - creditid: The credit ID to retrieve. Use CreditListTool to find credits. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "creditid": 12345 }
2 paramètre(s)
Nom Type Requis Description
creditid integer Optionnel The credit ID to retrieve. Required. Use CreditListTool to find credits.
show_items_extended boolean Optionnel Include items of types text and sub_total in the response. Default: false.
credit-create-tool
Create a new draft credit note (FR: Avoir) with given data. The created credit will have status "filled" (draft). A credit note (FR: avoir) is a document that cancels all or part of an invoice. Totals, retention, and included VAT fields are automatically calculated. Required fields: - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the credit to Optional fields include client contact, delivery address, payment terms, items, retention, bonuses, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings Retention: - percent: Retention percentage - date: Retention date (YYYY-MM-DD) The API will validate all data and return the created credit with its ID. Example minimal usage: { "documentdate": "2024-01-15", "clientid": 12345 } Example with items: { "documentdate": "2024-01-15", "clientid": 12345, "object": "Avoir sur facture F-20240001", "items": [ { "type": "article", "reference": "SOFT-001", "designation": "Licence annuelle", "quantity": 1, "unit": "U", "unit_price": 1200.00, "vat_rate": 20 } ] }
22 paramètre(s)
Nom Type Requis Description
documentdate string Requis Document date (YYYY-MM-DD format). Required.
clientid integer Requis The client's ID to attach the credit to. Required. Use ClientListTool to find clients.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the credit to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the credit to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Requis Credit payment terms information. Required (term.paytermid must be provided).
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Requis Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the credit (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
retention object Optionnel Credit retention information
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention date (YYYY-MM-DD)
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Requis Credit items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
business_process string Optionnel 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 Optionnel 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 Optionnel 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.
credit-update-tool
Update an existing credit note (FR: Avoir) with given data. IMPORTANT: This is a PUT request (full replacement). Fields not provided will be reset to defaults. Always retrieve current data with CreditDetailTool first, modify what you need, then send the complete object back. A credit note (FR: avoir) is a document that cancels all or part of an invoice. Totals, retention, and included VAT fields are automatically calculated. Required fields: - creditid: The credit ID to update - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the credit to Optional fields include client contact, delivery address, payment terms, items, retention, bonuses, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings The API will validate all data and return the updated credit. Example minimal usage: { "creditid": 2476128, "documentdate": "2024-01-15", "clientid": 12345 } Example with items: { "creditid": 2476128, "documentdate": "2024-01-15", "clientid": 12345, "object": "Avoir sur facture F-20240001", "items": [ { "type": "article", "reference": "SOFT-001", "designation": "Licence annuelle", "quantity": 1, "unit": "U", "unit_price": 1200.00, "vat_rate": 20 } ] }
22 paramètre(s)
Nom Type Requis Description
creditid integer Optionnel Credit ID to update. Required. Use CreditListTool to find credits.
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. Required.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the credit to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the credit to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Optionnel Credit payment terms information
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the credit (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
execdate string Optionnel Execution date of payment terms (YYYY-MM-DD).
retention object Optionnel Credit retention information
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention date (YYYY-MM-DD)
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Optionnel Credit items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
invoice_ref string Optionnel 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 Optionnel 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 Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
credit-save-tool
Save a draft credit note (FR: Avoir) with a definitive document number. A credit note (FR: avoir) is a document that cancels all or part of an invoice. This tool transforms a draft credit (status "filled") into a created credit (status "created") with a permanent document number. Prerequisite: The credit must be in "filled" status (draft). Use CreditListTool with status="filled" to find drafts. IMPORTANT: This action is irreversible. Once saved, the credit cannot be reverted to draft status. The document number becomes permanent and sequential. You MUST ask the user for explicit confirmation before calling this tool. Never call it automatically after creating a draft. Required parameters: - creditid: The draft credit ID to save Workflow: 1. Create draft credit (CreditCreateTool) -> status: "filled" 2. Save credit (this tool) -> status: "created" with definitive document number After saving: - The credit receives a definitive document number (e.g., "AV-20190000160") - Status changes from "filled" to "created" - The credit becomes locked and can no longer be edited freely Example usage: - Save draft credit: {"creditid": 2476128}
1 paramètre(s)
Nom Type Requis Description
creditid integer Optionnel Draft credit ID to save. Required. Use CreditListTool with status="filled" to find draft credits.
credit-send-tool
Send a credit note (FR: Avoir) by email with a link to the credit. A credit note (FR: avoir) is a document that cancels all or part of an invoice. Prerequisite: The credit must be in "created" status or later (not "filled" draft). Use CreditSaveTool first to save a draft. After sending, the credit status changes to "sent". This tool sends an email notification to one or more recipients with a link to view the credit. You can optionally attach the PDF document and customize the email content. The subject and body fields support dynamic variables that are automatically replaced: Use EmailDynamicFieldsResource to see available dynamic fields (e.g., {DOCUMENT_NUMBER}, {CLIENT_NAME}, etc.). Required parameters: - creditid: The credit ID to send - to: Array of recipient email addresses Optional parameters: - from: Sender's email (defaults to configured SMTP or notification@evoliz.com) - copy: Send a copy to your user email address (boolean) - attachment: Add the PDF document as an attachment (boolean) - subject: Custom email subject (string, supports dynamic fields) - body: Custom email body in text or HTML (string, supports dynamic fields) - signature: Include company signature in the email (boolean, default: true) - links: Add "View PDF" and "Download PDF" links (boolean, deprecated) - contact: Contact information object with civility, lastname, firstname Note: In demo mode, you can only send emails to the authenticated company's email address. Example minimal usage: { "creditid": 2476128, "to": ["client@example.com"] } Example with full options: { "creditid": 2476128, "to": ["client@example.com", "accounting@example.com"], "from": "sales@mycompany.com", "copy": true, "attachment": true, "subject": "Your credit note from ACME Corp", "body": "Please find your credit note attached.", "signature": true, "contact": { "civility": "Monsieur", "lastname": "Dupont", "firstname": "Jean" } }
10 paramètre(s)
Nom Type Requis Description
creditid integer Optionnel Credit ID to send. Required. Use CreditListTool to find credits.
to array Optionnel Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed.
from string Optionnel Sender's email address. Defaults to configured SMTP or notification@evoliz.com.
copy boolean Optionnel Send a copy to your user email address.
attachment boolean Optionnel Add the PDF document as an attachment. Uses app email setting if not specified.
subject string | null Optionnel Custom subject for the email.
body string | null Optionnel Custom body for the email (text or HTML).
signature boolean Optionnel Include company signature in the email. Default: true.
links boolean Optionnel Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified.
contact object Optionnel Contact information to include in the email
contact.civility string Optionnel Contact civility (e.g., "Monsieur", "Madame")
contact.lastname string Optionnel Contact last name
contact.firstname string Optionnel Contact first name
delivery-list-tool
Lecture seule
List deliveries (FR: Bons de livraison) for the authenticated user visible according to visibility restrictions set in user profile. A delivery note (FR: bon de livraison) is a document accompanying goods shipped to a client, confirming the items and quantities delivered. Can be converted into an invoice. Returns a paginated list of compact summary rows: deliveryid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use DeliveryDetailTool to get the full document (items, client and contact details, shipping info, links). For available status values, refer to the "delivery-statuses" resource. Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Example usage: - List 10 latest deliveries: {"per_page": 10} - List sent deliveries: {"status": "sent"} - List deliveries for a client: {"clientid": 12345} - List deliveries for a custom period: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} - Sort by delivery ID descending: {"sort_by": "deliveryid", "order": "desc"} Default sort: by document_date and document_number descending (most recent first).
17 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Delivery's creator ID. Use UserListTool to find users.
clientid integer Optionnel Client ID. Use ClientListTool to find clients.
currency string Optionnel ISO currency code (e.g., EUR).
status string Optionnel Delivery status filter. Refer to the "delivery-statuses" resource for the full list of statuses and their descriptions.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Deliveries period. Use "custom" with date_min and date_max.
date_min string Optionnel Deliveries min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Deliveries max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
sort_by string Optionnel Sort by deliveryid. Requires order parameter.
order string Optionnel Sort order: asc (ascending) or desc (descending). Requires sort_by.
show_items_extended boolean Optionnel Include items of types text in the items field. Default: false.
delivery-detail-tool
Lecture seule
Get detailed information about a specific delivery note (FR: Bon de livraison) by its ID. A delivery note (FR: bon de livraison) is a document accompanying goods shipped to a client, confirming the items and quantities delivered. Returns comprehensive delivery details including: - Delivery identification (deliveryid, document_number, external_document_number) - Status (filled, create, sent, reject, accept, wait, invoice, close, noinvoice) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Dates (documentdate) - Client info (clientid, client object with code, name, civility, address, postcode, town, country, iso) - Contact info (contactid, contact object with civility, lastname, firstname, email, phone) - Delivery address (delivery_address object with label, address, postcode, town, country, iso) - Object and comment fields - Delivery-specific fields: - number_packages: Number of packages in the delivery - package_weight: Total weight of packages - total_quantity: Total quantity of items delivered - shipping_info: Shipping/tracking information - Items array with full details: - type (article, text) - itemid, articleid, reference, designation - quantity, unit, unit_price - weight: Item weight (delivery-specific field) - Financial totals: - total_vat_exclude, total_vat_include - Payment terms (term object with paytype, payterm) - Currency, analyticid, templateid - Labels array - Created/updated timestamps Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text in the response. By default, only article items are returned. Required parameter: - deliveryid: The delivery ID to retrieve. Use DeliveryListTool to find deliveries. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "deliveryid": 12345 }
2 paramètre(s)
Nom Type Requis Description
deliveryid integer Optionnel The delivery ID to retrieve. Required. Use DeliveryListTool to find deliveries.
show_items_extended boolean Optionnel Include items of type text in the response. Default: false.
delivery-create-tool
Create a new delivery note (FR: Bon de livraison) with given data. A delivery note (FR: bon de livraison) is a document accompanying goods shipped to a client, confirming the items and quantities delivered. CRITICAL: Unlike invoices, creating a delivery note is NOT a draft operation. The delivery is immediately saved with its permanent, irreversible document number (status "create", FR: « Enregistré »). There is no draft stage and no separate save step for deliveries. NEVER call this tool without the user's explicit confirmation of the delivery content. Totals are automatically calculated. IMPORTANT: Delivery items do NOT have vat_rate, rebate, or sale_classificationid fields. The only delivery-specific field on items is "weight" (item weight). There are NO sub_total items for deliveries. Required fields: - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the delivery to - term: Payment terms (term.paytermid is required) - items: At least one document line Optional fields include client contact, delivery address, shipping info, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog, requires articleid+quantity) OR type+designation+quantity+unit_price for a free item. - text: Text-only line. Only type and designation are used. Note: There are NO sub_total items for deliveries. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) The API will validate all data and return the created delivery with its ID. Example minimal usage: { "documentdate": "2024-01-15", "clientid": 12345, "term": {"paytermid": 1}, "items": [ { "type": "article", "designation": "Carton de pièces détachées", "quantity": 1, "unit_price": 50.00 } ] } Example with more options: { "documentdate": "2024-01-15", "clientid": 12345, "object": "Livraison Matériel", "number_packages": 3, "shipping_info": "Transporteur: DHL - Tracking: 1234567890", "items": [ { "type": "article", "reference": "MAT-001", "designation": "Carton de pièces détachées", "quantity": 10, "unit": "U", "unit_price": 50.00, "weight": 2.5 } ] }
18 paramètre(s)
Nom Type Requis Description
documentdate string Requis Document date (YYYY-MM-DD format). Required.
clientid integer Requis The client's ID to attach the delivery to. Required. Use ClientListTool to find clients.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the delivery to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the delivery to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Requis Delivery payment terms information. Required (term.paytermid must be provided).
term.paytermid integer Requis Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the delivery (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
number_packages number Optionnel Number of packages in the delivery.
shipping_info string | null Optionnel Shipping/tracking information (e.g., carrier name, tracking number).
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Requis Delivery items array. NOTE: Items do NOT have vat_rate, rebate, or sale_classificationid fields.
items[].type string Optionnel Item type. No sub_total for deliveries.
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article without articleid)
items[].weight number | null Optionnel Item weight (delivery-specific field)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
business_process string Optionnel 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).
delivery-update-tool
Update an existing delivery note (FR: Bon de livraison) with given data. IMPORTANT: This is a PUT request (full replacement). Fields not provided will be reset to defaults. Always retrieve current data with DeliveryDetailTool first, modify what you need, then send the complete object back. A delivery note (FR: bon de livraison) is a document accompanying goods shipped to a client, confirming the items and quantities delivered. Totals are automatically calculated. IMPORTANT: Delivery items do NOT have vat_rate, rebate, or sale_classificationid fields. The only delivery-specific field on items is "weight" (item weight). There are NO sub_total items for deliveries. Required fields: - deliveryid: The delivery ID to update - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the delivery to Optional fields include client contact, delivery address, payment terms, items, shipping info, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog, requires articleid+quantity) OR type+designation+quantity+unit_price for a free item. - text: Text-only line. Only type and designation are used. Note: There are NO sub_total items for deliveries. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) The API will validate all data and return the updated delivery. Example minimal usage: { "deliveryid": 2476128, "documentdate": "2024-01-15", "clientid": 12345 } Example with items: { "deliveryid": 2476128, "documentdate": "2024-01-15", "clientid": 12345, "object": "Livraison Matériel", "number_packages": 3, "shipping_info": "Transporteur: DHL - Tracking: 1234567890", "items": [ { "type": "article", "reference": "MAT-001", "designation": "Carton de pièces détachées", "quantity": 10, "unit": "U", "unit_price": 50.00, "weight": 2.5 } ] }
18 paramètre(s)
Nom Type Requis Description
deliveryid integer Optionnel Delivery ID to update. Required. Use DeliveryListTool to find deliveries.
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. Required.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's contact ID to address the delivery to. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel The client's delivery address ID to attach the delivery to. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Optionnel Delivery payment terms information
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the delivery (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
number_packages number Optionnel Number of packages in the delivery.
shipping_info string | null Optionnel Shipping/tracking information (e.g., carrier name, tracking number).
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation. Use DocumentTemplateListTool to find templates.
items array Optionnel Delivery items array. NOTE: Items do NOT have vat_rate, rebate, or sale_classificationid fields.
items[].type string Optionnel Item type. No sub_total for deliveries.
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article without articleid)
items[].weight number | null Optionnel Item weight (delivery-specific field)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
delivery-send-tool
Send a delivery note (FR: Bon de livraison) by email with a link to the delivery document. A delivery note (FR: bon de livraison) is a document accompanying goods shipped to a client, confirming the items and quantities delivered. Prerequisite: The delivery must be in "create" status or later (not a "filled" draft). Deliveries created through the API (DeliveryCreateTool) are numbered and saved immediately, so they can be sent right away. A draft created in the evoliz web app must be saved there first — no MCP tool can save it. After sending, the delivery status changes to "sent". This tool sends an email notification to one or more recipients with a link to view the delivery note. You can optionally attach the PDF document and customize the email content. The subject and body fields support dynamic variables that are automatically replaced: Use EmailDynamicFieldsResource to see available dynamic fields (e.g., {DOCUMENT_NUMBER}, {CLIENT_NAME}, etc.). Additional delivery-specific dynamic fields: - {TOTALQTY}: Total quantity of items in the delivery - {WEIGHTPACK}: Total weight of packages - {QTYPACK}: Number of packages Required parameters: - deliveryid: The delivery ID to send - to: Array of recipient email addresses Optional parameters: - from: Sender's email (defaults to configured SMTP or notification@evoliz.com) - copy: Send a copy to your user email address (boolean) - attachment: Add the PDF document as an attachment (boolean) - subject: Custom email subject (string, supports dynamic fields) - body: Custom email body in text or HTML (string, supports dynamic fields) - signature: Include company signature in the email (boolean, default: true) - links: Add "View PDF" and "Download PDF" links (boolean, deprecated) - contact: Contact information object with civility, lastname, firstname Note: In demo mode, you can only send emails to the authenticated company's email address. Example minimal usage: { "deliveryid": 2476128, "to": ["client@example.com"] } Example with full options: { "deliveryid": 2476128, "to": ["client@example.com", "warehouse@example.com"], "from": "logistics@mycompany.com", "copy": true, "attachment": true, "subject": "Your delivery note from ACME Corp", "body": "Please find your delivery note attached. Packages: {QTYPACK}, Total weight: {WEIGHTPACK}kg.", "signature": true, "contact": { "civility": "Monsieur", "lastname": "Dupont", "firstname": "Jean" } }
10 paramètre(s)
Nom Type Requis Description
deliveryid integer Optionnel Delivery ID to send. Required. Use DeliveryListTool to find deliveries.
to array Optionnel Array of recipient email addresses (required). In demo mode, only the authenticated company email is allowed.
from string Optionnel Sender's email address. Defaults to configured SMTP or notification@evoliz.com.
copy boolean Optionnel Send a copy to your user email address.
attachment boolean Optionnel Add the PDF document as an attachment. Uses app email setting if not specified.
subject string | null Optionnel Custom subject for the email. Supports dynamic fields like {DOCUMENT_NUMBER}, {TOTALQTY}, {WEIGHTPACK}, {QTYPACK}.
body string | null Optionnel Custom body for the email (text or HTML). Supports dynamic fields like {DOCUMENT_NUMBER}, {TOTALQTY}, {WEIGHTPACK}, {QTYPACK}.
signature boolean Optionnel Include company signature in the email. Default: true.
links boolean Optionnel Add "View PDF" and "Download PDF" links at the end of email (deprecated). Uses app email setting if not specified.
contact object Optionnel Contact information to include in the email
contact.civility string Optionnel Contact civility (e.g., "Monsieur", "Madame")
contact.lastname string Optionnel Contact last name
contact.firstname string Optionnel Contact first name
delivery-invoice-tool
Convert a delivery note (FR: Bon de livraison) into an invoice (FR: Facture). This tool creates a new invoice from the delivery data automatically, copying all the delivery data (client, items, terms, etc.) to a new invoice document. No request body is needed. Prerequisite: The delivery must be in a valid status for conversion (typically "created" or later, not "filled" draft). The created invoice inherits all data from the delivery: - Client/contact information - Items, quantities, prices - Payment terms - Comments, delivery address, etc. The created invoice will be in "filled" (draft) status. Use InvoiceSaveTool to finalize it with a definitive document number. E-invoicing note: the created invoice copies its business process (FR: type d'opération) from the source delivery. When the company has enabled electronic invoicing (FR: facturation électronique), the delivery must carry one, otherwise the conversion is rejected (400). There is no parameter for it here — set business_process on the delivery itself. Required parameter: - deliveryid: The delivery ID to convert into an invoice Example usage: { "deliveryid": 2476128 }
1 paramètre(s)
Nom Type Requis Description
deliveryid integer Optionnel Delivery ID to convert into an invoice. Required. Use DeliveryListTool to find deliveries.
quote-list-tool
Lecture seule
List quotes (FR: Devis) visible by the current user according to visibility restrictions. A quote (FR: devis) is a commercial proposal sent to a client or prospect before an invoice is issued. Returns a paginated list of compact summary rows: quoteid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use QuoteDetailTool to get the full document (items, client and contact details, payment terms, margins, links). Optional filters (extensive filtering available): - per_page: Pagination (1-100, default: 15) - userid, clientid, prospectid: Filter by creator/client/prospect - organization: Filter by type (CLIENT or PROSPECT) - currency: ISO currency code (e.g., EUR) - status: Quote status filter (refer to the "quote-statuses" resource for the full list) - paytypeid, analyticid: Payment type and analytic axis - amount_min/amount_max: Amount range (with amount_type) - enabled: Active/inactive quotes - search: Search parameter - period: Time period (lastmonth, currentmonth, custom, etc.) - date_min/date_max: Custom date range (requires period=custom) - sort_by, order: Sorting options - document_number: Filter by exact document number - show_items_extended: Include text and sub_total items (default: false) Search by document number: Use the document_number parameter to find a specific quote by its number (e.g., "D-20240001", "D-00000002269"). This is a strict comparison, so the full document number must be provided. Example usage: - List all quotes: {} - Filter by client: {"clientid": 9876} - Filter by status: {"status": "sent"} - Find quote by document number: {"document_number": "D-20240001"} - Custom date range: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} - Amount range: {"amount_min": 100, "amount_max": 1000, "amount_type": "vat_exclude"} Note: clientid and prospectid are mutually exclusive. Do not use both at the same time. The response may include bonuses (post-tax deductions) and retention info when applicable. Default sort: by document_date and document_number descending (most recent first).
22 paramètre(s)
Nom Type Requis Description
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
userid integer Optionnel Quote's creator ID.
clientid integer Optionnel Quote's client ID. Cannot be used with prospectid or organization=PROSPECT.
prospectid integer Optionnel Quote's prospect ID. Cannot be used with clientid or organization=CLIENT.
organization string Optionnel Organization type: CLIENT or PROSPECT.
currency string Optionnel ISO currency code (e.g., EUR, USD). Max 3 characters.
status string Optionnel Quote status filter. Refer to the "quote-statuses" resource for the full list of statuses and their descriptions.
paytypeid integer Optionnel Payment method ID.
analyticid integer Optionnel Analytic axis ID.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel VAT type for amount filtering. Default: vat_exclude.
enabled boolean Optionnel Filter active (true) or inactive (false) quotes.
search string Optionnel Search parameter.
period string Optionnel Quotes period.
date_min string Optionnel Quotes min date (YYYY-MM-DD). Must be used with date_max and period=custom.
date_max string Optionnel Quotes max date (YYYY-MM-DD). Must be used with date_min and period=custom.
sort_by string Optionnel Sort field. Only "quoteid" allowed. Default: sorted by document_date and document_number descending.
order string Optionnel Sort direction: asc or desc. Default: asc. Requires sort_by parameter.
document_number string Optionnel Filter by exact document number (e.g., "D-20240001", "D-00000002269"). Strict comparison.
show_items_extended boolean Optionnel Include items of types text and sub_total in items field. Default: false.
page integer Optionnel Page number for pagination. Default 1.
quote-detail-tool
Lecture seule
Get detailed information about a specific quote (FR: Devis) by its ID. A quote (FR: devis) is a commercial proposal sent to a client before an invoice is issued. It can be converted into an invoice once accepted. Returns comprehensive quote details including: - Quote identification (quoteid, document_number, external_document_number) - Status (filled, create, sent, accept, refuse, invoice) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Dates (documentdate, duedate, acceptdate) - Client info (clientid, client object with code, name, civility, address, postcode, town, country, iso) - Contact info (contactid, contact object with civility, lastname, firstname, email, phone) - Delivery address (delivery_address object) - Object and comment fields - Items array with full details: - type (article, sub_total, text) - itemid, articleid, reference, designation - quantity, unit, unit_price, vat_rate - rebate, total_vat_exclude, total_vat_include - margin info (purchase_unit_price, margin, margin_rate, markup) - Financial totals: - total_vat_exclude, total_vat_include - total_rebate, global_rebate - VAT summary (vat_sums array) - Margin totals (total_margin, total_margin_rate, total_markup) - Payment terms (term object) - Retention info (retention object with percent, total, date) - Bonuses array (post-tax deductions with label and amount) - Validity period (validity in days) - Currency, analyticid, templateid - Created/updated timestamps Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text and sub_total in the response. By default, only article items are returned. Required parameter: - quoteid: The quote ID to retrieve. Use QuoteListTool to find quotes. Progress invoicing: Use QuoteProgressInvoiceTool to create progress invoices (factures de situation) from this quote. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "quoteid": 12345 }
2 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel The quote ID to retrieve. Required. Use QuoteListTool to find quotes.
show_items_extended boolean Optionnel Include items of types text and sub_total in the response. Default: false.
quote-create-tool
Create a new quote (FR: Devis) with given data. A quote (FR: devis) is a commercial proposal sent to a client or prospect before an invoice is issued. CRITICAL: Unlike invoices, creating a quote is NOT a draft operation. The quote is immediately saved with its permanent, irreversible document number (status "create", FR: « Enregistré »). There is no draft stage and no separate save step for quotes. NEVER call this tool without the user's explicit confirmation of the quote content. Totals, margins, and included VAT fields are automatically calculated. Required fields: - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the quote to (OR prospectid) - prospectid: The prospect's ID to attach the quote to (OR clientid) - term: Payment terms (term.paytermid is required) - items: At least one document line Note: You must provide either clientid OR prospectid, not both. They are mutually exclusive. Optional fields include contact, delivery address, validity, payment terms, items, retention, bonuses, delivery date, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Retention (retenue de garantie): - percent: Retention percentage to withhold - date: Date when retention is released (YYYY-MM-DD) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings The API will validate all data and return the created quote with its ID and definitive number. Example minimal usage with client: { "documentdate": "2024-01-15", "clientid": 12345, "term": {"paytermid": 1}, "items": [ { "type": "article", "designation": "Prestation de conseil", "quantity": 1, "unit_price": 500.00, "vat_rate": 20 } ] } Example with prospect (same payload, prospectid replaces clientid): { "documentdate": "2024-01-15", "prospectid": 67890, "term": {"paytermid": 1}, "items": [ { "type": "article", "designation": "Prestation de conseil", "quantity": 1, "unit_price": 500.00, "vat_rate": 20 } ] } Example with more options: { "documentdate": "2024-01-15", "clientid": 12345, "object": "Projet Website Refonte", "validity": 30, "term": {"paytermid": 1}, "items": [ { "type": "article", "reference": "WEB-001", "designation": "Développement Frontend", "quantity": 40, "unit": "h", "unit_price": 85.00, "vat_rate": 20 } ] }
22 paramètre(s)
Nom Type Requis Description
documentdate string Requis Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. REQUIRED if prospectid is not provided; mutually exclusive with prospectid.
prospectid integer Optionnel 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 Optionnel External document number, must be unique.
contactid integer Optionnel The client's or prospect's contact ID to address the quote to.
delivery_addressid integer Optionnel The client's or prospect's delivery address ID to attach the quote to.
object string | null Optionnel Object/subject on the document.
validity integer Optionnel Quote validity period in days. Default: company default validity setting.
term object Requis Quote payment terms information. Required (term.paytermid must be provided).
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Requis Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the quote (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
delivery_date string Optionnel Delivery date (YYYY-MM-DD format).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation.
items array Requis Quote items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
retention object Optionnel Quote retention information (retenue de garantie)
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention release date (YYYY-MM-DD)
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
business_process string Optionnel 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).
quote-update-tool
Update a quote (FR: Devis) with given data. IMPORTANT: This is a PUT request (full replacement). Fields not provided will be reset to defaults. Always retrieve current data with QuoteDetailTool first, modify what you need, then send the complete object back. A quote (FR: devis) is a commercial proposal sent to a client or prospect before an invoice is issued. Totals, margins, and included VAT fields are automatically calculated. Required fields: - quoteid: The quote ID to update - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the quote to (OR prospectid) - prospectid: The prospect's ID to attach the quote to (OR clientid) Note: You must provide either clientid OR prospectid, not both. They are mutually exclusive. Optional fields include contact, delivery address, validity, payment terms, items, retention, bonuses, delivery date, etc. Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings The API will validate all data and return the updated quote. Example minimal usage: { "quoteid": 2476128, "documentdate": "2024-01-15", "clientid": 12345 } Example with multiple fields: { "quoteid": 2476128, "documentdate": "2024-01-20", "clientid": 12345, "object": "Projet Website - Updated", "validity": 45, "items": [ { "type": "article", "reference": "WEB-001", "designation": "Développement Frontend", "quantity": 50, "unit": "h", "unit_price": 90.00, "vat_rate": 20 } ] }
22 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel Quote ID to update (required).
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. Required if prospectid is not provided.
prospectid integer Optionnel The prospect's ID to attach the quote to. Required if clientid is not provided.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel The client's or prospect's contact ID to address the quote to.
delivery_addressid integer Optionnel The client's or prospect's delivery address ID to attach the quote to.
object string | null Optionnel Object/subject on the document.
validity integer Optionnel Quote validity period in days.
term object Optionnel Quote payment terms information
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the quote (HTML accepted).
analyticid integer Optionnel Analytic axis ID (only when analytic option is enabled).
delivery_date string Optionnel Delivery date (YYYY-MM-DD format).
prices_include_vat boolean Optionnel Indicate whether prices include VAT or not. Default: false.
global_rebate string Optionnel Global rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation.
items array Optionnel Quote items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find existing articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation/description (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code (e.g., U, Kg, h). Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate amount or percentage (e.g., 5.25 or "5.25%"). Can be number or string.
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
retention object Optionnel Quote retention information (retenue de garantie)
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention release date (YYYY-MM-DD)
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
quote-send-tool
Send a quote (FR: Devis) by email with a link to view/download the quote. A quote (FR: devis) is a commercial proposal sent to a client or prospect before an invoice is issued. Prerequisite: The quote must be in "created" status or later (not "filled" draft). After sending, the quote status changes to "sent". The subject and body fields support dynamic variables that are automatically replaced: Use EmailDynamicFieldsResource to see available dynamic fields (e.g., {DOCUMENT_NUMBER}, {CLIENT_NAME}, etc.). Required parameters: - quoteid: The quote ID to send - to: Array of recipient email addresses Optional parameters: - from: Sender email (any configured SMTP server email). Default: notification@evoliz.com - copy: Send copy to your user email address (boolean) - attachment: Add PDF as attachment (boolean, uses app settings if not set) - subject: Email subject (string) - body: Email body in text or HTML (string) - signature: Include company signature (boolean, default: true) - links: Add "View PDF" and "Download PDF" links (boolean, DEPRECATED - uses app settings if not set) - contact: Contact information object with civility, lastname, firstname Note: In demo mode, emails can only be sent to the authenticated company's email address. Example usage: { "quoteid": 2476128, "to": ["client@example.com"] } Example with all options: { "quoteid": 2476128, "to": ["client@example.com", "contact@example.com"], "from": "sales@mycompany.com", "copy": true, "attachment": true, "subject": "Your Quote", "body": "Please find attached your quote.", "signature": true, "contact": { "civility": "Monsieur", "lastname": "Gasquet", "firstname": "Olivier" } }
10 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel Quote ID to send (required).
to array Optionnel Array of recipient email addresses (required). In demo mode, only authenticated company email is allowed.
from string Optionnel Sender email address from your configured SMTP servers. Default: notification@evoliz.com
copy boolean Optionnel Send a copy to your user email address.
attachment boolean Optionnel Add the PDF document as an attachment. Uses app email settings if not set.
subject string Optionnel Subject of the email.
body string Optionnel Body of the email in text or HTML format.
signature boolean Optionnel Include company signature in the email. Default: true.
links boolean Optionnel DEPRECATED: Add "View PDF" and "Download PDF" links. Uses app email settings if not set.
contact object Optionnel Contact information for the email
contact.civility string Optionnel Contact civility (e.g., Monsieur, Madame)
contact.lastname string Optionnel Contact last name
contact.firstname string Optionnel Contact first name
quote-invoice-tool
Create a new invoice (FR: Facture) from a given quote (FR: Devis). This tool converts a quote (FR: devis) into an invoice (FR: facture) automatically, copying all the quote data (client, items, terms, retention, bonuses, etc.) to a new invoice document. Prerequisite: The quote must be in a valid status for conversion (typically "accepted" or later). IMPORTANT: If the quote is associated with a prospect (not a client), the prospect must first be converted to a client using ProspectTransformTool before the quote can be invoiced. The created invoice inherits all data from the quote: - Client/contact information - Items, quantities, prices, VAT rates - Payment terms, retention, bonuses - Comments, delivery address, etc. The created invoice will be in "filled" (draft) status. Use InvoiceSaveTool to finalize it. E-invoicing note: the created invoice copies its business process (FR: type d'opération) from the source quote. When the company has enabled electronic invoicing (FR: facturation électronique), the quote must carry one, otherwise the conversion is rejected (400). There is no parameter for it here — set business_process on the quote itself. Required parameters: - quoteid: The quote ID to convert into an invoice Example usage: { "quoteid": 2476128 }
1 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel Quote ID to convert into an invoice (required).
quote-progress-invoice-tool
Create a new progress invoice (FR: Facture de situation) from a given quote (FR: Devis). A progress invoice (facture de situation) allows partial/progressive invoicing of a quote. Multiple progress invoices can be created from the same quote, each representing a portion of the work done. Two progression modes are supported: 1. Global progression: - Set progress.overall (cumulative %) or progress.current (this invoice's %) — only one of the two - The progression applies equally to all items from the quote 2. Detailed progression (per item): - Provide items array with itemid and progress (overall or current) or quantity for each item - Each item can have its own progression percentage - At least one item must be provided - Only items not yet fully invoiced are allowed Advance deduction mode (advance_deduction_mode): - Required on the FIRST progress invoice when the quote has advances (no default) - Ignored on subsequent invoices (mode is locked after first) - prorate: advances deducted proportionally on each progress invoice - first: advances deducted in full on the first progress invoice - last: advances deducted when remaining amount <= total advances Bonus selection (bonus_ids): - Select which bonuses from the quote to apply to this progress invoice - Each bonus can only be applied to one progress invoice (not reusable) - Only available when bonuses are enabled for the company The created invoice will be in "filled" (draft) status with typedoc "situation". Required parameter: - quoteid: The quote ID to create a progress invoice from Example with global progression (overall): { "quoteid": 12345, "progress": {"overall": 50} } Example with global progression (current): { "quoteid": 12345, "progress": {"current": 25} } Example with detailed progression: { "quoteid": 12345, "items": [ {"itemid": 100, "progress": {"overall": 80}}, {"itemid": 101, "progress": {"current": 30}}, {"itemid": 102, "quantity": 5} ] } E-invoicing note: the created progress invoice copies its business process (FR: type d'opération) from the source quote. When the company has enabled electronic invoicing (FR: facturation électronique), the quote must carry one, otherwise the operation is rejected (400). Example with advance deduction and bonuses: { "quoteid": 12345, "progress": {"overall": 50}, "advance_deduction_mode": "prorate", "bonus_ids": [1, 2] }
5 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel Quote ID to create a progress invoice from. Required. Use QuoteListTool to find quotes.
progress object Optionnel Global progression. Use for global progression mode. Provide either overall or current, not both.
progress.overall number Optionnel Cumulative progress percentage (0-100) across all progress invoices. Use this OR current, not both.
progress.current number Optionnel Progress percentage (0-100) for this specific invoice. Use this OR overall, not both.
items array Optionnel Detailed progression by item. Use for detailed progression mode. At least one item required.
items[].itemid integer Optionnel The item ID to progress. Required. Must be an item from the quote.
items[].progress object Optionnel Item progression. Use overall or current, not both.
items[].quantity number Optionnel Quantity of the item to invoice. Alternative to progress.
advance_deduction_mode string Optionnel 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 Optionnel Array of bonus IDs from the quote to apply to this progress invoice. Each bonus can only be used once across all progress invoices.
quote-advance-create-tool
Create a new advance invoice (FR: Facture d'acompte) on a quote (FR: Devis). An advance is a partial payment requested before the full quote is delivered/invoiced. The advance amount must not exceed the quote's remaining amount (total minus already invoiced advances). Similar to SaleOrderAdvanceCreateTool but for quotes. Use QuoteDetailTool to check the quote's remaining amount before creating an advance. Workflow context: 1. Create quote (QuoteCreateTool) 2. Create one or more advance invoices (this tool) — each advance is a draft invoice 3. Save each advance invoice (InvoiceSaveTool) to get a definitive document number 4. When ready, create the final invoice (QuoteInvoiceTool) — advances are automatically deducted Required fields: - quoteid: The quote ID - documentdate: Advance invoice date (YYYY-MM-DD) - amount: Advance amount (must be > 0 and <= quote's remaining amount) Optional fields: - delivery_addressid: Delivery address ID - paytypeid: Payment method (defaults to quote's paytypeid) - templateid: Invoice template ID (when multi-template is enabled) - comment: Comments on the advance - include_sale_general_conditions: Include conditions in PDF - designation: Custom item designation (default: "Acompte sur Devis n{document_number}") Example usage: { "quoteid": 2476128, "documentdate": "2024-01-15", "amount": 500.00 } Example with 20% advance: { "quoteid": 2476128, "documentdate": "2024-01-15", "amount": 537.71, "designation": "Acompte 20% sur devis", "paytypeid": 4 }
10 paramètre(s)
Nom Type Requis Description
quoteid integer Optionnel The quote ID. Required. Use QuoteListTool to find quotes.
documentdate string Optionnel Advance invoice date (YYYY-MM-DD). Required.
amount number Optionnel Advance amount. Must be > 0 and <= quote remaining amount. Required.
delivery_addressid integer Optionnel Client delivery address ID. Use ClientAddressListTool to find addresses.
paytypeid integer Optionnel Payment method ID. Defaults to quote's paytypeid. Use PayTypeListTool to get valid IDs.
templateid integer Optionnel Advance invoice template ID (when multi-template is enabled).
comment string Optionnel Comments on the advance.
include_sale_general_conditions boolean Optionnel 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 Optionnel Custom item designation. Default: "Acompte sur Devis n{document_number}".
business_process string Optionnel 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).
sale-order-list-tool
Lecture seule
List sale orders (FR: Commandes) visible by the current user. A sale order (FR: commande) is a confirmed order from a client before delivery and invoicing. For available status values, refer to the "sale-order-statuses" resource. Returns a paginated list of compact summary rows: orderid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use SaleOrderDetailTool to get the full document (items, client and contact details, payment terms, margins, links). Optional filters: - per_page: Pagination (1-100, default: 15) - userid, clientid: Filter by creator/client - status: Order status - currency, paytypeid, analyticid - amount_min/amount_max with amount_type - period, date_min/date_max (with period=custom) - search, document_number, enabled - sort_by, order Search by document number: Use the document_number parameter to find a specific sale order by its number (e.g., "C-20240001", "C-00000002269"). This is a strict comparison, so the full document number must be provided. Example usage: - List all sale orders: {} - Filter by client: {"clientid": 9876} - Filter by status: {"status": "sent"} - Find sale order by document number: {"document_number": "C-20240001"} - Custom date range: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} The response may include bonuses (post-tax deductions) and retention info when applicable. Default sort: by document_date and document_number descending (most recent first).
20 paramètre(s)
Nom Type Requis Description
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
userid integer Optionnel Order's creator ID.
clientid integer Optionnel Client ID. Use ClientListTool to find clients.
currency string Optionnel ISO currency code (e.g., EUR). Max 3 characters.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
analyticid integer Optionnel Analytic axis ID.
status string Optionnel Sale order status filter. Refer to the "sale-order-statuses" resource for the full list of statuses and their descriptions.
amount_min number Optionnel Minimum amount (requires amount_max).
amount_max number Optionnel Maximum amount (requires amount_min).
amount_type string Optionnel VAT type for amount filtering. Default: vat_exclude.
period string Optionnel Orders period.
date_min string Optionnel Orders min date (YYYY-MM-DD). Requires date_max and period=custom.
date_max string Optionnel Orders max date (YYYY-MM-DD). Requires date_min and period=custom.
search string Optionnel Search parameter.
enabled boolean Optionnel Filter active (true) or inactive (false) orders.
document_number string Optionnel Filter by exact document number (e.g., "C-20240001", "C-00000002269"). Strict comparison.
sort_by string Optionnel Sort field.
order string Optionnel Sort direction. Default: asc.
show_items_extended boolean Optionnel Include text and sub_total items. Default: false.
page integer Optionnel Page number for pagination. Default 1.
sale-order-detail-tool
Lecture seule
Get detailed information about a specific sale order (FR: Commande) by its ID. Returns full order details including: - Order identification (ID, document_number, status, status_code) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Client info with contact and delivery address - Currency and totals (rebate, VAT, margins, net_to_pay) - All status dates (create, sent, accept, wait, reject, pack, invoice, close) - Document dates (documentdate, duedate, execdate, delivery_date) - Payment terms (penalty, payterm, paytype) - Retention info (retention object with percent, total, date) - Bonuses array (post-tax deductions with label and amount) - Retract flag (withdrawal period) - Comments (HTML and clean versions) - External document number - Analytic axis - File, links, and webdoc URLs - Template information - All items with full details Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text and sub_total in the response. By default, only article items are returned. Progress invoicing: Use SaleOrderProgressInvoiceTool to create progress invoices (factures de situation) from this sale order. Required parameter: - orderid: The sale order ID to retrieve. Use SaleOrderListTool to find orders. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "orderid": 2476128 }
2 paramètre(s)
Nom Type Requis Description
orderid integer Optionnel The sale order ID to retrieve. Required. Use SaleOrderListTool to find orders.
show_items_extended boolean Optionnel Include text and sub_total items. Default: false.
sale-order-create-tool
Create a new sale order (FR: Commande) with given data. A sale order (FR: commande) is a confirmed order from a client before delivery and invoicing. Totals, margins, and included VAT fields are automatically calculated. Required fields: - documentdate: Document date (YYYY-MM-DD format) - clientid: The client's ID to attach the order to Optional fields: - external_document_number: External reference (must be unique) - contactid: Client contact ID - delivery_addressid: Delivery address ID - object: Subject/object on the document - term: Payment terms (penalty, paytermid, paytypeid, duedate, etc.) - comment: Comments (HTML accepted) - analyticid: Analytic axis ID - retract: Withdrawal period flag - delivery_date: Delivery date - prices_include_vat: Whether prices include VAT - global_rebate: Global discount (number or "X%") - include_sale_general_conditions: Include conditions in PDF - templateid: Document template ID - items: Array of order items Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Retention (retenue de garantie): - percent: Retention percentage to withhold - date: Date when retention is released (YYYY-MM-DD) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings Retract (withdrawal period): - Set retract=true to indicate a withdrawal period applies to this order Example usage: { "documentdate": "2024-01-15", "clientid": 9876, "object": "Commande matériel informatique", "items": [ { "type": "article", "reference": "PC-001", "designation": "Ordinateur portable", "quantity": 5, "unit": "U", "unit_price": 899.00, "vat_rate": 20 } ] }
21 paramètre(s)
Nom Type Requis Description
documentdate string Requis Document date (YYYY-MM-DD format). Required.
clientid integer Requis The client's ID. Use ClientListTool to find clients. Required.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel Client contact ID. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel Client delivery address ID. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Requis Sale order payment terms. Required (term.paytermid must be provided).
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Requis Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the order (HTML accepted).
analyticid integer Optionnel Analytic axis ID (when analytic option is enabled).
retract boolean Optionnel Withdrawal period flag.
delivery_date string Optionnel Delivery date (YYYY-MM-DD format).
prices_include_vat boolean Optionnel Whether prices include VAT. Default: false.
global_rebate string Optionnel Global rebate (number or "X%").
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation.
items array Requis Sale order items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code. Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate (number or "X%")
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
retention object Optionnel Sale order retention information (retenue de garantie)
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention release date (YYYY-MM-DD)
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
business_process string Optionnel 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).
sale-order-update-tool
Update a sale order (FR: Commande) with given data (PUT - full replacement). IMPORTANT: This is a PUT request (full replacement). Fields not provided will be reset to defaults. Always retrieve current data with SaleOrderDetailTool first, modify what you need, then send the complete object back. Totals, margins, and included VAT fields are automatically calculated. Required fields: - orderid: The sale order ID to update - documentdate: Document date (YYYY-MM-DD) - clientid: The client's ID Optional fields: - external_document_number, contactid, delivery_addressid, object - term: Payment terms - comment, analyticid, retract, delivery_date - prices_include_vat, global_rebate - include_sale_general_conditions, templateid - retention: Retention information - bonuses: Post-tax deductions - items: Array of order items Item types: - article: Product/service line. Can use articleid (pre-filled from catalog) OR reference+designation for a free item. - sub_total: Subtotal line. Only designation is used. - text: Text-only line. Only designation is used. Payment terms (term) - conditional fields: - paytermid=16 (Custom condition): paydelay, endmonth, payday are required - paytermid=18 (Enter a date): duedate is required (must be >= documentdate) Bonuses (post-tax deductions): - Maximum 3 per document, total cannot exceed the net amount to pay - Requires the bonuses feature to be enabled in company settings Example usage: { "orderid": 2476128, "documentdate": "2024-01-15", "clientid": 9876, "object": "Commande modifiée", "items": [ { "type": "article", "reference": "PC-001", "designation": "Ordinateur portable Pro", "quantity": 10, "unit": "U", "unit_price": 999.00, "vat_rate": 20 } ] }
21 paramètre(s)
Nom Type Requis Description
orderid integer Optionnel The sale order ID to update. Required. Use SaleOrderListTool to find orders.
documentdate string Optionnel Document date (YYYY-MM-DD format). Required.
clientid integer Optionnel The client's ID. Use ClientListTool to find clients. Required.
external_document_number string | null Optionnel External document number, must be unique.
contactid integer Optionnel Client contact ID. Use ClientContactListTool to find contacts.
delivery_addressid integer Optionnel Client delivery address ID. Use ClientAddressListTool to find addresses.
object string | null Optionnel Object/subject on the document.
term object Optionnel Sale order payment terms
term.penalty number Optionnel Penalty percentage
term.nopenalty boolean Optionnel No penalty flag
term.recovery_indemnity boolean Optionnel Recovery indemnity flag
term.discount_term number Optionnel Discount term
term.no_discount_term boolean Optionnel No discount term flag
term.paytermid integer Optionnel Payment term ID. Use PayTermListTool to get valid IDs.
term.duedate string Optionnel Due date (YYYY-MM-DD)
term.paydelay integer Optionnel Payment delay in days
term.endmonth boolean Optionnel End of month flag
term.payday integer Optionnel Payment day of month
term.paytypeid integer Optionnel Payment type ID. Use PayTypeListTool to get valid IDs.
comment string | null Optionnel Comments on the order (HTML accepted).
analyticid integer Optionnel Analytic axis ID (when analytic option is enabled).
retract boolean Optionnel Withdrawal period flag.
delivery_date string Optionnel Delivery date (YYYY-MM-DD format).
prices_include_vat boolean Optionnel Whether prices include VAT. Default: false.
global_rebate string Optionnel Global rebate (number or "X%").
include_sale_general_conditions boolean Optionnel 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 Optionnel Template ID for document generation.
items array Optionnel Sale order items array
items[].type string Optionnel Item type
items[].articleid integer Optionnel Article ID. Use ArticleListTool to find articles.
items[].reference string Optionnel Article reference
items[].designation string Optionnel Item designation (HTML accepted)
items[].quantity number Optionnel Quantity (required for type=article)
items[].unit string Optionnel Unit code. Use UnitCodeListTool to get valid codes.
items[].unit_price number Optionnel Unit price (required for type=article)
items[].vat_rate number Optionnel 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 Optionnel Rebate (number or "X%")
items[].sale_classificationid integer Optionnel Sale classification ID
items[].purchase_unit_price_vat_exclude number Optionnel Purchase unit price excluding VAT
retention object Optionnel Sale order retention information (retenue de garantie)
retention.percent number Optionnel Retention percentage
retention.date string Optionnel Retention release date (YYYY-MM-DD)
bonuses array Optionnel Post-tax deductions. Max 3 per document. Total cannot exceed net amount to pay. Requires bonuses feature enabled in company settings.
bonuses[].label string Optionnel Bonus label (max 80 characters)
bonuses[].amount number Optionnel Bonus amount (min 0)
vat_exoneration string Optionnel 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 Optionnel Custom VAT exoneration reason (max 250 chars). REQUIRED when vat_exoneration is "other", prohibited otherwise.
sale-order-invoice-tool
Create a new invoice (FR: Facture) from a sale order (FR: Commande). This tool converts a sale order into an invoice automatically, copying all order data (client, items, terms, retention, bonuses, etc.) to a new invoice document. Prerequisite: The sale order must be in a valid status for conversion (typically "accepted" or later). The created invoice inherits all data from the sale order: - Client/contact information - Items, quantities, prices, VAT rates - Payment terms, retention, bonuses - Comments, delivery address, etc. The created invoice will be in "filled" (draft) status. Use InvoiceSaveTool to finalize it with a definitive document number. E-invoicing note: the created invoice copies its business process (FR: type d'opération) from the source sale order. When the company has enabled electronic invoicing (FR: facturation électronique), the order must carry one, otherwise the conversion is rejected (400). There is no parameter for it here — set business_process on the sale order itself. Required parameter: - orderid: The sale order ID to convert into an invoice Example usage: { "orderid": 2476128 }
1 paramètre(s)
Nom Type Requis Description
orderid integer Optionnel Sale order ID to convert into an invoice. Required. Use SaleOrderListTool to find orders.
sale-order-advance-create-tool
Create a new advance invoice (FR: Facture d'acompte) on a sale order. An advance is a partial payment requested before the full order is delivered/invoiced. The advance amount must not exceed the order's remaining amount (total minus already invoiced advances). Use SaleOrderDetailTool to check the order's remaining amount before creating an advance. Workflow context: 1. Create sale order (SaleOrderCreateTool) 2. Create one or more advance invoices (this tool) — each advance is a draft invoice 3. Save each advance invoice (InvoiceSaveTool) to get a definitive document number 4. When ready, create the final invoice (SaleOrderInvoiceTool) — advances are automatically deducted Required fields: - orderid: The sale order ID - documentdate: Advance invoice date (YYYY-MM-DD) - amount: Advance amount (must be > 0 and <= order's remaining amount) Optional fields: - delivery_addressid: Delivery address ID - paytypeid: Payment method (defaults to order's paytypeid) - templateid: Invoice template ID (when multi-template is enabled) - comment: Comments on the advance - include_sale_general_conditions: Include conditions in PDF - designation: Custom item designation (default: "Acompte sur Commande n°{document_number}") Example usage: { "orderid": 2476128, "documentdate": "2024-01-15", "amount": 500.00 } Example with 20% advance: { "orderid": 2476128, "documentdate": "2024-01-15", "amount": 537.71, "designation": "Acompte 20% sur commande", "paytypeid": 4 }
10 paramètre(s)
Nom Type Requis Description
orderid integer Optionnel The sale order ID. Required. Use SaleOrderListTool to find orders.
documentdate string Optionnel Advance invoice date (YYYY-MM-DD). Required.
amount number Optionnel Advance amount. Must be > 0 and <= order remaining amount. Required.
delivery_addressid integer Optionnel Client delivery address ID. Use ClientAddressListTool to find addresses.
paytypeid integer Optionnel Payment method ID. Defaults to order's paytypeid. Use PayTypeListTool to get valid IDs.
templateid integer Optionnel Advance invoice template ID (when multi-template is enabled).
comment string Optionnel Comments on the advance.
include_sale_general_conditions boolean Optionnel 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 Optionnel Custom item designation. Default: "Acompte sur Commande n°{document_number}".
business_process string Optionnel 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).
sale-order-progress-invoice-tool
Create a new progress invoice (FR: Facture de situation) from a given sale order (FR: Commande). A progress invoice (facture de situation) allows partial/progressive invoicing of a sale order. Multiple progress invoices can be created from the same sale order, each representing a portion of the work done. Two progression modes are supported: 1. Global progression: - Set progress.overall (cumulative %) or progress.current (this invoice's %) — only one of the two - The progression applies equally to all items from the sale order 2. Detailed progression (per item): - Provide items array with itemid and progress (overall or current) or quantity for each item - Each item can have its own progression percentage - At least one item must be provided - Only items not yet fully invoiced are allowed Advance deduction mode (advance_deduction_mode): - Required on the FIRST progress invoice when the sale order has advances (no default) - Ignored on subsequent invoices (mode is locked after first) - prorate: advances deducted proportionally on each progress invoice - first: advances deducted in full on the first progress invoice - last: advances deducted when remaining amount <= total advances Bonus selection (bonus_ids): - Select which bonuses from the sale order to apply to this progress invoice - Each bonus can only be applied to one progress invoice (not reusable) - Only available when bonuses are enabled for the company The created invoice will be in "filled" (draft) status with typedoc "situation". Required parameter: - orderid: The sale order ID to create a progress invoice from Example with global progression (overall): { "orderid": 12345, "progress": {"overall": 50} } Example with global progression (current): { "orderid": 12345, "progress": {"current": 25} } Example with detailed progression: { "orderid": 12345, "items": [ {"itemid": 100, "progress": {"overall": 80}}, {"itemid": 101, "progress": {"current": 30}}, {"itemid": 102, "quantity": 5} ] } E-invoicing note: the created progress invoice copies its business process (FR: type d'opération) from the source sale order. When the company has enabled electronic invoicing (FR: facturation électronique), the order must carry one, otherwise the operation is rejected (400). Example with advance deduction and bonuses: { "orderid": 12345, "progress": {"overall": 50}, "advance_deduction_mode": "prorate", "bonus_ids": [1, 2] }
5 paramètre(s)
Nom Type Requis Description
orderid integer Optionnel Sale order ID to create a progress invoice from. Required. Use SaleOrderListTool to find orders.
progress object Optionnel Global progression. Use for global progression mode. Provide either overall or current, not both.
progress.overall number Optionnel Cumulative progress percentage (0-100) across all progress invoices. Use this OR current, not both.
progress.current number Optionnel Progress percentage (0-100) for this specific invoice. Use this OR overall, not both.
items array Optionnel Detailed progression by item. Use for detailed progression mode. At least one item required.
items[].itemid integer Optionnel The item ID to progress. Required. Must be an item from the sale order.
items[].progress object Optionnel Item progression. Use overall or current, not both.
items[].quantity number Optionnel Quantity of the item to invoice. Alternative to progress.
advance_deduction_mode string Optionnel 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 Optionnel 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.
advance-list-tool
Lecture seule
List advances (FR: Acomptes/Factures d'acompte) for the authenticated user visible according to visibility restrictions set in user profile. An advance (FR: acompte) is a partial payment document linked to a quote or sale order, created before the final invoice. Advances cannot be created directly — use SaleOrderAdvanceCreateTool or QuoteAdvanceCreateTool. Returns a paginated list of compact summary rows: advanceid, document_number, documentdate, duedate, status, client name, currency and totals (vat_exclude / vat_include). Use AdvanceDetailTool to get the full document (items, client and contact details, payment terms, links). For available status values, refer to the "advance-statuses" resource. Available period values: - lastmonth, currentmonth, last3months, last6months - currentyear, lastyear, fiscalyear, lastfiscalyear - vatperiod, custom (requires date_min and date_max) Example usage: - List 10 latest advances: {"per_page": 10} - List sent advances: {"status": "sent"} - List unpaid advances: {"status": "unpaid"} - List advances for a client: {"clientid": 12345} - List advances for a custom period: {"period": "custom", "date_min": "2024-01-01", "date_max": "2024-12-31"} - Sort by advance ID descending: {"sort_by": "advanceid", "order": "desc"} Default sort: by document_date and document_number descending (most recent first).
20 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
userid integer Optionnel Advance's creator ID. Use UserListTool to find users.
clientid integer Optionnel Client ID. Use ClientListTool to find clients.
currency string Optionnel ISO currency code (e.g., EUR).
enabled boolean | null Optionnel Filter active (true) / inactive (false) advances.
status string Optionnel Advance status filter. Refer to the "advance-statuses" resource for the full list of statuses and their descriptions.
amount_min number Optionnel Minimum amount (requires amount_max parameter).
amount_max number Optionnel Maximum amount (requires amount_min parameter).
amount_type string Optionnel Set vat type to filter with amount_min and amount_max. Default: vat_exclude.
search string Optionnel Search parameter.
period string Optionnel Advances period. Use "custom" with date_min and date_max.
date_min string Optionnel Advances min date (YYYY-MM-DD). Must be used with date_max and period set to custom.
date_max string Optionnel Advances max date (YYYY-MM-DD). Must be used with date_min and period set to custom.
paytypeid integer Optionnel Payment method ID. Use PayTypeListTool to get valid IDs.
analyticid integer Optionnel Analytic axis ID.
direct_debit boolean Optionnel Direct debit initialized on advances or not.
sort_by string Optionnel Sort by advanceid. Requires order parameter.
order string Optionnel Sort order: asc (ascending) or desc (descending). Requires sort_by.
show_items_extended boolean Optionnel Include items of types text and sub_total in the items field. Default: false.
advance-detail-tool
Lecture seule
Get detailed information about a specific advance (FR: Acompte/Facture d'acompte) by its ID. An advance (FR: acompte) is a partial payment document linked to a quote or sale order, created before the final invoice. Returns comprehensive advance details including: - Advance identification (advanceid, document_number, external_document_number) - Status (filled, create, sent, inpayment, paid, match, nopaid, unpaid, locked) - enabled: false when the document has been cancelled (FR: annulé — e.g. an invoice cancelled by a credit). Its status keeps its last value (create, sent…): always present such a document as « Annulé » first; its PDF is no longer available - Dates (documentdate, duedate, execdate) - Client info (clientid, client object with code, name, civility, address, postcode, town, country, iso) - Contact info (contactid, contact object with civility, lastname, firstname, email, phone) - Delivery address (delivery_address object with label, address, postcode, town, country, iso) - Object and comment fields - Items array with full details: - type (article, sub_total, text) - itemid, articleid, reference, designation - quantity, unit, unit_price, vat_rate - rebate, total_vat_exclude, total_vat_include - Financial totals: - total_vat_exclude, total_vat_include - total_rebate, global_rebate - remaining_vat_exclude, remaining_vat_include - paid_vat_exclude, paid_vat_include - VAT summary (vat_sums array with rate, base_vat_exclude, total_vat) - Payment terms (term object with paytype, payterm, duedate, penalty, recovery_indemnity, paydelay, endmonth, payday) - Currency, analyticid, templateid - Labels array, lockdate - Linked documents (source quote or sale order) - Created/updated timestamps Not returned: whether the document includes the sale general conditions (FR: CGV). The API does not expose this information, so never state that a document does or does not include its CGV. When copying or duplicating a document, ask the user whether the CGV must be included (include_sale_general_conditions on the Create tools). Tip: Use show_items_extended=true to include items of type text and sub_total in the response. By default, only article items are returned. Required parameter: - advanceid: The advance ID to retrieve. Use AdvanceListTool to find advances. To get the PDF file: Share the "webdoc" URL returned in the response: it is a public page where the user can view and download the document PDF. Never invent a webdoc URL; if it is absent, say the document has no shareable link yet. Example usage: { "advanceid": 12345 }
2 paramètre(s)
Nom Type Requis Description
advanceid integer Optionnel The advance ID to retrieve. Required. Use AdvanceListTool to find advances.
show_items_extended boolean Optionnel Include items of types text and sub_total in the response. Default: false.
advance-payment-list-tool
Lecture seule
List all payments (FR: Reglements) for a specific advance (FR: Acompte/Facture d'acompte). A payment (FR: reglement) is a financial transaction recording money received from a client for an advance. Required parameter: - advanceid: The advance ID to list payments for. Use AdvanceListTool to find advances. Optional parameters: - per_page: Number of results per page (1-100, default 15) Returns paginated list of payments with details including: - Payment identification (paymentid, external_id) - Dates (paydate) - Amount (amount, currency) - Label and comment - Payment method (paytypeid, paytype object with code and label) - Client info (clientid, client object with code, name) - Advance info (advanceid, document_number) - Cash entry reference (cashentryid, cash_entry object) - Credit note info if applicable (creditid, paytypeid=13 indicates credit note payment) - Created/updated timestamps Example usage: { "advanceid": 4013943 } Example with pagination: { "advanceid": 4013943, "per_page": 50 }
3 paramètre(s)
Nom Type Requis Description
advanceid integer Optionnel The advance ID to list payments for. Required. Use AdvanceListTool to find advances.
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
advance-payment-create-tool
Create a new payment (FR: Reglement) on an advance (FR: Acompte/Facture d'acompte). A payment (FR: reglement) records money received from a client for an advance. IMPORTANT: Before creating a payment, you MUST ask the user which payment method they want to use. Refer to the "payment-methods" resource for the full list of available methods and present them to the user. Required fields: - advanceid: The advance ID to add the payment to - paydate: Payment date (YYYY-MM-DD format) - label: Payment label/description - paytypeid: Payment method ID (ask the user to choose from the payment-methods resource) IMPORTANT - Two payment modes: 1. Standard payment (any paytypeid except 13): - amount: REQUIRED (must be >= 0, cannot exceed advance remaining balance: remaining_vat_include) - creditid: PROHIBITED 2. Credit note payment (paytypeid = 13): - creditid: REQUIRED (credit note ID to use) - amount: PROHIBITED (calculated automatically from credit note) - The credit note must not be already used and must belong to the same company Optional fields: - comment: Comments on the payment
7 paramètre(s)
Nom Type Requis Description
advanceid integer Optionnel Advance ID to add the payment to. Required. Use AdvanceListTool with status="sent" or "inpayment" to find advances awaiting payment.
paydate string Optionnel Payment date (YYYY-MM-DD format). Required.
label string Optionnel Payment label/description. Required.
paytypeid integer Optionnel 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 Optionnel Payment amount. Required for standard payments (paytypeid != 13). PROHIBITED for credit note payments.
creditid integer Optionnel Credit note ID. REQUIRED when paytypeid is 13, PROHIBITED otherwise.
comment string Optionnel Comments on the payment.
advance-credit-tool
Create a total credit note (FR: avoir total) from an existing advance (FR: Acompte/Facture d'acompte). A total credit note cancels the entire advance amount. The credit is automatically finalized (receives a definitive document number) upon creation. IMPORTANT CONSTRAINTS: - The advance must NOT have any payments recorded. If the advance has payments, they must be deleted first. - If the credit amount equals the advance amount, the advance will be marked as deleted. - This action creates a finalized credit note (not a draft). Required parameters: - advanceid: The advance ID to create a total credit from. Use AdvanceListTool to find advances. Optional parameters: - documentdate: Document date for the credit (YYYY-MM-DD). Defaults to today's date. Must be within +30 days from today. The created credit note will: - Mirror all items from the original advance - Have the same client, contact, and delivery address - Be automatically saved with a definitive document number - Reference the original advance E-invoicing note: the created credit copies its business process (FR: type d'opération) from the source advance. When the company has enabled electronic invoicing (FR: facturation électronique), the advance must carry one, otherwise the operation is rejected (400). Example usage: - Create total credit from advance: {"advanceid": 2476128} - Create total credit with specific date: {"advanceid": 2476128, "documentdate": "2024-02-01"}
2 paramètre(s)
Nom Type Requis Description
advanceid integer Optionnel The advance ID to create a total credit from. Required. Use AdvanceListTool to find advances.
documentdate string Optionnel Document date for the credit (YYYY-MM-DD). Defaults to today. Must be within +30 days from today.
pay-type-list-tool
Lecture seule
List available payment types (FR: Modes de paiement) for the company. Payment types define how payments are made (e.g., bank card, check, bank transfer, cash). Common payment types include: - Carte bancaire (Bank card) - Chèque (Check) - Virement (Bank transfer) - Espèces (Cash) - Prélèvement (Direct debit) - Avoir (Credit note) - paytypeid 13 Example usage: { "per_page": 50 }
2 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
pay-type-detail-tool
Lecture seule
Get details of a specific payment type (FR: Mode de paiement) by its ID. Returns the payment type information including its ID and label. Required parameter: - paytypeid: The payment type ID Example usage: { "paytypeid": 3 }
1 paramètre(s)
Nom Type Requis Description
paytypeid integer Optionnel The payment type ID to retrieve. Required.
pay-term-list-tool
Lecture seule
List available payment terms (FR: Conditions de paiement) for the company. Payment terms define when payments are due (e.g., 15 days, 30 days, end of month). Common payment terms include: - À réception (On receipt) - 15 jours (15 days) - 30 jours (30 days) - 30 jours fin de mois (30 days end of month) - 45 jours fin de mois (45 days end of month) Example usage: - List all payment terms: {"per_page": 100} - Next page with default page size: {"page": 2}
2 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
pay-term-detail-tool
Lecture seule
Get details of a specific payment term (FR: Condition de paiement) by its ID. Returns the payment term information including its ID and label. Required parameter: - paytermid: The payment term ID Example usage: { "paytermid": 3 }
1 paramètre(s)
Nom Type Requis Description
paytermid integer Optionnel The payment term ID to retrieve. Required.
unit-code-list-tool
Lecture seule
List available unit codes (FR: Codes unités) for the company. Unit codes define measurement units used in articles and invoice lines. Common unit codes include: - U (Unité/Unit) - h (Heure/Hour) - j (Jour/Day) - Kg (Kilogramme) - m (Mètre/Meter) - m² (Mètre carré/Square meter) Example usage: { "per_page": 100 }
2 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
unit-code-detail-tool
Lecture seule
Get details of a specific unit code (FR: Code unité) by its ID. Returns the unit code information including ID, code, label, and symbol. Required parameter: - unitcodeid: The unit code ID Example usage: { "unitcodeid": 1 }
1 paramètre(s)
Nom Type Requis Description
unitcodeid integer Optionnel The unit code ID to retrieve. Required.
vat-rate-list-tool
Lecture seule
List available VAT rates (FR: Taux de TVA) for the company. VAT rates define the tax percentages applied to sales and purchases. Common French VAT rates include: - 20% (Taux normal/Standard rate) - 10% (Taux intermédiaire/Intermediate rate) - 5.5% (Taux réduit/Reduced rate) - 2.1% (Taux super-réduit/Super-reduced rate) - 0% (Exonéré/Exempt) Returns VAT rate details including associated accounting account if configured. Example usage: { "per_page": 50 }
2 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter. Default 15, max 100.
vat-rate-detail-tool
Lecture seule
Get details of a specific VAT rate (FR: Taux de TVA) by its ID. Returns the VAT rate information including ID, rate percentage, and associated accounting account. Required parameter: - vatrateid: The VAT rate ID Example usage: { "vatrateid": 13 }
1 paramètre(s)
Nom Type Requis Description
vatrateid integer Optionnel The VAT rate ID to retrieve. Required.
document-template-list-tool
Lecture seule
List document templates (FR: Modèles de documents) available for the company. Document templates define the visual layout and design of generated documents. Includes both user-specific and default templates. Returns template details including: - Template identification (ID, label) - Document type (invoice, quote, corder, etc.) - Logo information - Enabled state - Last update timestamp Document types: - invoice: Invoice template (Facture) - quote: Quote template (Devis) - corder: Customer order template (Commande client) - delivery: Delivery template (Bon de livraison) - porder: Purchase order template (Commande fournisseur) - receipt: Receipt template (Reçu) - recovery: Recovery template (Relance) - checks: Check template (Chèque) - certificatetax: Tax certificate template (Attestation fiscale) Optional filters: - type: Filter by document type - search: Search by template label Example usage: - List all templates: {} - Filter by type: {"type": "invoice"} - Search: {"search": "standard"}
4 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
type string Optionnel Filter by document type.
search string Optionnel Search by template label.
document-template-detail-tool
Lecture seule
Get detailed information about a specific document template by its ID. Returns full template details including: - Template ID and label - Document type (invoice, quote, corder, delivery, etc.) - Logo content - Enabled state (active/deleted) - Last update timestamp (stampdate) Required parameter: - templateid: The template ID to retrieve Example usage: { "templateid": 123 }
1 paramètre(s)
Nom Type Requis Description
templateid integer Optionnel The template ID to retrieve. Required. Use DocumentTemplateListTool to find templates.
payment-list-tool
Lecture seule
List all payments (FR: Paiements) for the company. Returns a paginated list of all payments across all document types (invoices, credits, advances). Returns payment details including: - Payment identification (paymentid) - Associated document (invoiceid, creditid, advanceid, document_number) - Payment info (paydate, label, amount, paytype) - Client information - Currency details Optional filters: - clientid: Filter by client - paytypeid: Filter by payment type - userid: Filter by user - typedoc: Filter by document type - amount_min / amount_max: Filter by amount range - date_min / date_max: Filter by date range (YYYY-MM-DD) - period: Filter by predefined period - sort_by / order: Sort results Example usage: - List all payments: {} - Filter by client: {"clientid": 123} - Filter by date range: {"date_min": "2025-01-01", "date_max": "2025-12-31"} - Recent payments: {"sort_by": "paydate", "order": "desc", "per_page": 10}
13 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
clientid integer Optionnel Filter by client ID.
paytypeid integer Optionnel Filter by payment type ID. Use PayTypeListTool to find payment types.
userid integer Optionnel Filter by user ID.
typedoc string Optionnel Filter by document type.
amount_min number Optionnel Minimum payment amount filter.
amount_max number Optionnel Maximum payment amount filter.
date_min string Optionnel Minimum date filter (YYYY-MM-DD).
date_max string Optionnel Maximum date filter (YYYY-MM-DD).
period string Optionnel Predefined period filter. Use PeriodsResource to see available periods.
sort_by string Optionnel Field to sort by (e.g., paydate, amount).
order string Optionnel Sort order: asc or desc.
payment-detail-tool
Lecture seule
Get detailed information about a specific payment (FR: Paiement) by its ID. Returns comprehensive payment details including: - Payment identification (paymentid) - Associated document (invoiceid, creditid, advanceid, document_number) - Payment info (paydate, stampdate, label, amount, paytype) - Client information - Currency details - Comment Required parameter: - paymentid: The payment ID to retrieve. Use PaymentListTool to find payments. Example usage: {"paymentid": 12345}
1 paramètre(s)
Nom Type Requis Description
paymentid integer Optionnel The payment ID to retrieve. Required. Use PaymentListTool to find payments.
electronic-address-list-tool
List the electronic addresses available for a document's buyer in the Chaintrust / AFNOR e-invoicing directory. First step of the e-invoicing flow (FR: facturation électronique, Plateforme Agréée / PA). Use it to let the user pick the recipient address, then set it with RoutingAddressUpdateTool and finally transmit the document with DocumentTransmitTool. Works on invoices (FR: factures), credit notes (FR: avoirs) and advances (FR: acomptes). The buyer's SIREN used for the directory lookup is the one historized at the document's creation; there is nothing to provide. When the buyer is out of the directory's scope (private individual, non-French client, or no SIREN), the API returns `{"skip": true}`: e-invoicing does not apply to this document. Prerequisite: electronic invoicing must be enabled on the company (403 otherwise). Each returned address contains: - addressing_identifier: pass it to RoutingAddressUpdateTool to select this recipient - status: only "Enabled" lines can currently receive a document - business_name / facility_name / routing_code_name: human-readable info to present to the user - needs_legal_commitment: when true, a legal commitment number (FR: numéro d'engagement) must be provided to RoutingAddressUpdateTool for this address
2 paramètre(s)
Nom Type Requis Description
document_type string Optionnel Type of the document. Required.
documentid integer Optionnel ID of the invoice, credit note or advance. Required.
routing-address-update-tool
Set the buyer's electronic routing address on a document's Factur-X, before transmitting it to the Plateforme Agréée (PA). Second step of the e-invoicing flow (FR: facturation électronique): pick the address with ElectronicAddressListTool first, then set it here, then transmit with DocumentTransmitTool. This does NOT transmit the document — transmission is a separate, explicit step. Works on invoices (FR: factures), credit notes (FR: avoirs) and advances (FR: acomptes). Required fields: - document_type / documentid: the target document - addressing_identifier: the recipient's electronic address, exactly as returned by ElectronicAddressListTool. Its routing code is re-derived and validated server-side. Conditional field: - legal_commitment: legal commitment number (FR: numéro d'engagement). REQUIRED when the chosen address has `needs_legal_commitment = true` in the ElectronicAddressListTool response (the API answers 422 with `legal_commitment_required` otherwise), ignored for other addresses. Ask the user for it. Prerequisite: electronic invoicing must be enabled on the company (403 otherwise).
4 paramètre(s)
Nom Type Requis Description
document_type string Optionnel Type of the document. Required.
documentid integer Optionnel ID of the invoice, credit note or advance. Required.
addressing_identifier string Optionnel The recipient's electronic address, as returned by ElectronicAddressListTool. Required.
legal_commitment string Optionnel Legal commitment number (FR: numéro d'engagement). Required when the chosen address has needs_legal_commitment = true, ignored otherwise.
document-transmit-tool
Transmit a document's Factur-X to the Plateforme Agréée (PA) — the final step of the e-invoicing flow (FR: facturation électronique). CRITICAL: This is a legal, IRREVERSIBLE transmission to the French e-invoicing platform. NEVER call this tool without the user's explicit confirmation. Do not chain routing-address → transmit automatically. Works on invoices (FR: factures), credit notes (FR: avoirs) and advances (FR: acomptes). Prerequisites: - Electronic invoicing enabled on the company (403 otherwise) - The document is registered or already sent (not a draft) - The routing address has been set beforehand (RoutingAddressUpdateTool), otherwise 422 `address_not_set` - For a credit note: its source invoice or advance must already have been transmitted and deposited to the PA (422 `avoir_source_not_emitted` otherwise) The endpoint is idempotent-guarded: a document already transmitted (or retried too soon) is rejected with 409 `already_emitted`.
2 paramètre(s)
Nom Type Requis Description
document_type string Optionnel Type of the document. Required.
documentid integer Optionnel ID of the invoice, credit note or advance. Required.
payment-notify-tool
Notify the Plateforme Agréée (PA) that a client payment on an already-transmitted invoice has been received — the "payment received" lifecycle event (CDV 212) of the e-invoicing flow. CRITICAL: This sends a declaration to the French e-invoicing platform. NEVER call this tool without the user's explicit confirmation. The target PA and the addressing are those persisted on the payment's invoice at transmission: nothing to provide besides the payment ID. Use it once the invoice has been transmitted (DocumentTransmitTool) and the payment has been recorded (InvoicePaymentCreateTool). Prerequisites: - Electronic invoicing enabled on the company (403 otherwise) - The payment is a client payment on an invoice (422 `not_client_payment` otherwise) - The invoice has been transmitted to the PA (422 `invoice_not_emitted`) and was not refused or rejected (422 `invoice_rejected`) A payment already notified is rejected with 409 `already_notified` (duplicate guard).
1 paramètre(s)
Nom Type Requis Description
paymentid integer Optionnel ID of the payment to notify. Required. Use PaymentListTool or InvoicePaymentListTool to find it.
recovery-create-tool
Create a payment recovery/reminder (FR: Relance) for an overdue invoice. A recovery is a formal reminder sent to a client about an unpaid invoice. Required parameters: - invoiceid: The invoice ID to create the recovery for (must be a payable invoice) - recovery_date: Recovery date (YYYY-MM-DD format) - subject: Email subject (max 200 characters) - body: Email body content (text or HTML) Optional parameters: - recovery_templateid: Recovery template ID to use - contactid: Client contact ID (must belong to the invoice's client) - signature: Include company signature (default: true) - comment: Internal comment Example usage: { "invoiceid": 12345, "recovery_date": "2025-06-15", "subject": "Payment reminder - Invoice F-20250001", "body": "Dear client, we remind you that invoice F-20250001 is overdue. Please proceed with payment at your earliest convenience." }
8 paramètre(s)
Nom Type Requis Description
invoiceid integer Optionnel The invoice ID to create the recovery for. Required. Must be a payable invoice. Use InvoiceListTool to find invoices.
recovery_date string Optionnel Recovery date in YYYY-MM-DD format. Required.
subject string Optionnel Email subject (max 200 characters). Required.
body string Optionnel Email body content (text or HTML). Required.
recovery_templateid integer Optionnel Recovery template ID to use.
contactid integer Optionnel Client contact ID. Must belong to the invoice's client. Use ClientContactListTool to find contacts.
signature boolean Optionnel Include company signature in the email. Default: true.
comment string Optionnel Internal comment for this recovery.
recovery-send-tool
Send a payment recovery/reminder (FR: Relance) by email. The recovery must have been created first using RecoveryCreateTool. Required parameters: - recoveryid: The recovery ID to send - to: Array of recipient email addresses Optional parameters: - from: Sender's email address (defaults to configured SMTP or notification email) - copy: Send a copy to your user email address (boolean) - attachment: Include the recovery document as PDF attachment (boolean) Note: In demo mode, you can only send emails to the authenticated company's email address. Example usage: { "recoveryid": 456, "to": ["client@example.com"] }
5 paramètre(s)
Nom Type Requis Description
recoveryid integer Optionnel The recovery ID to send. Required. Use RecoveryCreateTool to create a recovery first.
to array Optionnel Array of recipient email addresses. Required.
from string Optionnel Sender's email address. Defaults to configured SMTP or notification email.
copy boolean Optionnel Send a copy to your user email address.
attachment boolean Optionnel Include the recovery document as PDF attachment.
linked-documents-tool
Lecture seule
Get all documents linked to a specific document (FR: Documents liés). Shows the full chain of related documents (e.g., quote > sale order > invoice > payment > credit). Returns linked documents grouped by type: - quotes: Linked quotes (Devis) - sale_orders: Linked sale orders (Commandes client) - invoices: Linked invoices (Factures) - deliveries: Linked delivery notes (Bons de livraison) - credits: Linked credit notes (Avoirs) - advances: Linked advances (Acomptes) - payments: Linked payments (Paiements) - cashentries: Linked cash entries (Ecritures de caisse) Required parameters: - document_type: The type of document (invoice, advance, credit, quote, corder, delivery, payment) - document_id: The document ID Example usage: - Links for an invoice: {"document_type": "invoice", "document_id": 12345} - Links for a quote: {"document_type": "quote", "document_id": 67890}
2 paramètre(s)
Nom Type Requis Description
document_type string Optionnel The document type. Required. Use "corder" for sale orders.
document_id integer Optionnel The document ID. Required.
event-list-tool
Lecture seule
List activity events/audit log (FR: Historique d'activité) for the company. Events track actions performed on documents and entities (creation, update, deletion, sending, etc.). Returns paginated list of events including: - Event identification (eventid) - User who performed the action (userid) - Action performed - Linked element (type, id, info, link) - Timestamp (stampdate) Optional filters: - element_type: Filter by entity type (e.g., invoice, quote, client) - action: Filter by action type (e.g., create, update, delete, send) - userid: Filter by user - period: Predefined period filter - date_min / date_max: Custom date range (YYYY-MM-DD, required when period=custom) - sort_by / order: Sort results Example usage: - Recent events: {"per_page": 20} - Invoice events: {"element_type": "invoice"} - Events by user: {"userid": 123, "period": "this_month"}
10 paramètre(s)
Nom Type Requis Description
page integer Optionnel Page number for pagination. Default 1.
per_page integer Optionnel Pagination parameter (1-100). Default: 15.
element_type string Optionnel Filter by entity type (e.g., invoice, quote, client, sale_order).
action string Optionnel Filter by action type (e.g., create, update, delete, send).
userid integer Optionnel Filter by user ID.
period string Optionnel Predefined period filter. Use PeriodsResource to see available periods.
date_min string Optionnel Minimum date filter (YYYY-MM-DD). Required when period=custom.
date_max string Optionnel Maximum date filter (YYYY-MM-DD). Required when period=custom.
sort_by string Optionnel Field to sort by.
order string Optionnel Sort order: asc or desc.
event-detail-tool
Lecture seule
Get detailed information about a specific event (FR: Evénement) by its ID. Returns event details including: - Event identification (eventid) - User who performed the action (userid) - Action performed - Linked element (type, id, info, link) - Timestamp (stampdate) Required parameter: - eventid: The event ID to retrieve. Use EventListTool to find events. Example usage: {"eventid": 12345}
1 paramètre(s)
Nom Type Requis Description
eventid integer Optionnel The event ID to retrieve. Required. Use EventListTool to find events.
file-get-tool
Lecture seule
INTERNAL WIDGET PLUMBING — NEVER call this tool. It streams base64 PDF files to the MCP app widgets (sandboxed iframes) and returns nothing an assistant can use; calling it only wastes a large amount of context. To share a document with the user, use the public `webdoc` link returned by the document's detail tool (e.g. InvoiceGetTool) instead.
2 paramètre(s)
Nom Type Requis Description
doc_type string Optionnel 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 Optionnel Document ID to retrieve. Required. Use the corresponding ListTool (InvoiceListTool, QuoteListTool, SaleOrderListTool, etc.) to find document IDs.
widget-asset-tool
Lecture seule
INTERNAL WIDGET PLUMBING — NEVER call this tool. It streams static JavaScript libraries to the MCP app widgets (sandboxed iframes) and returns nothing an assistant can use; calling it only wastes a large amount of context.
1 paramètre(s)
Nom Type Requis Description
asset string Requis Asset name to retrieve.

Ressources

Invoice List Widget

Interactive HTML widget rendering the invoice list returned by the invoice-list-tool.

ui://resources/invoice-list-app text/html;profile=mcp-app
Invoice Detail Widget

Interactive HTML widget rendering a single invoice with its PDF preview, fed by invoice-get-tool and file-get-tool.

ui://resources/invoice-detail-app text/html;profile=mcp-app
Quote List Widget

Interactive HTML widget rendering the quote list returned by the quote-list-tool.

ui://resources/quote-list-app text/html;profile=mcp-app
Quote Detail Widget

Interactive HTML widget rendering a single quote with its PDF preview, fed by quote-detail-tool and file-get-tool.

ui://resources/quote-detail-app text/html;profile=mcp-app
Credit List Widget

Interactive HTML widget rendering the credit list returned by the credit-list-tool.

ui://resources/credit-list-app text/html;profile=mcp-app
Credit Detail Widget

Interactive HTML widget rendering a single credit note with its PDF preview, fed by credit-detail-tool and file-get-tool.

ui://resources/credit-detail-app text/html;profile=mcp-app
Available Periods

Reference list of predefined period filters available for date filtering in the API.

evoliz://reference/periods text/markdown
Email Dynamic Fields

Reference list of dynamic placeholder fields available for invoice/quote email subject and body.

evoliz://reference/email-dynamic-fields text/markdown
Payment Methods

Reference list of available payment methods (FR: Moyens de paiement) with their identifiers. Always present these options to the user before creating a payment.

evoliz://reference/payment-methods text/markdown
Invoice Statuses

Reference list of invoice statuses and sub-statuses with their codes and descriptions. Use this to understand the invoice lifecycle.

evoliz://reference/invoice-statuses text/markdown
Quote Statuses

Reference list of quote (FR: Devis) statuses and sub-statuses with their codes and descriptions. Use this to understand the quote lifecycle.

evoliz://reference/quote-statuses text/markdown
Sale Order Statuses

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.

evoliz://reference/sale-order-statuses text/markdown
Delivery Statuses

Reference list of delivery (FR: Bon de livraison) statuses and sub-statuses with their codes and descriptions. Use this to understand the delivery lifecycle.

evoliz://reference/delivery-statuses text/markdown
Credit Note Statuses

Reference list of credit note (FR: Avoir) statuses and sub-statuses with their codes and descriptions. Use this to understand the credit note lifecycle.

evoliz://reference/credit-statuses text/markdown
Advance Invoice Statuses

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.

evoliz://reference/advance-statuses text/markdown