I don't find OTP generation in Sandbox zatca website

Hello,
I don’t find OTP generation webpage.

from where I can generate OTP from sandbox?

FROM The manual PDF. the Onboard New solution is exist.

But i didn’t find (Onboard New Solution in Sandbox)
can you please help?

hello @softwaremohamed94

Look like we can use any number as OTP in Sandbox Developer Portal to get CCSID

But I got the following error in the response when I give the CSR:
{“errors”:[{“code”:“Invalid-OTP”,“message”:“The provided OTP is invalid”}]}

I make the post in the following URL:
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance

I got now Bad Request. I don’t know why.

You need real OTP from fatoora portal to get OTP for Simulation

Please tell me how to sign up to Fatoora Portal? is it allowed for developers to signup their?

Currently my CSR is that
-----BEGIN CERTIFICATE REQUEST-----
MIIB7zCCAZUCAQAwUDELMAkGA1UEBhMCU0ExEzARBgNVBAsMCjEwMDAwMDAwMDUx
FTATBgNVBAoMDFRlc3QgQ29tcGFueTEVMBMGA1UEAwwMVGVzdCBDb21wYW55MFYw
EAYHKoZIzj0CAQYFK4EEAAoDQgAEMS4euEM+70LAEowXKREjDKUzoCnKC8quMI7U
VpItUDNCFksocFuujI1vXuznvtPYQe5MgBDaVbETUIyQLTXTxqCB5TCB4gYJKoZI
hvcNAQkOMYHUMIHRMCQGCSsGAQQBgjcUAgQXDBVQUkVaQVRDQS1Db2RlLVNpZ25p
bmcwgagGA1UdEQSBoDCBnaSBmjCBlzE/MD0GA1UEBAw2MS1HaWdhYnl0ZSBUZWNo
bm9sb2d5IENvLiwgTHRkLnwyLXgueHwzLURlZmF1bHQgc3RyaW5nMR8wHQYKCZIm
iZPyLGQBAQwPMzAwMDAwMDAwMDAwMDAzMQ0wCwYDVQQMDAQxMTAwMRcwFQYDVQQa
DA5KZWRkYWgsIFJpeWFkaDELMAkGA1UEDwwCSVQwCgYIKoZIzj0EAwIDSAAwRQIg
MzSvyAnED6NDnQSrQVltLR/VNWhoz7nLmy1G9DuJMBICIQDdf+YjpRULsntohV7Z
SjKXALmsRYJxRK4NcYKshDUO4g==
-----END CERTIFICATE REQUEST-----

Maybe this help, Simulation is for TaxPayer, and Sandbox Developer Portal for Public Developer

Please why I got bad request in sandbox
MY CSR Data:

-----BEGIN CERTIFICATE REQUEST-----
MIIB7zCCAZUCAQAwUDELMAkGA1UEBhMCU0ExEzARBgNVBAsMCjEwMDAwMDAwMDUx
FTATBgNVBAoMDFRlc3QgQ29tcGFueTEVMBMGA1UEAwwMVGVzdCBDb21wYW55MFYw
EAYHKoZIzj0CAQYFK4EEAAoDQgAEMS4euEM+70LAEowXKREjDKUzoCnKC8quMI7U
VpItUDNCFksocFuujI1vXuznvtPYQe5MgBDaVbETUIyQLTXTxqCB5TCB4gYJKoZI
hvcNAQkOMYHUMIHRMCQGCSsGAQQBgjcUAgQXDBVQUkVaQVRDQS1Db2RlLVNpZ25p
bmcwgagGA1UdEQSBoDCBnaSBmjCBlzE/MD0GA1UEBAw2MS1HaWdhYnl0ZSBUZWNo
bm9sb2d5IENvLiwgTHRkLnwyLXgueHwzLURlZmF1bHQgc3RyaW5nMR8wHQYKCZIm
iZPyLGQBAQwPMzAwMDAwMDAwMDAwMDAzMQ0wCwYDVQQMDAQxMTAwMRcwFQYDVQQa
DA5KZWRkYWgsIFJpeWFkaDELMAkGA1UEDwwCSVQwCgYIKoZIzj0EAwIDSAAwRQIg
MzSvyAnED6NDnQSrQVltLR/VNWhoz7nLmy1G9DuJMBICIQDdf+YjpRULsntohV7Z
SjKXALmsRYJxRK4NcYKshDUO4g==
-----END CERTIFICATE REQUEST-----

I got bad request when send csr (base64) to the zatca compliance api

Hi,
Sandbox will not have OTP generation you can pass 12345 etc it will accept. OTP is in simulation and production instance. I had shared with you link to my video explaing these instance might help you. thanks

Hi,
The URL is of simulation not sandbox. thanks