Expense accounts
expense_accountsThe expense accounts you can post to in this company — pick a category (what the money was for) and a paid-from account (where it came from) by code, for shaping a paid-expense draft. expenseCategories is a CURATED list: expense and asset accounts only, with cash/bank, the A/R and Inventory controls and contra accounts left out, because a cost never lands in one of those — and without the accounts only Taokeh's own engines book to (depreciation, foreign-exchange losses, loss on disposal, cash rounding, and salaries/employer statutory once the company runs payroll in Taokeh). It is the everyday set, not the whole rule. When the draft is filed, a CATEGORY code is rejected only if it is not an expense or asset account, or is a cash/bank, control or contra account; an engine account left off the list (e.g. depreciation) is still accepted by code, so use one only when the receipt really is that cost. The paid-from code has its own rule: any asset, liability or equity account except the A/R and A/P control accounts, Taokeh's own zero-balance clearing accounts (Contra Clearing, Refund Clearing — left out of paidFromAccounts and refused) and a foreign-currency bank or card (Taokeh posts only ringgit accounts for now, so paidFromAccounts leaves those out and a draft naming one is refused). MONEY THE OWNER PAID PERSONALLY ("I paid with my own money"): use ownerPocketCode as the paid-from — Capital Contribution for a sole proprietor or partnership, the Shareholder's Loan otherwise. A sole proprietor or partnership has no Shareholder's Loan: paidFromAccounts leaves it out and a draft naming it is refused. When ownerPocketCode is null, ownerPaidRefusal says what the owner must fix first — file no owner-paid draft until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||