Appearance
Payslip
Payslips are uploaded through the documents endpoint which details file types and size limitations.
Extracted data
These are the extracted fields of an Payslip
Employee information
Extracted information on the employee of the payslip
- Full name
- First name
- Middle name
- Last name
- Employee Id
- National insurance number
- Address, with its postcode and country (
employeeAddress1toemployeeAddress7,employeePostcode,employeeCountry)
Employer information
- Name
- Address
- PAYE reference
Payslip dates
- Period start date
- Period end date
- Pay date
Payslip financials
Income
- Basic pay
- Overtime pay
- Bonuses
- Commission
- Total earnings
Deductions
- Income tax
- National insurance
- Pension contributions
- Student loan repayment
- Other deductions
- Total deductions
Net pay
- Net pay: what was paid after deductions. Not present when it couldn't be read
YTD summary
- Gross earnings YTD
- Tax paid YTD
- National insurance YTD
- Pension contribution YTD
Currency and payroll country
- Payroll country (
payrollCountry): the ISO 3166-1 alpha-2 code of the country whose payroll and tax rules the payslip is issued under, such asGB. It's judged from what the payslip shows: tax identifiers such as a PAYE reference, National Insurance number or tax code, the kinds of deductions, and the employer's address. It can differ fromemployeeCountry, because someone living abroad can be paid under another country's payroll. Not present when nothing on the payslip identifies it. - Currency (
currency): the ISO 4217 code of the currency the pay amounts are in, such asGBP. - Currency source (
currencySource): wherecurrencycame from:Extracted: the payslip prints the currency, as a symbol, code or name.Inferred: the payslip doesn't print a currency, so it's the default currency of its payroll country. Many UK payslips show no currency at all.Unknown: the payslip has a currency, but its source isn't one listed here.currencycan still be used. Payslips extracted since these fields were added are alwaysExtractedorInferred.
A printed currency is always used, even when it differs from the payroll country's. currency and currencySource aren't present when the payslip prints no currency and its payroll country isn't known or has no default currency. None of the three fields are present on payslips extracted before they were added.
Example extraction
An example extraction followed by the payslip image it was extracted from.
json
{
"fullName": "Julian Davis",
"firstName": "Julian",
"lastName": "Davis",
"employeeID": "989",
"nationalInsuranceNumber": "JH888777B",
"employerName": "test Company",
"employerAddress": "6 The High Street London SW 16",
"employerPAYEReference": "N/A",
"periodStartDate": "2011-11-15T00:00:00",
"periodEndDate": "2011-11-21T00:00:00",
"payDate": "2011-02-04",
"basicPay": "250.34",
"overtimePay": "0",
"bonuses": "0",
"commission": "0",
"totalEarnings": "250.34",
"incomeTax": "0",
"nationalInsurance": "15.44",
"pensionContribution": "0",
"studentLoanRepayment": "0",
"otherDeductions": "0",
"totalDeductions": "15.44",
"netPay": "234.90",
"grossEarningsYTD": "1337.18",
"taxPaidYTD": "0",
"nationalInsuranceYTD": "88.64",
"pensionContributionYTD": "0",
"currency": "GBP",
"currencySource": "Inferred",
"payrollCountry": "GB"
}

