Propose many invoices and bills
quick_entriesQuick entries (round 296): many sales invoices, credit notes, bills and supplier credits at once, each the entry an issued invoice or a booked bill makes, without a document: customer or supplier account in full under the party, revenue or cost net under its tax code, the VAT on the code's account. rows: [{kind (invoice, credit note, bill, supplier credit), date YYYY-MM-DD, party, number, net or gross, rate or tax_code, vat optional, account optional, due_date optional, memo optional, currency optional with fx_rate (1 unit of the company's currency = fx_rate of the row's; left out: the rate on file for the day), cost_centre optional (code or name)}], or csv: the text of a CSV or a paste from a spreadsheet with the column names in its top line. A row without an account takes the one this party was booked to before, with its tax code if no code, rate or VAT is given (without history the default: No history, default). Otherwise a blank rate takes the account's default rate; an account without one carries no VAT. Rate E or exempt books the company's exempt rate where it has one (UK: Exempt), none the rate outside the scope. Rows with the same party, number and kind are the lines of one entry (an invoice at two rates). Rows that make an entry are proposed as one proposal; the result names every row left out and why, a column not read, and a number already in the books. It is booked on release.
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": {
"reason": "<reason>",
"idempotency_key": "<idempotency_key>"
},
"name": "quick_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | ||
| rows | No | ||
| reason | Yes | ||
| company | No | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||