Please wait
Talk to Expert

Swiss QR Code in Business Central: How to Implement Without External Services or APIs

Swiss QR Code in Business Central (1)

What is Swiss QR Code?

The Swiss QR Code is a standardized QR code format used in Switzerland for electronic payments and invoicing. It is part of the QR-bill system, which replaced traditional Swiss payment slips (like the red and orange ones) starting in June 2020 

Benefits of Swiss QR Code in Business Central 

  1. Automated Payment Processing 
  1. Faster Customer Payments 
  1. Compliance with Swiss Regulations 
  1. Improved Reconciliation 
  1. Supports Electronic Invoicing 
  1. Customization and Integration 

Microsoft has already provided a standard method to generate Swiss QR Code: 

 Microsoft has provided a standard method to generate Swiss QR Codes inside Business Central. This eliminates the need for third-party services or external APIs, making the solution more cost-effective and secure.
 

Let’s now implement Swiss QR Code with example:

1.Add a New Action to the Item Card
Here we will add a new action to the Item Card to generate a Swiss QR Code containing the Item No. and Inventory and save the generated Swiss QR Code on the Item Picture. 

2.Extend Sales Invoice Header Table
Here is the explanation of the code. We have created extension Sales Invoice Header Table to store the data of QR Code into Mediaset field.

3.Create a FactBox for Visualization

Then we’ve created a Factbox to show that QR Code on Posted Sales Invoice Card page.

4.Codeunit with QR Logic

Here, we have created a codeunit that contains the logic for creating a QR code.   

5.Codeunit with QR Logic

Here, we have added the code to add a QR Code to a FactBox and created an Action to generate the QR Code.

Swiss QR Code Output 

Once implemented, the system automatically generates a Swiss QR Code and displays it on the invoice screen or item card, making payment and reconciliation seamless. 

Why Choose Madhda for Swiss QR Code in Business Central? 

At Madhda, we specialize in helping businesses get the most out of Microsoft Dynamics 365 Business Central. Our team ensures: 

  • Smooth Swiss QR Code implementation without external APIs 
  • Compliance with Swiss payment regulations 
  • Customized integration to fit your business needs 
  • Ongoing support and optimization 

Conclusion 

The Swiss QR Code is not just a regulatory requirement—it’s a powerful tool for streamlining payments, automating processes, and improving customer experience. With Microsoft’s built-in support, businesses can implement QR-bills directly in Business Central, without relying on costly third-party solutions. 

Ready to simplify payments with Swiss QR Code in Business Central?
Get in touch with Madhda today and let our experts help you integrate a seamless, compliant, and cost-effective solution—without external services or APIs.