doing my annual reporting, each year I’m struggling with differences between saldi on VAT accounts and tax lines, due to mistakes in manually created moves and move templates. (Yes I know, these mistakes can be avoided by doing anything with invoices.)
Soi, with AI help, I’m trying to create a script which checks if entries in account_tax_line - but I could not find out how these to relate to move or move lines. In account_tax_line, there is the “move” column, which in my case holds 5-digit numbers. Do these somehow relate to account_move or account_move_line - or did I miss the point?
See Tax Line
Document that create accounting move like invoice are filling them using the result of the tax calculation.
When you do manual entry, you must fill them yourself if needed.