Payetools.Pensions 2.1.3

Prefix Reserved
dotnet add package Payetools.Pensions --version 2.1.3
                    
NuGet\Install-Package Payetools.Pensions -Version 2.1.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Payetools.Pensions" Version="2.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Payetools.Pensions" Version="2.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Payetools.Pensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Payetools.Pensions --version 2.1.3
                    
#r "nuget: Payetools.Pensions, 2.1.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Payetools.Pensions@2.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Payetools.Pensions&version=2.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Payetools.Pensions&version=2.1.3
                    
Install as a Cake Tool

Payetools

Cross-platform Open-Source Library for UK payroll

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

See the Program.cs of the example project for step-by-step instructions on getting your first pay run output.

The code passes HMRC tests for income tax, National Insurance, student loans and National Minimum Wage.

Separately, Payetools has developed libraries for HMRC RTI and DPS services that sit on top of the core Payetools open-source libraries published here. The Payetools.Hmrc libraries enable the publishing of FPS and EPS submissions to HMRC and the retrieval of notifications (e.g., tax code changes, student loan starts/stops, etc.) from HMRC's Data Provisioning Service (DPS). Payetools.Hmrc is available as a commercial offering - please contact info [at] payetools.com for further information.

Commercial support for the Payetools open-source libraries is also available - please contact info [at] payetools.com for further information.

Releases

Releases are made via nuget - search for payetools to see all libraries for this repo or follow this link. Packages are built with compatibility with .NET 8.0 and 9.0.

Release notes can be found in releases.md.

Reference Data

Payetools relies on static reference data to drive tax, NI, etc., calculations (the machine-readable equivalent of HMRC's Rates and thresholds for employers page. A version of this data set for testing can be found at https://uk-rates-and-thresholds-data.netlify.app/index.json. (2022-2023, 2023-2024 and 2024-2025 reference data sets are currently published.)

Documentation

API documentation is available at https://payetools.dev/api/Payetools.html. (This is a work in progress.)

Contributing

Please contact payetools via dev [at] payetools.com if you are interested in contributing to the project.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Payetools.Pensions:

Package Downloads
Payetools.ReferenceData

Reference data provider library for Payetools framework

Payetools.Payroll

Payroll processing library for Payetools framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.3 243 6/2/2025
2.1.2 159 6/2/2025
1.2.1 470 4/11/2025
1.1.26 163 4/11/2025
1.1.25 399 3/13/2025
1.1.22 322 3/12/2025
1.1.20 173 3/12/2025
1.1.18 181 3/12/2025
1.1.17 305 3/5/2025
1.1.16 239 3/5/2025
1.1.15 234 3/4/2025
1.1.15-alpha.0.1 73 1/31/2025
1.1.14 355 1/31/2025
1.1.13 136 1/10/2025
1.1.11 118 12/31/2024
1.1.10 272 12/15/2024
1.1.9 123 12/15/2024
1.1.8 162 12/12/2024
1.1.7 155 12/11/2024
1.1.6 178 12/7/2024
1.1.5 126 12/7/2024
1.0.148 205 10/30/2024
1.0.147 170 10/14/2024
1.0.146 139 10/14/2024
1.0.145 203 8/10/2024
1.0.144 463 8/10/2024
1.0.143 450 5/17/2024
1.0.142 176 5/17/2024
1.0.141 186 5/17/2024
1.0.140 158 5/15/2024
1.0.139 147 5/14/2024
1.0.138 129 5/14/2024
1.0.137 120 5/14/2024
1.0.136 127 5/14/2024
1.0.135 137 5/13/2024
1.0.132 122 5/13/2024
1.0.130 125 5/13/2024
1.0.128 124 5/13/2024
1.0.126 129 5/13/2024
1.0.125 116 5/13/2024
1.0.123 127 5/13/2024
1.0.122 119 5/13/2024
1.0.121 125 5/13/2024
1.0.120 120 5/13/2024
1.0.119 122 5/13/2024
1.0.118 120 5/13/2024
1.0.116 116 5/12/2024
1.0.115 121 5/11/2024
1.0.112 118 5/11/2024
1.0.111 120 5/11/2024
1.0.110 130 5/11/2024
1.0.109 126 5/11/2024
1.0.108 140 5/11/2024
1.0.107 111 5/10/2024
1.0.106 129 5/10/2024
1.0.105 122 5/10/2024
1.0.104 121 5/10/2024
1.0.104-alpha.0.1 69 5/10/2024
1.0.103 114 5/10/2024
1.0.102 138 5/10/2024
1.0.101 134 5/8/2024
1.0.100 149 5/8/2024
1.0.99 148 5/8/2024
1.0.98 156 5/8/2024
1.0.97 180 5/6/2024
1.0.96 175 5/6/2024
1.0.95 171 5/6/2024
1.0.94 168 5/5/2024
1.0.93 156 5/5/2024
1.0.92 132 5/2/2024
1.0.92-alpha.0.1 76 4/25/2024
1.0.91 218 4/25/2024
1.0.91-alpha.0.1 75 4/25/2024
1.0.90 215 4/24/2024
1.0.88 173 4/24/2024
1.0.88-alpha.0.1 74 4/17/2024
1.0.86 158 4/17/2024
1.0.84 161 4/16/2024
1.0.83 179 4/11/2024
1.0.82 153 4/10/2024
1.0.81 177 4/9/2024
1.0.80 165 4/9/2024
1.0.77 152 4/8/2024
1.0.76 157 4/8/2024
1.0.75 176 4/8/2024
1.0.74 180 4/7/2024
1.0.72 169 4/6/2024
1.0.71 156 4/5/2024
1.0.70 158 4/5/2024
1.0.69 166 4/5/2024
1.0.68 178 4/3/2024
1.0.67 169 4/3/2024
1.0.66 163 4/3/2024
1.0.65 163 4/3/2024
1.0.64 174 4/3/2024
1.0.63 162 4/2/2024
1.0.62 167 4/2/2024
1.0.61 182 4/2/2024
1.0.60 177 4/2/2024
1.0.59 164 4/1/2024
1.0.58 183 4/1/2024
1.0.57 165 3/31/2024
1.0.56 168 3/30/2024
1.0.55 157 3/30/2024
1.0.54 165 3/30/2024
1.0.53 137 3/29/2024
1.0.52 147 3/29/2024
1.0.51 159 3/28/2024
1.0.50 159 3/21/2024
1.0.49 145 3/21/2024
1.0.48 174 3/21/2024
1.0.47 158 3/21/2024
1.0.46 172 3/20/2024
1.0.46-alpha.0.1 74 3/20/2024
1.0.45 193 3/19/2024
1.0.44 161 3/19/2024
1.0.43 178 3/18/2024
1.0.42 169 3/18/2024
1.0.40 178 3/18/2024
1.0.39 175 2/29/2024
1.0.38 188 2/27/2024
1.0.37 172 2/27/2024
1.0.36 206 2/7/2024
1.0.35 171 2/7/2024
1.0.34 174 2/5/2024
1.0.33 164 2/5/2024
1.0.32 149 2/4/2024
1.0.31 181 2/3/2024
1.0.30 155 2/3/2024
1.0.30-alpha.0.1 77 2/3/2024
1.0.28 167 2/3/2024
1.0.27 157 2/2/2024
1.0.26 155 2/2/2024
1.0.25 179 2/2/2024
1.0.24 162 2/2/2024
1.0.23 168 1/31/2024
1.0.22 156 1/31/2024
1.0.21 203 1/22/2024
1.0.20 167 1/22/2024
1.0.19 162 1/22/2024
1.0.17 187 1/18/2024
1.0.16 204 1/12/2024
1.0.11-alpha.0.10 82 1/12/2024
1.0.11-alpha.0.8 80 1/12/2024
1.0.11-alpha.0.7 78 1/12/2024
1.0.6 179 1/4/2024
1.0.4 192 1/3/2024
1.0.2-alpha.0.3 93 1/3/2024
0.0.0-alpha.0 86 1/4/2024