curl --request PATCH \
--url https://sandbox.intermezzo.ai/gb/payroll/{payrun_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payCycle": "year",
"payrollGroup": [
{
"employeeId": "<string>",
"payDetails": {
"earnings": [
{
"earningType": "Salary",
"amount": 1,
"earningFrequency": "month",
"isLumpsum": false
}
],
"benefits": [
{
"name": "Company Car",
"amount": "0.00",
"makeGoodAmount": "0.00",
"foregoneAmount": "0.00"
}
],
"deductions": [
{
"name": "<string>",
"amount": 1
}
],
"reimbursements": [
{
"name": "<string>",
"amount": 1
}
]
}
}
],
"payDate": "2023-12-25",
"externalRef": "<string>"
}
'{
"run": {
"id": "<string>",
"externalRef": "<string>",
"status": "draft"
},
"payslips": [
{
"employeeId": "<string>",
"currentPayPeriod": {
"employee": {
"totals": {
"grossWages": "0.00",
"netWages": "0.00",
"totalDeductions": "0.00",
"totalReimbursements": "0.00",
"netPay": "0.00"
},
"benefits": {
"benefitsInKind": "0.00"
},
"taxes": {
"incomeTaxAssessmentBase": "0.00",
"incomeTax": "0.00"
},
"insurance": {
"insuranceAssessmentBase": "0.00",
"nationalInsurance": "0.00"
},
"deductions": [
{
"name": "<string>",
"amount": "0.00"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": "0.00"
}
]
},
"employer": {
"secondaryClass1Nic": "0.00",
"class1ANic": "0.00",
"employerPensionContribution": "0.00"
}
},
"paymentPeriod": "Month"
}
],
"errors": [
{
"employeeId": "<string>",
"error": "<string>"
}
]
}curl --request PATCH \
--url https://sandbox.intermezzo.ai/gb/payroll/{payrun_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payCycle": "year",
"payrollGroup": [
{
"employeeId": "<string>",
"payDetails": {
"earnings": [
{
"earningType": "Salary",
"amount": 1,
"earningFrequency": "month",
"isLumpsum": false
}
],
"benefits": [
{
"name": "Company Car",
"amount": "0.00",
"makeGoodAmount": "0.00",
"foregoneAmount": "0.00"
}
],
"deductions": [
{
"name": "<string>",
"amount": 1
}
],
"reimbursements": [
{
"name": "<string>",
"amount": 1
}
]
}
}
],
"payDate": "2023-12-25",
"externalRef": "<string>"
}
'{
"run": {
"id": "<string>",
"externalRef": "<string>",
"status": "draft"
},
"payslips": [
{
"employeeId": "<string>",
"currentPayPeriod": {
"employee": {
"totals": {
"grossWages": "0.00",
"netWages": "0.00",
"totalDeductions": "0.00",
"totalReimbursements": "0.00",
"netPay": "0.00"
},
"benefits": {
"benefitsInKind": "0.00"
},
"taxes": {
"incomeTaxAssessmentBase": "0.00",
"incomeTax": "0.00"
},
"insurance": {
"insuranceAssessmentBase": "0.00",
"nationalInsurance": "0.00"
},
"deductions": [
{
"name": "<string>",
"amount": "0.00"
}
],
"reimbursements": [
{
"name": "<string>",
"amount": "0.00"
}
]
},
"employer": {
"secondaryClass1Nic": "0.00",
"class1ANic": "0.00",
"employerPensionContribution": "0.00"
}
},
"paymentPeriod": "Month"
}
],
"errors": [
{
"employeeId": "<string>",
"error": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input parameters
year, month, week Show child attributes
Employee identification number
Show child attributes
Show child attributes
Salary, Commissions, Bonus, Allowances, Other Earnings amount (taxable gross)
x >= 0If recurring, specify the frequency
year, month, week True if onetime. Defaults to False
Show child attributes
Company Car, Car Fuel, Van, Van Fuel, Living Accommodation, Beneficial Loan, Medical Insurance, Asset Transferred, Asset Available, Mileage Allowance, Entertainment, Credit Card, Vouchers, Telephone, Mobile Telephone, Relocation Expenses, Services Provided, Professional Subscription, Other Benefit, School Fees, Educational Assistance, Childcare, Holiday, Non-Executive Director Fees, Scholarships Amount of benefit
x >= 0Amount paid by employee for the benefit
x >= 0If subject to OpRa, amount foregone
x >= 0Payment Date for this payroll
External reference for payroll run
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Year, Month, Week, Day Was this page helpful?