list_clients
Lecture seule
List clients with pagination, search and filters
number
default:"1"
Page number
number
default:"20"
Items per page (max 50)
string
Filter by status — Valeurs : active | inactive | archived
string
Search by name, email or company
get_client
Lecture seule
Get full details of a client by ID
string
required
The client ID
create_client
Écriture
Create a new client
string
required
Client email (required)
string
First name
string
Last name
string
Company name
string
Phone number
string
SIRET number (14 digits, for B2B)
string
VAT number (for B2B)
boolean
default:"false"
Is this a business client?
object
Billing address
string
Notes about the client
array
Tags
update_client
Écriture
Update an existing client
string
required
The client ID to update
string
New email
string
First name
string
Last name
string
Company name
string
Phone number
string
SIRET number
string
VAT number
boolean
Is business client?
object
Billing address
string
Notes
array
Tags
sync_clients
Écriture — service externe
Synchronise clients from connected platforms (Stripe, Shopify, PayPal, PrestaShop). Returns a summary of how many clients were synced per platform.
delete_client
Écriture — destructif
Delete a client by ID
string
required
The client ID to delete
get_client_stats
Lecture seule
Get revenue and invoice statistics for a specific client
string
required
The client ID
get_client_invoices
Lecture seule
Get all invoices for a specific client
string
required
The client ID
number
default:"20"
Max results (max 50)
search_business
Lecture seule
Search the French company registry (annuaire des entreprises gouv.fr) by SIRET, SIREN or company name. Returns legal name, SIREN/SIRET, APE code, VAT number (computed), address, and director. Use this to pre-fill a B2B client before creating it, or to find a SIRET to enrich an existing client.
string
required
SIRET (14 digits), SIREN (9 digits) or company name
create_business_client
Écriture
Create a B2B (business) client. An email is required (used as unique key). Provide the business identity (legalName, siret, vatNumber…) — tip: call search_business first to get accurate data. Optionally add multiple contacts (accounting, purchasing…) and payment terms (delayDays, creditLimit).
string
required
Contact email (unique per client)
object
required
Business identity & commercial terms
array
Addresses if you already have them (e.g. extracted from a business card). If omitted AND a SIRET is provided, the billing address is auto-fetched from the registry.
string
string
string
enrich_client_from_siret
Écriture
Turn an existing client into a B2B client by enriching it from a SIRET via the French company registry. Fills legalName, SIREN, VAT, APE, legal form, and adds the director as primary contact (if no manual contact exists). Preserves manually-entered contacts and payment terms.
string
required
Existing client ID
string
required
14-digit SIRET