1- Create Cert and Privet Key By using GenerateCSR.
2- Take CSR and Convert it to Base64 With OTP 123345 (in Simulation ) to Get Binary Key and Secret
3-When i Sign The Invoice it Request For Cert. what Cert it Need 1- Binary Token after Decode From Base 64 or Generated Cert after Convert to base64 ?
Dear @aymannagy
Thanks for reaching out,
You need to decode the binarySecurityToken base64, which refire to the CCSID, after that you need to complete the compliance checks based on the invoiceType in your config file, after completing all the compliance checks you will generate the PCSID, and you will decode the binarySecurityToken from your PCSID base64 and will use it to send your actual invoices.
For any further concerns, please do not hesitate to reach out our support team via the below email.
SP email: sp_support@zatca.gov.sa
Thanks,
Ibrahem Daoud.
Dear @aymannagy
After generating the binary security token and secret key , you have to base64 decode the binary security token and the result is your X509Certificate which is used for signing the invoice with private key .
Hello Mr. idaoud, I am sorry for writing my problem here, could you please take a look for my problem:
Dear @hadarasoft kindly reach out to our support team via the below email.
sp_support@zatca.gov.sa
E-invoicing@zatca.gov.sa