create_order
Create a new order (comandă) for a client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | No | Order series name (uses account default if omitted; provide it when the default series has a wrong year or a clashing number) | |
| currency | Yes | Currency code, e.g. "RON" | |
| client_id | No | Client ID | |
| client_city | No | Client city | |
| client_name | No | Client name | |
| document_date | No | Date in YYYY-MM-DD format (defaults to today) | |
| client_address | No | Client address | |
| client_country | No | Client country code | |
| document_positions | Yes | Line items | |
| document_series_counter | No | Number within the series (auto-incremented if omitted) |