Hi engineers,
I’m using ZATCA .net SDK in my .net app
I face some errors in this signing function
IEInvoiceSigner invoiceSigner= new EInvoiceSigner();
SignResult signResult= invoiceSigner.SignDocument(xmlDoc, csrResult.Csr, csrResult.PrivateKey)
The main error is:
“[Error] Parsing EInvoice Certificate[Error] Populating Signed Signature Properties[Error] Generating EInvoice QR Code”
and when I check for the steps errors it come like these:
Step[3] Parse Certificate - Exception: “Cannot find the requested object”
Step[6] Populate Signed Signature Properties - Exception: “Object reference not set to an instance of an object”
Step[9] Generate EInvoice QR - Exception: “Invalid Certificate”;