Returns payroll details by ID. Returns 404 if not found.
GET
/api-v1/payroll/{id}
curl \
--request GET 'https://wyzio.app/api-v1/payroll/{id}'
Response examples (200)
{
"id": 42,
"organizationId": 42,
"createdOn": "2026-01-01T00:00:00.000Z",
"paymentDate": "2026-01-01T00:00:00.000Z",
"calendarYear": 42,
"monthType": "JANUARY",
"monthStartDate": "2026-05-04T09:42:00Z",
"monthEndDate": "2026-05-04T09:42:00Z",
"staffEntityId": 42,
"contactEntityId": 42,
"currencyId": 42,
"employeeInfoId": 42,
"address": {
"id": 42,
"name": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": {
"id": 42,
"name": "string",
"code": "string",
"taxMode": "ANNUALLY"
},
"countryCode2": "string",
"postCode": "string",
"toTheAttentionOf": "string",
"position": 42,
"houseNumber": "string",
"countryId": 42,
"service": "string",
"readOnly": true
},
"grossSalary": "string",
"netSalary": "string",
"payable": "string",
"description": "string",
"status": "UNPAID",
"warnings": "string",
"isDeleted": true,
"payrollLines": [
{
"id": 42,
"payrollEntityId": 42,
"payslipLineEntityId": 42,
"number": 42,
"localizations": {
"id": 42,
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"payslipValueType": "VALUE",
"isAutomaticallyAdded": true,
"payslipLineType": "EMPLOYEE_LINE",
"description": "string",
"baseAmount": "100.55",
"employeeRate": "100.55",
"employerRate": "100.55",
"employeeAmount": "100.55",
"employerAmount": "100.55",
"specialAttributionType": "BASE_SALARY",
"isChanged": true,
"isShownOnSalarySlip": true,
"orgEmployeeGroupId": 42
}
],
"payrollPayments": [
{
"id": 42,
"payrollEntityId": 42,
"requestedDate": "2026-01-01T00:00:00.000Z",
"plannedDate": "2026-01-01T00:00:00.000Z",
"sentDate": "2026-01-01T00:00:00.000Z",
"valueDate": "2026-01-01T00:00:00.000Z",
"requestedAmount": "100.55",
"paidAmount": "100.55",
"bankCharges": "100.55",
"payableByAccountId": 42,
"payableToBankId": 42,
"isFromLockedAccountingPeriod": true
}
],
"journalEntryId": 42,
"staffPayslipId": 42,
"removedPayrollLineNumbers": [
42
],
"isFromLockedAccountingPeriod": true,
"isDocSent": true
}