A simple calculator to estimate the tax due based on the Italian tax brackets (scaglioni), deductions (detrazioni), and pension contributions (INPS). This assumes that pension contributions are done separately and at the current rate of 27.7%
Usage:
http://website.com/calculator/40000
Where 40000 is annual income amount
Returns:
{"income":"40000","tax":4981.08,"pension":11080,"standard_deduction":329.88,"net_income":23938.92}