On this page
DocumentationConcepts

Reports

A report is the calculator-specific output returned by the SDK or HTTP API. Reports are schema-backed values, not untyped result bags.

When this matters

Read the report when your application needs final amounts, ledger components or trace-linked explanation. Keep assertions focused on fields your application uses.

How it works

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

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

console.log(report._tag);
console.log(report.liability.cents);
console.log(report.ledger.components.length);

Expected output includes:

Plain text
AnnualTaxReport
1958800
3

This is the unchanged $90,000 example for 2025–26. The annual calculation guide explains the corrected Medicare thresholds in rules-au-income-tax/1.0.1 and the supported case. This example does not cover every tax-return circumstance or establish that a deployed installation uses that edition.

Ledgers

Ledgers break a calculation into components such as income tax, offsets and Medicare levy. Components preserve trace information so a reviewer can inspect how a total was assembled.