Generating financial reports

Hello Tryton community,

I am working with the Tryton accounting module and generating financial reports where, according to German accounting requirements, it is important to display the “Gegenkonto” (offset or contra account in english I guess) on each move line in the report (like in the general ledger printout).

Is there a way to automatically retrieve the offset account for each booking (Buchungssatz) line, so that in every line, the other side of the move is shown as the Gegenkonto?

Does Tryton or any of its modules already provide this feature or field for German accounting?

Are there any ready-made modules or best practices for complying with German reporting requirements around the Gegenkonto?

(I need to export the data as .csv or .pdf, where the important thing to find how i can gather this field ’gegenkonto’)

Any help would be much appreciated!

Thank you!

There is no such concept in Tryton because it is base on “Accounting Move” which group together multiple debit and credit and ensure they are balanced.
So it is never clear what is the contra account of a specific line.
For example

# Account Debit Credit
1 Receivable 1000
2 Goods 900
3 Tax 100

Any of those lines have a specific contra account.
(and there could be cases where there is a second debit)