#11791·invoiceninja

TaxTotalAmount I too high when Invoice Tax Rates and Line Item Tax Rates are both enabled

Author: benbrummerCreated Mar 16, 2026Updated Mar 19, 2026
Labelsmore info requested

E-Invoice Tax is doubled when, Invoice Tax Rates and Line Item Tax Rates are both enabled.

Setup

  • Version: v5.13.1
  • Environment: Docker

Checklist

Describe the bug

TaxTotalAmount is calculated wrong if Invoice Tax Rates and Line Item Tax Rates are enabled at the same time

Steps To Reproduce

  • Enable Invoice Tax Rates and Line Item Tax Rates
Image - Create a new invoice XInvoice_3.0 100 €, 19% Tax and validate the XML https://erechnungsvalidator.service-bw.de/ Image - Example for invoice over 100 € and 19% Tax => `38.00` Image

Expected Behavior

Tax is only considered once for TaxTotalAmount.

Source: invoiceninja/invoiceninja