curl --request POST \
--url https://preview.intermezzo.ai/gb/organizations/{organization_id}/payrolls/{payroll_status_id}/approve \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"externalRef": "<string>",
"status": "draft",
"statusId": "<string>"
}Approve a payrun for GB employees.
This endpoint approves the payrun and updates GB-specific cumulative values (YTD gross, tax, taxable pay, allowances, and pension contributions).
Both operations run within a single transaction - if cumulative values update fails, the payrun approval will be rolled back.
If any payslips have NMW compliance warnings, approval is blocked unless force_approve=True is passed to acknowledge the violations.
curl --request POST \
--url https://preview.intermezzo.ai/gb/organizations/{organization_id}/payrolls/{payroll_status_id}/approve \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"externalRef": "<string>",
"status": "draft",
"statusId": "<string>"
}Get token from Auth0 and paste it here
Acknowledge NMW violations and approve anyway
Was this page helpful?