crater-invoice / crater

Open Source Invoicing Solution for Individuals & Businesses
https://craterapp.com
GNU Affero General Public License v3.0
7.62k stars 1.53k forks source link

Tax Negative IRPF Spain #1301

Open Javiermona opened 2 weeks ago

Javiermona commented 2 weeks ago

Hello, I want to know how I can set a negative tax. In Spain, there is a 15% negative withholding. The app does not allow setting negative taxes. What I did was to set the value to negative in the database and changed 15 to -15, and it accepted it. I also modified a field in the invoice table to respect the negative value. Now what happens is that the reports show an error due to this change I made. I don't know Laravel, and it is very difficult for me to find a way to develop it. Does anyone have an idea on how to do it?

Reports

negative