Create a connection
Authorizations
Bearer token for authentication. The token should be the one returned by the /user-tokens endpoint.
Body
The account id to use to connect to the payroll provider
Response
The id of the account
The id of the entry
The id of the account
The date the payroll was submitted
The name of the employer
The role of the user
The status of the employment. Status active
will be used when the user is employed in the company, alternatively inactive
will be used when the user is not employed in the company anymore.
active
, inactive
The type of employment
The id of the entry
The city of the address
The country of the address
The county of the address
The post code of the address
The street of the address
The email of the user
The full name of the user
The national insurance number of the user
The phone number of the user
The employee national insurance
The employee pension
The income tax
The total deductions
The base salary
The bonus
The gross pay
The net pay
The date the payroll was submitted
The frequency of the pay
The end date of the pay interval
The start date of the pay interval
A string coming from the parameters of the uploaded payslip1.pdf either the form field name or external_document_id
header for the file part. It might not be unique and depends on what's passed when uploading. If the payroll submission doesn't originate from a payslip this will be null.
If the payroll submission originates from a payslip this will be the file name of the uploaded payslip. It will be duplicate if same file names are uploaded If the payroll submission doesn't originate from a payslip this will be null.
The id of the document