Create sales order
binderp_create_orderCreate a customer order (pedido, not an invoice: nothing is stamped or invoiced and no email is sent) with product and/or service lines. It reserves stock and shows up in the sales pipeline, so confirm client, prices and quantities first. Get ids from binderp_list_clients, binderp_get_client_addresses, binderp_list_catalog and binderp_list_products. POST /api/Orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comments | No | Order comments. | |
| products | No | Product lines. | |
| services | No | Service lines. | |
| client_id | Yes | Client id (a GUID, as returned by the list tools). | |
| address_id | Yes | Delivery address id (binderp_get_client_addresses) (a GUID, as returned by the list tools). | |
| order_date | Yes | Order date, ISO 8601, e.g. 2026-10-24 or 2026-10-24T10:00:00Z. | |
| currency_id | Yes | Currency id (catalog currencies) (a GUID, as returned by the list tools). | |
| location_id | Yes | Branch id (catalog locations) (a GUID, as returned by the list tools). | |
| warehouse_id | Yes | Warehouse id (catalog warehouses) (a GUID, as returned by the list tools). | |
| exchange_rate | No | Exchange rate when the currency is not the base currency. | |
| price_list_id | Yes | Price list id (catalog price_lists) (a GUID, as returned by the list tools). | |
| purchase_order | No | The customer's purchase order number. |