Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
According to the requirements of KSA ZATCA for VAT invoices we need implement the QR code fields to be encoded in Tag-Length-Value (TLV) .
MS added this feature in 365 F&O , Anyone can help how we can implement in AX 2012 ,
ZATCA Requirments :
"For Electronic Tax Invoices, it is mandatory to generate and print QR code encoded in Base64 format with up to 500 characters that must contain the fields specifiedin the below table as per Annex (2) of the Controls, Requirements, Technical Specifications and Procedural Rules for Implementing the Provisions of the E-InvoicingRegulation.● The QR code fields shall be encoded in Tag-Length-Value (TLV) format with the tag values specified in the “Tag” column of the adjacent table.● The TLV encoding shall be as follows:○ Tag: the tag value as mentioned above stored in one byte[for tags 1 to 5]○ Length: the length of the byte array resulted from the UTF8 encoding of the field value. The length shall be stored in one byte.○ Value: the byte array resulting from the UTF8 encoding of the field value.[for tag 6]● Length: length of hash (SHA256 ) is 32 bytes● Value: the byte array constituting the value of the field● The QR code must also include a Cryptographic Stamp as specified in the next "
We have discussed this issue at length in this post. You can find a code that works fine in dreamz's response but with some required modifications that I mentioned in my response right after it.
I hope this post helps you.
If it helped you in the solution, please confirm that by answering yes to the question Did this answer your question?
Business Applications communities