---
title: "FAQ - Why is an invoice calculating tax incorrectly?"
description: "Tax can be calculated on the invoice total or per charge line and then rounded. This may affect the total tax amount calculated."
url: https://help.qargo.com/us/articles/279348-faq-why-is-an-invoice-calculating-tax-incorrectly
locale: us
updated: 2026-10-21
---

# FAQ - Why is an invoice calculating tax incorrectly?

**Q: Why is an invoice calculating tax incorrectly?**

**_A: Rounding affects the total tax amount._** Tax can be calculated on the invoice total or per charge line. The method is set under **Configuration > Accounting**, usually during initial setup, and it cannot be changed after setup. If customer data such as an address or tax number is missing, the system defaults to "No tax".

**Q: How can tax be adjusted, or a default tax be set, in Qargo?**

**_A: Tax is set per charge on the rate card_** (**Rates > Rate card customers**), **_per cost rate for contract carrier orders (Rates > Cost calculation load), and per customer through the Tax type in the customer's billing config._** See "Setting default tax settings" below.

## Calculation options {#h_ac4012d5de}

1.  **Calculate tax on invoice total:** adds up all charge lines, then applies tax. This avoids rounding discrepancies.
2.  **Sum tax per charge line:** rounds tax to **2 decimals** on each line. This can cause minor variances.

    ![](https://help.qargo.com/media/65868b349546-image.png)


These methods can result in small differences in tax totals. For example, calculating tax on the invoice total avoids rounding discrepancies. Summing tax per charge line may introduce minor variances because each line is rounded individually.

The option to select may depend on the accounting package used, as the rounding may affect whether the totals match how that package calculates.

:::callout{tone="warning"}
Once the method is configured, contact the Qargo account manager for any changes.
:::

If any type of "errors" occurs while posting invoices, contact the Qargo support team via chatbox. To prevent tax-related errors, always make sure the customer address and tax number are completed before creating orders. Review rate card settings regularly to confirm that tax configurations align with the applicable tax regimes. Consider conducting periodic audits to identify and correct discrepancies early.

:::callout{tone="info"}
**Banker's rounding:** Qargo uses banker's rounding (round half to even). For example, 275.006 becomes 275.00. Variances grow with multiple charge lines.
:::

## Causes of tax-related errors {#h_928658039a}

Qargo sets automatic tax (tax type and tax %) using a **"most specific data wins"** approach. Order countries drive the decision, and **manual overrides** take precedence.

**Inputs, in order of preference:**

1.  **Goods origin and destination countries** **(if filled in).** For container import/export, these replace pickup and delivery.
2.  **Otherwise: pickup & delivery countries on the order**, if goods origin or destination is blank.
3.  **Customer or contract carrier country:** uses the tax number first, then the billing location.

## Steps to correct tax errors {#h_3ba323dbea}

**Add missing customer information**

-   Navigate to the customer's record in Qargo and make sure the address and tax number are filled in.
-   Review the customer profile settings, particularly the "Apply tax exceptions for import/export" option. Disable it if manual charge tax configurations should take precedence.
-   If the issue exists in an existing order, edit the order directly and manually update the tax on each order line where needed.

**Adjust rate card settings**

-   Find the rate card linked to the affected charge.
-   Update the tax configuration in the rate card to apply 0% tax if the job or charge qualifies for tax exemption.

:::callout{tone="info"}
For the full steps to change tax on a rate card, see "Setting default tax settings" below.
:::

**Manually set tax on specific charges**

-   Open the order and find the charge.
-   Disable **"Set tax automatically."**
-   Manually set tax to the correct percentage or **0%**, as required.

**Fix line-specific discrepancies**

-   Open the invoice.
-   Locate the lines that need correction.
-   Click the pen/edit icon and adjust tax values directly on each relevant line.


## Correcting tax on posted invoices {#h_f575467006}

Posted invoices cannot be recalculated. To fix tax:

1.  Create a **credit memo** for the incorrect invoice.
2.  Correct tax on the underlying orders or charges.
3.  Reissue the invoice with the corrected tax.

:::callout{tone="info"}
The credit memo page has a **Re-invoice charges** option for step 3. See [Re-invoicing credit memo charges](https://help.qargo.com/us/articles/133840-invoices-create-credit-note#h_8318eb5a67).
:::

## Incorrect tax on manual costs {#h_79cfcc6cb3}

Manual costs without a tax rate cause wrong totals. To solve this:

1.  Open the invoice and find the manual costs.
2.  Assign the correct **tax rate** to each manual cost.
3.  Save and reissue the invoice.


## Setting default tax settings {#h_afab42d377}

### Where can a default tax be set? {#h_5547a53473}

In three places: on the rate card (customer charges), on the cost rates (contract carrier orders), and on the customer (tax type).

### How can tax be adjusted on a rate card? {#h_51e1a433f5}

**From the menu**

1.  Navigate to **Rates > Rate card customers**.
2.  Open the rate card to change. Rate cards are grouped by transportation service.
3.  In the **Prices** table, click the edit (pencil) icon of the charge.
4.  Under **Per billing entity configuration**, select the **Tax %** (for example, _Tax 20%_, _Tax 5%_, _Tax 0%_, _No tax_ or _Transit_) and click **Save**.

**From an order**

1.  Open the order.
2.  In the header line of the order, next to **Customer price**, click the rate card name. The rate card opens.
3.  Adjust the charge as described above.

:::callout{tone="note"}
**For this order only:** the **Tax** field next to the rate card name (pencil icon) changes tax on the order itself, without changing the rate card.
:::

### How can a default tax be set for contract carrier orders? {#h_8d44d3fb29}

1.  Go to **Rates > Cost calculation load**.
2.  Open the **Contract carrier rates** tab.
3.  Open the cost rate list (for example, the default list for contract carriers).
4.  In the **Prices** table, click the edit (pencil) icon of the charge.
5.  Under **Per billing entity configuration**, select the **Tax %** (for example, 20%).
6.  Click **Save**.

-   **Result:** the rate applies automatically to all newly created contract carrier orders. Tax no longer needs to be selected manually on each order.
-   **Required field:** a tax rate is mandatory on every cost or charge line. See [FAQ - Tax on carrier invoices](https://help.qargo.com/us/articles/512991-faq-vat-on-purchase-invoices).

### How can a default tax be set for a specific customer? {#h_3457b793f1}

1.  **Create or select** a dedicated rate card for the customer (**Rates > Rate card customers**). Use **Link new customer** on the rate card to link the customer.
2.  **Open** the rate card and **set** the **Tax %** on every charge line, as described above.
3.  **Open** the customer (**Companies > Customers**). Under **Billing config**, check the **Tax type** (_Tax_, _Intra EU (reverse charge)_, _No tax_, _Transit_, _UK reverse charge_, _Co-contracting_ or _Other_) and the **Apply tax exceptions for import/export** toggle.

Future orders for that customer use the tax % of the customer's rate card, unless the tax type or the tax exceptions override it. Existing orders keep their tax. Edit the order to change it.

:::callout{tone="note"}
An Intra EU or No tax tax type overrides the rate card.
:::

* * *

## Best practices to prevent tax errors {#h_c2fbc9adcd}

-   **Proactively fill in customer details:** complete the address and tax number before creating orders.
-   **Verify rate card configurations:** review them regularly. Misconfigured rate cards are a common cause.
-   **Conduct periodic audits:** check invoices and orders routinely.
-   **Test tax configurations:** create test orders and verify the calculated tax.
-   **Timing:** automatic tax is set when an order is created or when the customer or contract carrier changes. It does **not** recalculate if pickup or delivery changes later.


## Related articles

- [FAQ: Automatically determine the tax type on an order](https://help.qargo.com/us/articles/251825-faq-automatically-determine-the-tax-type-on-an-order.md)
- [Invoices – How does tax work in Qargo?](https://help.qargo.com/us/articles/180658-invoices-how-does-tax-work-in-qargo.md)
- [Invoices FAQ: How does tax work for contract carriers in Qargo?](https://help.qargo.com/us/articles/697222-invoices-faq-how-does-tax-work-for-contract-carriers-in-qargo.md)
- [Charge templates: introduction](https://help.qargo.com/us/articles/246429-charge-templates-introduction.md)
- [Rates - Rate card customers](https://help.qargo.com/us/articles/133865-rates-rate-card-customers.md)
