Raise a work order
work_order_createRaise a job order and return its WO-YYYY-NNNN number: the client, the site address, the date it was asked for, what the job is and how urgent. Free tier: 5 open orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| client | Yes | A client name or id from the invoice server's client records. An unknown name needs client_address as well, so a typo is not filed as a new customer | |
| currency | No | ISO code the job is priced in. Defaults to the shared business profile's currency | |
| priority | No | How urgent the job is. Default normal | |
| description | Yes | What the job is, e.g. Replace immersion heater and test | |
| client_email | No | ||
| duplicate_ok | No | Raise it even though an identical work order exists, for a genuinely repeated visit. Default false | |
| site_address | Yes | Where the work happens. This is the site, not the billing address | |
| client_vat_id | No | ||
| client_address | No | The client's billing address, for a client that is not in the invoice records yet | |
| requested_date | Yes | The date the work was asked for, YYYY-MM-DD |