Changes to the customer change existing invoices

Version 5.11.0

Environment LXC / selfhosted

Checklist

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

Describe the bug

If you change a customer’s address, for example after a move, this also changes all existing invoices.
However, this is wrong under German law, as the invoices must be fixed.

Steps To Reproduce

  1. creates an invoice for a customer
  2. “Sends” this invoice to block it
  3. Changes the customer’s address
  4. View the invoice you have just created

Expected Behavior

If an invoice is blocked, ALL data available at that time must be blocked.
People and companies move, but the invoice was issued to an address and this history must be retained.
In Germany, an invoice must be unchangeable after it has been issued.

Additional context

The e- invoice also changes every time a setting is changed, which is not correct.

Screenshots

not important

Logs

not important

Hi,

For cases like this we suggest attaching the PDF to the email so you have a fixed version of the invoice. If this isn’t sufficient I suggest asking in a discussion on GitHub.

The PDF attached to the e-mail is all well and good, but nevertheless, it is important not to forget to record the invoice in the creation program.

When the tax inspector comes, he will want to see it and there must be no changes to the invoice.

Audit-proof archiving is not an e-mail that can then be deleted again and I have not yet heard of an unchangeable XML of the e-invoice.