create_bill
Create a new accounts payable bill by specifying vendor, date, and line items with account and amount.
Instructions
Create a new bill (accounts payable). Use list_contacts to find vendor_id values. Use list_accounts to find account_id values for line items.
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": {
"vendor_id": "<vendor_id>",
"date": "<date>",
"line_items": "<line_items>"
},
"name": "create_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | No | Zoho org ID (uses ZOHO_ORGANIZATION_ID env var if not provided) | |
| vendor_id | Yes | Vendor ID | |
| bill_number | No | Bill/Invoice number from vendor | |
| date | Yes | Bill date (YYYY-MM-DD) | |
| due_date | No | Payment due date (YYYY-MM-DD) | |
| reference_number | No | Reference number | |
| notes | No | Notes | |
| line_items | Yes | Array of line items |