dolibarr_create_contract
Create a new contract header for a client in Dolibarr. Use the socid parameter to specify the client, then add line items separately.
Instructions
Create a new contract header. Add line items afterwards with dolibarr_add_contract_line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| socid | Yes | Thirdparty (client) ID | |
| date_contrat | No | Unix timestamp; defaults to now if omitted | |
| note_public | No | ||
| note_private | No | ||
| commercial_signature_id | No | Dolibarr user ID who signed internally | |
| commercial_suivi_id | No | Dolibarr user ID following up the account |