On this page
DocumentationStart

Install the SDK

Install the TypeScript SDK when your application can run TaxKit in-process. Use the HTTP API instead when the caller cannot import TypeScript packages.

Current package status

taxkit is the only TaxKit package configured for npm installation. The engine, Australian rules and HTTP contracts are included in that package.

Install the package

Terminal
npm install taxkit

All TaxKit entry points come from taxkit. Effect is its only external runtime dependency and your package manager installs it automatically. Use taxkit/core for checked money values such as aud.

Choose an entrypoint

The existing /au/effect, /schemas and /testing paths remain available. These are paths inside one package; you do not install them separately.

Verify an import

TypeScript
import { Cents, Money } from "taxkit/money";
import { calculate, calculateSafe, createClient } from "taxkit";
import {
  AuPayTakeHomeCalculation,
  AuAnnualIncomeTaxCalculation,
  takeHomePay,
  annualIncomeTax,
} from "taxkit/au";

const report = await calculate(AuAnnualIncomeTaxCalculation, {
  taxableIncome: Money.fromCents(Cents.make(9_000_000)),
});

console.log(report.liability.cents);

Next steps