paye-estimator

Build Status Download Scala.js

A basic PAYE tax estimation calculator JavaScript library

Description

The scalaJS library is used to generate the JavaScript, code enhancements must be made to the Scala implementation of the tax-calculator, to regenerate the Javascript simply use the sbt command fullOptJS.

Requirements

The following function is exposed by the JavaScript library.

API

Supported Methods Description
uk.gov.hmrc.payeestimator.services.LiveTaxCalculatorService().calculateTax(isStatePensionAge: String, date: Int, taxCode: String, grossPayPence: Int, payPeriod: String, hoursIn: Int) Calculates income tax and national insurance contributions More...
uk.gov.hmrc.payeestimator.services.LiveGovernmentSpendingReceiptingService().getGovernmentReceiptingData() Returns government receipting data More...
uk.gov.hmrc.payeestimator.services.LiveGovernmentSpendingReceiptingService().getGovernmentSpendingData() Returns government spending data breakdown More...

License

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