On this page
Schema reference
Use this page when you need the canonical schema names for SDK, HTTP and test fixtures.
CalculatorRunRequest
CalculatorRunRequest is the public request body schema for a calculator run.
It is owned by @taxkit/calculators.
The native request union keeps identity and facts correlated. Strict payload parsing rejects unknown keys, including ignored inputs from a different pack. The path and body identity must agree.
CalculatorRunResponse
The response union correlates calculatorId with its checked report, and
includes calculator catalogue metadata and engine diagnostics. A report's
own Schema checks periods and accounting relationships during restoration.
CalculatorServiceError
CalculatorServiceError is the expected calculator service failure union.
Runtime graph
Owning sources
- Calculator schemas:
packages/calculators/src/schemas.ts - Calculator error projection:
packages/core/src/errors/input-validation-error.ts - SDK schema re-exports:
packages/sdk/typescript/src/schemas/index.ts