Download OpenAPI specification:
The operations of the payroll package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.
Contracts and payroll profiles, pay components and salary structures, tax profiles, pay runs and payslips, loans, claims, final settlements, the payroll configuration and imports.
Filtered by employee, status (including the computed ended), wage type, pay frequency, department (on today) and end date range; sorted by an allow-listed field. HR only; an administrator without HR gets 403.
| employeeId | string <uuid> Only the contracts of this employee. |
| status | string Enum: "draft" "active" "ended" "terminated" Only contracts with this status as readers see it. |
| wageType | string Enum: "monthly" "daily" "hourly" Only contracts with this wage type. |
| payFrequency | string Enum: "monthly" "semiMonthly" "weekly" Only contracts paid this often. |
| departmentId | string <uuid> Only contracts of employees in this department today. |
| endDateFrom | string <date> Only contracts ending on or after this day. |
| endDateTo | string <date> Only contracts ending on or before this day. |
| sort | string Enum: "startDate" "-startDate" "endDate" "-endDate" "name" "-name" "employee" "-employee" The order; |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}
]
}Always a draft. It lies within the employment (422 on startDate before the entry date or after a scheduled exit), an employee has at most one draft (422 on employeeId), the notice period defaults to the configuration. Amounts are integers of minor units: a decimal amount answers 400. An hourly wage needs attendance data (422 on wageType). HR never creates their own contract (403).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| employeeId required | string <uuid> (Uuid) |
| name required | string [ 1 .. 190 ] characters |
| startDate required | string <date> (Date) |
Date (string) or null | |
WageType (string) or null | |
MinorUnits (integer) or null | |
| payFrequency | string (PayFrequency) Enum: "monthly" "semiMonthly" "weekly" |
Uuid (string) or null | |
Uuid (string) or null | |
| leaveDeductionBasis | string (LeaveDeductionBasis) Enum: "dailyRate" "fixedPerDay" |
MinorUnits (integer) or null | |
| deductLeaveFromBasicPay | boolean |
| noticePeriodDays | integer [ 0 .. 730 ] |
| note | string or null <= 5000 characters |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "wageType": "monthly",
- "wageAmount": 0,
- "payFrequency": "monthly",
- "taxProfileId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "salaryStructureId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": 0,
- "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}The employee concerned and HR read it; anybody else gets 404. status is ended for an active contract whose end date lies before today; the note is HR-internal and left out for the employee.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}Only the sent fields change. The wage terms of an active contract change only while it has no confirmed payslip; a raise after that is a new contract (409). Overlaps with another contract that is not a draft answer 422 on startDate. HR never changes their own contract (403).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| name | string [ 1 .. 190 ] characters |
| startDate | string <date> (Date) |
Date (string) or null | |
WageType (string) or null | |
MinorUnits (integer) or null | |
| payFrequency | string (PayFrequency) Enum: "monthly" "semiMonthly" "weekly" |
Uuid (string) or null | |
Uuid (string) or null | |
| leaveDeductionBasis | string (LeaveDeductionBasis) Enum: "dailyRate" "fixedPerDay" |
MinorUnits (integer) or null | |
| deductLeaveFromBasicPay | boolean |
| noticePeriodDays | integer [ 0 .. 730 ] |
| note | string or null <= 5000 characters |
{- "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "wageType": "monthly",
- "wageAmount": 0,
- "payFrequency": "monthly",
- "taxProfileId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "salaryStructureId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": 0,
- "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}Only drafts are deleted; a contract that is not a draft or has a payslip answers 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Needs complete wage terms (422 on wageAmount or wageType) and no overlap with another contract that is not a draft (422 on startDate). Publishes ContractActivated; the employee record does not change.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}With an end date not before the end of the latest confirmed payslip period (422 on endDate) and a reason. Publishes ContractTerminated.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| endDate required | string <date> (Date) |
| reason required | string [ 1 .. 500 ] characters |
{- "endDate": "2026-10-01",
- "reason": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}Each contract is validated on its own; the answer lists the result per contract, with the violations of those that did not change.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| action required | string Enum: "activate" "terminate" |
| contractIds required | Array of strings <uuid> (Uuid) [ 1 .. 100 ] items [ items <uuid > ] |
| endDate | string <date> (Date) |
| reason | string [ 1 .. 500 ] characters |
{- "action": "activate",
- "contractIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "endDate": "2026-10-01",
- "reason": "string"
}{- "items": [
- {
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "changed": true,
- "status": "draft",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
]
}
]
}A file uploaded with the purpose contractDocument; at most 5 per contract (422 on fileId).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| fileId required | string <uuid> (Uuid) |
{- "fileId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}The employee concerned and HR; anybody else gets 404.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| fileId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A document of the contract. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Deletes the stored file.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A contract of the company. |
| fileId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A document of the contract. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}For the payroll tab of the employee record: the employee and HR; anybody else gets 404. Newest first.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "name": "string",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "status": "draft",
- "statusLabel": "string",
- "wageType": "monthly",
- "wage": {
- "amount": 0,
- "currency": "str"
}, - "payFrequency": "monthly",
- "taxProfile": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "salaryStructure": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "leaveDeductionBasis": "dailyRate",
- "leaveDeductionPerDay": {
- "amount": 0,
- "currency": "str"
}, - "deductLeaveFromBasicPay": true,
- "noticePeriodDays": 0,
- "note": "string",
- "terminationReason": "string",
- "documents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "size": 0
}
], - "createdAt": "2026-10-01T08:15:00+02:00",
- "updatedAt": "2026-10-01T08:15:00+02:00",
- "allowedActions": [
- "withdrawLeaveRequest"
]
}
]
}Personal data: the employee and HR; anybody else, managers included, gets 404. Defaults (no children, no marital status, no prior experience) until HR changes it.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "dependentChildren": 0,
- "maritalStatus": "single",
- "priorExperienceMonths": 0
}Dependent children 0 to 20, marital status or null, prior experience in months before the entry date. HR never changes their own profile (403).
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| dependentChildren required | integer [ 0 .. 20 ] |
required | MaritalStatus (string) or null |
| priorExperienceMonths required | integer [ 0 .. 900 ] |
{- "dependentChildren": 0,
- "maritalStatus": "single",
- "priorExperienceMonths": 0
}{- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "dependentChildren": 0,
- "maritalStatus": "single",
- "priorExperienceMonths": 0
}Filtered by kind, active state and code or title; HR only. Archived components are listed with archived=true.
| kind | string Enum: "earning" "deduction" Only earnings or deductions. |
| archived | string Enum: "true" "false" With archived=true only archived components, otherwise only the others. |
| search | string Part of the code or a title. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}A new component targets specific employees and nobody until HR says otherwise. The code is unique per company (422 on code), a basis must be known at the stage of the component (422 on basis), a condition names a known field and an operator of its type (422 on conditions[n].field). Amounts are integers of minor units, a decimal amount answers 400.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| code required | string [ 1 .. 40 ] characters |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| kind required | string Enum: "earning" "deduction" |
| deductionKind | string or null Enum: "preTax" "tax" "postTax" "basicPay" "grossPay" "netPay" null Deductions only; pre-tax by default. |
| taxable | boolean Earnings only; taxable by default. |
Date (string) or null | |
| hideWhenZero | boolean |
| active | boolean |
| basis required | string A basis of the basis registry, such as fixed or percentOfBasicPay. |
| basisParameters | object The parameters the basis reads: amount (minor units), rate (basis points), halfDays, componentIds, shiftId, workTypeId, dayClass (workingDay, weekOff, holiday) and surcharge (night, sunday, holiday). |
MinorUnits (integer) or null | |
| applicability | object or null on (basicPay, grossPay) with operator and amount, or with from and to, both inclusive. |
| employerRate | integer or null Deductions only, in basis points of the same basis. |
| targeting | string Enum: "allEmployees" "specificEmployees" "salaryStructure" "conditions" |
| employeeIds | Array of strings <uuid> (Uuid) [ items <uuid > ] The employees targeted with |
Array of objects (PayComponentCondition) All must hold at the period end date; used with |
{- "code": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "preTax",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "basis": "string",
- "basisParameters": { },
- "maximumAmount": 0,
- "applicability": { },
- "employerRate": 0,
- "targeting": "allEmployees",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay component of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}Applies to payslips calculated afterwards; confirmed payslips keep their snapshot. The kind and the code of a component used on a confirmed payslip stay as they are.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay component of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| code required | string [ 1 .. 40 ] characters |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| kind required | string Enum: "earning" "deduction" |
| deductionKind | string or null Enum: "preTax" "tax" "postTax" "basicPay" "grossPay" "netPay" null Deductions only; pre-tax by default. |
| taxable | boolean Earnings only; taxable by default. |
Date (string) or null | |
| hideWhenZero | boolean |
| active | boolean |
| basis required | string A basis of the basis registry, such as fixed or percentOfBasicPay. |
| basisParameters | object The parameters the basis reads: amount (minor units), rate (basis points), halfDays, componentIds, shiftId, workTypeId, dayClass (workingDay, weekOff, holiday) and surcharge (night, sunday, holiday). |
MinorUnits (integer) or null | |
| applicability | object or null on (basicPay, grossPay) with operator and amount, or with from and to, both inclusive. |
| employerRate | integer or null Deductions only, in basis points of the same basis. |
| targeting | string Enum: "allEmployees" "specificEmployees" "salaryStructure" "conditions" |
| employeeIds | Array of strings <uuid> (Uuid) [ items <uuid > ] The employees targeted with |
Array of objects (PayComponentCondition) All must hold at the period end date; used with |
{- "code": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "preTax",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "basis": "string",
- "basisParameters": { },
- "maximumAmount": 0,
- "applicability": { },
- "employerRate": 0,
- "targeting": "allEmployees",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}A component that appears on a confirmed payslip answers 409; archive it instead.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay component of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}An archived component is inactive and applies to no payslip calculated afterwards; it stays on the payslips that have it.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay component of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The employee gets the component on no payslip, whatever targets them. Excluding twice changes nothing.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay component of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| employeeId required | string <uuid> (Uuid) |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "kind": "earning",
- "deductionKind": "string",
- "taxable": true,
- "oneTimeDate": "2026-10-01",
- "hideWhenZero": true,
- "active": true,
- "archived": true,
- "targeting": "string",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "excludedEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "conditions": [
- {
- "field": "string",
- "operator": "eq",
- "value": null
}
], - "basis": "string",
- "basisParameters": { },
- "maximumAmount": {
- "amount": 0,
- "currency": "str"
}, - "applicability": { },
- "employerRate": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}HR only.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "components": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string"
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}The name is unique per company (422 on names); the components are pay components of the company (422 on componentIds).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| componentIds | Array of strings <uuid> (Uuid) [ items <uuid > ] |
{- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "components": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string"
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A salary structure of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "components": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string"
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The components reach the contracts assigned to it with the next calculation of their drafts.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A salary structure of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| componentIds | Array of strings <uuid> (Uuid) [ items <uuid > ] |
{- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "components": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string"
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}A structure assigned to a contract answers 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A salary structure of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The copy has the same components and no contracts.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A salary structure of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
{- "names": {
- "en": "string",
- "de": "string"
}
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "componentIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "components": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "code": "string",
- "title": "string"
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The calculators registered in code, named in the reader's language. HR only.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "parameters": [
- "string"
]
}
]
}HR only.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "string",
- "calculatorName": "string",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}The name is unique per company (422 on names), the calculator is registered (422 on calculator) and its brackets are contiguous (422 on the first broken bracket). A body with code, a formula or a script is refused with 400 and nothing is stored.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| description | string or null |
| taxedAmount | string Default: "taxableGross" Enum: "basicPay" "grossPay" "taxableGross" |
| calculator | string Default: "bracketTable" An identifier of listTaxCalculators. |
| parameters | object The parameters of the calculator; bracketTable reads mode (marginal or baseAmount). |
Array of objects (TaxBracket) |
{- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "bracketTable",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "string",
- "calculatorName": "string",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A tax profile of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "string",
- "calculatorName": "string",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The profile applies to the payslips calculated afterwards.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A tax profile of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
required | object (LocalisedText) non-empty Text maintained per supported language. Readers receive it resolved to their language (fallback en, then the first available); writers send the full map. |
| description | string or null |
| taxedAmount | string Default: "taxableGross" Enum: "basicPay" "grossPay" "taxableGross" |
| calculator | string Default: "bracketTable" An identifier of listTaxCalculators. |
| parameters | object The parameters of the calculator; bracketTable reads mode (marginal or baseAmount). |
Array of objects (TaxBracket) |
{- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "bracketTable",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "en": "string",
- "de": "string"
}, - "description": "string",
- "taxedAmount": "basicPay",
- "calculator": "string",
- "calculatorName": "string",
- "parameters": { },
- "brackets": [
- {
- "lowerBound": 0,
- "upperBound": 0,
- "rate": 0,
- "baseAmount": 0
}
], - "contractCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}A profile that a contract names answers 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A tax profile of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Newest period first, with the payslips of each run. HR only.
| payFrequency | string (PayFrequency) Enum: "monthly" "semiMonthly" "weekly" Only runs of this frequency. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "origin": "manual",
- "status": "draft",
- "currency": "string",
- "payslipCount": 0,
- "totals": {
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "payslips": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
], - "skipped": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "noActiveContract"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}The period matches the frequency (a calendar month, a half month or an ISO week) and does not end after the current period (422 on periodStart or periodEnd). One draft payslip is calculated per employee whose contract of that frequency covers a day of the period, from the later of the run start and the contract start; the others are listed as skipped with noActiveContract or overlappingPayslip. A repeated Idempotency-Key answers the first response.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| name required | string [ 1 .. 190 ] characters |
| payFrequency required | string (PayFrequency) Enum: "monthly" "semiMonthly" "weekly" |
| periodStart required | string <date> (Date) |
| periodEnd required | string <date> (Date) |
| payDate required | string <date> (Date) |
| employeeIds | Array of strings <uuid> (Uuid) [ items <uuid > ] The employees of the run; without it, every employee with an active contract of the frequency. |
{- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "employeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "origin": "manual",
- "status": "draft",
- "currency": "string",
- "payslipCount": 0,
- "totals": {
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "payslips": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
], - "skipped": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "noActiveContract"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "origin": "manual",
- "status": "draft",
- "currency": "string",
- "payslipCount": 0,
- "totals": {
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "payslips": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
], - "skipped": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "noActiveContract"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The period and the frequency do not change.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| name | string [ 1 .. 190 ] characters |
| payDate | string <date> (Date) |
{- "name": "string",
- "payDate": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "origin": "manual",
- "status": "draft",
- "currency": "string",
- "payslipCount": 0,
- "totals": {
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "payslips": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
], - "skipped": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "noActiveContract"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}Only while every payslip of the run is a draft; otherwise 409. Its draft payslips are deleted with it.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}Only drafts are recalculated, in place; payslips that are in review, confirmed or paid stay as they are. Employees that now have a contract or no longer overlap get a draft payslip.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "payDate": "2026-10-01",
- "origin": "manual",
- "status": "draft",
- "currency": "string",
- "payslipCount": 0,
- "totals": {
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "payslips": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
], - "skipped": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "noActiveContract"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}Calculated again on every call, nothing is stored. Each blocker names the day or the item and links to the screen of the package that decides it; payroll does not decide time or leave items itself. HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "ready": true,
- "payslips": [
- {
- "payslipId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
]
}The same calculation as a pay run, for the contract of the employee that covers the period. Returns the lines, totals, the source of each day of time input and the blockers. 422 on periodStart when the period does not match the frequency of the contract, on employeeId when the employee has no contract for the period.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| employeeId required | string <uuid> (Uuid) |
| periodStart required | string <date> (Date) |
| periodEnd required | string <date> (Date) |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01"
}{- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}The data of the widget payroll-kpis: gross, deductions, net and employer cost of the month over confirmed and paid payslips, the payslips per status, the change of net pay against the previous month in basis points (null without one), the open loan balance and the pending claims. A month without payslips gives zeros.
| month | string^\d{4}-(0[1-9]|1[0-2])$ The month as 2026-10; the current month by default. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "month": "string",
- "currency": "string",
- "gross": 0,
- "deductions": 0,
- "net": 0,
- "employerCost": 0,
- "payslips": {
- "property1": 0,
- "property2": 0
}, - "netChangeBasisPoints": 0,
- "openLoanBalance": 0,
- "pendingClaims": 0
}The data of the widget payroll-trend: gross, net and employer cost of the six months up to the month.
| month | string^\d{4}-(0[1-9]|1[0-2])$ The month as 2026-10; the current month by default. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "currency": "string",
- "items": [
- {
- "month": "string",
- "gross": 0,
- "net": 0,
- "employerCost": 0
}
]
}The data of the widget contracts-ending: contracts ending within 60 days and ended in the last 30.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "ending": [
- {
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "endDate": "2026-10-01"
}
], - "ended": [
- {
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "endDate": "2026-10-01"
}
]
}The data of the widget payroll-readiness: the pay runs with payslips that have blockers.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "blocked": 0
}
]
}The data of the widget my-latest-payslip: the latest confirmed payslip of the caller, never a draft.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "payslip": { }
}Distinct from the payroll settings of reporting. The list of who may encash leave is for HR only; an administrator without the HR role does not receive it.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "currency": "str",
- "defaultNoticePeriodDays": 0,
- "draftContractOnHire": true,
- "requireClosedMonth": true,
- "unexcusedAbsenceUnpaid": true,
- "sickPayContinuationDays": 0,
- "attachPayslipToMail": true,
- "requireTaxProfile": true,
- "debtorName": "string",
- "debtorIban": "string",
- "debtorBic": "string",
- "schedules": {
- "property1": 0,
- "property2": 0
}, - "encashmentEnabled": true,
- "encashmentForEveryone": true,
- "encashmentRate": "perDay",
- "encashmentAmountPerDay": 0,
- "amountPerBonusPoint": 0,
- "endOfServiceCalculator": "none",
- "encashmentEligibility": [
- {
- "kind": "employee",
- "targetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
]
}Fields that are left out keep their value. 428 without If-Match, 412 when the configuration changed since it was read. 422 on currency once a payslip is confirmed. Only HR sends encashmentEligibility (403 otherwise).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| currency required | string = 3 characters |
| defaultNoticePeriodDays | integer [ 0 .. 730 ] |
| draftContractOnHire | boolean |
| requireClosedMonth | boolean |
| unexcusedAbsenceUnpaid | boolean |
| sickPayContinuationDays | integer or null [ 0 .. 366 ] |
| attachPayslipToMail | boolean |
| requireTaxProfile | boolean |
| debtorName | string or null |
| debtorIban | string or null |
| debtorBic | string or null |
object Days after the end of the period on which a run is made by itself, by pay frequency; null for none. | |
| encashmentEnabled | boolean |
| encashmentForEveryone | boolean |
| encashmentRate | string Enum: "perDay" "dailyBasicRate" |
| encashmentAmountPerDay | integer or null |
| amountPerBonusPoint | integer or null |
| endOfServiceCalculator | string Value: "none" |
Array of objects Who may encash leave when it is not everyone. HR only. |
{- "currency": "str",
- "defaultNoticePeriodDays": 0,
- "draftContractOnHire": true,
- "requireClosedMonth": true,
- "unexcusedAbsenceUnpaid": true,
- "sickPayContinuationDays": 0,
- "attachPayslipToMail": true,
- "requireTaxProfile": true,
- "debtorName": "string",
- "debtorIban": "string",
- "debtorBic": "string",
- "schedules": {
- "property1": 0,
- "property2": 0
}, - "encashmentEnabled": true,
- "encashmentForEveryone": true,
- "encashmentRate": "perDay",
- "encashmentAmountPerDay": 0,
- "amountPerBonusPoint": 0,
- "endOfServiceCalculator": "none",
- "encashmentEligibility": [
- {
- "kind": "employee",
- "targetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
]
}{- "currency": "str",
- "defaultNoticePeriodDays": 0,
- "draftContractOnHire": true,
- "requireClosedMonth": true,
- "unexcusedAbsenceUnpaid": true,
- "sickPayContinuationDays": 0,
- "attachPayslipToMail": true,
- "requireTaxProfile": true,
- "debtorName": "string",
- "debtorIban": "string",
- "debtorBic": "string",
- "schedules": {
- "property1": 0,
- "property2": 0
}, - "encashmentEnabled": true,
- "encashmentForEveryone": true,
- "encashmentRate": "perDay",
- "encashmentAmountPerDay": 0,
- "amountPerBonusPoint": 0,
- "endOfServiceCalculator": "none",
- "encashmentEligibility": [
- {
- "kind": "employee",
- "targetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
]
}The payslip of the pay period that contains the exit date, cut to the exit: basic pay up to the exit, the leave that remains paid out at the daily basic rate, the claims that are payable and the open balance of every loan as one deduction. 422 on employeeId for an employee without an exit date or without a contract on the day of the exit.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| employeeId required | string <uuid> (Uuid) An employee with a scheduled or past exit; 422 on |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "payFrequency": "monthly",
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}The final settlement is the payslip of the employee for the pay period that contains the exit date, marked finalSettlement. It follows the payslip lifecycle: changePayslipStatus, reopenPayslip and the document of the payslip work as for any payslip. Confirming it books the leave payout in the leave account. 422 on employeeId as for the preview, and when the employee has a payslip for the period already.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| employeeId required | string <uuid> (Uuid) An employee with a scheduled or past exit; 422 on |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}Makes the SEPA credit transfer (pain.001.001.09, UTF-8 XML, euro) of the net pay of the confirmed payslips of the run, one transfer per payslip to the IBAN of its employee, from the debtor account of the payroll configuration, with the run name and period as remittance text. Payslips without net pay or without an IBAN are left out and named. 422 without a debtor account, in another currency than euro and when no payslip can be paid. The creation is logged for every person in the file.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A pay run of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string",
- "transactions": 1,
- "controlSum": {
- "amount": 0,
- "currency": "str"
}, - "skipped": [
- {
- "payslipId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "reason": "zeroNetPay"
}
]
}The XML of the SEPA credit transfer. It holds bank details: every download is logged for the people whose accounts it holds.
| fileId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payment file of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}With scope self (the default) the confirmed and paid payslips of the caller. With scope all, HR lists the payslips of the company, drafts included; anybody else gets 403. Newest period first.
| scope | string Default: "self" Enum: "self" "all" |
| payRunId | string <uuid> (Uuid) Examples: payRunId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| status | string (PayslipStatus) Enum: "draft" "inReview" "confirmed" "paid" |
| departmentId | string <uuid> (Uuid) Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b The payslips of employees who were in the department on the last day of the period. |
| periodFrom | string <date> (Date) Examples: periodFrom=2026-10-01 The payslips whose period ends on or after this day. |
| periodTo | string <date> (Date) Examples: periodTo=2026-10-01 The payslips whose period starts on or before this day. |
| finalSettlement | boolean true keeps the final settlements of leavers, false leaves them out. |
| sort | string Default: "-periodStart" Enum: "employee" "-employee" "periodStart" "-periodStart" |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
]
}
]
}HR reads every payslip. The employee reads their own once it is confirmed; to anybody else, and for a draft or payslip in review of the employee, it does not exist (404).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}Only drafts are deleted; any other payslip answers 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The PDF of a confirmed or paid payslip, rendered once at confirmation in the saved language of the employee and stored, so every download delivers the same bytes. HR also gets the document of a draft or a payslip in review, rendered on the fly and marked as a draft on every page; nothing is stored. The employee reads only their own confirmed or paid payslip; to anybody else it does not exist (404).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| disposition | string Default: "attachment" Enum: "attachment" "inline" |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The payslip is calculated again in place and keeps its ID. Only drafts take items; any other payslip answers 409. HR only.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| title required | string [ 1 .. 190 ] characters |
| kind required | string Enum: "earning" "deduction" |
| taxable | boolean Of an earning; default true. A deduction is never taxable. |
| deductionKind | string Enum: "preTax" "postTax" "netPay" Required for a deduction. |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
{- "title": "string",
- "kind": "earning",
- "taxable": true,
- "deductionKind": "preTax",
- "amount": 0
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}The item is replaced as a whole and the payslip calculated again in place. Only on drafts (409 otherwise).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| itemId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A manual item of that payslip. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| title required | string [ 1 .. 190 ] characters |
| kind required | string Enum: "earning" "deduction" |
| taxable | boolean Of an earning; default true. A deduction is never taxable. |
| deductionKind | string Enum: "preTax" "postTax" "netPay" Required for a deduction. |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
{- "title": "string",
- "kind": "earning",
- "taxable": true,
- "deductionKind": "preTax",
- "amount": 0
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}The payslip is calculated again in place without it. Only on drafts (409 otherwise).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| itemId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A manual item of that payslip. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}draft to inReview, inReview back to draft or on to confirmed, confirmed to paid; any other change is 409. Confirmation calculates the payslip again, answers 422 with the blockers while one remains and otherwise freezes lines, inputs and component snapshots. Paid records the payment date (default today) and is final.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| status required | string (PayslipStatus) Enum: "draft" "inReview" "confirmed" "paid" |
| paidOn | string <date> (Date) Only with status paid; the day of payment, today when omitted. |
{- "status": "draft",
- "paidOn": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}A confirmed payslip that is not paid becomes a draft again with the reason; its stored document is dropped. A paid payslip is final (409).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A payslip of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| reason required | string [ 1 .. 500 ] characters |
{- "reason": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "status": "draft",
- "finalSettlement": true,
- "periodStart": "2026-10-01",
- "periodEnd": "2026-10-01",
- "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "payRunId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "contractId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "currency": "string",
- "lines": [
- {
- "stage": "basicPay",
- "kind": "earning",
- "code": "string",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "sourceType": "string",
- "sourceId": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "employerAmount": {
- "amount": 0,
- "currency": "str"
}, - "taxable": true,
- "hideWhenZero": true
}
], - "totals": {
- "basicPay": {
- "amount": 0,
- "currency": "str"
}, - "grossPay": {
- "amount": 0,
- "currency": "str"
}, - "taxableGross": {
- "amount": 0,
- "currency": "str"
}, - "totalDeductions": {
- "amount": 0,
- "currency": "str"
}, - "netPay": {
- "amount": 0,
- "currency": "str"
}, - "employerContributions": {
- "amount": 0,
- "currency": "str"
}, - "employerCost": {
- "amount": 0,
- "currency": "str"
}
}, - "inputs": [
- {
- "day": "2026-10-01",
- "source": "live"
}
], - "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "earning",
- "title": "string",
- "titles": {
- "en": "string",
- "de": "string"
}, - "deductionKind": "preTax",
- "taxable": true,
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "sourceType": "string",
- "sourceId": "string"
}
], - "reopenReason": "string",
- "confirmedAt": "2019-08-24T14:15:22Z",
- "paidOn": "2026-10-01",
- "allowedActions": [
- "string"
]
}Mails the published payslips to their employees again, each on its own, from the company address and in the saved language of the employee. The document is attached when the payroll configuration says so. The answer lists the outcome per payslip; a mail that fails leaves the others sent, and only a mail the mail server took records the sending time.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| payslipIds required | Array of strings <uuid> (Uuid) [ 1 .. 500 ] items [ items <uuid > ] |
{- "payslipIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "items": [
- {
- "payslipId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sent": true,
- "reason": "string"
}
]
}Each payslip is validated on its own; the answer lists the result per payslip, with the blockers or violations of those that did not change.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| status required | string (PayslipStatus) Enum: "draft" "inReview" "confirmed" "paid" |
| payslipIds required | Array of strings <uuid> (Uuid) [ 1 .. 500 ] items [ items <uuid > ] |
| paidOn | string <date> (Date) |
{- "status": "draft",
- "payslipIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "paidOn": "2026-10-01"
}{- "items": [
- {
- "payslipId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "changed": true,
- "status": "draft",
- "blockers": [
- {
- "code": "periodNotEnded",
- "day": "2026-10-01",
- "itemId": "string",
- "link": "string"
}
], - "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
]
}
]
}Newest first, narrowed by employee, status and type. HR only.
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only the loans of this employee. |
| status | string (LoanStatus) Enum: "requested" "open" "repaid" "settled" "rejected" "withdrawn" Only loans in this status. |
| type | string (LoanType) Enum: "loan" "salaryAdvance" "fine" Only loans of this type. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}The employee needs an active contract (422 on employeeId). The first instalment is not before the month of the disbursement (422 on firstInstalmentMonth); a fine has no disbursement date. The amount is split into equal instalments, the first carrying the remainder. A repeated Idempotency-Key answers the first response. HR never creates a loan for themselves (403).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| employeeId required | string <uuid> (Uuid) |
| type required | string (LoanType) Enum: "loan" "salaryAdvance" "fine" |
| title required | string [ 1 .. 190 ] characters |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
| disbursementDate | string or null <date> Not for a fine; the loan or salary advance is paid out with the payslip whose period reaches it. |
| disbursedOutsidePayroll | boolean The money was paid out in another way; no disbursement line appears on a payslip. |
| instalmentCount required | integer [ 1 .. 120 ] |
| firstInstalmentMonth required | string^\d{4}-(0[1-9]|1[0-2])$ |
| description | string or null <= 2000 characters |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "type": "loan",
- "title": "string",
- "amount": 0,
- "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 1,
- "firstInstalmentMonth": "string",
- "description": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The employee concerned and HR read it, with the instalments and the open balance; anybody else gets 404.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A loan of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}Only the sent fields change. The amount and the plan change only while no instalment is paid and the disbursement is not confirmed (409); the title and the description always. A requested loan can be lowered or re-planned by HR before the approval.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A loan of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| title | string [ 1 .. 190 ] characters |
| amount | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
| disbursementDate | string or null <date> |
| disbursedOutsidePayroll | boolean |
| instalmentCount | integer [ 1 .. 120 ] |
| firstInstalmentMonth | string^\d{4}-(0[1-9]|1[0-2])$ |
| description | string or null <= 2000 characters |
{- "title": "string",
- "amount": 0,
- "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 1,
- "firstInstalmentMonth": "string",
- "description": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}A loan with a paid instalment or a confirmed disbursement answers 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A loan of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}The rest of the unpaid balance is spread evenly over the later unpaid instalments, the first carrying the remainder; instalments no longer needed are removed, and one is added when a balance remains without a later one. A paid instalment answers 409, an amount above the outstanding balance 422 on amount.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A loan of the company. |
| instalmentId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b An instalment of the loan. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
{- "amount": 0
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The amount is the outstanding balance (422 on amount). Unpaid instalments are cancelled; nextPayslip deducts the amount with the next payslip, outsidePayroll records it as received. The employee is notified.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A loan of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
| method required | string Enum: "outsidePayroll" "nextPayslip" |
{- "amount": 0,
- "method": "outsidePayroll"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The request runs through the approval engine as loanRequest; HR may lower it or change its plan before approving it. On approval the loan exists with its plan, on rejection or withdrawal nothing. A fine is not requested (422 on type).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| type required | string (LoanType) Enum: "loan" "salaryAdvance" "fine" |
| amount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
| instalmentCount required | integer [ 1 .. 120 ] |
| reason required | string [ 1 .. 2000 ] characters |
{- "type": "loan",
- "amount": 0,
- "instalmentCount": 1,
- "reason": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}For the employee and HR; anybody else gets 404. Newest first.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "loan",
- "typeLabel": "string",
- "title": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "disbursementDate": "2019-08-24",
- "disbursedOutsidePayroll": true,
- "instalmentCount": 0,
- "paidInstalments": 0,
- "firstInstalmentMonth": "string",
- "description": "string",
- "status": "requested",
- "statusLabel": "string",
- "openBalance": {
- "amount": 0,
- "currency": "str"
}, - "instalments": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "sequence": 0,
- "dueMonth": "string",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "status": "open",
- "payslipId": "string",
- "label": "string"
}
], - "settlement": {
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "method": "outsidePayroll",
- "settledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}The categories an expense claim can use, named in the reader's language; HR also sees archived ones.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}
]
}Names by language, English required and unique in the company (422 on names); taxable tells whether reimbursements of the category are taxed (default no).
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
required | object Names by language; English is required. |
| taxable | boolean |
| archived | boolean |
{- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}Replaces the names and the flags; archived hides the category from new claims.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim category of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
required | object Names by language; English is required. |
| taxable | boolean |
| archived | boolean |
{- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}The leave types a leave encashment claim can name, named in the reader's language and sorted by name. Empty without the leave package and while the configuration does not enable encashment. Who may claim is checked when the claim is filed.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}
]
}Newest first, narrowed by employee and status. HR only.
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only the claims of this employee. |
| status | string (ClaimStatus) Enum: "pending" "approved" "paid" "rejected" "withdrawn" "cancelled" Only claims in this status. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}An expense claim has one to 20 items dated today or earlier (422 on items[n].date) and one to 10 receipts uploaded with the purpose payroll.claimReceipt (422 on receipts); its amount is the sum of the items. A leave encashment names a leave type and days in half-day steps; its amount is the days times the encashment rate of the configuration (422 on type where encashment is not enabled for the employee, on leaveTypeId and on days). A bonus point encashment names points; its amount is the points times the amount per point (422 on type without one, on points above the available points). HR may name employeeId to file for somebody. The claim waits for its approval. A repeated Idempotency-Key answers the first response.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| Idempotency-Key | string <uuid> Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 ( |
| employeeId | string <uuid> (Uuid) HR only; the employee who claims. |
| type required | string |
| title required | string [ 1 .. 190 ] characters |
| categoryId required | string <uuid> (Uuid) |
required | Array of objects [ 1 .. 20 ] items |
| receipts required | Array of strings <uuid> (Uuid) [ 1 .. 10 ] items [ items <uuid > ] Uploads with the purpose |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "type": "expense",
- "title": "string",
- "categoryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "items": [
- {
- "date": "2026-10-01",
- "amount": 0,
- "description": "string"
}
], - "receipts": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}The employee who claims, HR and the approvers the claim currently waits for read it, with the receipts; anybody else gets 404.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}While the claim is pending HR sets the amount to pay, at most the claimed amount; a lower amount needs a reason (422 on reason). The approval then pays this amount.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| approvedAmount required | integer >= 1 An amount in minor units of the payroll currency; a decimal number answers 400. |
| reason | string <= 500 characters |
{- "approvedAmount": 0,
- "reason": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}A pending claim is withdrawn, an approved one cancelled while no confirmed payslip paid it. Afterwards the response is 409.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}Oldest first.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "body": "string",
- "files": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
]
}With up to five files uploaded with the purpose payroll.claimComment. The employee who claims is notified of a comment by somebody else.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| body required | string [ 1 .. 5000 ] characters |
| fileIds | Array of strings <uuid> (Uuid) <= 5 items [ items <uuid > ] |
{- "body": "string",
- "fileIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "body": "string",
- "files": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}Only the author deletes their own comment (422 on commentId), and only while the claim is pending (409 afterwards).
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A claim of the company. |
| commentId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b A comment on the claim. |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}For the employee and HR; anybody else gets 404. Newest first.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "type": "expense",
- "typeLabel": "string",
- "title": "string",
- "category": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "names": {
- "property1": "string",
- "property2": "string"
}, - "taxable": true,
- "archived": true
}, - "amount": {
- "amount": 0,
- "currency": "str"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "str"
}, - "decisionReason": "string",
- "status": "pending",
- "statusLabel": "string",
- "items": [
- {
- "date": "2026-10-01",
- "amount": {
- "amount": 0,
- "currency": "str"
}, - "description": "string"
}
], - "receipts": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "fileName": "string"
}
], - "leaveTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "days": 0,
- "points": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "allowedActions": [
- "string"
]
}
]
}