create_thirdparty
Create a new third party in Dolibarr as a customer, prospect, or supplier. Provide contact info, address, and financial details to instantly add the party to your CRM.
Instructions
Créer un nouveau tiers (client, prospect ou fournisseur)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_thirdparty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Code postal | |
| name | Yes | Nom/Raison sociale du tiers | |
| town | No | Ville | |
| alias | No | Nom alternatif / alias | |
| No | Email principal | ||
| phone | No | Téléphone | |
| siret | No | SIRET ou NINEA | |
| client | No | 0=aucun, 1=client, 2=prospect, 3=client+prospect | |
| address | No | Adresse postale | |
| codecompta | No | Code comptable du tiers | |
| country_id | No | ID pays (ex: 221 pour Sénégal) | |
| fournisseur | No | 0=non, 1=fournisseur | |
| note_public | No | Note publique sur le tiers | |
| note_private | No | Note privée sur le tiers | |
| tva_intracom | No | Numéro TVA intracommunautaire |