> ## Documentation Index
> Fetch the complete documentation index at: https://mcp.klark.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Clients

> 11 outils — CRM : clients B2C et B2B, enrichissement SIRET, synchronisation

## list\_clients

`Lecture seule`

List clients with pagination, search and filters

<ParamField body="page" type="number" default="1">
  Page number
</ParamField>

<ParamField body="limit" type="number" default="20">
  Items per page (max 50)
</ParamField>

<ParamField body="status" type="string">
  Filter by status — Valeurs : active | inactive | archived
</ParamField>

<ParamField body="search" type="string">
  Search by name, email or company
</ParamField>

## get\_client

`Lecture seule`

Get full details of a client by ID

<ParamField body="clientId" type="string" required>
  The client ID
</ParamField>

## create\_client

`Écriture`

Create a new client

<ParamField body="email" type="string" required>
  Client email (required)
</ParamField>

<ParamField body="firstName" type="string">
  First name
</ParamField>

<ParamField body="lastName" type="string">
  Last name
</ParamField>

<ParamField body="company" type="string">
  Company name
</ParamField>

<ParamField body="phone" type="string">
  Phone number
</ParamField>

<ParamField body="siret" type="string">
  SIRET number (14 digits, for B2B)
</ParamField>

<ParamField body="vatNumber" type="string">
  VAT number (for B2B)
</ParamField>

<ParamField body="isBusinessClient" type="boolean" default="false">
  Is this a business client?
</ParamField>

<ParamField body="address" type="object">
  Billing address
</ParamField>

<ParamField body="notes" type="string">
  Notes about the client
</ParamField>

<ParamField body="tags" type="array">
  Tags
</ParamField>

## update\_client

`Écriture`

Update an existing client

<ParamField body="clientId" type="string" required>
  The client ID to update
</ParamField>

<ParamField body="email" type="string">
  New email
</ParamField>

<ParamField body="firstName" type="string">
  First name
</ParamField>

<ParamField body="lastName" type="string">
  Last name
</ParamField>

<ParamField body="company" type="string">
  Company name
</ParamField>

<ParamField body="phone" type="string">
  Phone number
</ParamField>

<ParamField body="siret" type="string">
  SIRET number
</ParamField>

<ParamField body="vatNumber" type="string">
  VAT number
</ParamField>

<ParamField body="isBusinessClient" type="boolean">
  Is business client?
</ParamField>

<ParamField body="address" type="object">
  Billing address
</ParamField>

<ParamField body="notes" type="string">
  Notes
</ParamField>

<ParamField body="tags" type="array">
  Tags
</ParamField>

## 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

<ParamField body="clientId" type="string" required>
  The client ID to delete
</ParamField>

## get\_client\_stats

`Lecture seule`

Get revenue and invoice statistics for a specific client

<ParamField body="clientId" type="string" required>
  The client ID
</ParamField>

## get\_client\_invoices

`Lecture seule`

Get all invoices for a specific client

<ParamField body="clientId" type="string" required>
  The client ID
</ParamField>

<ParamField body="limit" type="number" default="20">
  Max results (max 50)
</ParamField>

## 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.

<ParamField body="query" type="string" required>
  SIRET (14 digits), SIREN (9 digits) or company name
</ParamField>

## 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).

<ParamField body="email" type="string" required>
  Contact email (unique per client)
</ParamField>

<ParamField body="business" type="object" required>
  Business identity & commercial terms
</ParamField>

<ParamField body="addresses" type="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.
</ParamField>

<ParamField body="phone" type="string">
   
</ParamField>

<ParamField body="website" type="string">
   
</ParamField>

<ParamField body="notes" type="string">
   
</ParamField>

## 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.

<ParamField body="clientId" type="string" required>
  Existing client ID
</ParamField>

<ParamField body="siret" type="string" required>
  14-digit SIRET
</ParamField>
