i add my qr-iban my details clients detail i add $swiss_qr in the pubblic note, there is just a thing i cant understand ubs give me an iban that finish whit A and my IBAN and is 22 numbers and not 21, even if i delete the A the qr dont show
Logs
IDK where to start to diagnose this problem any help?
Let’s get this sorted out. Swiss QR codes have very strict validation requirements, and if even one piece of data is slightly off, the code simply won’t render on the invoice.
Here are the best places to start diagnosing this:
1. The “22-character” IBAN Issue (Most Likely Culprit)
Swiss IBANs are strictly 21 characters long and must start with “CH” (e.g., CHxx xxxx xxxx xxxx xxxx x). If UBS gave you a 22-character number ending in “A”, that is likely an internal UBS account format or a clearing number, not your actual standard IBAN. You’ll need to log into your UBS e-banking portal and grab the official 21-character IBAN. If the IBAN isn’t perfectly formatted, the QR generator will reject it.
2. Strict Address Requirements
The QR code will also fail to generate if either your Company details or the Client details are incomplete. Double-check that both have a complete Street, City, and ZIP code, and that the Country is explicitly set to Switzerland in the settings.
3. Finding Your Version and Logs
Version: You can usually find your exact v5 version number at the bottom of the main navigation sidebar in your admin portal.
Logs: Since you are self-hosting, the best place to check for backend errors is your Laravel log. You can find this in your server directory under storage/logs/laravel.log. If the QR code is failing to generate due to missing or malformed data, you will often see the specific validation error logged here.
Double-check that UBS IBAN format first, and ensure all address fields are completely filled out. Let us know what you find in the logs if it’s still not showing up!
hello thx for the help i just check 2 things first i ask ai to and he tell me the iban was 22 letters but is actualy 21 and finish whit A idk if this trow off ninja invoice, second im on v5.13.14 and all client and my dettails seems to be ok
when you tell correct you mean that the dettails need to be correct? because how do the softwer now if they are correct? if you mean that is fill yes they are fill to dubble check can you tell me where in the settings i need to put this information maybe i get the wrong place
is the BESR ID neaded to complete the qr?
i check that doc but like the qr id creator give the Invalid IBAN format. i think my iban have something wrong or is not up to date, idk like a year ago UBS buy Credit Suisse maybe they add le last A in the iban to sort the new user from the old one but the softwere is not update for this
For some quick tests, I had used the IBAN number provided here:
… (Example: CH44 3199 9123 0008 8901 2)…
That helped me double verify that everything was setup correctly provided a correct QR-IBAN was set in. Using that bogus QR-IBAN, my test generated invoices would host a valid QR-CODE. Beware not to send out any invoices using a bogus IBAN – just sayin’
In my final setup using my real account, I do not have the BESR ID field filled – it is empty.
I had also used a QR scanning app once in my final setup to verify the contents of the generate QR-CODEs, just to be sure everything was correct (out of interest and to possibly bend any unwanted leaks or else) – cannot remember which app but an open-source one.