Slå opp forskuddstrekk fra Skatteetatens trekktabeller. A REST API for Norwegian withholding-tax deduction tables.
Given a table number, a period, a table type and an income, the API returns
the withholding amount (trekk). Data is fixed for the tax year,
so single lookups are cacheable at the edge.
…
Single lookup. All four query parameters are required.
| Param | Values | Meaning |
|---|---|---|
tabell | e.g. 7100 | Table number (tabellnummer) |
periode | 1–7 | 1=month, 2=14 days, 3=week, 4=4 days, 5=3 days, 6=2 days, 7=1 day |
type | 0 or 1 | 0=lønn (salary), 1=pensjon (pension) |
grunnlag | e.g. 45000 | Income basis (trekkgrunnlag) |
…
{
"tabellnummer": 7100,
"trekkperiode": 1,
"trekkperiodeNavn": "måned",
"tabelltype": 0,
"tabelltypeNavn": "lønn",
"grunnlag": 45000,
"matchetGrunnlag": 45000,
"trekk": 12345,
"overTabell": false
}
matchetGrunnlag is the bracket the income matched;
overTabell: true means the income exceeds the highest
tabulated bracket (beyond it an excess percentage applies, which is not
part of this dataset). Income below the lowest bracket returns
trekk: 0. An unknown table/period/type combination returns
404; invalid parameters return 400.
Batch lookup (up to 1000 items) — for resolving many at once.
…
Returns { "resultater": [ … ] } in input order; each entry
carries a funnet (found) flag.
Lists the available table numbers plus the period/type enumerations.
Returns { "status": "ok" }.