All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated README to fix incorrect information.
- Updated K_CODE Clarification to include SK and CK code Clarifications.
- Added new validator to PensionValidator to validate if pension contribution amount is below wage.
- Added new validator to PensionValidator to check for amount lower than 10 millions.
- Updated internal calculation to force Scottish Rate if consumer set
userPaysScottishTax
to true.
- Added
taxableIncome
to response.
- Update dependencies.
- Format README to fix swift package release.
- Fix PensionValidator to perform format check on input, instead of the calculated value.
- Fix Student Loan rounding issue, and added new parameterized test for Student Loan.
- Fix Scottish Tax Rate by adding allowing SD3 tax code for Scottish top rate.
- Added Clarification for Pension Allowance, and adjusted Pension Allowance amount.
- Added priority order for Clarification.
- Splitting student loan to student and postgraduate loan.
- Added new Clarification to describe student loan status.
- Added new "otherAmount" which combined student/postgrad/pension value.
- Added
HAVE_NO_STATE_PENSION
Clarification. - Added new tax code validator to validate tax code matching rate.
- Added new pension validator to validate Pension input.
- Fix National Insurance calculation to use correct wage.
- Fix Student Loan internal calculation to use provided tax year instead of latest tax year only.
- Removed
standardLifetimeAllowance
for Pension validation. - Allow Pension to go above
annualAllowance
. - Fix Student Loan internal calculation to use yearly wage instead of deducting pension.
- Fix internal object so they're not accessible by jvm consumer.
- Refactor Pension Contribution to take one amount parameter instead of two.
- Added Clarification response list.
- Added more validation to
PensionValidator
. - Remove £9 from K and T tax code.
- Refactor Pension Contribution/Student Loan constructor
- Refactor Pension Contribution internal calculation to monthly instead of yearly.
- Update Fastfile to create PR as part of release process.
- Update National Insurance Rate for 2024/25.
- Updated the Kotlin version for compatibility with Xcode 15.
- Added Pension Contribution calculation.
- Added Tapering calculation.
- Added Student Loan calculation.
- Added
userSuppliedTaxCode
to calculation, only calculate tapering if this value isfalse
. - Added 2024/25 rates.
- Added 2024 January National Insurance rate.
- Fixed bug to ignore additional characters on valid tax code.
- Downgrade Kotlin version for compatibility.
- Added 2023/24 rates.
- Added support for Apple Silicon simulator.
- Fixed issue with the
.jar
name for JVM consumers.
- Updated November revised 2022 NI bands.
- Fixed CI issues
- Updated klock version to minimum version available on maven central
- Updated July revised 2022 NI bands.
- Restored
taxBreakdown
property to response.
- Removed the internal concept of adjusted bands.
- Changed the way in which tax and NI is calculated and totalled.
- Added adjustment for over £150k
- Fixed access level issues and added a new helper for the default tax code.
- Removed £9 adjustment from results.
- Updated 2022/23 rates.
- Removing
-jvm
from .jar name
- Updated Scottish rates.
- Changed to Github packages for artefact storage.
- Added support for
Swift Package Manager
- Added VCS Url