# zaref Net-to-Gross Salary Calculator

> zaref Net-to-Gross Salary 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 the gross salary required to achieve a given South African net take-home pay, using current SARS tax tables.

## Facts

- Endpoint: HEAD https://zaref.dev/calc/net-to-gross?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-net-to-gross-salary-calculator-c2a62de0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XhUVJl9DZIpnlmqaGIXN_

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-net-to-gross-salary-calculator-c2a62de0 -d '<json body>'
```

Example prompt: I want to take home R28000 net per month in South Africa — what gross salary does my employer need to pay me, using the current SARS tax tables?

## When to prefer this

Use this endpoint when you need to reverse-engineer a South African gross salary from a desired net take-home amount, particularly when current SARS tax brackets, UIF, and rebates must be applied accurately. Prefer over manual spreadsheet calculations or generic tax APIs that don't carry live South African data.

## Known failure modes

- Missing or invalid net salary amount returns a 400 error
- Net salary below the tax threshold may return a gross equal to net with zero PAYE
- Unsupported tax year parameter returns an error
- HEAD method returns no body — actual calculation requires GET or POST

## How this service works

South African reference data as clean, cited JSON: fuel prices, interest rates, FX and bond yields, tax tables, tariffs, wages and grants, live government tenders and crypto prices, plus calculators. Built for AI agents and applications.

## Output

Returns a breakdown including the required gross salary, PAYE tax payable, UIF deduction, and the computed net salary — all based on current South African tax brackets and rebates.

## 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": [
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "age": {
       "type": "string"
      },
      "net_monthly": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zaref-net-to-gross-salary-calculator-c2a62de0/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)
