"Escompte" from french account should not be booked as invoice line
In #8568 (closed) we added expense and revenue on "charges et produits financiers" to be able to use the "Escompte" accounts on invoice line.
But indeed such account should be used only for discount for early payment so it depends on when the invoice is paid which #9084 should solve.