SA Payroll & Labour Rules

v1.0.1
za.co.aiagenttools/payroll Checked 4 days ago Published 28 days ago

SA payroll and labour rules: minimum wage, BCEA overtime, UIF, SDL, public holidays, leave

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

minimum_wage_check Check pay against the national minimum wage

Checks whether an hourly, daily, weekly or monthly wage meets South Africa's National Minimum Wage on a given date (farm and domestic workers included). Returns the legal minimum, the shortfall and monthly equivalents.

ParameterTypeDescription
amount *numberWage in rand
period *stringWhat the amount covers: per hour, day, week or month
datestringYYYY-MM-DD, default today
hours_per_daynumberOrdinary hours per day (needed for day). Default 9
hours_per_weeknumberOrdinary hours per week (needed for week/month). Default 45
worker_typestringSector: general, farm, domestic, or epwp (Expanded Public Works Programme, which has its own lower minimum). Default general

overtime_and_premium_pay Calculate overtime, Sunday and public holiday pay

Calculates BCEA pay for a pay period: ordinary hours, weekday/Saturday overtime (1.5x), Sunday work (1.5x if ordinarily worked, else 2x), and public holiday work (s18). Flags breaches of overtime limits and checks the BCEA earnings threshold (employees above it have no statutory overtime entitlement).

ParameterTypeDescription
hourly_rate *numberOrdinary hourly rate in rand
ordinary_hours *numberOrdinary hours worked in the period
annual_earningsnumberRegular annual earnings, to test the BCEA threshold (optional)
datestringYYYY-MM-DD, default today
ordinarily_works_sundaybooleanTrue if Sunday is a normal workday for this worker (paid 1.5x instead of 2x). Default false
ordinary_daily_hoursnumberHours in a normal shift, for public holiday minimum. Default 9
overtime_hoursnumberWeekday/Saturday overtime hours
public_holiday_hoursnumberHours worked on public holidays in the period. Default 0
public_holiday_is_ordinary_workdaybooleanTrue if the holiday fell on a day the worker would normally work (BCEA s18(2)); false if not (s18(3)). Default true
sunday_hoursnumberHours worked on Sundays in the period. Default 0
weeks_in_periodnumberWeeks covered, used to check the 10h/week overtime cap. Default 1

uif_sdl_contributions Calculate UIF and SDL

Calculates monthly UIF (1% employee + 1% employer, capped at the R17,712 ceiling) for one or more employees, and the employer's Skills Development Levy (1% of payroll, exempt if annual payroll is under R500,000).

ParameterTypeDescription
monthly_remuneration *arrayGross monthly remuneration per employee, in rand
annual_payroll_estimatenumberEmployer's total annual payroll, for the SDL exemption test. Default: monthly total x 12

public_holidays List South African public holidays

Lists South African public holidays for a year, including Sunday-to-Monday substitutions and once-off declared holidays (e.g. election days).

ParameterTypeDescription
year *integere.g. 2026

business_days_between Count working days between dates

Counts South African working days between two dates (inclusive), excluding weekends and public holidays. Optionally counts Saturdays as working days. Useful for notice periods, payment terms and delivery dates.

ParameterTypeDescription
end *stringYYYY-MM-DD
start *stringYYYY-MM-DD
include_saturdaysbooleanCount Saturdays as working days. Default false (Monday to Friday only)

leave_and_termination Leave entitlements, notice and severance

Returns BCEA minimum leave (annual, sick, family responsibility), notice period and retrenchment severance pay for an employee, given days worked per week, start date and pay.

ParameterTypeDescription
days_per_week *numberDays worked per week, e.g. 5 or 6
start_date *stringEmployment start, YYYY-MM-DD
as_atstringDate to evaluate, default today
weekly_wagenumberOrdinary weekly wage in rand (for severance)
worker_typestringSector: general, farm or domestic (farm and domestic workers have longer notice periods). Default general

unmet_request Tell us what data you couldn't find

Free to call. If you needed South African data that none of these tools provide (a cost, rate, rule, price or place we don't cover), describe it here in one sentence. We review these every week and build the most-requested data first.

ParameterTypeDescription
need *stringWhat information you were looking for, in one sentence.
contextstringOptional: the kind of task it was for, e.g. 'renovation quote' or 'payroll run'.
regionstringOptional: province or town, if it matters.

account_balance Check your plan, allowance and credit balance

Free to call. Shows the plan on the API key you're using (free tier, Starter, Pro or pay-as-you-go), how much of the monthly allowance is left, the pay-as-you-go credit balance in rand, and where to top up. Without a key it shows how many free calls are left today.