web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Swiss QR invoice - payment reference on invoice once validated and not printed

(1) ShareShare
ReportReport
Posted on by
Hi all,
 
We are currently facing an issue with the Swiss QR invoice.
Based on the sending type of customers, we are separating invoices that will be sent by email or printed in different tiles.
At the end of the day, a job queue will parse the invoices that need to be sent by email to send them.
Unfortunately, we have many invoices that fail to be sent.
We identified that the invoices don't have a payment reference before the report is generated and therefore if we are trying to send the invoice using the job queue, it fails. 
We wanted to know why the payment reference is not generated once the invoice is posted/validated and how we could fix that?
 
Many thanks for your help!
  • Suggested answer
    YUN ZHU Profile Picture
    103,809 Super User 2026 Season 2 on at
    Hi, this looks like a FO(AX) problem, I hope the following information can give you some hints.
    Set up mandatory payment references:
     
     
    Thanks.
    ZHU
  • BD-06051316-0 Profile Picture
    on at
    Hi Yun Zhu,
     
    Many thanks for your help.
     
    Unfortunately, I couldn't find this option. I forgot to mention that we are using a Dynamics NAV 2017 at the moment.
     
     
    Here is a screenshot of our problem:
     
     
    In the posted Sales invoices, the payment reference is blank until we print the invoice.
    For example, the invoice n°2449129 hasn't been printed yet and therefore doesn't have a payment reference.
     
    But once, we print it or even just check the preview, as the report is generated, the payment reference is appearing: 
     
    This payment reference is linked to the Swiss specific QR-Invoice and it's probably generated once the QR is created but it would make more sense for us that the payment reference is generated when the invoice is posted and not printed. 
     
    Currently, this behaviour is causing other issues with our development and we wanted to know if there's a way to add the payment reference when the invoice is posted?
     
    Many thanks for your help!
  • Suggested answer
    YUN ZHU Profile Picture
    103,809 Super User 2026 Season 2 on at
    Sorry, I don't know much about Swiss QR invoice. It seems that it can be done with customization.
    Hopefully other experts can give you better advice.
     
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 768 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 541 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 324 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans