add_order_line
Add a product or custom line item to an existing customer order in Dolibarr. Specify the order ID, unit price, quantity, and VAT rate, with optional description, product ID, and discount.
Instructions
Ajouter une ligne à une commande client
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID de la commande | |
| qty | Yes | Quantité commandée | |
| desc | No | Description de la ligne | |
| tva_tx | Yes | Taux TVA % | |
| subprice | Yes | Prix unitaire HT | |
| fk_product | No | ID produit catalogue | |
| remise_percent | No | Remise % |