action.skip

How many decimal places does JustOn use?

← Billing & Invoice Management FAQ

When calculating invoices, JustOn uses best-practice, sensible defaults for decimal places.

(1) First, JustOn multiplies the unit price with the provided quantity information and, in case of recurring items, with the billing factor. This makes up the position price. The corresponding fields have five decimal places.

ILI+inv_calc_1_pos

(2) After the position price is determined, JustOn deducts the applicable discounts. This results in the position price discounted, which also has five decimal places.

ILI+inv_calc_2_pos

(3) JustOn then adds the applicable taxes. You can either feed a precalculated tax from an external system, or have JustOn internally determine the calculated tax based on the discounted position price and one or more tax rates (as defined by tax rules). The tax values are input with two decimal places.

ILI+inv_calc_3_pos_total

This calculation produces the position total gross price, which is rounded to two decimal places.

(4) Finally, JustOn sums the position total gross prices, producing the invoice's grand total, which also has two decimal places.

ILI+inv_calc_4_gr_total

Info

This calculation is independent of the configured decimal places display on PDF files.

There are several settings that control the number of displayed decimal places. JustOn applies the settings in the following order:

  1. Decimal Places on the template
  2. Decimal Places for Unit Price and Decimal Places for Quantity on the invoice line item
  3. Decimal Places for Unit Price and Decimal Places for Quantity in the global settings
  4. Global default: two decimal places for all numeric values

If one setting is not set or not found, JustOn falls back to the next one.

Related information:

How does JustOn calculate the invoice line item price?
Invoice Line Item Fields and Formulas
Tax Calculation - Tax Rounding
How to control decimal places on PDF files?