Invoices with correct invoice hash failing with hash error on simulation

{
“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
}

i used Fatoora -invoicerequest -invoice Standard_Invoice.xml to get Invoice Hash

{“invoiceHash”:“f+0WCqnPkInI+eL9G3LAry12fTPf+toC9UX07F4fI+s=”,“uuid”:“8d487816-70b8-4ade-a618-9d620b73814a”,“invoice”:“PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPEludm9pY2UgeG1sbnM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkludm9pY2UtMiIgeG1sbnM6Y2FjPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpDb21tb25BZ2dyZWdhdGVDb21wb25lbnRzLTIiIHhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiIHhtbG5zOmV4dD0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uRXh0ZW5zaW9uQ29tcG9uZW50cy0yIj4KICA8ZXh0OlVCTEV4dGVuc2lvbnM+CiAgICA8ZXh0OlVCTEV4dGVuc2lvbj4KICAgICAgPGV4dDpFeHRlbnNpb25VUkk+dX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EYXRhPgogICAgICAgICAgICAgIDwvZHM6S2V5SW5mbz4KICAgICAgICAgICAgICA8ZHM6T2JqZWN0PgogICAgICAgICAgICAgICAgPHhhZGVzOlF1YWxpZnlpbmdQcm9wZXJ0aWVzIHhtbG5zOnhhZGVzPSJodHRwOi8vdXJpLmV0c2kub3JnLzAxOTAzL3YxLjMuMiMiIFRhcmdldD0ic2lnbmF0dXJlIj4KICAgICAgICAgICAgICAgICAgPHhhZGVzOlNpZ25lZFByb3BlcnRpZXMgSWQ9InhhZGVzU2lnbmVkUHJvcGVydGllcyI+CiAgICAgICAgICAgICAgICAgICAgPHhhZGVzOlNpZ25lZFNpZ25hdHVyZVByb3BlcnRpZXM+CiAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmluZ1RpbWU+MjAyNC0wMS0xNFQxMDoyMTo0MDwveGFkZXM6U2lnbmluZ1RpbWU+CiAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmluZ0NlcnRpZmljYXRlPgogICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6Q2VydD4KICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6Q2VydERpZ2VzdD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiIC8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0VmFsdWU+WkRNd01tSTBNVEUxTnpWak9UVTJOVGs0WXpWbE9EaGhZbUkwT0RVMk5EVXlOVFUyWVRWaFlqaGhNREZtTjJGallqazFZVEEyT1dRME5qWTJNalE0TlE9PTwvZHM6RGlnZXN0VmFsdWU+CiAgICAgICAgICAgICAgICAgICAgICAgICAgPC94YWRlczpDZXJ0RGlnZXN0PgogICAgICAgICAgICAgICAgICAgICAgICAgIDx4YWRlczpJc3N1ZXJTZXJpYWw+CiAgICA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vdW5kaW5nQW1vdW50IGN1cnJlbmN5SUQ9IlNBUiI+NC42MDwvY2JjOlJvdW5kaW5nQW1vdW50PgogICAgPC9jYWM6VGF4VG90YWw+CiAgICA8Y2FjOkl0ZW0+CiAgICAgIDxjYmM6TmFtZT5wZW5jZWw8L2NiYzpOYW1lPgogICAgICA8Y2FjOkNsYXNzaWZpZWRUYXhDYXRlZ29yeT4KICAgICAgICA8Y2JjOklEPlM8L2NiYzpJRD4KICAgICAgICA8Y2JjOlBlcmNlbnQ+MTUuMDA8L2NiYzpQZXJjZW50PgogICAgICAgIDxjYWM6VGF4U2NoZW1lPgogICAgICAgICAgPGNiYzpJRD5WQVQ8L2NiYzpJRD4KICAgICAgICA8L2NhYzpUYXhTY2hlbWU+CiAgICAgIDwvY2FjOkNsYXNzaWZpZWRUYXhDYXRlZ29yeT4KICAgIDwvY2FjOkl0ZW0+CiAgICA8Y2FjOlByaWNlPgogICAgICA8Y2JjOlByaWNlQW1vdW50IGN1cnJlbmN5SUQ9IlNBUiI+Mi4wMDwvY2JjOlByaWNlQW1vdW50PgogICAgICA8Y2FjOkFsbG93YW5jZUNoYXJnZT4KICAgICAgICA8Y2JjOkNoYXJnZUluZGljYXRvcj50cnVlPC9jYmM6Q2hhcmdlSW5kaWNhdG9yPgogICAgICAgIDxjYmM6QWxsb3dhbmNlQ2hhcmdlUmVhc29uPmRpc2NvdW50PC9jYmM6QWxsb3dhbmNlQ2hhcmdlUmVhc29uPgogICAgICAgIDxjYmM6QW1vdW50IGN1cnJlbmN5SUQ9IlNBUiI+MC4wMDwvY2JjOkFtb3VudD4KICAgICAgPC9jYWM6QWxsb3dhbmNlQ2hhcmdlPgogICAgPC9jYWM6UHJpY2U+CiAgPC9jYWM6SW52b2ljZUxpbmU+CjwvSW52b2ljZT4=”}

my request

Dear @mohmed58264

Thanks for reaching out, and welcome in our community.

To ensure a comprehensive support please provide the below info:
1- Are you using our SDK tool, if yes which SDK are you using Java or .Net?
2- Are you in Production or Simulation environment?
3- did you successfully inboarded?

Thanks, and welcome again in our community.

Ibrahem Daoud.

1- all them Fatoora -invoicerequest -invoice and .Net and i got same result
2-Simulation (https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance/invoices)
3- yes

Dear @mohmed58264

It appears that you are currently undergoing compliance checks to complete the onboarding. Please try generating the hash for your invoice using the following command for the Java-SDK: fatoora -generateHash -invoice “invoiceName.xml”
Do this before executing the invoiceRequest command.

If it’s pass let me know, if not, kindly share your detailed request and response to the email below:
sp_support@zatca.gov.sa

For any further support, please do not hesitate to reach out.

Thank you.

its always return below error when i use .Net sdk

{“IsValid”:false,“ErrorMessage”:“[Error] Generating EInvoice Hash”,“Hash”:null,“Exception”:{“ClassName”:“System.IO.FileNotFoundException”,“Message”:“Could not load file or assembly ‘System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The system cannot find the file specified.”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" at Zatca.EInvoice.SDK.CoR.Actions.GenerateHashMiddleware.CreateHash(String value)\r\n at Zatca.EInvoice.SDK.CoR.Actions.GenerateHashMiddleware.Execute(EInvoiceData eInvoiceData) in C:\Users\alaa.fatouh\source\repos\ZatcaSDK\Source\Code\Zatca.EInvoice.SDK\CoR\Actions\GenerateHashMiddleware.cs:line 27",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:null,“HResult”:-2147024894,“Source”:“Zatca.EInvoice.SDK”,“WatsonBuckets”:null,“FileNotFound_FileName”:“System.Security.Cryptography.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”,“FileNotFound_FusionLog”:null}}

Morning @mohmed58264

Have you tried what I mentioned yesterday? to generate the hash before the invoiceRequest command?

thanks, but this error when i am trying to get Hash for invoice

Dear @mohmed58264

Can I kindly ask you to send your concerns to the SP email?

to provide comprehensive support.

Thanks.
Ibrahem Daoud.

thank you very mutch

@mohmed58264 did you solved this issue ? Thanks in advance.

Hi… yes i did… the problem was in my c# code … if you use c# sdk i will send the code for you

@mohmed58264 solved with SDK version 3.3.3 ?

@mohmed58264 ,yes i m using C# SDK.

Thank you… yes version 3.3.3… send your email please to send the code …and if you need to explain the code tell me…Thank you

anusv@calmove.com , can you please send the code ?

ok… i’m send the code

@mohmed58264 Thank you. Let me check .

can you please send the code to my email: dinahnemah@gmail.com?

can you please send the code to my email: dinahnemah@gmail.com?