I uploaded last week for the v5.7.24-C125 version and I’m having some invoices not showing the QR-code.
I tried the react web, Windows app, Android app… all the same.
I looked for some kind of relation between the No showing invoices but there’s nothing related, I need to correct that ASAP because I can’t receive those invoices from my clients.
I saw that the translation is finally working so I changed it to Swiss French, and now some invoices are not showing the QR-code. I changed back now and the QR-code is normal again.
So, there’s something wrong with the Swiss translation.
you can try turning back on swiss translations, the output of any errors will be available in storage/logs/laravel.log or storage/logs/invoiceninja.log
Here is the error
[2023-10-03 16:36:21] production.INFO: The IBAN field is required
[2023-10-03 16:36:48] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
It doesn’t reconise the IBAN, for the BIC We don’t have this in Switzerland.
I updated to v5.7.27 today and made some tests, the problem is still there, no qr code.
This is the lasts lines in the log file :
[2023-10-09 09:01:20] production.INFO: foreach() argument must be of type array|object, null given
[2023-10-09 09:01:20] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
[2023-10-09 09:01:20] production.INFO: The IBAN field is required
[2023-10-09 09:01:59] production.INFO: foreach() argument must be of type array|object, null given
[2023-10-09 09:01:59] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
[2023-10-09 09:01:59] production.INFO: The IBAN field is required
[2023-10-09 09:03:27] production.INFO: foreach() argument must be of type array|object, null given
[2023-10-09 09:03:27] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
[2023-10-09 09:03:27] production.INFO: The IBAN field is required
[2023-10-09 09:03:59] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
[2023-10-09 09:03:59] production.INFO: The IBAN field is required
Today, I updated to v5.7.30 and the problem’s sill there.
I also checked the difference between those with problem and the others, because is not all invoices with problems…
The invoices without the QR-code are from private people, when I have a society, the QR-code is there.
I don’t put a name in the “name” field when is a private person, I just add the contact information with the name of the person, so, I think there’s something blocking when there’s no name in that field.
[2023-10-17 06:44:17] production.INFO: The BIC field is not present and _may_ be a required fields for EPC QR codes
[2023-10-17 06:44:17] production.INFO: The IBAN field is required
[2023-10-17 06:44:35] production.INFO: The BIC field is not present and _may_ be a required fields for EPC QR codes
[2023-10-17 06:44:35] production.INFO: The IBAN field is required
[2023-10-17 06:44:46] production.INFO: foreach() argument must be of type array|object, null given
[2023-10-17 06:44:46] production.INFO: The BIC field is not present and _may_ be a required fields for EPC QR codes
[2023-10-17 06:44:46] production.INFO: The IBAN field is required
[2023-10-17 06:44:58] production.INFO: The BIC field is not present and _may_ be a required fields for EPC QR codes
[2023-10-17 06:44:58] production.INFO: The IBAN field is required
[2023-10-17 06:45:09] production.INFO: foreach() argument must be of type array|object, null given
[2023-10-17 06:45:10] production.INFO: The BIC field is not present and _may_ be a required fields for EPC QR codes
I made more tests and no, is not the client name, there’s also some with a name field without the QR-Code.
I can’t find the difference between those who have the QR-code and those who haven’t.
In the logs file, there’s always those lines: (also in the french language)
[2023-10-18 08:40:11] production.INFO: The BIC field is not present and may be a required fields for EPC QR codes
[2023-10-18 08:40:11] production.INFO: The IBAN field is required
But, when the QR-code is not created, there’s also this line :
[2023-10-18 08:40:11] production.INFO: foreach() argument must be of type array|object, null given