Skip to main content

Notifications

Community site session details

Community site session details

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

Creating a QR Code for Sales Invoices

(0) ShareShare
ReportReport
Posted on by 277

Dear Friends,

I want to learn how to create a QR code on the Posted Sales Invoices, this code will contain some info like:

  • Company Name
  • TAX ID
  • Total Amount
  • Customer Name
  • Total VAT Amount
  • Document Date

Thanks in advance

  • mahmoud_algindy Profile Picture
    277 on at
    RE: Creating a QR Code for Sales Invoices

    Hi MA Gamal,

    If you're looking for just a QR it's simple and the links in the same post will help.

    But, if you're looking for ZATCA QR, I hired a developer to do so, please contact me at mahmoud@365-xperts.com to help you.

    Thanks

  • MA Gamal Profile Picture
    5 on at
    RE: Creating a QR Code for Sales Invoices

    Dear Mahmoud

    i believe you found a solution for QR Code issue, could you please update us how i can print QR Code in Sales invoice

  • Suggested answer
    MahGah Profile Picture
    15,437 on at
    RE: Creating a QR Code for Sales Invoices

    Hi

    I wish I could help here but I have no development knowledge. I hope others in this post can help with this question.

  • mahmoud_algindy Profile Picture
    277 on at
    RE: Creating a QR Code for Sales Invoices

    Hi MahGah 

    Thank you and thanks to all,

    I am not able to create the QR code, & works fine, but I've another challenge before passing the QR string value I need to do some encoding as per the following images.

    pastedimage1645768988574v1.png

    pastedimage1645769001662v2.png

    pastedimage1645769044075v3.png

  • Suggested answer
    MahGah Profile Picture
    15,437 on at
    RE: Creating a QR Code for Sales Invoices

    Maybe the following post can help. Seems like developer converted QR to Base64

    http://fredborg.org/?p=435

    www.kauffmann.nl/.../

  • mahmoud_algindy Profile Picture
    277 on at
    RE: Creating a QR Code for Sales Invoices

    Thanks, MahGah 

    I've read the blog post and I will try it soon, I just want to mention that the ZATCA (TAX Authority in KSA) require the QR to be encrypted to BASE64, after converting the Value to HEX code, each Value has a TAG no.

    it's not just a QR code image on the paper.

    Many developers just mislead the BC customers and did not follow the TAX requirements.

    Thanks

  • Suggested answer
    MahGah Profile Picture
    15,437 on at
    RE: Creating a QR Code for Sales Invoices

    Starting 2021 wave 2 BC supports QR code

    https://yzhums.com/20231/

    For older version see  robertostefanettinavblog.com/.../

  • mahmoud_algindy Profile Picture
    277 on at
    RE: Creating a QR Code for Sales Invoices

    No yet

  • mohamed gamal Profile Picture
    on at
    RE: Creating a QR Code for Sales Invoices

    Did you solve it?

  • tanya07 Profile Picture
    1,636 on at
    RE: Creating a QR Code for Sales Invoices

    Hello,

    Here is a blog which helped me, hope it helps you too :)

    http://fredborg.org/?p=435

    Thanks,

    Tanya

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,190 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans