Skip to main content

Einkommensteuerrechner für Deutschland

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 days ago (0.0.5)

README

Einkommensteuerrechner für Deutschland

Funktionen

  • berechne Steuerbetrag, Durchschnittssteuersatz und Grenzsteuersatz für zu versteuerndes Einkommen
  • sample Punkte für Plot
  • nominale und reale Werte

Benutzung

import { Steuer, steuerbetrag } from "@vwkd/income-tax-de";
import { Inflation } from "@vwkd/inflation";
import { currencyReplacements, inflationRates } from "@vwkd/inflation/de";

const jahr = 2020;
const zvE = 14_533;

const inflation = new Inflation(inflationRates, currencyReplacements);
const params = steuerbetrag.find((s) => s.Jahr == jahr);
const steuer = new Steuer(params, inflation);

console.log(steuer.steuerbetrag(zvE)); // 973.03
console.log(steuer.steuersatz(zvE)); // 0.0669
console.log(steuer.grenzsteuersatz(zvE)); // 0.2397

Add Package

deno add jsr:@vwkd/income-tax-de

Import symbol

import * as income_tax_de from "@vwkd/income-tax-de";

---- OR ----

Import directly with a jsr specifier

import * as income_tax_de from "jsr:@vwkd/income-tax-de";

Add Package

npx jsr add @vwkd/income-tax-de

Import symbol

import * as income_tax_de from "@vwkd/income-tax-de";

Add Package

yarn dlx jsr add @vwkd/income-tax-de

Import symbol

import * as income_tax_de from "@vwkd/income-tax-de";

Add Package

pnpm dlx jsr add @vwkd/income-tax-de

Import symbol

import * as income_tax_de from "@vwkd/income-tax-de";

Add Package

bunx jsr add @vwkd/income-tax-de

Import symbol

import * as income_tax_de from "@vwkd/income-tax-de";