Payroll Lines
Export payroll line items that have been processed through Ditio’s approval workflow — the result of applying payroll rules to approved time and absence data.
Endpoints
Section titled “Endpoints”| Variant | Route | Description |
|---|---|---|
| Standard | GET /v1/payroll-lines | Processed payroll lines |
| Extended | GET /v1/payroll-lines-extended | Full detail including all metadata |
- Test base:
https://core-api.ditio.dev/reporting - Production base:
https://core-api.ditio.app/reporting - Scope:
reportingapiv1— see Authentication
Query parameters
Section titled “Query parameters”Both endpoints use the shared extraction filter
(FromDateTime/ToDateTime, ModifiedSince/ModifiedBefore, ProjectId,
CompanyId, ChunkLimit, ContinuationToken) — see
Pagination.
Example
Section titled “Example”export DITIO_REPORTING_BASE="https://core-api.ditio.dev/reporting" # test
# Standard payroll linescurl -H "Authorization: Bearer $TOKEN" \ "$DITIO_REPORTING_BASE/v1/payroll-lines?FromDateTime=2026-01-01&ToDateTime=2026-01-31"
# Extended payroll lines (more fields)curl -H "Authorization: Bearer $TOKEN" \ "$DITIO_REPORTING_BASE/v1/payroll-lines-extended?FromDateTime=2026-01-01&ToDateTime=2026-01-31"Pagination
Section titled “Pagination”Results are paginated using ContinuationToken. See
Pagination.
Which payroll surface should I use?
Section titled “Which payroll surface should I use?”- Feeding a payroll run (Visma, Tripletex, custom ERP): the Payroll Export API — it understands approval filters, payroll-type settings, and configured file formats
- Feeding a BI tool or data warehouse: these paginated payroll-lines endpoints
Related
Section titled “Related”- Payroll Export guide — the payroll-run integration path
- Time Registrations — raw time data (pre-payroll)