Validation using .NET SDK

when validating the invoice it keeps getting this result using .NET Sdk using test certificate and privatekey. When validating using [fatooranet] it gets diff result.

.net result:

Initialization Step (Simplified EInvoice) | (Status=True)
Validate XSD | (Status=True)
Validate EN Schematrons | (Status=False) | Error=[Error] occurred in validating Schematrons. |
Validate KSA Schematrons | (Status=False) | Error=[Error] occurred in validating Schematrons. |

Generate EInvoice Hash | (Status=True)
Parse Certificate | (Status=True)
Generate EInvoice QR | (Status=True)
Validate QR Code | (Status=True)
Validate EInvoice Signature | (Status=True)
Validate EInvoice PIH | (Status=True)

fatooranet result:

Any help??

thanks

Dear @aalqouzi

Thanks for reaching out, Welcome to our community.

To provide comprehensive support as usual, can I kindly ask you to elaborate with the below:

  1. What is the SDK version that you are using?
  2. Did you successfully integrated with ZATCA and received your PCSID?
  3. What are the exact steps (In details) that you are doing during the signing process for your B2C invoices?

Thanks,
Ibrahem Daoud.

thanks for reply.

  1. What is the SDK version that you are using?
    .net sdk zatca-einvoicing-sdk-DotNet-238-R3.4.5
  2. Did you successfully integrated with ZATCA and received your PCSID?
    I used the sandbox environment.
  3. What are the exact steps (In details) that you are doing during the signing process for your B2C invoices?
    1. generated the invoice xml.
    2. signed the invoice using SignDocument method from the sdk using the provided test cert and pk.
  • reported the invoice using sandbox api and it was successful.
  • tested the xml file using [ Zatca ] test page and it was valid.
  • validating is failed using sdk ValidateEInvoice method or fatooranet cli

Dear @aalqouzi

Thanks for your collaboration,

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.

Kindly follow the same steps during the Simulation environment to ensure the full understanding of the correct steps for a successful integration with ZATCA before proceeding to Production Env, and If you faced and issues or Misunderstanding of any steps through the onboarding process; do not hesitate to reach out.

Thanks,
Ibrahem Daoud.