Introduction
Payetools is the first library of its kind to bring open-source capabilities to UK payroll processing via a robust, cross-platform framework written in C#.
Payetools contains support for calculating the following:
- UK Income Tax (all jurisdictions)
- National Insurance
- Student Loans
- Pensions using Qualifying Earnings and Pensionable Pay earnings bases (under both Relief at Source and Net Pay Arrangement tax treatments)
- Compliance with National Minimum/Living Wage regulations
The code passes HMRC tests for income tax, National Insurance, student loans and National Minimum Wage.
Tests are included for 2022-2023 and 2023-2024 tax year rates and thresholds.
Documentation
This documentation is a work in progress. It is currently limited to the API reference, which is itself auto-generated from the XML comments in the Payetools source code. Further work to expand the set of examples and sample code will be provided in due course. Click on the API Reference menu on the left hand side to view the individual namespaces within the Payetools library.