suggest_account
Retrieve the most frequently used expense accounts for a supplier based on past bills, enabling accurate account assignment when creating purchase invoices.
Instructions
Which expense accounts this supplier's earlier bills were booked to, most used first. Empty for a supplier with no history. Call this before add_purchase_invoice so a recurring supplier keeps landing on the same account instead of a guess.
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>"
},
"name": "suggest_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| supplier | Yes | Partner name, or the partner id as a number or a digit string |