Expense accounts
expense_accountsThe accounts a paid-expense draft can use, by code: expenseCategories (what the money was for) and paidFromAccounts (where it came from). expenseCategories is the everyday set: expense and asset accounts, without cash/bank, the A/R and Inventory controls, contra accounts, and the accounts only Taokeh's engines book to (depreciation, foreign-exchange losses, loss on disposal, cash rounding, and salaries and employer statutory once payroll runs in Taokeh). On filing, a category code is refused only if it is not an expense or asset account, or is a cash/bank, control or contra account, so an engine account such as depreciation is accepted by code. A paid-from code can be any asset, liability or equity account except the A/R and A/P controls, the zero-balance clearing accounts (Contra Clearing, Refund Clearing) and a foreign-currency bank or card (Taokeh posts ringgit accounts only for now); those are left out of paidFromAccounts and refused. Money the owner paid personally is paid from ownerPocketCode: Capital Contribution for a sole proprietor or partnership (which has no Shareholder's Loan, so that account is left out and refused), the Shareholder's Loan otherwise. When ownerPocketCode is null, ownerPaidRefusal says what the owner fixes first, and an owner-paid draft is refused until then.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expense_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||