Both individual products and product types have an available setting called Coerce Integer Quantity? that can be set to Yes or No. This setting is set to No by default.
The Coerce Integer Quantity setting controls how product quantities are recorded on invoices:
-
When set to Yes, the system only allows whole numbers for the quantity of an invoice line item (no decimals).
-
When set to No, the system allows both whole numbers and numbers with decimals for the quantity of an invoice line item.
When Coerce Integer Quantity is set to Yes for a product or product type, and the product is added to an estimate or encounter order, you can still enter decimals for the quantity. However, when the product is invoiced (or when the estimate is converted to an invoice), the system will round the quantity to the nearest whole number. (For example, a quantity of 2.4 would be rounded to 2.)
This helps to standardize billing workflows and prevent unintended fractional inventory depletion or client confusion at checkout.
Vetspire Recommends
We recommend setting Coerce Integer Quantity to Yes for items dispensed in whole units, such as tablets, injections in pre-measured doses, retail items, and services billed at a flat fee.
We do not recommend enabling the Coerce Integer Quantity setting for liquid medications that are dosed by weight or volume (e.g., 0.25 mL) or services that are billed by time or portion (e.g., partial hospitalization).