# \[Error\] Generating EInvoice Hash

**URL:** <https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956>\
**Category:** Signing process\
**Created:** [September 11, 2024, 1:37pm UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956 "2024-09-11T13:37:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mohamed](https://zatca1.discourse.group/u/mohamed)\
**Post date:** [September 11, 2024, 1:37pm UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/1 "2024-09-11T13:37:09Z")

</div>

I am usuin sdk 3.3.4 and in signing invoice process give me this results

OPERATION : Signing E-Invoice Operation at 12:00:05 PM

* * *

```
     CURRENT STEP : Validate Sign Inputs at 12:00:05 PM

```

* * *

```
     RESULT : Successeded at 12:00:05 PM

```

* * *

```
     CURRENT STEP : Generate EInvoice Hash at 12:00:05 PM

```

* * *

```
     RESULT : Failed at 12:00:05 PM

```

* * *

```
     FAILED REASON : [Error] Generating EInvoice Hash at 12:00:05 PM

```

* * *

```
     CURRENT STEP : Generate Signature at 12:00:05 PM

```

* * *

```
     RESULT : Failed at 12:00:05 PM

```

* * *

```
     FAILED REASON : [Error] Generating EInvoice Signature at 12:00:05 PM

```

* * *

```
     CURRENT STEP : Parse Certificate at 12:00:05 PM

```

* * *

```
     RESULT : MIIEGjCCA8GgAwIBAgITYwAAGC/lmXiCgR4wXgABAAAYLzAKBggqhkjOPQQDAjBiMRUwEwYKCZIm

```

iZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRn  
YXp0MRswGQYDVQQDExJQRVpFSU5WT0lDRVNDQTEtQ0EwHhcNMjQwMjIxMTQyOTE2WhcNMjYwMjIx  
MTQzOTE2WjBYMQswCQYDVQQGEwJTQTEZMBcGA1UEChMQQUwgS0FGRkFSWSBHUk9VUDETMBEGA1UE  
CxM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Roj8HSrR4cilo3OAiBOe3qn  
3/9S8lp7btgLc/52QIvMc+FEc9vuqQl7LdQ6fg== at 12:00:05 PM

* * *

```
     CURRENT STEP : Hash Certificate at 12:00:05 PM

```

* * *

```
     RESULT : YWUyMjY1MzQwN2I3ZDU2ZTFmNGY5YjNhOWI3ZDNiN2NhZDhkNjhkMjc4NWUxNDk1YjkzMzZlYjBhNzY2YTllMg== at 12:00:05 PM

```

* * *

```
     CURRENT STEP : Transform Xml Result at 12:00:05 PM

```

* * *

```
     RESULT : Failed at 12:00:05 PM

```

* * *

```
     FAILED REASON : [Error] Transforming Xml Result at 12:00:05 PM

```

* * *

```
     CURRENT STEP : Populate Signed Signature Properties at 12:00:06 PM

```

* * *

```
     RESULT : Failed at 12:00:06 PM

```

* * *

```
     FAILED REASON : [Error] Populating Signed Signature Properties at 12:00:06 PM

```

* * *

```
     CURRENT STEP : Populate UBL Extensions at 12:00:06 PM

```

* * *

```
     RESULT : Failed at 12:00:06 PM

```

* * *

```
     FAILED REASON : [Error] Populating UBL Extensions at 12:00:06 PM

```

* * *

```
     CURRENT STEP : Generate EInvoice QR at 12:00:06 PM

```

* * *

```
     RESULT : Failed at 12:00:06 PM

```

* * *

```
     FAILED REASON : [Error] Generating EInvoice QR Code at 12:00:06 PM

```

* * *

```
     CURRENT STEP : Finalize Sign Document at 12:00:06 PM

```

* * *

```
     RESULT : Failed at 12:00:06 PM

```

* * *

```
     FAILED REASON : [Error] Finalizing Sign Document at 12:00:06 PM

```

* * *

FINAL RESULT : Failed at 12:00:06 PM

* * *

FAILED REASON : [Error] Generating EInvoice Hash[Error] Generating EInvoice Signature[Error] Transforming Xml Result[Error] Populating Signed Signature Properties[Error] Populating UBL Extensions[Error] Generating EInvoice QR Code[Error] Finalizing Sign Document at 12:00:06 PM

---

<div class="post-metadata">

**Author:** ![idaoud](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@idaoud](https://zatca1.discourse.group/u/idaoud)\
**Post date:** [September 11, 2024, 2:03pm UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/2 "2024-09-11T14:03:23Z")

</div>

Dear @mohamed

Thanks for reaching out, and welcome at our community.

Can I kindly ask you to elaborate more, with the below questions:

1- Are you using .Net SDK or Java?  
2- What are the steps that you have done in order to sign your invoice?  
3- What Is the API that you are using?

Thanks,  
Ibrahem Daoud.

---

<div class="post-metadata">

**Author:** ![mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mohamed](https://zatca1.discourse.group/u/mohamed)\
**Post date:** [September 15, 2024, 9:23am UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/3 "2024-09-15T09:23:47Z")

</div>

I am using dot net core 8.0 sdk and make api service using .net core 8.0 to get invoices data and reporting them.

---

<div class="post-metadata">

**Author:** ![mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mohamed](https://zatca1.discourse.group/u/mohamed)\
**Post date:** [September 15, 2024, 9:24am UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/4 "2024-09-15T09:24:20Z")

</div>

1 - Are you using .Net SDK or Java? .net sdk  
2- What are the steps that you have done in order to sign your invoice? make ubl xml and go to signing invoice using certifycation and private key,then it failed in step 2 as i said before  
3- What Is the API that you are using? more clarification please

---

<div class="post-metadata">

**Author:** ![anusv](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@anusv](https://zatca1.discourse.group/u/anusv)\
**Post date:** [January 21, 2025, 7:49am UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/5 "2025-01-21T07:49:51Z")

</div>

@mohamed hi,  
Did you got the solution for this issue ? I am facing this issue while hosting the .Net core 8 application in IIS and testing it .

---

<div class="post-metadata">

**Author:** ![mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mohamed](https://zatca1.discourse.group/u/mohamed)\
**Post date:** [January 21, 2025, 10:44am UTC](https://zatca1.discourse.group/t/error-generating-einvoice-hash/2956/6 "2025-01-21T10:44:36Z")

</div>

give me an error detail please.  
keep in your mind i have problem in using sdk not in hosting my solution.
