1. Get your API key
Mail contact@clevis.dev to get your API key.2. Calculate a payroll
Send a POST request with the employee’s salary, the country scheme, and the pay period.3. Read the response
The response includes a summary, itemized perceptions and deductions, employer contributions, and an audit trail.idis a ULID. It is the key you use to fetch this calculation later, and it sorts by time.warningsis always an array, nevernull— empty when there is nothing to flag. A warning never changes an amount. See Warnings.period_basisis emitted even on monthly calculations, so you never branch on periodicity. See Pay periods.recordsays what produced the number: which rule file, which engine build. See Provenance.
4. Pay the net salary
Take thenet_salary from the previous step and pay it out to the employee
via the Payouts API. To test during development, set processing.step_seconds: 0
to run the mock state machine synchronously so the response already has
status: "PAID".
5. Discover available schemes
List all schemes available for a country:Next steps
Authentication
Key format, environments, and rotation without downtime.
Mexico
Explore Mexican payroll schemes, concepts, and inputs.
Batch calculate
Process up to 500 employees in a single request.
Simulate scenarios
Compare salary scenarios without persisting results.
Fortnightly payroll
Settle a fortnight in all six countries.
Stored calculations
Fetch a past payroll exactly as it was answered.