Repository navigation
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 given a different
assignment. Give it the assignment its voucher was sealed with
(voucher show), or the sameexisting_vouchersbinding if it was bound
to a voucher; if that booking was wrong, correct it with a correction
voucher.SOURCE_IDENTITY_UNKNOWN: a voucher holds the transaction's reference,
but the transaction cannot be found in the statement attached to it. The
transaction is not booked again; check that voucher and its attachment.BANK_ENTRY_POSSIBLY_BOOKED: a voucher sealed outside the import may
already book a new entry. If it does, move the entry fromassignments
toexisting_voucherswith that voucher's number (its bank leg must
match, or the batch stops withBANK_VOUCHER_MISMATCH); if it does not,
add the voucher's number to the assignment'snot_booked_by. A voucher
can be bound to one bank transaction only; if it books several, reverse
the other parts with a correction voucher that refers to it, then list it
innot_booked_byfor those entries.
- A month-close
next_commandcarries'<approve|reject>', which must be
replaced with the answer; run as is, it fails withINVALID_ANSWER.
Known limitation: an own-account transfer between two bank accounts whose
statements are both imported can be booked twice, once from each statement,
when each import books it straight against the other bank account; nothing
stops the second
(camt-transfer-between-imported-accounts).
Book such transfers through a clearing account, so that each statement books
only its own leg.
Install aggountant 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/aggountant/aggountant/releases/download/v0.3.0/aggountant-installer.sh | shDownload aggountant 0.3.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