PayCaptain Developers

Field validation

Payslip fields

Every field returned by GET /payslips.

View as Markdown

GET /payslips returns an array. Each item holds the objects below. These are read-only values produced by PayCaptain, so there is nothing to validate before sending, but field names must be read exactly as spelled.

Machine-readable: OpenAPI

payslip#

idstring

Payslip identifier.

publishedboolean

Whether the payslip is published to the employee.

w1m1boolean

Tax calculated on a week 1 / month 1 basis.

niCategorystring

National Insurance category letter.

datestring

Pay date.

messagestring

Message shown on the payslip.

urlstring

Link to the payslip.

employee#

hrEmployee_Idstring

Your identifier for the person. Note the spelling differs from hrEmployeeId on requests.

emailstring

Email address.

phonestring

Phone number.

niNumberstring

National Insurance number.

totals#

grossnumber

Gross pay this period.

taxablenumber

Taxable pay this period.

netnumber

Net pay this period.

taxnumber

Income tax this period.

employeePensoinnumber

Employee pension this period. Spelled this way in API v1.0.1.

employerPensoinnumber

Employer pension this period. Spelled this way in API v1.0.1.

ytd#

grossnumber

Gross pay, year to date.

taxablenumber

Taxable pay, year to date.

netnumber

Net pay, year to date.

benefitsnumber

Benefits, year to date.

taxnumber

Income tax, year to date.

previousEmployment#

taxablenumber

Taxable pay from previous employment this tax year.

taxnumber

Tax paid in previous employment this tax year.

thisEmployment#

taxablenumber

Taxable pay in this employment this tax year.

taxnumber

Tax paid in this employment this tax year.

payslipLines[]#

amountnumber

Amount per unit.

totalnumber

Line total.

codestring

Pay Code.

informationstring

Extra detail shown behind the help icon.