hmrc / paye-estimator   2.1.0-SNAPSHOT

Apache License 2.0 GitHub
Scala versions: 2.11
Scala.js versions: 0.6


Download Scala.js

A basic PAYE tax estimation calculator JavaScript library


The ScalaJS library is used to generate the JavaScript, code enhancements must be made to the Scala implementation of the tax-calculator

How to use

To use this code you need to generate the Javascript from the Scala to do this run the following command in the SBT console



The following function is exposed by the JavaScript library and can be used to generate a JSON that can be consumed by a service. See example JSONs.

Supported Methods Description String, date: Int, taxCode: String, grossPayPence: Int, payPeriod: String, hoursIn: Int) Calculates income tax and national insurance contributions More...


This code is open source software licensed under the Apache 2.0 License.