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.

Yes, this was my question. How does this linkage work, by which entity?

EG

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.

Yes, I’m well aware of this.

But would somebody be so kind and answer this question - if possible:

EG

The tax line has a field move_line which makes the link.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.