DecentroHR
✦ Developers

The API the AI runs on is the one you get.

A versioned REST API, a fully-typed SDK and signed webhooks — provision a client org, run a payroll cycle and get a callback when it settles. Embed payroll in an afternoon.

run-payroll.tsDecentroHR
import { DecentroHR } from "@decentrohr/sdk";

const dhr = new DecentroHR({ baseUrl, token });

// create → calculate → approve → finalize
const run = await dhr.payroll.createRun({ companyId, periodStart, periodEnd });
await dhr.payroll.calculate({ runId: run.id });
await dhr.payroll.finalize({ runId: run.id }, { idempotencyKey: `finalize:${run.id}` });
// ⤷ signed webhook — payroll.run.completed

Embed payroll in an afternoon.

Get a sandbox key, call the API, ship. The same contract the AI runs on.