canadian-income-tax-2024.0: Canadian income tax calculation
Safe HaskellNone
LanguageHaskell2010

Tax.Canada

Synopsis

Documentation

completeForms :: Code -> InputForms Maybe -> FDFs FormKey -> Either String (FDFs FormKey) Source #

Complete all FDF forms in the given map, keyed by FormKey. The inter-form field references are resolved as well.

completeRelevantForms :: Code -> InputForms Maybe -> FDFs FormKey -> Either String (FDFs FormKey) Source #

Complete the FDF forms in the given map, keyed by identifiers (T1, 428, Schedule9, etc). The inter-form field references are resolved as well. Only the relevant forms that affect T1 are kept.

formFileNames :: Code -> Map FormKey Text Source #

A map of standard file paths of all supported forms for the given province, without the common file suffix and extension.