Skip to content

Releases

0.3.0 - 2026-11-24

Choose a tag to compare

@github-actions github-actions released this 24 Nov 06:06

Release Notes

Added

  • Skills: migrate-books carries 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 seal recognises 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 its outcome, and the output counts new, duplicate, bound and
    backfilled transactions; the text line reads sealed 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 with voucher 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_vouchers binds the entry to that voucher without changing it,
    and an assignment's not_booked_by rules a voucher out.

  • Bank import: import camt053 observations lists, per retained
    statement file, which transactions it contained and the voucher that books
    each.

  • Incomes Register: file-wage approve, file-wage correction submit and
    file-wage employer-report submit take --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 init creates a company home. Every other command that opens a
    home refuses a path without one with HOME_NOT_INITIALIZED, writes
    nothing, and names the path and how it was chosen (--home,
    $AGGOUNTANT_HOME, the configuration file, an .aggountant marker or the
    ./accounting fallback). 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-charge and their -partial
    variants) with one of the zero-rated sale classes eu-goods, eu-services
    or zero-rated is refused with VAT_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 the zero-rated class 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): a deductibility on domestic-input instead of
    domestic-input-partial in an import camt053 seal assignment, and any
    member on {"type":"no-vat"} there or in a capture-receipt VAT 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-run no longer lists the warning
    NATURAL_KEY_ALREADY_SEALED for a transaction already in the books; read
    the entry's outcome (or would_replay) instead. An entry bound to an
    existing voucher has no draft. import camt053 parse lists the
    statement's entries that are not booked (pending ones, for example) under
    unbooked.
  • file-vat preview on a closed period names both filing routes, direct
    filing through the Vero.fi API with file-vat start and manual filing in
    OmaVero recorded with file-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
    --help and 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 explain and the error JSON's hint print, are instructions.
  • The README is in Finnish, with an English translation in README.en.md.

Fixed

  • run show and run start for an open month-close approval returned a
    next_command ending in --answer approve|reject, which a shell runs as a
    pipe that approves the close. It now carries the quoted placeholder
    '<approve|reject>', which run answer refuses (INVALID_ANSWER), and the
    --help of the other approval commands no longer prints an a|b choice
    inside a command.
  • A refusal of a partial VAT treatment suggested a replacement without its
    required deductibility, so copying the suggestion did not parse.
  • url 2.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.

  1. Back up the home first. The first command that opens the books
    migrates fiscal.sqlite from schema v8 to v9. The migration is additive:
    it adds the bank-transaction identity tables, and sealed vouchers, their
    hashes and voucher verify are 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,
    including fiscal.sqlite and the fiscal.sqlite-* files next to it, as
    the guide's
    back-up page
    describes.
  2. Install 0.3.0, then run aggountant skill install and restart the
    agent. capture-receipt now handles overlapping statements and bank
    transactions booked by hand, and tulorekisteri approves with
    --record-hash-file.
  3. aggountant home upgrade has 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 init run against a path with no home fails with
    HOME_NOT_INITIALIZED instead of creating an empty home there. Point it at
    the company home (aggountant config show shows how the home is chosen);
    run init only for a new company.
  • A purchase treatment with the class eu-goods, eu-services or
    zero-rated fails with VAT_TREATMENT_CLASS_MISMATCH. A taxable EU
    purchase is reverse-charge (or reverse-charge-partial with its
    deductibility) with scope eu-goods or eu-services and 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 is no-vat.
  • A VAT treatment member that does not belong to its type, in an
    import camt053 seal assignment or a capture-receipt VAT proposal, fails
    with INVALID_INPUT. Use the -partial type for a partial deduction, and
    give no-vat no other member.
  • import camt053 seal stops 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.conflicts names 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...
Read more

0.2.0 - 2026-11-21

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:59

Release Notes

Added

  • VAT filing: correcting a filed return. file-vat replace sends 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 status and
    preview list every filing of a period and the corrections no filing covers
    yet. file-vat complete-manual --replacement records 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 preview runs 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 fields period_state and fileable.

  • VAT filing: voucher vat-codes --document-date YYYY-MM-DD lists every
    vat_code a posting may carry on that date with its rate; voucher draft
    and voucher seal help explain where the code goes.

  • VAT filing: EU goods purchases on the default chart. A receipt or bank
    row with the reverse-charge scope eu-goods can be recorded on the chart
    init creates, and its figures land in the EU goods fields of the return.
    Existing homes get the target with home upgrade.

  • Incomes Register: corrections of an accepted travel report.
    file-wage correction preview|submit|status|complete-manual replaces 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-manual records a correction made in
    the e-service.

  • Incomes Register: profile commands. tulorekisteri status reports
    offline what the channel still needs, each blocker with a code, an owner
    and what to do; tulorekisteri configure writes the channel profile as a
    merge, like vero-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 preview and file-wage start --dry-run
    mark the record_hash as sensitive in their output (sensitive): it is
    derived from the personal identity code.

  • Bank import: preview bound to the approval. import camt053 seal --dry-run returns every voucher it would seal and a preparation_hash
    without writing anything; --approved-preparation-hash refuses the seal
    (IMPORT_PREPARATION_CHANGED) unless it prepares exactly those vouchers.
    import camt053 parse shows 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. The ApproveClose gate carries the
    same content, and an approval is refused with CLOSE_CONTENT_CHANGED if 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 new removed_assets input. 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-run shows 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-year command returns message and
    next_command, naming the open gate and what approving it seals
    (start --dry-run returns only message).

  • 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" as hint (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_SCRIPT test
    seam marks its JSON output and its JSON error line with test_seam, and
    without --json warns 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) and e-services
    (working OmaVero and the Incomes Register e-service in the user's browser).
    Skills can ship reference files besides SKILL.md; skill print <name> --file <FILE> prints any of them, and skill list --json lists 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...

Read more

0.1.0 - 2026-11-19

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:02

Release Notes

Added

  • First public release. The aggountant CLI 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 | sh

Download 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/aggountant

You 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