Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2235 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
2
ago. 24
9384
0
nov. 23
1098
1
set. 23
2078
0
out. 23
1859
2
set. 23
2860