When i add an invoice, the Total is always 0 but when i update without any changes, it s updated with the totalsubtotals(). i understand that there are many calculations and