Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2589 Zobrazení

Hi all,


Small question: in invoicing (account_move) we see some fields like:

- amount_untaxed & amount_untaxed.signed

- amount_tax & amount_tax_signed


What's the difference or what is it for?



thx in advance!


roeland

Avatar
Zrušit
Nejlepší odpověď

Hi Roeland Vandecan,

Based on my R&D

Found this field in (account.move) model

use in compute total amount.

  1. amount_untaxed:
    • Represents the untaxed amount without considering whether it's a debit or credit.
    • This field typically holds the absolute value of the untaxed amount, regardless of whether it's positive (debit) or negative (credit).
  2. amount_untaxed_signed:
    • Represents the untaxed amount with its sign preserved.
    • If the untaxed amount is positive (debit), it's stored as a positive value. If it's negative (credit), it's stored as a negative value.
  3. amount_tax:
    • Represents the tax amount without considering whether it's a debit or credit.
    • Similar to amount_untaxed, this field typically holds the absolute value of the tax amount, regardless of its direction.
  4. amount_tax_signed:
    • Represents the tax amount with its sign preserved.
    • If the tax amount is positive (debit), it's stored as a positive value. If it's negative (credit), it's stored as a negative value.

The purpose of maintaining both signed and unsigned versions of these fields is to provide flexibility for various accounting operations and reporting requirements. 

  • Unsigned amounts (amount_untaxed and amount_tax) are useful for calculating totals, performing arithmetic operations, and ensuring consistency in financial calculations.
  • Signed amounts (amount_untaxed_signed and amount_tax_signed) are valuable for reporting and analysis purposes, as they reflect the nature of the transaction (debit or credit) and help in preparing accurate financial statements.


Thanks 

Avatar
Zrušit
Autor

Thx Nikhil, it makes sense now... :-)

Related Posts Odpovědi Zobrazení Aktivita
2
srp 24
9778
0
lis 23
1299
1
zář 23
2241
0
říj 23
2073
2
zář 23
3154