Balance keys
The Balance keys page is found under Accounting → Settings → Balance keys tab. It maps named system-level accounting operations to specific accounts in the chart of accounts. Every automated general ledger posting in the system — salary payments, invoice settlements, asset depreciation, bank transactions, tax entries — uses a balance key to determine which account to debit or credit.
What is a balance key?
A balance key is a named slot that connects a specific type of transaction to an Account category (a chart of accounts entry) and a posting direction (D = Debit, C = Credit). When the system creates a general ledger record, it looks up the relevant balance key to know where to post the amount.
Keys come in pairs — one for the debit side and one for the credit side of the same transaction type (e.g. salary_payment_dbit and salary_payment_crdt). This is required by double-entry accounting: every transaction must have equal and opposite debit and credit entries. The system enforces that each pair has opposite types — if one side is set to D, the other must be C.
Assigning account categories to balance keys
Each row in the list shows a balance key name and an Account category autocomplete field (searchable by key name or account name). Select the account that should receive postings for that transaction type. Next to the autocomplete, a type button shows and toggles the current posting direction (D or C).
After changing an assignment, use the sync button on that row to retroactively update all existing general ledger records that belong to this key — this reassigns their account category and type in the ledger history without recreating the original transactions.
Update all keys
The sync button at the top of the page (with the year selector) runs a bulk update across all 51 balance keys at once — every general ledger record in the system is reassigned to match the current key configuration. Use this after making multiple account changes to synchronise everything in one step. The year selector filters which records are updated by start date.
Balance key reference
| Key pair | Controls posting for |
| salary_payment_dbit / salary_payment_crdt | Salary payment transactions (cash outflow from bank, removal of salary liability). |
| salary_dbit / salary_crdt | Salary accrual entries (recording salary expense and liability before payment). |
| invoice_payment_dbit / invoice_payment_crdt | Customer invoice payment settlements. |
| invoice_total / invoice_sum / invoice_vat | Invoice line item totals, base amounts, and VAT amounts on sales invoices. |
| purchase_payment_dbit / purchase_payment_crdt | Supplier purchase invoice payment settlements. |
| purchase_total / purchase_sum / purchase_vat | Purchase invoice totals, base amounts, and VAT amounts on incoming invoices. |
| material_consumption_dbit / material_consumption_crdt | Material consumption postings (stock write-offs to production or expense). |
| materials_purchase / inventory_purchase | Posting of material and inventory procurement costs. |
| inventory_consumption_dbit / inventory_consumption_crdt | Inventory consumption write-offs. |
| asset_dbit / asset_crdt | Fixed asset acquisition postings. |
| amortization_dbit / amortization_crdt | Monthly fixed asset depreciation/amortization entries. |
| cash_dbit / cash_crdt | Cash payment postings. |
| card_dbit / card_crdt | Card payment postings. |
| card_sale_dbit / card_sale_crdt | Card sales revenue postings. |
| credit_dbit / credit_crdt | Credit payment postings. |
| bank_tax_dbit / bank_tax_crdt | Bank fee and tax entries on imported bank transactions. Used as fallback when no account is set on the bank account itself. |
| tax_dbit / tax_crdt | General tax postings. |
| tax_payment_dbit / tax_payment_crdt | Tax payment settlements to authorities. |
| tax_basic_dbit / tax_basic_crdt | Basic tax accrual entries. |
| tax_loan_dbit / tax_loan_crdt | Tax loan-related entries. |
| tax_income_dbit / tax_income_crdt | Income tax entries. |
| products_purchase / services_purchase / other_purchase | Purchase postings split by type: physical products, services, or other items. |
| transport / rent / expenses / income | Transport costs, rent, general expenses, and income account postings. |
| fx_conversion_bank_account | Bank account used for foreign exchange conversion transactions. |
| foreign_exchange_gain_account / foreign_exchange_loss_account | Accounts for recording foreign exchange gains and losses. |
Important notes
- Balance key pairs must always have opposite posting directions — the system will prevent saving a pair where both sides are set to the same type (D/D or C/C).
- Using the per-key sync button updates historical ledger records for that key. Use it carefully — it modifies existing accounting history.
- Using the Update all button modifies the entire ledger for the selected year. This should only be done after deliberately reconfiguring your chart of accounts.
- Balance keys that have no account category assigned will cause the system to skip that posting, which can result in unbalanced ledger entries.
English