The coding block — a cheat sheet
Learn Finance · Reference. Every line posted to the ledger carries an account (what kind of money) and a coding block (whose money, for what, where). This is lesson B1 — Read the chart of accounts on one screen.
The seven dimensions
| Dimension | The question it answers | Example from Hilsa's books |
|---|---|---|
| Cost centre | Which part of the organisation? | Cox's Bazar field office |
| Project | Which piece of work? | HHI-2026 Maternal & newborn health |
| Donor | Whose money? | Global Relief Fund |
| Grant | Which award? | HHI-2026 |
| Funding source | Which pot inside the grant? | FS-HHI — HHI-2026 restricted |
| Vendor | Which supplier? | Medi-Supply Ltd |
| Employee | Which person? | Nusrat Jahan |
What each account demands
Cost centre is required on every account. The other six are optional unless the account's policy says otherwise. These are the accounts in the standard chart that demand more:
| Account | Also required |
|---|---|
| 1210 Grant receivable | Donor · Grant |
| 1220 Staff advances | Project · Employee |
| 1230 Vendor prepayments | Vendor |
| 2300 Deferred grant income | Donor · Grant · Project |
| 4100 Grant income | Donor · Grant · Project |
Expense accounts leave donor and grant optional on purpose: a core-funded cost, paid from unrestricted money, is a legal posting with no grant on it. In VanillaPM, open Policy on an account in Finance → Accounting → Chart of accounts to see its seven rules; the ledger refuses a line that leaves a required dimension blank.
Three coded lines from Hilsa's books
| Entry | Line | Coding |
|---|---|---|
| Grant receipt (B3) | Cr 2300 Deferred grant income 300,000 | Dhaka HQ · HHI-2026 project · Global Relief Fund · grant HHI-2026 |
| Midwife training, JV-1004 (B2/B3) | Dr 5300 Supplies & consumables 85,000 | Cox's Bazar field office · HHI-2026 project · Global Relief Fund · grant HHI-2026 · FS-HHI |
| Realised FX loss, FX-0001 (B6) | Dr 5950 FX losses 50,000 | Dhaka HQ only: a core cost, kept off the grant |
The bank side of each entry (1102 Bank — BDT) carries just its cost centre.
Mistakes the coding block catches
- Grant money with no grant on it. A receipt credited to 2300 without donor, grant and project is refused, because nobody could later say which award it belongs to.
- Eligible spend coded to core. Spend that the grant should fund, posted without the grant, is never matched, so the income stays deferred. Code it at the source, not at month-end.
- Core costs charged to a grant. FX losses, bank charges and other core costs belong on cost centre only (see FX-0001 above). Donors can disallow them, and an audit finds them.
Terms used here
- Coding block — the dimensions carried on every posting, beside the account.
- Dimension policy — each account's rule for each dimension: required, optional or forbidden.
- Related: Finance glossary · The finance calendar