Payroll

Here you can find an overview of how to request payrolls and what you can do with it.

URL https://api.recman.no/v2/
Scope payroll
Operation INSERT

Payroll fields

Fields Description
candidateIdinteger ID of the candidate to insert payroll on
grossAmountinteger The amount before deduction
netAmountinteger The amount after deduction
yearinteger Which year the payroll was createdFormat: yyyy
monthinteger Which month the payroll was createdFormat: m
datedate Which date the payroll was uploadedFormat: y-m-d
attachmentsobject See fields below

Attachtments

Field
attachmentsobject
Sub Fields Description
namestring Name of the file to be uploaded
extstring File extension typeValid values: pdf docx etc...
base64string Base64 encoded string of the file

Insert payroll example

json
{
  "key": "YOUR_KEY",
    "scope": "payroll",
    "operation": "insert",
    "data": {
        "candidateId": 1234,
        "grossAmount": "15000.50",
        "netAmount": "13000",
        "year": "2021",
        "month": "3",
        "date": "2021-03-11",
        "attachments": {
			"name": "payroll-james.pdf",
			"ext": "pdf",
			"base64": "..."
		}
    }
}