crater-invoice / crater

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

In reports, Taxes, Withholdings with negative amounts. #1308

Open Javiermona opened 3 months ago

Javiermona commented 3 months ago

Describe the bug When I apply a withholding on the invoice, which deducts an amount from the total, the tax report should display this amount. This value represents the withholding made by the customer, which the customer then pays to the tax authorities.

Expected behavior The withholding amount is expected to appear (not as a negative value), but this amount should not be added to the VAT amount. I believe we should calculate totals by item and not sum everything together. The VAT amount is paid by the issuer of the invoice, but the withholding is paid by the customer; they are two different things. If it is negative, it should be in a separate section, such as "Withheld Amounts," and listed separately.

Screenshots image

Please complete the following information:

Optional info

rihards-simanovics commented 3 months ago

❗Attention❗

Please migrate to InvoiceShelf, a fork of crater which continues the development of this project.

More info on new fork availible in this issue: https://github.com/crater-invoice/crater/issues/1281