Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
2
Aug 24
9382
0
Nov 23
1098
1
Sep 23
2078
0
Oct 23
1858
2
Sep 23
2859