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 :
Finance | Project Operations, Human Resources, ...
Answered

Saudi e-invoicing QR code using X++

(0) ShareShare
ReportReport
Posted on by 133
Dear experts,
 
Looking for your help on generating Saudi e-invoice QR code.
 
I gone through the blog and found to generate Saudi e-invoice QR code, we'll need to follow following steps:
1. Convert Seller name, VAT No etc to Hexadecimal code
2. Convert Hexacimal values to TLV format
3. Convert to Base64 format
4. Generate QR code
 
I am struggling to convert String to Hexadecimal value. Could you please help me.
 
Or
 
By any change if you have worked on this functionality kindly share code snipt.
 
Many thanks in advance.
 
Regards
Komal.
I have the same question (0)
  • Verified answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Saudi e-invoicing QR code using X++
    Hi,
    You have opened two threads in the forum, and you have verified the problem of converting characters to hex, if the problem is solved, please mark this thread as verified, thanks.
    Best Regards,
    Hana
     
  • Verified answer
    Martin Dráb Profile Picture
    235,961 Most Valuable Professional on at
    Saudi e-invoicing QR code using X++
    Let's keep the question of conversion to a hexadecimal string in the other thread, Convert String to hexadecimal using X++.
  • Verified answer
    GirishS Profile Picture
    27,825 Moderator on at
    Saudi e-invoicing QR code using X++
    Hi Komal,
     
    As mentioned in my previous post try to convert the string to int and then pass it int2Hex function.
    See if it works.
     
    Thanks,
    Girish S.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 756 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 629 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 514 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans