Calculation guide
Round half up to the entered minor-unit precision. One tax rate across all lines; compare two arithmetic conventions, not invoice compliance.
raw included tax = gross × rate / (100 + rate); compare Σ round(raw line) with round(Σ raw line)
Inputs
Included tax rate
Example entry 20 %. Allowed range 0 to 100.
Rounding decimal places
Example entry 2. Allowed range 0.0 to 4.0. Use whole numbers.
Tax-inclusive line total
Example entry 0.04 (in the selected currency).
Worked example
| Input | Value |
|---|---|
| Included tax rate | 20% |
| Rounding decimal places | 2 |
Gross invoice lines
| Tax-inclusive line total |
|---|
| 0.04 |
| 0.04 |
| 0.04 |
| Result | Value |
|---|---|
| Line total less invoice method | 0.01 |
| Sum of rounded line tax | 0.03 |
| Rounded invoice tax | 0.02 |
How each input affects this example
Each row starts from the worked example and changes one input.
| Input | Original input | New input | Affected result | Original result | New result |
|---|---|---|---|---|---|
| Included tax rate | 20% | 10% | Line total less invoice method | 0.01 | -0.01 |
| Rounding decimal places | 2 | 3 | Line total less invoice method | 0.01 | 0.001 |
| Tax-inclusive line total (row 1) | 0.04 | 1.04 | Line total less invoice method | 0.01 | 0 |
