You can use FatooraNet to Generate the Invoice Hash.
You can find it in SDK\Lib.Net\Test
You may need to Update the PIH, Certificate and Private Key as well Located in
SDK\Data\Certificates
SDK\Data\PIH
1- if it’s simplifed invoice, please sign the invoice using SDK with this command: fatoora -sign -invoice [name.xml] . this command will automatically generate invoice hash & replace it in the XML.
2- if it’s standard invoice, please generate hash using the command fatoora -generatehash -invoice [name.xml], then replace the generated invoice hash manually wiith the first digestvalue in your standard invoice XML.body.