Docs › Releases › 1.04 › Release notes
Recurnix 1.04 release notes
Released 2026-07-30. Recurnix 2.11 is newer.
Give a discount on an invoice that mixes taxable and non-taxable lines, and you under-charged the tax - then owed the difference yourself.
The discount came off the taxable part of the invoice and nowhere else. On an invoice of 100.00 taxable plus 100.00 exempt with 50.00 off at 20%, the tax was calculated as if the whole 50.00 had been knocked off the taxable goods: 10.00 of tax instead of 15.00, a total of 160.00 instead of 165.00. Your client paid the right price. Your tax return did not, and the shortfall came out of your margin.
There was a sharper version of the same bug. If the discount was larger than the taxable part - say 30.00 of taxable goods, 170.00 exempt, 50.00 off - the taxable base clamped to zero and the tax disappeared entirely, 0.00 where 4.50 was owed. The clamp looked like a sensible guard against a negative number. It was the thing making legitimate tax vanish without a trace.
A discount belongs to the invoice, not to its taxable half. It is now split in the same proportion the taxable lines bear to the whole document. Your client is still credited the entire discount - nothing about what they pay changes. Only the figure you declare as tax changes, and only on documents that mix taxability. If every line on an invoice is taxable, which is the ordinary case, the arithmetic is identical to the cent.
The same line was in the quotation engine, and that mattered more than a duplicate usually does: a quote's total is the number your client accepted, and converting a quote deliberately reproduces the agreed figures. Fixing only invoices would have made an accepted quote disagree with the invoice it turned into. Both were corrected in the same change, and the test now asserts they carry the same formula so they cannot drift.
One more thing surfaced alongside it: a discount larger than the invoice subtotal used to produce a negative total. The rule had been written down in the code years earlier - a discount may zero an invoice, never invert it - and was only being enforced on one of the two paths that could set one.
Upgrading: nothing to do, and nothing is rewritten. Documents you have already issued stay exactly as issued - that is deliberate; an invoice is a record, not a calculation. Only documents created from now on use the corrected split.