Tax & VAT/GST Calculations

Extend a four-decimal unit price correctly

To extend a four-decimal unit price accurately, multiply the full quantity by the unrounded four-decimal rate first, then round the resulting line extension once to the invoice currency's decimal places using half-away-from-zero rounding. For example, 1,000 units at $0.0049 equals exactly $4.90 rather than $0.00. InvoiceDiplomat keeps the entered four-decimal unit price visible in the editor and on the final PDF so buyers can verify every penny of the extension.

High-volume suppliers—such as label printers, SMS gateways, bulk fastener distributors, and metered utility contractors—frequently price items in fractions of a cent. If a billing tool rounds the unit price to two decimal places before multiplying, sub-cent rates collapse to zero or jump by a full penny per unit, creating severe billing errors across hundreds or thousands of items. InvoiceDiplomat accepts quantities and unit prices with up to four fractional digits, performs exact decimal multiplication before applying currency rounding, and preserves your entered precision on screen and in the exported PDF.

Step-by-Step Guide

  1. 1. Select the currency and price basis first

    Open the Invoice Generator and confirm Currency (46 ISO 4217) and Price Basis (Tax-Exclusive or Tax-Inclusive) before adding fractional-cent items. Currency choice determines how many decimal places apply to the final rounded line total—two for USD, EUR, or GBP, three for KWD, and zero for JPY.

  2. 2. Enter the full quantity and four-decimal unit rate

    Type the exact quantity in Qty and enter the unrounded unit rate—such as 0.0049—into Rate / Price without rounding it mentally to two decimals. InvoiceDiplomat validates up to four fractional digits and rejects ambiguous thousand separators or excess decimal places with an inline message.

  3. 3. Verify the exact extended line amount

    Inspect the live paper preview as you type. InvoiceDiplomat multiplies the exact quantity by the four-decimal unit price first, then rounds only the finished line extension using half-away-from-zero rounding so half-cent midpoints round symmetrically outward.

  4. 4. Confirm unit-price visibility on the PDF preview

    Check that the preview table prints the four-decimal unit rate alongside the two-decimal line total. Keeping $0.0049 visible explains immediately why 1,000 units extend to $4.90 and prevents accounts-payable disputes during invoice review.

  5. 5. Issue the document and preserve an immutable copy

    Click Issue & Download PDF once all lines, discounts, and taxes reconcile from top to bottom. Your issued snapshot stores both the entered rate and the extended total locally on your device for future re-downloads or auditing.

Worked Example: Bulk thermal shipping labels billed at a sub-cent unit price

Input / Step Value
Line item Direct thermal shipping labels (roll supply)
Quantity 1,000 labels
Entered unit price $0.0049 USD
Currency precision USD (2 decimal places)
Result Extended line total: $4.90 USD (unit price remains displayed as $0.0049)

Multiplying 1,000 by $0.0049 produces an exact value of $4.9000. Rounding that finished extension to two USD decimal places yields $4.90. Had the unit rate been prematurely rounded to $0.00 before multiplication, the line would have falsely totaled $0.00; rounding it upward to $0.01 would have inflated the invoice to $10.00. Displaying $0.0049 in the rate column lets the customer confirm the arithmetic at a glance.

Scope & Limitation: InvoiceDiplomat supports up to four fractional decimal digits on quantities and unit prices; industries requiring five or six decimal places per unit should quote prices per 100 or per 1,000 units instead. Local PDF generation handles invoice formatting and arithmetic only and does not validate industry tariff schedules or submit electronic invoices.