redtools.

Understand invoice totals and rounding

Worked examples for line discounts, tax rounding, currency precision and Indian GST splits in RedTools invoices.

Design and arithmetic are separate

All eight templates use the same invoice data and calculation engine. Choosing a design does not change currency precision, tax treatment or required regional fields. Preview the final PDF before issuing it.

Line-based calculations

For each line, RedTools rounds quantity × unit price, the percentage discount and the tax half-up at the selected currency precision. It subtracts the rounded discount from the rounded line amount to obtain taxable value. Document totals sum the calculated lines. JPY uses zero decimals; KWD uses three; other supported currencies use two.

Worked discount and tax example

Two units priced at 100 produce 200. A 10% discount is 20, leaving taxable value 180. A user-entered 20% tax is 36, so the line total is 216. Currency labels do not perform exchange conversion.

Why two totals can differ

Line rounding and rounding once after summing are different methods. With two lines each having taxable value 0.03 and tax 10%, each 0.003 tax rounds to 0.00 at two decimals, so line-based tax totals 0.00. Tax on their combined 0.06 is 0.006, which would round to 0.01. Confirm the method required for your accounting process.

Indian GST splits

For the intra-state selection, the rounded line tax is split into reconciling CGST and SGST/UTGST shares. An odd minor unit goes to CGST. Inter-state selection displays IGST. Applicable rates, classifications and place of supply remain your responsibility; a GSTIN format check does not verify registration.

Supported scope

The GST layout covers ordinary domestic forward-charge invoices. It does not implement exports, cess, reverse charge, IRN/e-invoice QR codes or certificate signing. General invoices also need review for the issuing jurisdiction. Changing a template does not create universal legal compliance.

Reviewed 7 October 2026

These examples explain the current engine, not a tax-rate recommendation or accounting opinion. Refer to the rules applicable to your transaction and reconcile the preview with your records.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close