Payetools.Common 1.0.148

Prefix Reserved
dotnet add package Payetools.Common --version 1.0.148                
NuGet\Install-Package Payetools.Common -Version 1.0.148                
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.Common" Version="1.0.148" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Payetools.Common --version 1.0.148                
#r "nuget: Payetools.Common, 1.0.148"                
#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.Common as a Cake Addin
#addin nuget:?package=Payetools.Common&version=1.0.148

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

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 testing 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. (2022-2023, 2023-2024 and 2024-2025 reference data sets are currently published.)

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 was computed.  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.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Payetools.Common:

Package Downloads
Payetools.NationalInsurance

National Insurance calculation library for Payetools framework

Payetools.StudentLoans

Student loans calculation library for Payetools framework

Payetools.IncomeTax

Income tax calculation library for Payetools framework

Payetools.NationalMinimumWage

National Minimum/Living Wage compliance library for Payetools framework

Payetools.Pensions

Pensions calculation library for Payetools framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.148 202 10/30/2024
1.0.147 218 10/14/2024
1.0.146 186 10/14/2024
1.0.145 528 8/10/2024
1.0.144 244 8/10/2024
1.0.143 584 5/17/2024
1.0.142 236 5/17/2024
1.0.141 240 5/17/2024
1.0.140 211 5/15/2024
1.0.139 185 5/14/2024
1.0.138 179 5/14/2024
1.0.137 172 5/14/2024
1.0.136 185 5/14/2024
1.0.135 207 5/13/2024
1.0.132 207 5/13/2024
1.0.130 201 5/13/2024
1.0.128 192 5/13/2024
1.0.126 191 5/13/2024
1.0.125 186 5/13/2024
1.0.123 196 5/13/2024
1.0.122 195 5/13/2024
1.0.121 197 5/13/2024
1.0.120 211 5/13/2024
1.0.119 196 5/13/2024
1.0.118 201 5/13/2024
1.0.116 193 5/12/2024
1.0.115 196 5/11/2024
1.0.112 192 5/11/2024
1.0.111 200 5/11/2024
1.0.110 207 5/11/2024
1.0.109 196 5/11/2024
1.0.108 210 5/11/2024
1.0.107 193 5/10/2024
1.0.106 195 5/10/2024
1.0.105 202 5/10/2024
1.0.104 195 5/10/2024
1.0.104-alpha.0.1 49 5/10/2024
1.0.103 195 5/10/2024
1.0.102 211 5/10/2024
1.0.101 225 5/8/2024
1.0.100 216 5/8/2024
1.0.99 216 5/8/2024
1.0.98 219 5/8/2024
1.0.97 265 5/6/2024
1.0.96 267 5/6/2024
1.0.95 266 5/6/2024
1.0.94 255 5/5/2024
1.0.93 248 5/5/2024
1.0.92 218 5/2/2024
1.0.92-alpha.0.1 64 4/25/2024
1.0.91 339 4/25/2024
1.0.91-alpha.0.1 47 4/25/2024
1.0.90 310 4/24/2024
1.0.88 254 4/24/2024
1.0.88-alpha.0.1 49 4/17/2024
1.0.87 240 4/17/2024
1.0.86 243 4/17/2024
1.0.84 251 4/16/2024
1.0.83 252 4/11/2024
1.0.82 236 4/10/2024
1.0.81 265 4/9/2024
1.0.80 253 4/9/2024
1.0.77 257 4/8/2024
1.0.76 245 4/8/2024
1.0.75 253 4/8/2024
1.0.74 269 4/7/2024
1.0.72 257 4/6/2024
1.0.71 268 4/5/2024
1.0.70 226 4/5/2024
1.0.69 261 4/5/2024
1.0.68 283 4/3/2024
1.0.67 251 4/3/2024
1.0.66 257 4/3/2024
1.0.65 250 4/3/2024
1.0.64 239 4/3/2024
1.0.63 262 4/2/2024
1.0.62 252 4/2/2024
1.0.61 280 4/2/2024
1.0.60 285 4/2/2024
1.0.59 254 4/1/2024
1.0.58 248 4/1/2024
1.0.57 257 3/31/2024
1.0.56 251 3/30/2024
1.0.55 240 3/30/2024
1.0.54 232 3/30/2024
1.0.53 239 3/29/2024
1.0.52 250 3/29/2024
1.0.51 233 3/28/2024
1.0.50 239 3/21/2024
1.0.49 249 3/21/2024
1.0.48 251 3/21/2024
1.0.47 260 3/21/2024
1.0.46 240 3/20/2024
1.0.46-alpha.0.1 52 3/20/2024
1.0.45 272 3/19/2024
1.0.44 250 3/19/2024
1.0.43 282 3/18/2024
1.0.42 280 3/18/2024
1.0.40 296 3/18/2024
1.0.39 332 2/29/2024
1.0.38 305 2/27/2024
1.0.37 349 2/27/2024
1.0.36 411 2/7/2024
1.0.35 372 2/7/2024
1.0.34 403 2/5/2024
1.0.33 376 2/5/2024
1.0.32 356 2/4/2024
1.0.31 394 2/3/2024
1.0.30 410 2/3/2024
1.0.30-alpha.0.1 58 2/3/2024
1.0.28 397 2/3/2024
1.0.27 395 2/2/2024
1.0.26 378 2/2/2024
1.0.25 386 2/2/2024
1.0.24 382 2/2/2024
1.0.23 397 1/31/2024
1.0.22 368 1/31/2024
1.0.21 457 1/22/2024
1.0.20 424 1/22/2024
1.0.19 413 1/22/2024
1.0.17 451 1/18/2024
1.0.16 478 1/12/2024
1.0.11-alpha.0.10 69 1/12/2024
1.0.11-alpha.0.8 65 1/12/2024
1.0.11-alpha.0.7 61 1/12/2024
1.0.6 515 1/4/2024
1.0.4 433 1/3/2024
1.0.2-alpha.0.3 70 1/3/2024
0.0.0-alpha.0 68 1/4/2024