Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2387 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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 

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 24
9610
0
lis 23
1179
1
wrz 23
2169
0
paź 23
1944
2
wrz 23
2975