Relation of account_tax_lines to move_move?

Hello,

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?

Thanks a lot in advance,
EG

I’m guessing you are talking about account.tax.line.

There is not such column in standard setup. A tax line is linked to a move line.