Recurnix docs

Docs › Releases › 1.08 › Release notes

Recurnix 1.08 release notes

Released 2026-07-30. Recurnix 2.11 is newer.

A recurring service recorded a price but not what currency it was in.

Ten a month. Ten of what? The storefront knows: it prices a cart from the product's pricing table for the client's currency, and the order it writes records which one that was. The service — the thing that will actually be charged, every month, for years — recorded the number and threw the unit away. Every other money-bearing table in the schema carries a currency: clients, orders, invoices, transactions, credit notes, quotes, product pricing, config options, client groups. Services were the one exception.

So the renewal engine had to get the currency from somewhere, and where it got it from was the client's record, read afresh every night. That works right up until somebody changes it. On the sandbox: a service billed 10.00 USD; the client's currency was then changed on the ordinary client form — one dropdown, no warning, no confirmation — and the same service, untouched in every other respect, billed 10.00 EUR. Nothing in the system recorded, or could recover, which one it had been sold in.

Services carry a currency now, and the migration fills it in. That second half matters more than the first: a nullable column everybody leaves null just moves the bug somewhere quieter. Existing services are given the currency they were actually sold in, taking the best evidence available — the order the client checked out with, failing that the client's own currency, failing that the install default.

The renewal is then raised in the service's currency rather than the client's. That is a deliberate policy and worth being explicit about: changing a client's currency is a preference, not a repricing decision. Converting the number would be the original bug; converting it at the exchange rate would be worse, because the price would then drift every night the rate moved. A service keeps what it was sold at until somebody deliberately changes it — and that change is now an edit on the service itself, in the audit log, where a repricing belongs.

Fixing it exposed the next thing along. Consolidated invoicing gathers everything a client has due into one invoice, and it grouped by client — which was correct only for as long as services had no currency to differ on. An invoice carries exactly one currency; its total, its tax and its amount due are single numbers. Renewals are now grouped by client and currency, and the code that resolves a batch's currency refuses a mixed one by name rather than adding pounds to yen and presenting the result to a customer as a total.

Two more things came out of reading the same screens. The Services form in the admin had never been rebuilt from the scaffold the framework generated, and the scaffold was not merely plain — it was wrong in ways that cost money. Status and billing cycle were free-text boxes over what are really fixed lists, and because an unrecognised cycle quietly falls back to monthly, an operator typing "yearly" where the code expects "annual" would have billed an annual price twelve times a year with nothing anywhere complaining. Both are proper dropdowns now, over exactly the values the billing engine understands. And the storefront's "one-time" cycle had no case in that engine either, so a one-time service that carried a recurring amount would have been billed every month for ever; one-time services are now excluded from renewals outright.

Housekeeping, since it bit us: eleven of the 634 tracked files carried Windows line endings in the working tree, written that way by the file-management API used to deploy. Git had never complained, and it was right not to — the repository already declares LF and normalises before comparing, so the committed history was clean throughout. But every edit here is authored against the working tree, and one of these files cost this release an aborted edit when a byte-exact anchor stopped matching what was actually on disk. All eleven are normalised; seven were also missing a trailing newline, which that time really had been committed.

Twenty passing tests now, up from eleven, still none of them needing a database.

Upgrading runs one migration that adds a column and fills it in. Nothing is dropped and no issued invoice changes. Do note the intended behaviour change: if you have ever changed a client's currency, their existing services will now renew in the currency they were sold in rather than the client's current one. That is the fix, not a side effect.


Last modified: 16 November 2026 · This page documents Recurnix, self-hosted billing and automation. Ask a question.