{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-openapi.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"openapi.yaml","dynamicMarkdocComponents":[],"baseSlug":"/openapi","seo":{"title":"Payroll","description":"The Payroll endpoints implement a **bi-directional flow**\nbetween an external payroll system and Dyflexis:\n\n- **Payroll → Dyflexis (employee sync).** The payroll system\n  is typically the source of truth for the workforce.\n  Employee and contract data can be synced from the payroll\n  system into Dyflexis so that scheduling, time-tracking,\n  and absence administration all operate on the same\n  employee master that payroll uses. The endpoints for this\n  direction live under\n  [**Employees**](#tag/Employees) and\n  [**Employment contracts**](#tag/Employment-contracts).\n- **Dyflexis → Payroll (confirmed hours).** Once a payroll\n  period closes in Dyflexis, Dyflexis makes **all confirmed\n  hour information** for that period, aggregated per day\n  and per department, available for the payroll system to\n  pick up and process. Each finalised period is published\n  on a queue you poll and acknowledge, so no period is\n  missed or processed twice.\n\nConcretely, this resource exposes hours aggregated per day\nand per department for a payroll period, the queue of\nfinalised payroll periods waiting to be picked up by an\nexternal payroll system, and the wage components that\nperiods produce.\n\nTypical export flow (Dyflexis → Payroll):\n\n1. Poll `GET /api2/payroll/queue/from/{lastQueueId}` for new items.\n2. For each item, fetch the period hours from\n   `GET /api/payroll/v3/hours-per-day/...` or\n   `GET /api/payroll/v3/hours-per-department/...`.\n3. Acknowledge the item with\n   `POST /api2/payroll/queue/{queueId}/status`.\n","keywords":["Dyflexis","workforce management API","staff scheduling API","time clock API","payroll API","staff capacity API","absence management API","OpenAPI 3.1"],"siteUrl":"https://beta-developer.dyflexis.com","lang":"en-US","llmstxt":{"sections":[{"title":"API reference","description":"OpenAPI 3.1 reference for every Dyflexis endpoint.","includeFiles":["openapi.yaml","paths/**","components/**"],"excludeFiles":[]},{"title":"Guides","description":"Onboarding, quickstart, integration patterns, webhook receiver contract, and the partner process.","includeFiles":["index.md","guides/**"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"itemId":"payroll","disableAutoScroll":true,"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"beta-developer.dyflexis.com","port":4000,"ipAddress":"216.73.217.169"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"master"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/openapi/payroll","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}