Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Documentation

    Guides, API reference and events for Payroll.

    On this page

    Rules shared by every R&D Copilot API are in the Developer guide.

    Get started

    • Overview: Integrate payroll inputs, run approvals, payment reconciliation and filing records.
    • Quickstart: Read a test pay run, calculate it and verify the resulting revision.
    • Authentication: Get client credentials, request a token and call the Payroll API with it.
    • Sandbox and live: Build and test against a test company, then move the same calls to your live company.
    • Go-live checklist: Reconcile a test run before using live payroll data.

    Concepts

    Guides

    Reference

    • Errors: The error object of the Payroll API and the codes that say what went wrong.
    • Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
    • Pagination: Lists come in pages. Follow the cursor until it is empty.
    • Limits: The limits of the Payroll API, with their values and what happens over them.
    • Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
    • Changelog: Track changes to the Payroll API contract.

    API reference

    • Employees: Read employees and update their draft payment details.
    • Inputs: Read and write the inputs that feed each pay run.
    • Pay runs: Read, calculate, reopen and approve pay runs.
    • Payslips: Read employee amounts and year-to-date totals.
    • Payments: Read outstanding payments and record bank outcomes.
    • Returns: Record and read accepted monthly filing receipts.
    • Webhooks: Read events, register subscriptions and replay deliveries.
    • Operations: A request that changes data is accepted once and answered with an operation result you can read again.

    Events

    • Event envelope: Every Payroll event has the same envelope; only data changes with the type of the event.
    • Event catalogue: Subscribe to pay run and payment changes.
    • Subscriptions: Register an HTTPS endpoint and Payroll sends your events to it, each one signed.
    • Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
    • Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
    • Replay: Send a parked event again once your endpoint is ready to take it.