Finance reference data
Set up the entities, dimensions, chart of accounts, tax codes, exchange rates and periods every Finance module reads, in Settings or through the MCP tools.
Reference data is what every Finance module reads: the legal entities you keep books for, the ways you analyse amounts, the accounts and tax codes your accounting system uses, exchange rates and which months are still open. It belongs to Finance itself, not to a module, so any organisation with Finance has it.
Open it in Finance > Settings (/finance/settings), one page per kind: /finance/settings/entities,
/finance/settings/dimensions, /finance/settings/accounts, /finance/settings/tax-codes, /finance/settings/rates
and /finance/settings/periods. Settings is listed for members whose Finance roles change reference data:
owners and admins, and anyone granted controller. A controller granted one entity sees and changes only that entity's
rows. A billing member with no Finance role reads the same data through the MCP tools and cannot change it. Nothing here is ever deleted: an entity is
archived and everything else is deactivated, so records that point at it keep their meaning. Every change is written to
the audit log with the value before and after.
Entities
An entity is a legal entity or a property. Every Finance record belongs to one.
| Field | What it holds |
|---|---|
| Name | Short name, unique in your organisation |
| Legal name, tax ID | As registered |
| Country | ISO 3166-1 alpha-2 code, such as SG |
| Functional currency | ISO 4217 code the entity keeps its books in, such as SGD |
| Time zone | IANA name such as Asia/Singapore. Dates on the entity's records are its local dates |
| Fiscal year start | The month the fiscal year starts, 1 to 12 |
| Group | Another entity of your organisation that this one belongs to. A group cannot end up inside itself |
Dimensions
A dimension is a way to analyse amounts: cost centre, project, department, property, client, or one of your own. It has
a stable key (cost_centre) that does not change. Its values have a code, a name, an optional parent value of the same
dimension, and can be deactivated. A value can have an owner, a member of the organisation: an
approval policy step can name "the dimension owner" as its approver. In Settings, pick a dimension
to see and edit its values.
Accounts
The chart of accounts as your accounting system has it. Finance keeps no ledger: it names the accounts its own entries will be exported to. An account has a code, a name, a type (asset, liability, equity, income or expense) and optionally its id in the accounting system. An account either belongs to one entity or is shared by all of them. A code is unique per entity, and unique among the shared accounts; an entity may have its own account with a shared code.
Tax codes
A tax code has a code, a name, a kind (VAT, GST, sales tax or withholding), a rate, a country, whether input tax is recoverable, and optionally the account it posts to. The rate is stored in basis points: 2000 is 20%, 900 is 9%. A code is unique per country.
Importing accounts and tax codes
Both screens take a CSV file. The file is read in your browser, then Check validates every row and Import writes them. A file is all or nothing: if any row is wrong, nothing is written and every problem is listed with its line number. A row whose code already exists updates that record.
code,name,type,external_ref,active
4000,Room revenue,income,acc-4000,yes
2100,GST payable,liability,,code,name,kind,rate,country,recoverable,account_code
SR,Standard rated,gst,9,SG,yes,2100
ZR,Zero rated,gst,0,SG,no,Tax code files may give rate_bps instead of rate (a percent with at most two decimals). account_code names an
account by its code: a shared account first, otherwise the only account with that code. Files are limited to 5,000
rows.
Exchange rates
A rate says 1 unit of the base currency is worth rate units of the quote currency, on a date. Rates have up to 8
decimal places. There is one rate per currency pair and date: setting it again replaces it, and the audit log keeps the
old value. The source says where the current value came from: manual, import or connector.
When a module needs a rate for a date it takes the latest rate on or before that date. If there is none, the answer is
the error fx_missing. Petawork never guesses a rate and never inverts a pair: a USD to SGD rate does not answer SGD
to USD, so set both if you need both. The same currency on both sides is 1.
Conversions use whole minor units (cents, yen) and round half to even, so a column of conversions does not drift. Currency exponents come from a built-in ISO 4217 table of every active currency (for example KWD has 3 decimals, JPY none), the same on every install. Countries are checked against the full ISO 3166-1 list of 249 codes.
Periods
Each entity has accounting months, one period per month, each open, closing or locked. A month nobody has changed is open. Closing still takes postings; a locked month takes none. Locking records who locked it and when.
A record dated in a locked month is not posted there. A late item goes to the next month that is not locked, with a note such as "Dated 2026-09-28; period 2026-09 was locked, posted in 2026-11." No agent can lock or unlock a period.
For agents
All tools are on /workspace/mcp/finance. Reads need finance:read; every write needs finance:admin and a role that
manages Finance. None deletes.
| Tool | Scope | What it does |
|---|---|---|
finance_entity_create, finance_entity_update |
finance:admin |
Add an entity; change it, or archive it with archived: true |
finance_entity_list |
finance:read |
The entities by name; archived: true includes archived ones |
finance_dimension_create, finance_dimension_update |
finance:admin |
Add a dimension; change it. Both take values, a list upserted by code, with parent naming another value's code and owner the member who owns the value |
finance_dimension_list |
finance:read |
The dimensions, or with dimension_id that dimension's values |
finance_account_create, finance_account_update |
finance:admin |
Add or change an account; active: false deactivates it |
finance_account_import |
finance:admin |
A CSV file's text for one entity or the shared chart, all or nothing; dry_run checks only |
finance_account_list |
finance:read |
The chart; filter by entity_id (or shared), type, active, query |
finance_taxcode_create, finance_taxcode_update |
finance:admin |
Add or change a tax code |
finance_taxcode_import |
finance:admin |
A CSV file's text, all or nothing; dry_run checks only |
finance_taxcode_list |
finance:read |
The tax codes; filter by country, kind, active |
finance_fxrate_set |
finance:admin |
Set or replace a pair's rate on a date |
finance_fxrate_list |
finance:read |
Rates, newest first; filter by base, quote, from, to |
finance_fxrate_get |
finance:read |
The rate on or before a date, or the error fx_missing |
finance_period_list |
finance:read |
An entity's months from from to to (default: the last 12 and the next 2) |
finance_period_update |
finance:admin |
Set a month to open, closing or locked |
The REST twins are under /api/v1/finance: entities, dimensions, accounts (and accounts/import), tax-codes
(and tax-codes/import), fx-rates (PUT to set, fx-rates/lookup for the lookup, 404 when no rate is found) and
periods. Updates are PATCH on …/{id}, periods PATCH /periods.
An id from another organisation is never found, and cannot be used as a group, an account or an entity: the database refuses it as well as the tools.