← Back to team overview

openobject-italia-core-devs team mailing list archive

[Bug 1276195] Re: [7.0] l10n_it_withholding_tax + account_vat_on_payment: wrong VAT entries

 

** Changed in: openobject-italia
   Importance: Undecided => Medium

** Changed in: openobject-italia
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1276195

Title:
  [7.0] l10n_it_withholding_tax + account_vat_on_payment: wrong VAT
  entries

Status in OpenERP Italia:
  Fix Committed

Bug description:
  steps:

   - install account_vat_on_payment + l10n_it_withholding_tax
   - create a supplier invoice with 'Vat on payment ' and 'withholding tax'
   - add one line with 30 + 6.6 VAT (22%)
   - add withholdin amount = 6
   - pay it with a voucher of 30.60

  Withholding tax entries are correct

  VAT entry is wrong.
  It is 5.52 (30.6 − (30.6 ÷ 1.22))
  but it should be 6.6 (36.6 − (36.6 ÷ 1.22))

  The desired entries are

                          dr--cr
  bank------------------------30.6
  IVA credito-------------6.60
  acquisti----------------30
  ritenute da versare---------6

  acquisti--------------------30
  IVA sospesa-----------------6.60
  debiti------------------36.60

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/1276195/+subscriptions


References