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

Saudi e-invoicing QR code using X++

(0) ShareShare
ReportReport
Posted on by 139
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.
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at
    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.
  • Verified answer
    Martin Dráb Profile Picture
    240,744 Most Valuable Professional on at
    Let's keep the question of conversion to a hexadecimal string in the other thread, Convert String to hexadecimal using X++.
  • Verified answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    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
     

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans