Request an API key
Contact the commercial or partnerships team. Sandbox keys use environment=test and the partner_calculations module.
Integrate Mexican fiscal calculation with API-key auth, national catalogs and AlloraHR fiscal engines.
Contact the commercial or partnerships team. Sandbox keys use environment=test and the partner_calculations module.
Send Authorization: Bearer al_plt_… on every request. No X-Company-Id is required. Calculation POSTs use scope platform:read.
Start with POST /api/v1/partner/calculate/mx/payroll or GET /api/v1/partner/version to confirm contract_version=v1.
The limit is 120 requests per minute per key. On 429, wait and retry with backoff.
curl -sS https://api.allorahr.com/api/v1/partner/calculate/mx/payroll \
-H "Authorization: Bearer al_plt_…" \
-H "Content-Type: application/json" \
-d '{
"gross_salary": 45000,
"period": "monthly",
"year": 2026,
"worker_type": "employee",
"state": "JAL"
}'partner_calculationsplatform:read120 req/mincontract_version=v1The example host is illustrative. Base URL and environment (sandbox or production) are confirmed when the key is issued. Filtered OpenAPI: GET /api/partner/openapi — same Bearer auth, no X-Company-Id.