Create the sandbox tenant
Until US-EP-12 (self-service) ships, sandbox tenants are provisioned by the ERPly Pro team. Request one via /docs/support and include:
| Field | Example value |
|---|---|
| Sandbox RNC | 131000001 |
| Trade name | Demo S.R.L. |
| Webhook URL | https://midemo.example/erply-pro/webhook |
Confirm the creation
curl https://sandbox.api.erply.pro/v1/company \
-H "Authorization: Bearer $ERPLYPRO_API_KEY"
Expected response:
{
"tenantId": "demo-rnc-131000001",
"rnc": "131000001",
"status": "active",
"environment": "sandbox"
}
Configure the webhook
Upload the secret that ERPly Pro will use to sign webhooks (HMAC-SHA256):
curl -X PUT https://sandbox.api.erply.pro/v1/webhooks/secret \
-H "Authorization: Bearer $ERPLYPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secret": "ut-secret-256-bit-base64"}'
Once you reach this point you are ready to issue e-CFs. Continue to step 3.