Repository navigation
Releases
0.3.0 - 2026-11-24
Release Notes
Added
-
Skills:
migrate-bookscarries the agent's procedure for moving a
company's books from another program (inventory, read-only export, a
checksummed archive, the hand-off to setup), with reference files for Briox
and Holvi. The guide page "Move your books from another program" keeps the
user's part. -
Bank import: overlapping statements. A bank transaction is booked once
however many exports contain it.import camt053 sealrecognises a
transaction already in the books by its bank reference and account: when
the bank's facts and the assignment are the same as when it was sealed,
nothing is sealed and the file is recorded as one more source of the
transaction (outcome: duplicate_source_observation). Two yearly
statements that share the transactions around the turn of the year can now
be imported one after the other. Every entry of the preview and the seal
carries itsoutcome, and the output counts new, duplicate, bound and
backfilled transactions; the text line readssealed N new vouchers from "…", M transactions already in the books. -
Bank import: transactions booked by hand. Before it seals a new voucher
for a statement entry, the import looks for a voucher sealed outside the
import (for example withvoucher seal) that may already book it: one
whose natural key or description names the bank reference, or one that
posts the same amount on the same side of the same bank account within 7
days. Such a voucher stops the batch (BANK_ENTRY_POSSIBLY_BOOKED) instead
of the transaction being booked twice. The new stdin field
existing_vouchersbinds the entry to that voucher without changing it,
and an assignment'snot_booked_byrules a voucher out. -
Bank import:
import camt053 observationslists, per retained
statement file, which transactions it contained and the voucher that books
each. -
Incomes Register:
file-wage approve,file-wage correction submitand
file-wage employer-report submittake--record-hash-file PATH(-is
stdin, except for a replacement correction, whose report already comes on
stdin) as an alternative to--record-hash, so the sensitive travel-report
hash need not appear in the command line, shell history or a transcript.
Help, skill and guide capture the hash from the preview the user reviewed
into a private file, instead of computing a fresh one at approval time. -
User guide: a page on moving the books from another program: what to
collect, how long it must be kept, how to keep the collected archive
trustworthy, and how it enters aggountant.
Changed
- Only
initcreates a company home. Every other command that opens a
home refuses a path without one withHOME_NOT_INITIALIZED, writes
nothing, and names the path and how it was chosen (--home,
$AGGOUNTANT_HOME, the configuration file, an.aggountantmarker or the
./accountingfallback). In 0.2.0 only the voucher reads refused; the
other commands created an empty home under a mistyped path and answered
from empty books. - VAT treatments are checked against their rate class. A purchase
treatment (domestic-input,reverse-chargeand their-partial
variants) with one of the zero-rated sale classeseu-goods,eu-services
orzero-ratedis refused withVAT_TREATMENT_CLASS_MISMATCH, whose
message names the treatment that fits. In 0.2.0 a domestic purchase or an
EU reverse charge with such a class sealed at 0 % without VAT legs; a
non-EU service reverse charge was already refused, now with this code.
Sealed vouchers are not re-checked. - VAT: exempt intra-Community acquisition of goods. The one purchase
treatment that keeps thezero-ratedclass is
{"type":"reverse-charge","rate_class":"zero-rated","scope":"eu-goods"},
for goods bought from another EU state whose acquisition is exempt in
Finland: no tax and no deduction, and the value is reported in the return's
EU goods purchases.--help, the guide and the refusal messages now
describe this booking instead of sending the user to a bookkeeper. - Members that do not belong to a VAT treatment are refused
(INVALID_INPUT): adeductibilityondomestic-inputinstead of
domestic-input-partialin animport camt053 sealassignment, and any
member on{"type":"no-vat"}there or in acapture-receiptVAT proposal.
In 0.2.0 they were dropped silently, which could seal a full deduction
instead of a partial one, or a receipt without its input VAT. - Bank import: one transaction per statement.
import camt053 seal
writes the whole statement in one ledger transaction, so a write that fails
on a later entry leaves nothing sealed from the statement. An already booked
transaction still needs its assignment or binding, and it must be the one
its voucher was sealed or bound with. import camt053 seal --dry-runno longer lists the warning
NATURAL_KEY_ALREADY_SEALEDfor a transaction already in the books; read
the entry'soutcome(orwould_replay) instead. An entry bound to an
existing voucher has nodraft.import camt053 parselists the
statement's entries that are not booked (pending ones, for example) under
unbooked.file-vat previewon a closed period names both filing routes, direct
filing through the Vero.fi API withfile-vat startand manual filing in
OmaVero recorded withfile-vat complete-manual, and says that the offline
preview did not check which one is available. In 0.2.0 it described only
manual filing.- User guide fact pass. The pages were checked against the code and
--helpand rewritten to say who acts in each step. Corrected facts
include: installation starts with the prebuilt installer; macOS and Linux
are the supported platforms and Windows has not been tested;close-year
is listed as in use; the error-code reference's "what to do" cells, which
aggountant explainand the error JSON'shintprint, are instructions. - The README is in Finnish, with an English translation in
README.en.md.
Fixed
run showandrun startfor an open month-close approval returned a
next_commandending in--answer approve|reject, which a shell runs as a
pipe that approves the close. It now carries the quoted placeholder
'<approve|reject>', whichrun answerrefuses (INVALID_ANSWER), and the
--helpof the other approval commands no longer prints ana|bchoice
inside a command.- A refusal of a partial VAT treatment suggested a replacement without its
requireddeductibility, so copying the suggestion did not parse. url2.5.9 for RUSTSEC-2026-0592.
Upgrading from 0.2.0
Upgrade when no month close, year-end close or filing is in progress
(aggountant run list), and take these steps in order. The guide's
upgrade page describes the whole
procedure.
- Back up the home first. The first command that opens the books
migratesfiscal.sqlitefrom schema v8 to v9. The migration is additive:
it adds the bank-transaction identity tables, and sealed vouchers, their
hashes andvoucher verifyare unchanged. It is one-way: 0.2.0 refuses to
open a v9 store, so the backup is the only way back. Copy the whole home,
includingfiscal.sqliteand thefiscal.sqlite-*files next to it, as
the guide's
back-up page
describes. - Install 0.3.0, then run
aggountant skill installand restart the
agent.capture-receiptnow handles overlapping statements and bank
transactions booked by hand, andtulorekisteriapproves with
--record-hash-file. aggountant home upgradehas nothing new to add in 0.3.0; a home brought
up to date under 0.2.0 needs no master-data change.
The first statement import after the upgrade reads the identity of the
vouchers that 0.2.0's import sealed back from the statements they retained,
in the same transaction (backfilled_count); those vouchers are not changed.
Commands that refuse what 0.2.0 accepted, for scripts and agent habits
carried over from 0.2.0:
- A command other than
initrun against a path with no home fails with
HOME_NOT_INITIALIZEDinstead of creating an empty home there. Point it at
the company home (aggountant config showshows how the home is chosen);
runinitonly for a new company. - A purchase treatment with the class
eu-goods,eu-servicesor
zero-ratedfails withVAT_TREATMENT_CLASS_MISMATCH. A taxable EU
purchase isreverse-charge(orreverse-charge-partialwith its
deductibility) withscopeeu-goodsoreu-servicesand the domestic
class whose Finnish rate applies. An intra-Community acquisition of goods
exempt in Finland stays
{"type":"reverse-charge","rate_class":"zero-rated","scope":"eu-goods"},
so that its value is still reported in the EU goods purchases. A purchase
with no Finnish VAT otherwise isno-vat. - A VAT treatment member that does not belong to its type, in an
import camt053 sealassignment or acapture-receiptVAT proposal, fails
withINVALID_INPUT. Use the-partialtype for a partial deduction, and
giveno-vatno other member. import camt053 sealstops the whole statement, before anything is
written, when a transaction already in the books comes with changed bank
facts or a different booking, or when a voucher sealed outside the import
may already book a new entry. A transaction already in the books with the
same facts and booking is not a conflict.details.conflictsnames each
entry and its voucher:SOURCE_FACTS_CHANGED: the bank's facts about a booked transaction
differ from the earlier export, or the file lists it as not booked. Find
out from the bank what changed before booking anything for it.POSTING_PROJECTION_CHANGED: a booked transaction was give...
0.2.0 - 2026-11-21
Release Notes
Added
-
VAT filing: correcting a filed return.
file-vat replacesends a
replacement return for a period whose return is filed, with one or more
reasons (CLC,LGL,TXA,LAW), through the same approval gate as a
first return; the gate shows the amounts the replacement changes. A
correcting voucher says which return it belongs to with the new draft field
corrects_vat_period, decided at the seal; without the field the voucher's
VAT stays in the return of the period it is posted in.file-vat statusand
previewlist every filing of a period and the corrections no filing covers
yet.file-vat complete-manual --replacementrecords a replacement made in
OmaVero. The replacement run pays nothing; the difference is settled on the
tax account. -
VAT filing: reconciliation before the close.
file-vat previewruns on
an open or closing period and reconciles its VAT accounts, so an untagged
VAT posting is found while it can still be corrected in the same period. New
output fieldsperiod_stateandfileable. -
VAT filing:
voucher vat-codes --document-date YYYY-MM-DDlists every
vat_codea posting may carry on that date with its rate;voucher draft
andvoucher sealhelp explain where the code goes. -
VAT filing: EU goods purchases on the default chart. A receipt or bank
row with the reverse-charge scopeeu-goodscan be recorded on the chart
initcreates, and its figures land in the EU goods fields of the return.
Existing homes get the target withhome upgrade. -
Incomes Register: corrections of an accepted travel report.
file-wage correction preview|submit|status|complete-manualreplaces or
cancels an accepted report through aggountant: previewed offline, approved
by record hash, sent once, and an unknown outcome is settled by a status
query, never by resending.complete-manualrecords a correction made in
the e-service. -
Incomes Register: profile commands.
tulorekisteri statusreports
offline what the channel still needs, each blocker with a code, an owner
and what to do;tulorekisteri configurewrites the channel profile as a
merge, likevero-fi configure.file-wage employer-report configure
writes the employer's separate report settings and checks the registration
month against the employer register in PRH/YTJ open data. The profile no
longer needs to be edited by hand. -
Incomes Register:
file-wage previewandfile-wage start --dry-run
mark therecord_hashas sensitive in their output (sensitive): it is
derived from the personal identity code. -
Bank import: preview bound to the approval.
import camt053 seal --dry-runreturns every voucher it would seal and apreparation_hash
without writing anything;--approved-preparation-hashrefuses the seal
(IMPORT_PREPARATION_CHANGED) unless it prepares exactly those vouchers.
import camt053 parseshows each statement's period, opening and closing
balance and whether the entries reconcile with them. -
Month close: the approval shows its content.
run preview close-period
shows, without changing anything, what a close would lock: the vouchers,
the period's income statement and result, the closing balances, open
obligations and what blocks the close. TheApproveClosegate carries the
same content, and an approval is refused withCLOSE_CONTENT_CHANGEDif the
books changed after the gate opened. -
Year-end close: fixed-asset register. A sealed fiscal year stores its
assets with their closing book values, and the next year's close carries
them from there. An opening book value is typed once, when an asset enters;
one typed again that disagrees with the sealed year is refused. A disposed
asset is named in the newremoved_assetsinput. The first close under
0.2.0 takes its assets from the input as before, because years sealed
earlier have no register. -
Year-end close:
close-year start --dry-runshows the depreciation
method, rate and amount per asset, the carried register and everything that
would block the start, without creating a run. It also works before the
year's months are closed. -
Year-end close: every
close-yearcommand returnsmessageand
next_command, naming the open gate and what approving it seals
(start --dry-runreturns onlymessage). -
Agent surface:
aggountant explain <CODE>explains an error code from
the guide's error-code reference (--lang fi|en), offline; error JSON
carries the guide's "what to do" ashint(in Finnish). -
Agent surface: every command that reads JSON on stdin describes its
input in an INPUT section of--help, with a synthetic example. -
Agent surface: a command that used the
AGGOUNTANT_BROKER_SCRIPTtest
seam marks its JSON output and its JSON error line withtest_seam, and
without--jsonwarns on stderr, because in that mode a period can be
marked filed though nothing was sent. -
Skills:
close-year(the year-end close),tulorekisteri(travel
allowance reports and the employer's separate report) ande-services
(working OmaVero and the Incomes Register e-service in the user's browser).
Skills can ship reference files besidesSKILL.md;skill print <name> --file <FILE>prints any of them, andskill list --jsonlists each
skill's files and requirements. -
ADR-10 slice 1: multi-file bundled skills and the e-services skill (
eservice-skill-bundle). -
Error hints and aggountant explain
from the guide's error-code reference (cli-error-hints). -
Fixed-asset register: carry assets and book values from one close-year to the next (
fixed-asset-register). -
Replacement VAT return through file-vat for an already filed period (
vat-replacement-return). -
Skill rebuild: a close-year skill for the year-end close (
skill-close-year). -
close-year: show depreciation rates and computed depreciation without starting a run (
close-year-depreciation-preview).
Changed
-
Receipts and bank rows. A receipt or purchase invoice that is also paid
from the bank account is now recorded against 2700 Ostovelat (2740 when the
owner paid), and the bank statement row is assigned to the same account to
clear it, so the purchase is booked once. The capture-receipt skill, the
user guide and the practice month follow this one convention; previously the
skill recorded receipts against the bank account and the guide left the
statement row undefined.
-
Skills rebuilt. vero-fi is the VAT skill only; the Incomes Register
moved to tulorekisteri. capture-receipt now covers the whole month:
receipts, the bank statement, special entries, reconciliation and the close.
The skills are shorter and leave input formats, state names and error codes
to the program's help and output.
-
Set-up always uses the default chart. The previous system's accounts are
mapped onto it in the opening voucher; the skill and the guide no longer
offer keeping the old chart, which nothing could install.
-
vero-fi configure merges into the stored profile and reports every changed
field with its value before and after; --replace writes the input as the
whole profile.
-
close-year answer requires --answer. close-year help is written in
plain language: what each gate seals, what a correction is, and that
resume finishes what was approved, the year seal included.
-
import camt053 seal validates the whole batch before the first seal, and
never reports a statement with entries in several currencies as reconciled.
-
A replacement of an employer's separate report that was given outside
aggountant is built from the original's pension insurances as the user
states them, not from the current profile.
-
The Incomes Register readiness check names every unmet requirement instead
of one sentence.
-
report statements for a month of a new fiscal year still waits for the
previous year's seal, and the refusal now says why and what lifts it.
-
MASTERDATA_CORRUPT names home upgrade when the upgrade would add the
file the home lacks.
-
knowledge company update and retire take the fact id positionally as
well as with --id, or as id in the stdin JSON (which must agree with an
argument given alongside it).
-
chart list text output lists the accounts (number, name, kind), one per
line.
-
report statements prints the report to stdout when --output is omitted
or -, defaulting to --format native-json; with --json the summary
object carries the document in content.
-
Dates and times no longer depend on the unmaintained chrono crate. Stored
and sent timestamps keep the same bytes; date arguments are parsed strictly
as YYYY-MM-DD.
-
Bank statement import has no preview, and parse hides the statement balances (camt-import-preview-and-balances).
-
CLI friction from production use: knowledge company id, chart list output, report statements to stdout (cli-production-friction).
-
Decide how e-service operating knowledge accumulates and reaches agents (eservice-knowledge).
-
EU goods purchases cannot be recorded on the default chart (default-chart-eu-goods-target).
-
Guide: the new year's monthly reports wait for the prior year's seal (guide-new-year-reports-wait-seal).
-
Help does not say which vat_code values a manual voucher may carry (voucher-vat-code-help).
-
INPUT section in --help for every stdin JSON command (cli-stdin-input-help).
-
Incomes Register profile has no command, no help and no itemised readiness (tulorekisteri-profile-no-command).
-
MASTERDATA_CORRUPT for a missing bundled file does not name home upgrade (nominally-undesirable-afterthought).
-
Migrate from chrono to jiff or time (migrate-from-chrono).
-
Month close approval gate shows a hash, not what the user approves (virtually-tidy-owl).
-
Outputs mark sensitive record_hash and the active test seam; specifi...
0.1.0 - 2026-11-19
Release Notes
Added
- First public release. The
aggountantCLI and its bundled agent skills
cover a Finnish limited company's bookkeeping: company home setup, bank
statement import (camt.053/camt.052), receipt capture, period close, VAT
returns filed directly to Vero.fi, Tulorekisteri travel-expense reports and
monthly employer's separate reports, and the year-end close. - Prebuilt binaries for macOS arm64 and Linux arm64/x86_64 (static musl) on
GitHub Releases, with a shell installer.
Install aggountant 0.1.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/aggountant/aggountant/releases/download/v0.1.0/aggountant-installer.sh | shDownload aggountant 0.1.0
| File | Platform | Checksum |
|---|---|---|
| aggountant-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| aggountant-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| aggountant-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo aggountant/aggountantYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo aggountant/aggountant