Payrolls

Add pay leaves to salary slip.

Adds holiday and/or working hour reduction pay leaves to an existing unapproved salary slip and returns the updated salary slip. The salary slip must be in CREATED state. All pay leaves are validated and added atomically.

post/payrolls/salaryslips/{id}/payleaves

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/payrolls/salaryslips/{id}/payleaves
  • Auth: HTTP bearer

Path parameters

idinteger required

ID of the salary slip

Request body

Example request

{
  "holidayPayLeaves": [
    {
      "holidayCreditYear": 2025
    }
  ],
  "workingHourReductionLeaves": [
    {
      "year": 2025
    }
  ]
}

Response

Pay leaves successfully added.

idinteger

Unique identifier of the salary slip.

employeeIdinteger

Unique identifier of the employee.

employeeNamestring

Employee name.

status'APPROVED' | 'CREATED' | 'INVALIDATED' | 'IN_CORRECTION' | 'PAID' | 'PAYMENT_QUEUED' | 'REJECTED' | 'REPORTED' | 'REPORTED_AND_PAID' | 'REPORTED_AND_PAYMENT_QUEUED' | 'VERIFIED'

Salary slip status.

paidStatusDetails'MARKED_PAID' | 'PAYMENT_SENT_TO_BANK' | 'PARTLY_PAID'

Salary slip paid status details.

slipNumberinteger

Unique salary slip number within each company.

salaryBaseNotestring

Salary base note.

incomesRegisterReportingSetting'DO_NOT_REPORT_DATA_ON_SLIP' | 'EARNINGS_REPORTED_ELSEWHERE' | 'FORM_BOTH_REPORTS' required

Incomes Register reporting setting.

slipNotesstring

Slip notes.

versionstring date-time

Version.

Changes

No recorded changes to this operation across all 1 revision of this API.