← Analysis / Análisis
UNCTAD · Easy Accounts · Uganda analysis · modules 0 to 4

Five modules: most of it is built; the gaps are one master chart filtered by activity, ratios, and public reports

Checked against the Accounting-Next code. The chart of accounts is a dictionary that sits underneath everything. Admins build templates out of its accounts: questionnaires that ask for figures and reports that show them. Every template has the same shape: a list of accounts on the left and a value on the right, grouped into titled sections.

The five modules and where each stands

Module 0HomepagePublic landing, editable by admins.built
Module 1Chart of accountsOne dictionary, import or modify. Filter by activity.activity filter missing
Module 2Templates (views)Questionnaires and reports built from the chart.ratios missing
Module 3TransactionsMonthly questionnaire or daily form.reconcile fix needed
Module 4Reports (public)Figures for the public or government.not built

The big picture

1+2Two admin modules feed one user view

Admin User Module 1 · Chart of accounts the dictionary: every account, once import it · modify it accounts Questionnaire asks for figures Report shows figures Module 2 · Templates built only from chart accounts published templates Fills questionnaires, reads reports the chart never crosses this line

The dashed line is the rule: the user never sees the chart of accounts, only the questionnaires and reports built from it.

Module 1 · Chart of accounts (admin)

1aImport or modify the dictionary

.xlsx Import a country chart 1000 Assets 1100 Cash 1200 Bank 1300 Receivables 4000 Revenue 4100 Sales 6000 Expenses 6100 Rent Modify add, rename, move or archive accounts

A base layer: each account exists once, with a code and a type. Templates point to it; nobody fills it in directly.

1bOne master chart, filtered by activity

One master chart every possible account Shopsales, stock, rent Farmcrops, inputs, land Servicesfees, travel, tools its own view Missing in the code: accounts are not tagged by activity. Today “main activity” is free text on the business profile.

Your notes settle the open question: one chart with every account, and each activity sees only its part. Templates, not extra charts, are where sectors differ. For countries with a mandatory legal chart (see charts by country), that legal chart is the master.

Module 2 · Templates (admin)

2aQuestionnaire: asks for figures

March · What came in 4100 Sales type here 4300 Grants type here Total in = calculated Save March

Left: the account. Right: an input field (typed) or a calculated value (formula). In the code this is a BudgetSet.

2bReport: shows figures

Income statement · March 4100 Sales3,000,000 4300 Grants0 6100 Rent−400,000 Net result2,600,000 Values come from the ledger (what was recorded) or a formula.

Same shape, but every value is read, never typed. In the code this is a ReportDefinition.

2dReport families

FamilyIn the codeStatus
Financial statementsIncome statement, balance sheet (position), budget vs actualbuilt
TaxesVAT report, flat corporate income tax; national and municipal categoriesbuilt No URA forms yet.
Social securityCategory and institution type existempty No NSSF report defined.
Analytical ratiosFormula lines exist; no ratio reportmissing Issue #18 open.
Double-entry booksJournal page, every entry debit and creditbuilt See the note below.

Note on “double entry needs daily accounting”: not quite. The monthly questionnaire already posts balanced debit/credit entries. What it cannot give today is the balance sheet side: it only takes income and expense figures, not cash, stock or debts. Daily entry adds detail (client, supplier, VAT per invoice, who owes what).

2cAnatomy of every template

Sales and income 1 of 2 filled 4100 Sales 3,000,000 4300 Grants Costs 2 of 2 filled 6100 Rent 400,000 6200 Supplies 150,000 Net result = 2,450,000 A Titled sectiongroups related lines B Account, left columnpoints to the chart C Separatorsplits sections F Calculated lineformula over other lines D Trackerhow much of the sectionis filled E Value, right columninput field (questionnaire)or shown value (report) every codepoints here chart of accounts

Always a list of lines. Each line is linked to one chart account (B) and has a value (E), typed or calculated (F). Lines are grouped into titled sections (A) with a tracker (D) and separated (C).

Module 3 · Transactions

3aMonthly = questionnaire

One figure per account per month, from a questionnaire template (module 2). Built: it posts real balanced entries to the ledger. Limited to income and expense accounts today.

✔ month✔ one value per account✔ plan vs actual✔ submit / reopen month

3bDaily = transaction form

Your list, and what the form already has beyond it:

✔ type: income / expense✔ amount✔ client / supplier✔ VAT rate+ date and account+ withholding tax+ payment method+ on credit, due date+ receipt photo+ recurring operations

3cBoth on the same month

When a user has both for one month, the declared monthly total rules and daily entries are the detail; any gap shows as “Unsupported amount”. Worked out in monthly ↔ daily: drawing, prototype and screens.

Modules 0 and 4 · Homepage and public reports

0Homepage

Built as an admin-editable page with eight block types: hero, feature grid, call-to-action cards, logo strip, rich text, top notice, stats band, steps. There is also a public presentation page.

4Reports (public)

Not found in the code. What exists: a user can send a report to an institution (tax office, social security). Needs a definition: is “public” anonymous totals for government (how many businesses, sales by sector), or a report the entrepreneur chooses to publish?

What the code already has

IdeaIn Accounting-Next todayStatus
Chart of accountsChartOfAccounts + ChartAccount (coded tree, types, system roles such as VAT payable)built Import and edit exist in admin.
One chart, filtered by activitySeveral charts allowed, one default. No link between accounts and activities.to build Activity tags on accounts + template filter.
Questionnaire templateBudgetSet with items GROUP / INPUT / FORMULA, each input linked to an account; required and hint per itembuilt
Report templateReportDefinition with lines: group, account flow or balance, VAT sum, formulabuilt
Sections, separatorsGroups with titles (tree of items / lines)built Separators as explicit elements: not seen.
TrackersRequired flag and month submit exist; a per-section progress tracker was not foundto confirm We read “tracker” as section progress.
Users never see the chartUsers do have a “Chart of accounts” page and can add personal sub-accountsconflict Hide it, or keep a simplified version?
Nelson Pérez · nelson.perez@unctad.orgDrawing · 24 Sep 2026 · from the module notes (v2), checked against main @ 69b3aa41