Feature #4978
openWithout TaxInvoice In Invoice Page
Subtasks
Related issues
Updated by Ramu Kodali 21 days ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Today I completed the Update Invoice API logic including the full implementation of the tax removal feature.
I added the backend logic to automatically recalculate totalAmount and remainingBalance when isWithoutTax is toggled from the frontend.
Additionally, I updated the Get All Invoice Details API to return both taxAmount and the new withoutTaxAmount (total – tax).
On the frontend side, I integrated the checkbox functionality and connected it to the new backend /tax/:id endpoint so tax is applied/removed correctly and updates reflect immediately on UI.
These changes ensure that tax handling is consistent across:
Invoice Update API
Invoice listing (GetAllInvoiceDetails)
Payment dialog
UI totals & subtotals