| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| docker-compose.nas.yml | 2026-11-25 | 3.5 kB | |
| docker-compose.production.yml | 2026-11-25 | 5.7 kB | |
| k8s-deployment.yml | 2026-11-25 | 1.3 kB | |
| TimeTracker-5.22.0-amd64.deb | 2026-11-25 | 103.7 MB | |
| TimeTracker-5.22.0-arm64.dmg | 2026-11-25 | 125.5 MB | |
| TimeTracker-5.22.0-x64.dmg | 2026-11-25 | 129.6 MB | |
| TimeTracker-5.22.0-x64.exe | 2026-11-25 | 124.0 MB | |
| TimeTracker-5.22.0-x86_64.AppImage | 2026-11-25 | 129.8 MB | |
| README.md | 2026-11-25 | 34.7 kB | |
| Release v5.22.0 source code.tar.gz | 2026-11-25 | 14.5 MB | |
| Release v5.22.0 source code.zip | 2026-11-25 | 16.2 MB | |
| Totals: 11 Items | 643.4 MB | 1 | |
Added
- Invoices: new invoice in two steps, step 1 — New invoice opens step 1 (
/invoices/new;/invoices/createredirects there with itsproject_id/client_id): the client, then Who bills whom (From, Currency, Pay to and Bill to from the legal entities modules, with the number and its "taken" check as before), issue and due date, VAT, and under More the rest of the old form (client name, email and address on this invoice, VAT exemption code, buyer reference, CIG / CUP, notes, terms). Period to bill is Last month (default), This month, Custom or All unbilled; below it the client's projects, each with its unbilled hours in the period, those with hours selected (only the project you came from, when opened from a project), plus time logged on the client without a project. Show hours as and Line description work as on Generate from Time, with an example line per layout; a client's prepaid plan shows what is left. Before you create lists what to look at, without blocking: hours with no rate (with a link to the project's Rates page), the prepaid plan used up or partly used, a running timer, unbilled hours before and after the period, hours on projects not selected, non-billable entries. Create draft with N lines makes the draft and its hours lines in one transaction (prepaid hours applied as on Generate from Time) and opens the invoice. The issue date defaults to the period's last day (today for This month and All unbilled); the invoice keepsperiod_start/period_endand the projects remember the layout. A draft's step 1 is at/invoices/<id>/step-1, filled from the invoice: saving another period, other projects, layout or template lets go of the draft's hours and collects them again (hours lines are rebuilt, lines added by hand and non-billable marks stay); saving header changes only leaves the lines as they are. Before you save lists the draft's lines that are not hours lines (added by hand, hours typed in); Remove marks one to be deleted when step 1 is saved. The amount is the draft's after Save: its hours lines as they are when the hours do not change (or as collected again), plus the other lines, goods, expenses and the invoice discount. Changing only the currency rewrites the rate in the hours lines' descriptions. With a legal entity's number format,{YYYY}/{YY}/{MM}are the month the invoice bills (the period's last month; for All unbilled, the month of the last entry) and{DD}the issue day; the number on the page follows the period and the issue date until typed by hand. Time logged on the client without a project is billed at the client's default rate (also inresolve_entry_rate), with a link to the client's settings when it has none; users limited to their own or assigned projects do not see or bill it. The page updates its blocks throughPOST /invoices/step-1/summary(nothing written).build_time_entry_linesandlayout_examplesaccept arate_resolver, so the page prices many entries with the rates loaded once. - Invoices: expenses and project costs on step 1 and the draft — Step 1 lists the period's expenses and project costs of the selected projects under Hours, all ticked, each with its status: an expense waiting for approval (Approve in the row for those who may approve), one that was non-billable (listed but not ticked; ticking it bills it without changing its billable flag), a recurring or logged cost. Rejected expenses are not listed; an expense or cost in another currency than the invoice's is billed as it is, with a warning. Show costs as: a line per cost, by category, or one line; the summary shows hours, expenses, costs and the total, which is the created draft's. Creating the draft bills the ticked ones in the same transaction as the hours. Step 1 of a draft with another period or other projects lets go of its expenses and costs and collects them again; other ticks or another layout rebuild the cost lines; a header-only change leaves them. The draft page has an Expenses block (date, person, category, amount, status, receipt View / Add receipt / Replace, ×, + Log an expense with Paid by and Reimburse, approved at once when logged by someone who may approve) and a Project costs block: cost lines (kind
cost) with N costs · show (date, category, status, supplier's bill, ×), Regroup costs (keep or rebuild lines edited by hand) and + Log a cost with Repeat: every month, same amount (creates a monthly recurring cost). × on a cost recalculates its line (an empty line is removed); deleting a cost line, the draft, cancelling, Edit all fields andPUT /api/v1/invoices/{id}/itemslet go of the costs a line no longer bills; Cancel and reissue moves them to the copy of their line. Generate from Time writes cost lines linked to their cost and takes only costs and expenses of the invoice's client that are on no other invoice. Before you issue lists expenses waiting for approval and items that were non-billable; the total card shows each block with its number of lines. Project costs getinvoice_item_idandrecurring_cost_id(set by the recurring cost generator), invoicescosts_layout; migration 221 links old invoiced costs to the line Generate from Time wrote for them. - Invoices: draft page with each line's time entries — A draft invoice opens on its own page: the header as it prints (From and Pay to, Bill to, number, period, dates, currency, VAT), the hours lines and, under each, the time entries it bills (date, person, task, note, hours, rate, amount). On an entry, Non-billable takes it off the invoice and marks it non-billable; × takes it off and leaves it unbilled. The line follows: a line not changed by hand takes the hours of its remaining entries and its text is rewritten from them; a hand-edited quantity goes down by the entry's hours and the text stays; a line left without entries is removed, or stays as a line typed in when it was edited. Taking an entry off a draft (×, Non-billable, deleting its line, or leaving it out of the lines in the edit form,
PUT /api/v1/invoices/{id}/itemsor a replacingfrom-time-entries) also gives back the client's prepaid hours it used on that draft, and the page says that prepaid hours were freed. Add to matching lines leaves out an entry whose prepaid hours are recorded on another invoice and says so. Lines are edited in place (description, quantity, price; line VAT, discount and position in the line menu) and marked as edited as in the edit form. Line description with Apply to lines and Regroup hours rewrite or rebuild the hours lines and ask whether to keep or rebuild lines edited by hand. + Add hours line adds hours without time entries at the project rate (a new line kind,manual_hours, kept by Regroup and by the edit form); Other items holds fixed fees and goods. An invoice with a period shows N new entries in this invoice's period for entries logged after the draft was created, on the projects the user may see; Add to matching lines first applies the client's prepaid hours (an entry they fully cover gets no line, a partly covered one is billed for the rest), then puts each into the line of the same group and rate (an edited line keeps its text and shows "+1.5 h tracked"), or a new line. Before you issue lists lines at a rate of 0, running timers and new entries of the period. The total card has Lines and Hours billed, Notes and Terms (saved in place), + Add discount, VAT, Amount Due, Preview PDF and Mark as issued. Edit all fields opens the full edit form, which returns to the draft;?view=fullshows the full invoice page (email, Peppol, approval, payments). The actions arePOSTroutes under/invoices/<id>/…with CSRF, for drafts only and the invoice's owner or an admin; they answer JSON or redirect back. - Invoices: how hours become lines — Generate from Time has Show hours as in place of the "one line per time entry" checkbox: one line per entry, by task, by person, by task and person, one line per project, or don't add any hours; each option shows an example line from the selected entries. Line description is a template with
{date},{project},{task},{person}and{note}(a default per layout, with Reset); on a line with several entries{date}is the line's period, names are comma-separated and each note is on its own line, and an empty placeholder takes its separator along. Inside every layout the entries are also split by hourly rate, so quantity × unit price is the line amount (as EN 16931 requires); lines that differ only by rate end with it (– 40.00 EUR/h). Each entry's hours are rounded to 2 places before a line adds them up, so the total is the same in every layout (three 20-minute entries at 100 are 99.00). Descriptions are cut to 500 characters with an ellipsis. The choice is stored on the invoice and on the project, and the project's last layout and template are the default next time: on the page and inPOST /api/v1/invoices/from-time-entriesandPOST /api/v1/invoices/{id}/generate-from-time, which take optionalhours_layoutandline_template(an unknown layout ornoneis a 400). "Don't add any hours" leaves the invoice's hours alone and is never stored as the project's default. Client "Invoice unbilled" uses each project's last layout, else one line per project; recurring invoices keep the global grouping setting; neither changes the project's default. Invoice lines have akind(timeormanual) and remember what was changed by hand: a time line whose description, quantity or price is changed in the edit form or throughPUT /api/v1/invoices/{id}/items(rows may carry the line'sid) is marked as edited, and adding hours again on Generate from Time keeps it as it is, with its entries and their prepaid hours. A time line's quantity follows its linked hours (after prepaid hours, not the entries' full duration) unless it was changed by hand. The description in the edit form is a multi-line text area; line breaks and spaces at the ends do not count as an edit.InvoiceTimeServicegainsadd_entries,rebuild_lines(regroup a draft's hours from the same entries and hours, keeping edited and manual lines in place) andapply_template(rewrite descriptions without regrouping). Migration220_add_invoice_hours_layoutadds the columns (alsoinvoices.period_start/period_end) and marks lines with time links astime. - MCP admin billing tools — Admin toolset covers the monthly billing workflow: get/update/delete any user's time entries (delete refuses invoiced), bulk
billable/project/task, invoice header update and draft-only cancel, invoice time-entry listing, invoice PDF as base64, project/task/expense/quote/cost CRUD helpers, expense approve/reject, and reports for expenses, budget vs actuals, and missing hours. API: bulkset_project/set_task,GET /api/v1/expense-categories,GET /api/v1/reports/expenses,GET /api/v1/reports/missing-hours. Writes still requireconfirm=true; no outbound email/Peppol/payments. See MCP.md. (#937) - MCP server — Optional Model Context Protocol sidecar (
mcp_server/) for AI assistants (stdio + Streamable HTTP). Role-scoped tools over/api/v1: personal time tracking for every user; admin CRUD/reports including unbilled amounts. Agent-written entries usesource=agent;log_timepreviews unlessconfirm=true; optionalunconfirmedreuses time-entry approvals. API:POST /api/v1/time-entries/preview,GET /api/v1/reports/unbilled, duration-only create (date+duration_seconds), RFC 9728/.well-known/oauth-protected-resource, limitedPOST /oauth/registerfor MCP clients. Compose profilemcp, nginx/mcp. See MCP.md. (#929) - Legal entities: several sellers on invoices — For businesses that invoice from more than one legal entity. Admin → Legal entities keeps each entity with its details (the "From" block), payment accounts and invoice defaults (number format, VAT category and rate, exemption code and reason, terms, notes). Add entity is its own page and is followed by a step to add the first payment account (or skip it). A payment account is one IBAN and currency with its payment details typed as printed,
{IBAN}filled in; it can be archived, or deleted while no invoice uses it. The invoice form gets a From / Currency / Pay to block: From defaults to the client's last entity; Pay to lists the entity's active accounts, and picking one sets the invoice currency (changing the currency picks the only account in it). The entity's defaults are filled in and a number is suggested from its format ({YYYY},{YY},{MM}for the billing period – the month before the issue date – plus{DD}and{SEQ}; the number can be edited). A draft takes the entity's current details each time it is saved; once it leaves draft, the invoice keeps its copy of the seller details and payment text, and the PDF prints them instead of the company from Settings. Invoices without an entity, and the module switched off, work as before. The page is thebilling_entitiesmodule (Admin → Modules), off in the setup presets except Everything. - Client legal entities: Bill to — For clients that pay from several legal entities, or switch entities over time. With the
client_entitiesmodule on (Admin → Modules, in the Everything preset only), the client page has a Legal entities card: each entity has its legal name, registration number, VAT number, country, address, an e-mail for invoices and a status; it can be archived, or deleted while no invoice uses it. The invoice create form and drafts get Bill to: the client's active entities, or "Client details" as before. It defaults to the Bill to of the client's latest invoice, else the client's only entity. Picking an entity fills Client Name, Email and Address (still editable) and the invoice keeps a copy of the entity (invoice.buyer_snapshot, also offered in the PDF template editor); a draft refreshes the copy on save. The built-in PDF layouts print its registration number and VAT under the client name. Clients without entities, and the module switched off, work as before. E-invoice formats still take the buyer's tax details from the client. - Invoice templates: HTML next to the layout designer — Admin → Invoice templates (was "Invoice PDF") has two tabs: HTML templates and Visual layout (the designer, unchanged). An HTML template is one page with its own
<style>, written in the app (CodeMirror editor, live preview on a recent invoice or a sample, Preview PDF) or uploaded as an.htmlfile; it can be downloaded, duplicated and deleted. Jinja runs in a sandbox and WeasyPrint builds the PDF; the PDF can load only the bundled fonts (Montserrat, OFL), the seller's logo and smalldata:images. Saving and uploading check the syntax, unknown variables (with a "did you mean" hint) and that the PDF builds. Templates keep internal versions. A built-in read-only templatesimplecan be duplicated. Settings → Invoice Defaults → Default invoice template picks what prints (Visual layout by default, so nothing changes until someone picks a template), and with thebilling_entitiesmodule each legal entity can override it and have its own logo (seller.logo); Preview invoice PDF on the entity prints its latest invoice with the template chosen in the field. An invoice that leaves draft keeps its template and version, and invoices that left draft before this change keep printing with the Visual layout. Deleting a template moves whatever used it to the Visual layout. The page-size picker on the invoice page shows only for the Visual layout. One hook inInvoicePDFGenerator.generate_pdfcovers export, e-mail, client portal and PEPPOL. Migration217_invoice_html_templates; new npm dependencycodemirror@5.65.21. - Timesheet (day and week) — Time → Track now opens a timesheet for logging your own hours the way people fill a weekly timesheet (with the
timesheetmodule off, Track opens the dashboard as before; the dashboard timer is unchanged). Day: tabs for the days of the week with their totals, each entry with project, client, task and notes; Track time saves hours on a day (placed like other hours-only entries) or, with no hours, starts a timer today; Start on a row starts a timer with that row's project, task and notes (a running timer stops first); Edit and Delete. Week: one row per project and task, a cell per day; the description of a cell is typed in a panel under the grid, a cell with several entries shows one line per entry, and + Add another entry adds one. Cells without a description are marked. A cell is saved when you leave it (no Save button), one request at a time; a refused cell keeps its value and says why; clearing a cell deletes the entry with Undo. The running timer shows as a clock cell, and × removes a row with its week of entries. When Require description is on, the grid shows the length and does not save short ones. + New task next to the task picker opens the shared Create Task window. The page is thetimesheetmodule (Admin → Modules), on by default and in every setup preset.place_duration_entry()takes an optionalexclude_entry_id, so an edited entry that grows can move within its day. - Time entries: overtime notes — When your own entry takes the day past your daily norm (
standard_hours_per_day, 8 h by default), you get a gentle note; past 12 hours, a caring nudge to take a break. The entry is always saved. Three texts per level take turns. Shown after dashboard Log Time, manual entry and stopping the timer.OVERWORK_NOTES=falseturns them off. - Invoices: currency in the forms — The create and edit forms have a Currency select. A new invoice defaults to the currency of the client's latest invoice, else the global currency setting, and follows the project until the user picks one. Drafts can change the currency; sent and paid invoices show it read-only. The choices are the active currencies, the currencies already used on invoices, and the global setting.
- Time entries: bulk mark billable / non-billable — Bulk Actions on
/time-entrieshas Mark billable and Mark non-billable, with a confirmation that shows how many entries are selected (POST /time-entries/bulk-billable, same permissions as Mark Paid/Unpaid). Entries that are already invoiced (paid) or have a running timer are skipped, and the message says how many and why. The web route uses the same service asPOST /api/v1/time-entries/bulk;set_billablethere now skips paid entries too, and the API response hasskippedandskipped_reasons(already_invoiced,timer_running). - Projects: Invoices page — A project has an Invoices button next to Milestones (when the
invoicesmodule is on). It opens/projects/<id>/invoices: the same table as the Invoices page, with the invoices of this project only and the same visibility (admins see all, others their own). New Invoice there opens the usual create form with the project already selected, so client details and currency fill in as when you pick it by hand;/invoices/create?project_id=<id>does the same. Export on that page exports this project only (/invoices/export/excel?project_id=<id>), and Delete and bulk actions return to it.InvoiceService.list_invoices()takes an optionalproject_id. The dialogs and scripts of the invoice table moved frominvoices/list.htmlinto_invoices_list_dialogs.htmland_invoices_list_scripts.html, so both pages share them. - Invoices: one record of which hours are billed — A new table
invoice_time_linkslinks each time entry to the invoice line that bills it (an entry fully covered by prepaid hours is linked to the invoice without a line). The serviceapp/services/invoice_time_service.pyis the only place that creates and removes links, and every place that decides whether time is billed asks it: the generate-from-time picker, client "Invoice unbilled", recurring invoices,GET /api/v1/reports/unbilled, unpaid hours (salesman reports), the "not on a fully paid invoice" filter of the Unpaid hours report, the "billed" filter of the time entries report, the "paid" filter and the CSV/PDF exports of /time-entries, and the "Billed" column of the Excel export. An entry is billed once: it can be on one line of one invoice (plus a link without a line for prepaid hours), enforced by the service and by partial unique indexes. Generate-from-time, the invoice edit form,POST /api/v1/invoices/from-time-entries,POST /api/v1/invoices/{id}/generate-from-time(also withreplace_existing=false) andPUT /api/v1/invoices/{id}/itemsaccept only the entries the picker offers (billable, finished, not billed, on the invoice's project or client, or already on this invoice): an entry another invoice or line already bills, an entry covered by this invoice's prepaid hours, a non-billable or running entry, an entry marked paid outside an invoice, another client's entry and one entry on two lines are refused (409 in the API) or, when picking entries, left out. Time, costs and goods are added to draft invoices only. An entry on an invoice, draft included, cannot be edited or deleted, by admins either: the edit form,PUT/PATCH/DELETE /api/v1/time-entries/{id}(409 with the invoice number) and bulk actions (skipped asalready_invoiced) refuse it, and moving a task to another project leaves its invoiced entries where they are. Cancelling an invoice (status change,DELETE /api/v1/invoices/{id}, full credit note) releases its links, keeps them as history, clears paid and the invoice number on the entries it marked paid, and releases its project costs, expenses and prepaid hours; a cancelled invoice cannot change status again (payments on it are refused, in the API with 409), and the bulk status change follows the same transitions as the single one (it no longer moves a draft straight to paid).invoice_items.time_entry_idsstays as a cache for the PDF, the API and older reports, written from the links. Migration219_add_invoice_time_linksbuilds links from existing lines and the prepaid ledger: an entry on lines of several invoices goes to the latest issued invoice (a draft only when no issued invoice has it) and the rest is logged, an entry on several lines of that invoice keeps the first line, links of cancelled invoices are released. Draft lines drop the entries that went to another invoice or line, so the draft can still be saved. It also fixes old cancelled invoices: their entries are no longer paid (unless another invoice now bills them) and their project costs, expenses and prepaid hours are released. The downgrade drops the table and does not undo these fixes. - Invoices: Mark as issued, Cancel and reissue, billing badges — A draft invoice has Mark as issued next to Send: the invoice is ready, its lines and amounts are locked, and its time entries are marked billed (
paidwith the invoice number). The confirmation says how many time entries, expenses and project costs that is. An issued, sent or overdue invoice shows what it bills ("22 time entries (47 h tracked, 58.5 h billed), 5 expenses and 3 project costs") and what is still editable (notes, terms, due date). Its Correct menu has Credit note (as before) and Cancel and reissue, which takes over the Cancel invoice button for issued, sent and overdue invoices (a draft keeps the button). It is unavailable once the invoice has payments ("This invoice has payments; use a credit note"): with a required reason, the invoice is cancelled and, by default, copied into a new draft with the next number (of its legal entity, if it has one) with the same header, lines, expenses, project costs, extra goods and time entries with the same hours; the draft says "Reissue of <number> (cancelled: <reason>)". Only cancel sends the hours, expenses and costs back to Unbilled and prepaid hours back to their plan, with the real numbers in the dialog. The cancelled invoice stays in the list with its number; the reason is kept in the audit trail./time-entriesand the time entry form show a badge per entry: Billed <number> and On draft <number> (links to the invoice), Non-billable, Marked paid (paid outside an invoice); the list reads them in one query per page. An entry on an invoice shows why it is locked, and its form hides the manual Paid / Invoice number fields, which stay for entries no invoice bills. The invoice list has an Issued filter and badge.
Fixed
- CalDAV: updating an event with a relative href —
create_or_update_eventraisedUnboundLocalError(urljoin) when the stored event href was relative, because a later redirect branch importedurljoinlocally and shadowed the module-level import for the whole function. The redirect branch now imports onlyurlparse. - Invoices: generate from time with
replace_existingkeeps prepaid hours —POST /api/v1/invoices/{id}/generate-from-timewithreplace_existing=truerebuilt the lines from each entry's full duration. An entry partly covered by prepaid hours then billed its prepaid hours on the line as well, and the line's quantity no longer matched its links. An entry that stays on the invoice now keeps the hours its old line billed, as Generate from Time on the invoice page does. - Invoices: an invoice with payments is not cancelled by a status change — Bulk status change, the status menu and Cancel invoice on the invoice page, and the API (
DELETE /api/v1/invoices/{id}) refused nothing: they cancelled an invoice that had payments, which left the money with no invoice.InvoiceService.transition_statusnow refuses Cancelled for such an invoice (amount_paidabove zero or a completed payment, the same check as Correct) with "This invoice has payments. Use Correct → Credit note, or remove the payments first." Bulk status change skips it, cancels the rest and says how many were skipped. A full credit note cancels it as before. - Invoices: Cancel and reissue keeps line kinds and edits — The new draft gets each line's kind (time, manual) and its hand-edit flags (description, quantity, price), and the invoice's hours layout, line template, period and PDF template. Before, every copied line became a manual line with no edits, so Regroup and Apply to lines could rewrite a line edited by hand, and the draft lost its layout, period and PDF template.
- Invoices: time entries billed on every way out of draft —
InvoiceService.transition_statusnow marks time entries billed (paidwith the invoice number) whenever an invoice leaves draft, to Issued, Sent, Overdue or Paid, not only on Sent. Peppol and SDI deliveries, a payment that covers the invoice in full (payment form, payment service, payment gateway) and an email on an Issued invoice now go through it too: a successful email, Peppol or SDI delivery moves a draft or issued invoice to Sent (Peppol and SDI left the status unchanged), a failed one leaves it as it was, and a payment covering a draft makes it Paid. Marking paid after an overpayment keeps the amount paid. The payment form no longer reduces stock itself;transition_statusdoes it once, when the invoice becomes paid. - Invoices: hourly rate per time entry — Lines built from time entries take the rate of each entry: the person's rate override for the entry's date, then the project override, the project rate and the client's default rate (
RateOverride.resolve_ratewith the entry's user and start date). This applies everywhere hours go into an invoice: Generate from time,POST /api/v1/invoices/from-time-entries,POST /api/v1/invoices/{id}/generate-from-time, the client's Invoice unbilled time (and its estimate), recurring invoices and the QuickBooks export. Before, these paths used the project rate only, and the API paths did not fall back to the client rate. Each line has one rate: when grouped entries have different rates (for example, a rate change in the middle of the month), they go to separate lines. The quantity is rounded to 2 places before it is multiplied by the rate, so 20 minutes at 100 is 0.33 h and 33.00 (it was 33.33 in the PDF). When no rate is found, the hours are still added at 0 with a warning: a flash message in the web UI,warningsin the API responses, and a note in the Invoice unbilled time confirmation.RateOverride.resolve_rate_with_source()returns the rate and where it came from. - Dashboard: today, week and month hours — Today's progress and the dashboard stats count whole days in the app timezone. They counted entries from midnight to "now" (in the server's timezone, or UTC in
/api/dashboard/stats), so an entry logged for later today, such as one from Log Time, was missing, and the live stats counted later days of the week and month. Creating, editing or deleting an entry through API v1 now also refreshes the cached dashboard stats. - Time entries: hours without a start time — Dashboard Log Time and manual entry with only Worked Time no longer make up a fixed time (Log Time ended every entry at 12:00; manual entry ended it "now" and ignored the chosen date), so a second entry on the same day no longer fails with "This time overlaps with an existing entry". The entry is placed right after the user's last entry that day, or at 09:00 on an empty day; on a day too long for that it takes the latest earlier free gap (for example before 09:00).
POST /api/entriesacceptsdate+duration_secondsfor the same. Entries with explicit times are unchanged. - API: time entry create —
POST /api/v1/time-entriesno longer rejects everytask_id("task_id can only be set when project_id is provided") whenproject_idis sent."project_id": nullwith aclient_id(and the reverse) is accepted again, andend_timebeforestart_timeis now caught by the schema. The cross-field checks moved from field-level hooks, which never saw the other fields under marshmallow 4, to one schema-level check. - Invoices: Add Item row — A line added with "Add Item" on the invoice edit page no longer collapses into a narrow strip. The new row had the 12-column grid classes on its outer element, so the field grid and the per-line tax/discount strip each took one column.
- Invoices: currency — Invoice PDFs (default and fallback generators) print the invoice's own
currency_codeinstead of the global currency setting. Invoices without a currency still use the setting, as quotes do.GET /api/v1/invoicesandGET /api/v1/invoices/{id}now returncurrency_code. - Admin: PDF layout save errors — Saving the PDF layout with an empty or invalid template JSON raised
UnboundLocalErrorinstead of showing the flash message, becausepdf_layout()re-imported the translation function_locally and also used_as a throwaway name when reading the default template. Both are removed, so the module-level_is used throughout.
Changed
- Invoices: defaults of the new invoice form — A taken invoice number is an error on the form instead of a silent
-2: with thebilling_entitiesmodule, a typed number or the entity's next number that another invoice already has stops the save and shows "Number already taken by <number> · <client> · <date>" with Use next free (the first free{SEQ}number, else-2,-3). The form warns as soon as the entity's next number is taken, and the{SEQ}counter moves only when the invoice is saved (a typed number of the format past the counter moves it up to that number). Under the number, two hints: the entity's previous invoice and the client's last invoice. The due date keeps the client's payment period: as many days after the issue date as on the client's latest invoice (30 for a new client), with a hint under the field. Terms come from the client's latest invoice, else the entity's default terms, else Settings. Notes start empty (the entity's default notes are no longer filled in). The client's Invoice unbilled time uses the same due date and terms and leaves notes empty. With theclient_entitiesmodule, Bill to defaults to the client's latest invoice whatever its project (it was the project's latest invoice first). - Project costs: categories from Expense categories — Project costs and recurring project costs take their category from Expense categories (Admin), the same list expenses use, instead of a fixed list that differed between forms. The add, edit and recurring forms offer the active categories; an existing cost keeps its category in the form even after it is deactivated. The category filter on the Costs page, the category breakdown, the invoice line text for a cost and the inline expense categories on the invoice edit form use the list too.
project_costsandrecurring_project_costsgetcategory_id; the oldcategorystring stays for one release and is filled on every write. Migration218_project_cost_expense_categorieslinks every category string in use, plus travel, materials, services, equipment, software and other, to an expense category by code or name (ignoring case), and creates a missing one with receipts and approval off. API v1 acceptscategory_idorcategory(a code or name; an unknown string is kept as before) and returnscategory(the stored string, as before),category_idandcategory_name.
Documentation
- Refreshed invoice create/lifecycle docs for two-step create, draft time links, Issued / Cancel and reissue, hours/costs layout, and legal entities (INVOICE_FEATURE_README.md, GETTING_STARTED.md, FEATURES_COMPLETE.md).
- Invoice expenses and project costs guides now prefer step 1 + draft blocks; FAQ uses Show hours as.
- REST API: from-time / layout, duration-only and preview create, bulk
set_project/set_task, invoice cancel-with-payments, reports/expense-categories (REST_API.md). - Docs index links MCP, project costs, and invoice expenses; Invoice templates admin path noted in the PDF editor quick start; MCP admin tool note for
invoice_time_links.
Build status
Desktop
- Windows: success
- Linux: success
- macOS: success
Mobile
- Android: success
- iOS: success