Create a sales order on Zoho Books
sales_orders_createCreate a sales order in one Zoho Books organisation's books, by Zoho's own names, and answer it whole with its lines: its customer by customer_id, and each line naming its item by item_id, as items_list answers it - items_create makes one - with the tax its organisation's edition asks for, as invoices_create takes it; one missing what its edition needs is refused in Zoho's own words. It is not emailed, which the answer says. A FreeAgent company or Xero organisation keeps no sales orders and is refused before its program is asked, saying what stands in for one there. Each write is sent to Zoho Books once. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. A company set to read only refuses it before Zoho is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where Zoho refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back Zoho's words in the answer, the outcome and each record's id stand, marked withheld with why.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company": "<company>",
"sales_order": "<sales_order>"
},
"name": "sales_orders_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | The id companies_list gives the company. | |
| sales_order | Yes | On Zoho Books, the sales order by the names sales_orders_get answers one with, and its lines, each naming its item. |