Record a slip from what you read on it
accounting_record_slipHand in a receipt, till slip, fuel slip or supplier invoice that the user showed you (photo or PDF in the chat): read it yourself and send the details printed on it. It is filed under Slips & Documents for the business to check and post — nothing is posted to the ledger. The reply contains a one-time upload link: give it to the user so they can attach the original slip (needed for a VAT claim). Only send what is printed; leave out anything you cannot read. Needs the user's GetAccountED sign-in (they are asked to sign in the first time).
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": {
"supplier": "<supplier>",
"date": "<date>",
"total": "<total>"
},
"name": "accounting_record_slip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Slip or invoice date YYYY-MM-DD | |
| kind | No | What the document is | |
| note | No | What it was for, in the user's words (e.g. "client lunch", "office printer ink") | |
| total | Yes | Total amount paid or owed, VAT included, in rand | |
| supplier | Yes | Supplier / shop name as printed | |
| card_last4 | No | Last 4 card digits if printed | |
| line_items | No | Items as printed (up to 50) | |
| vat_amount | No | VAT amount printed on the slip (omit if none is printed) | |
| business_id | No | Accounting practices only: which client's books (an id from accounting_list_my_businesses). Leave out to use the books chosen at sign-in. | |
| account_code | No | Expense account code from accounting_chart_of_accounts, only if the user chose one | |
| payment_method | No | card, cash, eft or account, if printed | |
| document_number | No | Slip / invoice number if printed | |
| supplier_vat_number | No | Supplier VAT number if printed (10 digits starting with 4) |