E-invoice error BG-25

Version

v5.11.41

Environment

LXC-Container / ZIP Installed

Checklist

  • Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja? - No, E-Invoice-Issue
  • Have you searched existing issues?
  • Have you inspected the logs in storage/logs/laravel.log for any errors?

Describe the bug

For one of our two customers, the customer received an error report for the e-invoices (XRechnung).

I then tried to validate the XML at E-Rechnung and received the following errors:

:red_square: with an !

  • [[BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to “Exempt from VAT”.]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).]
  • [[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).]

:warning:

  • [Document MUST not contain empty elements.]

The invoice has several lines with service descriptions.

Additional context

In the Invoiceninja the “Tax rates for product lines” was still activated, could this be the reason or have we made a bug here?

When I deactivated this, of course nothing changed in a blocked invoice.

Screenshots

Hi,

I suggest asking in a discussion on GitHub

Done E-invoice error BG-25 #10707