Payetools.NationalInsurance 1.1.25

Prefix Reserved
dotnet add package Payetools.NationalInsurance --version 1.1.25
                    
NuGet\Install-Package Payetools.NationalInsurance -Version 1.1.25
                    
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.NationalInsurance" Version="1.1.25" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Payetools.NationalInsurance" Version="1.1.25" />
                    
Directory.Packages.props
<PackageReference Include="Payetools.NationalInsurance" />
                    
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.NationalInsurance --version 1.1.25
                    
#r "nuget: Payetools.NationalInsurance, 1.1.25"
                    
#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.
#addin nuget:?package=Payetools.NationalInsurance&version=1.1.25
                    
Install Payetools.NationalInsurance as a Cake Addin
#tool nuget:?package=Payetools.NationalInsurance&version=1.1.25
                    
Install Payetools.NationalInsurance 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Payetools.NationalInsurance:

Package Downloads
Payetools.ReferenceData

Reference data provider library for Payetools framework

Payetools.Payroll

Payroll processing library for Payetools framework

Payetools.Hmrc.Common

Common HRMC library for Payetools RTI components

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.25 316 3/13/2025
1.1.22 261 3/12/2025
1.1.20 154 3/12/2025
1.1.18 151 3/12/2025
1.1.17 283 3/5/2025
1.1.16 211 3/5/2025
1.1.15 209 3/4/2025
1.1.15-alpha.0.1 48 1/31/2025
1.1.14 332 1/31/2025
1.1.13 147 1/10/2025
1.1.11 104 12/31/2024
1.1.10 259 12/15/2024
1.1.9 104 12/15/2024
1.1.8 140 12/12/2024
1.1.7 141 12/11/2024
1.1.6 143 12/7/2024
1.1.5 96 12/7/2024
1.0.148 188 10/30/2024
1.0.147 166 10/14/2024
1.0.146 121 10/14/2024
1.0.145 191 8/10/2024
1.0.144 446 8/10/2024
1.0.143 409 5/17/2024
1.0.142 139 5/17/2024
1.0.141 138 5/17/2024
1.0.140 136 5/15/2024
1.0.139 122 5/14/2024
1.0.138 120 5/14/2024
1.0.137 105 5/14/2024
1.0.136 109 5/14/2024
1.0.135 142 5/13/2024
1.0.132 137 5/13/2024
1.0.130 134 5/13/2024
1.0.128 127 5/13/2024
1.0.126 140 5/13/2024
1.0.125 129 5/13/2024
1.0.123 143 5/13/2024
1.0.122 131 5/13/2024
1.0.121 137 5/13/2024
1.0.120 144 5/13/2024
1.0.119 125 5/13/2024
1.0.118 125 5/13/2024
1.0.116 132 5/12/2024
1.0.115 123 5/11/2024
1.0.112 124 5/11/2024
1.0.111 131 5/11/2024
1.0.110 126 5/11/2024
1.0.109 142 5/11/2024
1.0.108 133 5/11/2024
1.0.107 133 5/10/2024
1.0.106 137 5/10/2024
1.0.105 138 5/10/2024
1.0.104 134 5/10/2024
1.0.104-alpha.0.1 60 5/10/2024
1.0.103 132 5/10/2024
1.0.102 147 5/10/2024
1.0.101 146 5/8/2024
1.0.100 139 5/8/2024
1.0.99 130 5/8/2024
1.0.98 148 5/8/2024
1.0.97 179 5/6/2024
1.0.96 167 5/6/2024
1.0.95 166 5/6/2024
1.0.94 162 5/5/2024
1.0.93 147 5/5/2024
1.0.92 131 5/2/2024
1.0.92-alpha.0.1 68 4/25/2024
1.0.91 222 4/25/2024
1.0.91-alpha.0.1 64 4/25/2024
1.0.90 206 4/24/2024
1.0.88 149 4/24/2024
1.0.88-alpha.0.1 63 4/17/2024
1.0.87 139 4/17/2024
1.0.86 156 4/17/2024
1.0.84 165 4/16/2024
1.0.83 168 4/11/2024
1.0.82 157 4/10/2024
1.0.81 168 4/9/2024
1.0.80 168 4/9/2024
1.0.77 171 4/8/2024
1.0.76 155 4/8/2024
1.0.75 174 4/8/2024
1.0.74 185 4/7/2024
1.0.72 166 4/6/2024
1.0.71 173 4/5/2024
1.0.70 151 4/5/2024
1.0.69 168 4/5/2024
1.0.68 195 4/3/2024
1.0.67 160 4/3/2024
1.0.66 173 4/3/2024
1.0.65 163 4/3/2024
1.0.64 169 4/3/2024
1.0.63 166 4/2/2024
1.0.62 159 4/2/2024
1.0.61 164 4/2/2024
1.0.60 161 4/2/2024
1.0.59 162 4/1/2024
1.0.58 168 4/1/2024
1.0.57 163 3/31/2024
1.0.56 162 3/30/2024
1.0.55 163 3/30/2024
1.0.54 153 3/30/2024
1.0.53 156 3/29/2024
1.0.52 144 3/29/2024
1.0.51 158 3/28/2024
1.0.50 147 3/21/2024
1.0.49 144 3/21/2024
1.0.48 153 3/21/2024
1.0.47 155 3/21/2024
1.0.46 164 3/20/2024
1.0.46-alpha.0.1 59 3/20/2024
1.0.45 168 3/19/2024
1.0.44 184 3/19/2024
1.0.43 155 3/18/2024
1.0.42 151 3/18/2024
1.0.40 180 3/18/2024
1.0.39 196 2/29/2024
1.0.38 175 2/27/2024
1.0.37 165 2/27/2024
1.0.36 210 2/7/2024
1.0.35 168 2/7/2024
1.0.34 167 2/5/2024
1.0.33 153 2/5/2024
1.0.32 146 2/4/2024
1.0.31 168 2/3/2024
1.0.30 149 2/3/2024
1.0.30-alpha.0.1 66 2/3/2024
1.0.28 151 2/3/2024
1.0.27 159 2/2/2024
1.0.26 148 2/2/2024
1.0.25 161 2/2/2024
1.0.24 155 2/2/2024
1.0.23 153 1/31/2024
1.0.22 139 1/31/2024
1.0.21 193 1/22/2024
1.0.20 159 1/22/2024
1.0.19 156 1/22/2024
1.0.17 182 1/18/2024
1.0.16 190 1/12/2024
1.0.11-alpha.0.10 74 1/12/2024
1.0.11-alpha.0.8 69 1/12/2024
1.0.11-alpha.0.7 72 1/12/2024
1.0.6 185 1/4/2024
1.0.4 165 1/3/2024
1.0.2-alpha.0.3 84 1/3/2024
0.0.0-alpha.0 84 1/4/2024