Invalid authentication certificate in production

I am getting the following error while clearing the invoices in production , its worked up to yesterday.

“errorMessages”:[{“type”:“ERROR”,“code”:“Authentication-Errors”,“category”:“Invalid-Authentication-Certificate”,“message”:“”,“status”:“ERROR”}

Dear @mohan_manakkal,

Can you elaborate more where this error appears to you and which API you use to ensure comprehensive support

Thanks

I am using production api for clearing and reporting the invoices.
Please find the full error response:
{“validationResults”:{“infoMessages”:,“warningMessages”:,“errorMessages”:[{“type”:“ERROR”,“code”:“Authentication-Errors”,“category”:“Invalid-Authentication-Certificate”,“message”:“”,“status”:“ERROR”}],“status”:“ERROR”},“clearanceStatus”:“NOT_CLEARED”,“clearedInvoice”:null}.
Before the client submitted 20000 invoices succesfully using the same certificate.

Dear @mohan_manakkal

Thanks for reaching out,

The error you are receiving is related to authentication, please double check the below and let me know if it’s work:

1- After you received PCSID from (https://gw-fatoora.zatca.gov.sa/e-invoicing/core/production/csids) end point it will contain (binarySecurityToken, and the secret).

2- In the Clerance API (https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/clearance/single) ensure that you are using in Authorization as (Basic Auth) as Auth Type, use the binarySecurityToken from step 1 as userName and the secret as password.

After doing these steps it should work.

If not, kindly share the details via below email to our support team to schedule meeting if needed,

SP mail: sp_support@zatca.gov.sa

Thanks,
Ibrahem Daoud.

Thank you for your reply,already this client submitted lot of invoices with the same certificate and application.

I had shared the details in sp_support email.’
Thanks.

Dear @mohan_manakkal

Thanks for reaching out,

We will response ASAP.

Thanks,
Ibrahem Daoud.

1 Like

Please ignore this case, since that clients vat number is closed.
Thanks for the support

1 Like