What's the next step?

Hi, Hope everyone is doing well here.

So, I wanted to know from the partners who ZATCA onboards about the next step in my development.

The following are the functionalities that are working for me:

  1. Generate CSR
  2. Enter VAT number, VAT %, and Seller name for my system
  3. Send B2C invoice, get response (and error if any error occurs), save it as PDF (including QR code as per requirement)
  4. Send B2B invoice, get response (and error if any error occurs), save it as PDF (including QR code as per requirement)
  5. B2C and B2B invoice PDF contains invoice.xml attachment
  6. B2B is passing the web-based validation on the ZATCA Developer Portal

The following functionality is not working:

  1. B2C Validation fails with the error: wrong signature value.

My assumption is the difference between the certificate as the app has been in development for quite some time, so now I can move to production, where I will be onboarded, which will give me a new CSR and Certificate.

I have also used CLI to validate my B2C invoice and get the following response:

I appreciate your help regarding this issue.
Thank you in advance!

Please specify your operating system version. It seems that the secp256k1 curve is not supported due to an outdated OS version

Dear @Affan ,

If the certificates are different (the one inside the XML & the one that has been parsed to the SDK), then yes, it’s most likely the reason for receiving such error from the SDK validation.

Regards,

Yes. I have checked the certificate values in the signed XML and the .cer file in the updated version of jar.

I will retry with updated certificate and share the update.

Thank you!

I’m using Win 11 (development personal laptop).
JDK 11.