{“validationResults”:{“infoMessages”:[{“type”:“INFO”,“code”:“XSD_ZATCA_VALID”,“category”:“XSD validation”,“message”:“Complied with UBL 2.1 standards in line with ZATCA specifications”,“status”:“PASS”}],“warningMessages”:,“errorMessages”:[{“type”:“ERROR”,“code”:“invalid-invoice-hash”,“category”:“INVOICE_HASHING_ERRORS”,“message”:“The invoice hash API body does not match the (calculated) Hash of the XML”,“status”:“ERROR”}],“status”:“ERROR”},“reportingStatus”:null,“clearanceStatus”:“NOT_CLEARED”,“qrSellertStatus”:null,“qrBuyertStatus”:null}
Dear @Niloy ,
Thank you for reaching out.
It appears that you are currently undergoing compliance checks to complete the onboarding.
-
Generate the hash by using this command:- fatoora -generateHash -invoice [invoice path] , then you must replace it with the first Digestvalue tag in the XML file.
-
Generate the JSON file for the invoice using fatoora -invoiceRequest -invoice [invoice path]
-
After you prepared your invoices, you need to send the encoded invoices (JSON file) to one of the following APIs:
- For compliance checks in the Production Environment, use this API URL:- https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance/invoices
- For compliance checks in the Simulation Environment, use this API URL:- https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance/invoices
For any Further support please don’t hesitate to reach out.
Thanks