---
title: "POST /api/tenants/{tenantId}/payruns/jobs"
method: POST
path: "/api/tenants/{tenantId}/payruns/jobs"
tags: ["Payrun jobs"]
---

# POST /api/tenants/{tenantId}/payruns/jobs

`POST /api/tenants/{tenantId}/payruns/jobs`

## Path parameters

- `tenantId` integer, required

## Request body

- PayrunJobInvocation
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `payrunName` string, required
  - `userIdentifier` string, required
  - `payrunJobId` integer
  - `parentJobId` integer, nullable
  - `name` string, required
  - `owner` string, nullable
  - `retroJobs` RetroPayrunJob[], nullable
    - `id` integer
    - `status` 'Active' | 'Inactive'
    - `created` string, date-time
    - `updated` string, date-time
    - `scheduleDate` string, date-time, required
    - `resultTags` string[], nullable
  - `tags` string[], nullable
  - `forecast` string, nullable
  - `retroPayMode` 'ValueChange' | 'None'
  - `jobResult` 'Full' | 'Incremental'
  - `jobStatus` 'Draft' | 'Release' | 'Process' | 'Complete' | 'Forecast' | 'Abort' | 'Cancel'
  - `completedJobStatus` 'Draft' | 'Release' | 'Process' | 'Complete' | 'Forecast' | 'Abort' | 'Cancel'
  - `periodStart` string, date-time, required
  - `evaluationDate` string, date-time, nullable
  - `reason` string, required
  - `storeEmptyResults` boolean
  - `logLevel` 'Verbose' | 'Debug' | 'Information' | 'Warning' | 'Error' | 'Fatal'
  - `employeeIdentifiers` string[], nullable
  - `attributes` object, nullable

## Response `202`

Accepted

## Other responses

- `404` — Not Found
- `422` — Unprocessable Content
- `429` — Too Many Requests
- `503` — Service Unavailable

---

[API](https://skmtc.net/payroll-engine/apis/payroll-engine-backend-api-v1.md) · [All operations](https://skmtc.net/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payroll-engine/payroll-engine-backend-api-v1/revisions/34e260deaa2c/schema)
