i already create CSR by zatca SDK then go to developer portal and compliance the CSR and Get CSID(binary token and secret) then i try to sign my xml i got error [Error] Parsing EInvoice Certificate[Error] Populating Signed Signature Properties" im using zatca.Net SDK with asp.net api
Dear @api_pioneers
Thanks for reaching out, Welcome to our community.
To provide comprehensive support as usual, can I kindly ask you to elaborate with the below:
-
What is the SDK version that you are using?
-
What are the exact steps (In details) that you are doing during the signing process for your B2C invoices?
Additionally, Kindly be informed that sandbox environment is just to clarify the onboarding steps, the onboarding process considered as successful only on Simulation or Production Environments.
Thanks,
Ibrahem Daoud.
-
What is the SDK version that you are using?
i use zatca-einvoicing-sdk-DotNet-238-R3.4.3
-
What are the exact steps (In details)? i remove the 3 tags from my XML then i generate the CSR then from sandbox then i add the info of the Digest Value and i got the Populating Signed Signature Properties success
-
Now i try to generate the QR Code using the SDK and add it to the xml and try to validate the invoice by the sand box (Compliance invoice api) but i got this error { “errors”: [ { “code”: “”, “message”: “ZATCA Invoice Compliance API returned error: BadRequest - {\“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\”:\“QRCODE_INVALID\”,\“category\”:\“QRCODE_VALIDATION\”,\“message\”:\“Failed to validate QR code\”,\“status\”:\“ERROR\”}],\“status\”:\“ERROR\”},\“reportingStatus\”:\“NOT_REPORTED\”,\“clearanceStatus\”:null,\“qrSellertStatus\”:null,\“qrBuyertStatus\”:null}” } ] } i try to create the QR Code manual but i got the same error
Dear @api_pioneers
Thanks for your elaboration.
Kindly be informed that the latest version of SDK is 3.4.5 you can find the installation link below, However, our recommendation is to install the latest version and try it again.
SDK link: Zatca.
Thanks,
Ibrahem Daoud.