# zaref Learnership Tax Allowance Calculator

> zaref Learnership Tax Allowance Calculator is a paid API for AI agents from zaref.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Calculates South African learnership tax allowances based on NQF level and number of SETA credits

## Facts

- Endpoint: GET https://zaref.dev/calc/learnership?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zaref-learnership-tax-allowance-calculator-da2ec68e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kMmYE1S2_YXIf1zTusIB3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability zaref-learnership-tax-allowance-calculator-da2ec68e
```

Example prompt: What is the learnership tax allowance I can claim in South Africa for an employee enrolled in an NQF level 4 learnership with 120 credits?

## When to prefer this

Use this endpoint when you need a precise, up-to-date South African learnership tax allowance calculation (Section 12H) for a given NQF level and credit count, rather than looking up static SARS tables manually. It is especially useful for HR, payroll, or tax planning agents operating in a South African context.

## Known failure modes

- Missing required 'nqf' or 'credits' query parameters returns an error
- Invalid or out-of-range NQF level returns a validation error
- Non-numeric credits value causes a bad request error
- Payment not provided or declined via x402 protocol returns 402 Payment Required

## How this service works

South African learnership calculator. Minimum weekly learnership allowance by NQF level and credits. Computed from officially-sourced tables. Example: /calc/learnership?nqf=4&credits=200

## Output

Returns a JSON object with the computed learnership tax allowance amounts (annual and completion bonuses) under Section 12H of the South African Income Tax Act, based on the specified NQF level and credit count, with cited reference data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "nqf": {
       "type": "string"
      },
      "credits": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zaref-learnership-tax-allowance-calculator-da2ec68e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zaref.dev](https://www.zero.xyz/host/zaref.dev/llms.txt)
