Payetools.NationalInsurance 1.0.138

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Payetools.NationalInsurance --version 1.0.138                
NuGet\Install-Package Payetools.NationalInsurance -Version 1.0.138                
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.0.138" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Payetools.NationalInsurance --version 1.0.138                
#r "nuget: Payetools.NationalInsurance, 1.0.138"                
#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.
// Install Payetools.NationalInsurance as a Cake Addin
#addin nuget:?package=Payetools.NationalInsurance&version=1.0.138

// Install Payetools.NationalInsurance as a Cake Tool
#tool nuget:?package=Payetools.NationalInsurance&version=1.0.138                

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.

Tests are included for 2022-2023 and 2023-2024 tax year rates and thresholds. 2024-2025 support is due shortly.

Separately, Payetools is currently working on 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 will be available as a commercial offering - 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 6.0, 7.0 and 8.0.

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. There is currently no high availability source of this data, but a version for testing can be found at https://uk-rates-and-thresholds-data.netlify.app/index.json. (Only 2022-2024 and 2023-2024 are currently published but 2024-2025 should be available before end May 2024.)

Documentation

Limited API documentation is available at https://payetools.dev/api/Payetools.html. This is very much a work in progress.

Roadmap

To follow.

Contributing

Given the current pipeline of work, we are not quite ready to receive contributions at this stage but if you are interested in joining the project, please contact payetools via dev [at] payetools.com. Thanks in advance for your interest.

It isn't recommended to fork this repo at this time, on the basis that there are a number of imminent changes in the pipeline. Once again, if there is a feature or capability you require, please contact us in the first instance.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
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

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.148 126 10/30/2024
1.0.147 146 10/14/2024
1.0.146 106 10/14/2024
1.0.145 181 8/10/2024
1.0.144 429 8/10/2024
1.0.143 399 5/17/2024
1.0.142 129 5/17/2024
1.0.141 127 5/17/2024
1.0.140 125 5/15/2024
1.0.139 109 5/14/2024
1.0.138 109 5/14/2024
1.0.137 93 5/14/2024
1.0.136 97 5/14/2024
1.0.135 131 5/13/2024
1.0.132 123 5/13/2024
1.0.130 122 5/13/2024
1.0.128 115 5/13/2024
1.0.126 126 5/13/2024
1.0.125 115 5/13/2024
1.0.123 128 5/13/2024
1.0.122 120 5/13/2024
1.0.121 123 5/13/2024
1.0.120 131 5/13/2024
1.0.119 113 5/13/2024
1.0.118 112 5/13/2024
1.0.116 120 5/12/2024
1.0.115 113 5/11/2024
1.0.112 111 5/11/2024
1.0.111 118 5/11/2024
1.0.110 113 5/11/2024
1.0.109 127 5/11/2024
1.0.108 120 5/11/2024
1.0.107 121 5/10/2024
1.0.106 123 5/10/2024
1.0.105 126 5/10/2024
1.0.104 119 5/10/2024
1.0.104-alpha.0.1 52 5/10/2024
1.0.103 119 5/10/2024
1.0.102 133 5/10/2024
1.0.101 136 5/8/2024
1.0.100 127 5/8/2024
1.0.99 114 5/8/2024
1.0.98 133 5/8/2024
1.0.97 168 5/6/2024
1.0.96 156 5/6/2024
1.0.95 154 5/6/2024
1.0.94 146 5/5/2024
1.0.93 131 5/5/2024
1.0.92 117 5/2/2024
1.0.92-alpha.0.1 56 4/25/2024
1.0.91 210 4/25/2024
1.0.91-alpha.0.1 53 4/25/2024
1.0.90 194 4/24/2024
1.0.88 137 4/24/2024
1.0.88-alpha.0.1 54 4/17/2024
1.0.87 125 4/17/2024
1.0.86 144 4/17/2024
1.0.84 155 4/16/2024
1.0.83 157 4/11/2024
1.0.82 146 4/10/2024
1.0.81 154 4/9/2024
1.0.80 154 4/9/2024
1.0.77 155 4/8/2024
1.0.76 144 4/8/2024
1.0.75 163 4/8/2024
1.0.74 171 4/7/2024
1.0.72 155 4/6/2024
1.0.71 161 4/5/2024
1.0.70 140 4/5/2024
1.0.69 154 4/5/2024
1.0.68 185 4/3/2024
1.0.67 149 4/3/2024
1.0.66 161 4/3/2024
1.0.65 150 4/3/2024
1.0.64 155 4/3/2024
1.0.63 153 4/2/2024
1.0.62 145 4/2/2024
1.0.61 156 4/2/2024
1.0.60 148 4/2/2024
1.0.59 151 4/1/2024
1.0.58 157 4/1/2024
1.0.57 151 3/31/2024
1.0.56 152 3/30/2024
1.0.55 149 3/30/2024
1.0.54 143 3/30/2024
1.0.53 144 3/29/2024
1.0.52 131 3/29/2024
1.0.51 147 3/28/2024
1.0.50 136 3/21/2024
1.0.49 136 3/21/2024
1.0.48 143 3/21/2024
1.0.47 146 3/21/2024
1.0.46 156 3/20/2024
1.0.46-alpha.0.1 54 3/20/2024
1.0.45 153 3/19/2024
1.0.44 175 3/19/2024
1.0.43 146 3/18/2024
1.0.42 141 3/18/2024
1.0.40 173 3/18/2024
1.0.39 187 2/29/2024
1.0.38 165 2/27/2024
1.0.37 155 2/27/2024
1.0.36 201 2/7/2024
1.0.35 159 2/7/2024
1.0.34 156 2/5/2024
1.0.33 145 2/5/2024
1.0.32 138 2/4/2024
1.0.31 159 2/3/2024
1.0.30 141 2/3/2024
1.0.30-alpha.0.1 60 2/3/2024
1.0.28 142 2/3/2024
1.0.27 151 2/2/2024
1.0.26 138 2/2/2024
1.0.25 151 2/2/2024
1.0.24 145 2/2/2024
1.0.23 144 1/31/2024
1.0.22 128 1/31/2024
1.0.21 184 1/22/2024
1.0.20 148 1/22/2024
1.0.19 147 1/22/2024
1.0.17 172 1/18/2024
1.0.16 178 1/12/2024
1.0.11-alpha.0.10 68 1/12/2024
1.0.11-alpha.0.8 62 1/12/2024
1.0.11-alpha.0.7 66 1/12/2024
1.0.6 176 1/4/2024
1.0.4 152 1/3/2024
1.0.2-alpha.0.3 76 1/3/2024
0.0.0-alpha.0 76 1/4/2024