Surcharge Tax Free
by rechen.halowerk.com in Markets & finance
Compute the tax-free and social-security-free part of Sunday, holiday and night-work surcharges under § 3b EStG and § 1 SvEV for German shifts, minute by minute.
https://rechen.halowerk.com/v1/surcharge-tax-free- Price
- $0.002
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 122 ms
- 153 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://rechen.halowerk.com/v1/surcharge-tax-free
Each call costs $0.002 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://rechen.halowerk.com/v1/surcharge-tax-free
content-type: application/json
{
"base_hourly_wage": 20,
"shifts": [
{
"end": "2026-11-08T06:00",
"start": "2026-11-07T22:00"
}
],
"state": "NW"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base_hourly_wage | number | Yes | Grundlohn: regular wage converted to EUR per hour (§ 3b(2) EStG). |
paid_percent | object | No | Surcharges actually paid, in percent of the base wage; omit to get only the maxima. |
region | string | No | Optional sub-region with extra holidays (requires state): BY A=Augsburg, KATH=predominantly Catholic municipalities, EVANG; SN BZ=Bautzen; TH EIC, UH, WAK. One of: A, KATH, EVANG, BZ, EIC, UH, WAK. |
shifts | array of object | Yes | Worked shifts in German local time. |
state | string | No | Federal state of the workplace whose public holidays apply (e.g. NW, BY, BE). Without state only nationwide holidays are used. One of: BB, BE, BW, BY, HB, HE, HH, MV, NI, NW, RP, SH. |
Example response
The provider's example. We can't check it without paying.
Example response, 64 lines
{
"limitations": [
"Information computed from the statutory wording; not legal, tax or social-security advice.",
"The base wage (Grundlohn) must be determined according to § 3b(2) EStG and R 3b LStR; it is taken as supplied.",
"Surcharges are only tax-free if paid in addition to the base wage for work actually performed at these times; flat-rate surcharges need a later reconciliation."
],
"result": {
"base_hourly_wage": 20,
"holiday_basis": {
"attribution": "Public holidays: date-holidays 3.38.0 (https://github.com/commenthol/date-holidays), code ISC licence, holiday data CC BY-SA 3.0 based on Wikipedia \"Feiertage in Deutschland\" (https://de.wikipedia.org/wiki/Feiertage_in_Deutschland); only type \"public\" is used.",
"region": null,
"scope": "state-wide holidays",
"state": "NW"
},
"legal_status": "Statutes checked on 2026-11-01 at gesetze-im-internet.de: ArbZG as last amended 23.10.2024, BUrlG 20.04.2013, EntgFG 12.05.2026, EStG 15.10.2026, SGB V 26.06.2026 (amendments of 24.07. and 06.10.2026 included), SGB VI 15.10.2026, SvEV 26.10.2026, FeV 12.08.2026.",
"norms": [
"§ 3b EStG",
"§ 1(1) sentence 1 no. 1 SvEV"
],
"shifts": [
{
"end": "2026-11-08T06:00",
"max_sv_free_eur": 112,
"max_tax_free_eur": 112,
"rates": [
{
"day_basis": null,
"day_percent": 0,
"minutes": 120,
"night_percent": 25,
"total_percent": 25
},
{
"day_basis": "Sunday (§ 3b(1) no. 2)",
"day_percent": 50,
"minutes": 240,
"night_percent": 40,
"total_percent": 90
},
{
"day_basis": "Sunday (§ 3b(1) no. 2)",
"day_percent": 50,
"minutes": 120,
"night_percent": 25,
"total_percent": 75
}
],
"start": "2026-11-07T22:00",
"worked_minutes": 480
}
],
"sv_base_cap_applied": false,
"tax_base_cap_applied": false,
"totals": {
"max_sv_free_eur": 112,
"max_tax_free_eur": 112,
"night_minutes": 480,
"sunday_or_holiday_minutes": 360,
"worked_minutes": 480
}
},
"service": "surcharge-tax-free",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://rechen.halowerk.com/v1/surcharge-tax-free' \
-H 'content-type: application/json' \
--data-raw '{"base_hourly_wage":20,"shifts":[{"end":"2026-11-08T06:00","start":"2026-11-07T22:00"}],"state":"NW"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://rechen.halowerk.com/v1/surcharge-tax-free' \
-H 'content-type: application/json' \
--data-raw '{"base_hourly_wage":20,"shifts":[{"end":"2026-11-08T06:00","start":"2026-11-07T22:00"}],"state":"NW"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Fsurcharge-tax-free&method=POST
const res = await pay("https://rechen.halowerk.com/v1/surcharge-tax-free", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"base_hourly_wage": 20,
"shifts": [
{
"end": "2026-11-08T06:00",
"start": "2026-11-07T22:00"
}
],
"state": "NW"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://rechen.halowerk.com/v1/surcharge-tax-free",
json={
"base_hourly_wage": 20,
"shifts": [
{
"end": "2026-11-08T06:00",
"start": "2026-11-07T22:00",
},
],
"state": "NW",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 146 ms | $0.002 |
| 13 h ago | Passed | 402 | 113 ms | $0.002 |
| 27 h ago | Passed | 402 | 128 ms | $0.002 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 154 ms | $0.002 |
Show 10 older checks
| 5 days ago | Passed | 402 | 125 ms | $0.002 |
| 5 days ago | Passed | 402 | 115 ms | $0.002 |
| 6 days ago | Passed | 402 | 129 ms | $0.002 |
| 6 days ago | Passed | 402 | 46 ms | $0.002 |
| 6 days ago | Passed | 402 | 130 ms | $0.002 |
| 7 days ago | Passed | 402 | 51 ms | $0.002 |
| 7 days ago | Passed | 402 | 124 ms | $0.002 |
| 7 days ago | Passed | 402 | 153 ms | $0.002 |
| 8 days ago | Passed | 402 | 40 ms | $0.002 |
| 8 days ago | Passed | 402 | 140 ms | $0.002 |