- Company details get an optional "Valikon nimi", shown at the left of the
main menu; it falls back to the application name when empty.
- A billing material gets its running number (billing_exports.number) only
when it is created, so discarded drafts leave no gaps. Drafts have no
number; existing created materials are numbered by the migration, and the
CSV file name uses the number.
- TaskAssigneeMigrationTest rolls back from its own migration onward instead
of assuming it is the last one.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The invoicing import reads whole numbers: amounts are now whole cents
(400,00 € is 40000) and the VAT rate is in tenths of a percent (10 % is
100, 25,5 % is 255). The column headings say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Management downloads a created billing material as a semicolon CSV with
decimal commas and a UTF-8 BOM for Excel: one row per invoice line with
the invoice's customer, billing unit, e-invoice details and reference,
the job, the line and its net, VAT and gross amounts. Consumers' full
personal identity codes are included only for those who may see them,
the response is not cached, and cells Excel would read as formulas are
escaped. The columns follow Fennoa's import format once a sample exists.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jobs billed by a fixed monthly fee get a monthly fee field, kept behind
the quotes permission like the quoted amount. A billing material now has
a billing month: a new draft adds every monthly fee job with something
to bill, each on an invoice of its own, and bills one line for every
unbilled month from the job's start up to the billing month (or its end
or completion), so skipped months are caught up and no month is billed
twice. Their expenses are billed alongside, their hours are covered by
the fee and marked billed, and the job keeps running.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Management builds the monthly billing material (laskuaineisto) as a
draft: done jobs are added as invoices of their own, combined when the
customer, billing unit and reference allow it, and their billable hours
are set per work type. Creating the material checks the jobs again,
marks the approved hours and billable expenses billed, forms invoice
lines with price and VAT snapshots and moves the jobs to "Lasku luotu".
Fixed price jobs bill their quoted amount once. Billed hours keep their
approval and billed expenses can no longer change. The Fennoa export
and monthly fee lines come later.
Co-Authored-By: Claude Opus 5.5 <[email protected]>