ZATCA Saudi Phase 2 - HashZatca

ZATCA Saudi Phase 2 - HashZatca

DinePlan_vNext

2.363.9

Here is the document to implement Phase 2 for ZATCA through HashZatca

Pre-Requisite

The team that will integrate with Zatca 2 through HashZatca should get the credentials from the team. The following details should be provided to get the credentials.

CRN
VAT No
Company Name
Street Name
Building Number
PostalCode
Branchname
Business Type
OTP (3 OTP)

To generate the Keys by yourself, here is the video and link for the tool:

https://www.dropbox.com/scl/fi/r6ji7rkszpi6xopxhr9iu/CSRGenerator.zip?rlkey=rox3xz64gqkt9mcneswymng4j&dl=0

image-20250430-154719.png

 

Step 1: Create an Action for Sending the Zatca

image-20250430-143936.png

The action should be added to the rule

image-20250430-144003.png

 

Step 2: To Manually Create the QR Code, here are the actions and automation that should be added.

image-20250430-144215.png
image-20250430-144256.png

The rule should be added to the Automation Command and Action as below

image-20250430-144341.png

 

 

To print Zatca QR in the Receipt, we can use the following tag as below

<BMP>C:\Temp\Zatca2\QrFiles\{TICKET NO}.BMP

Or we can use this to print it Document Template

<Image Source="C:\_Downloads\QRCode\{TICKET NO}.BMP" Stretch="Uniform" />

Step 3: Default Seller

You need to add a default ZatcaSeller with the customer VAT Registration Number as below

 

image-20250430-151657.png
image-20250430-151714.png

SellerIdType → It is noting but the CRN

Here is the Video in Action

DinePlan.Presentation_T9zl7gj1Pk.mp4