Authorization: Bearer ********************
{
"deductions": [
{
"key": "string",
"value": 0
}
],
"allowances": [
{
"key": "string",
"value": 0
}
]
}
curl --location --request POST 'https://api.upbooks.io/api/v1/payroll/prepare?employeeId&employmentId&month&year&paidLeaves&unpaidLeaves&totalMonthDays&totalWorkingDays' \
--header 'ORGANIZATION-ID: 00000' \
--header 'Content-Type: application/json' \
--data-raw '{
"deductions": [
{
"key": "string",
"value": 0
}
],
"allowances": [
{
"key": "string",
"value": 0
}
]
}'
{
"data": {
"employeeId": "string",
"employmentId": "string",
"totalPayAmount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"month": 0,
"totalMonthDays": 0,
"year": 0,
"processingDate": "2019-08-24T14:15:22Z",
"processedById": "string",
"noOfLeaves": 0,
"noOfUnpaidLeaves": 0,
"totalWorkingDays": 0,
"deductions": [
{
"key": "string",
"value": 0
}
],
"allowances": [
{
"key": "string",
"value": 0
}
],
"employersContribution": [
{
"key": "string",
"value": 0
}
],
"paidVia": "string",
"paymentMode": "cash",
"notes": "string",
"referenceNumber": "string",
"paymentAmount": 0,
"calculationDifference": 0,
"fileImportData": {
"fileImportId": "string",
"rowId": "string"
},
"totalSalary": 0
},
"message": "string"
}