Skip to content

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.

VariantRouteDescription
StandardGET /v1/payroll-linesProcessed payroll lines
ExtendedGET /v1/payroll-lines-extendedFull detail including all metadata
  • Test base: https://core-api.ditio.dev/reporting
  • Production base: https://core-api.ditio.app/reporting
  • Scope: reportingapiv1 — see Authentication

Both endpoints use the shared extraction filter (FromDateTime/ToDateTime, ModifiedSince/ModifiedBefore, ProjectId, CompanyId, ChunkLimit, ContinuationToken) — see Pagination.

Terminal window
export DITIO_REPORTING_BASE="https://core-api.ditio.dev/reporting" # test
# Standard payroll lines
curl -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"

Results are paginated using ContinuationToken. See Pagination.

  • 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