- 🇪🇸Spain prodigia Malaga
I've encountered a similar issue. I've deleted invoices and PDF files, but when I generate new invoices, the test invoice still appears. Could you please explain how to completely delete the invoice entity?
- 🇮🇱Israel jsacksick
Could you please explain how to completely delete the invoice entity?
Deleting the invoices from the file system should do the trick, have you tried that?
- 🇮🇱Israel jsacksick
Also note that this report is probably a bit confusing as we are actually checking if the invoice file exists before generating an invoice already.
The suggested solution implies the invoice is generated from the admin which is most likely not the case for 90% of the merchants.
Not really sure how to properly address that.The fact that we make sure to not regenerate an invoice file everytime is for compliance / immutability reasons... To make sure the invoice content isn't different if regenerated / resent a second time.
With that said, using the invoice UUID instead of the invoice number in the filename could help mitigating that.
I just wonder if this is an acceptable solution and would not be considered a breaking change.