Project

tax_easy

0.0
No commit activity in last 3 years
No release in over 3 years
TaxEasy - Gem to Calculate Taxes - So feel free to contribute!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.1.0
~> 10.0
~> 2.99.0

Runtime

~> 0.5.2
 Project Readme

Tax Easy

Code Climate Travis

Gem Version

Ruby Gem to calculate Taxes.

Installation

gem 'tax_easy'

Run the bundle command to install it.

Calculators - Brazil

IOF

TaxEasy::Financial::Brazil::IOF.new.calculate(20_000, 48, 1.5) # ==> 356.70671942746617

IOF varies according to type of loan. We need to implement them.

You can override the default base IOF value. Example:

TaxEasy::Financial::Brazil::IOF.new(iof_day: 0.0038, iof_additional: 0.000050)

TODO

There's a lot of taxes to be implemented.

So feel free to contribute! \o/.

Contributing

  1. Fork the repository
  2. Create a branch
  3. Create a spec + code
  4. Open a Pull Request ;)