web
You’re offline. This is a read only version of the page.
close
Skip to main content
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!
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    93,915 Super User 2025 Season 2 on at
    Swiss QR invoice - payment reference on invoice once validated and not printed
    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
    Swiss QR invoice - payment reference on invoice once validated and not printed
    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
    93,915 Super User 2025 Season 2 on at
    Swiss QR invoice - payment reference on invoice once validated and not printed
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,225

#2
Sumit Singh Profile Picture

Sumit Singh 2,123

#3
YUN ZHU Profile Picture

YUN ZHU 1,813 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans