Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #37628 All Revisions ] Back to Issue ]
Summary 0037628: Wrong tax amount calculated for a negative tax based on the amount of other tax
Revision 2018-01-19 10:04 by dmiguelez
Steps To Reproduce As group admin role:
   Create the following 4 taxes:
   1. Name: Parent
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: Y
      Sales/Purchase Type: Purchase Tax
      Country, Destination Country, Region, Destination Region: empty
      Line No.: 10

   2. Name: Child 16
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: 16
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Line net Amount
      Line No.: 10
      Parent Tax Rate: Parent

   3. Name: Child -66
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: -66.66666
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Tax Amount
      Line No.: 20
      Parent Tax Rate: Parent

   Refresh the tab
   Select Child 16 as Tax Base for Child -66

   4. Name: Child -10
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: -10
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Line net Amount
      Line No.: 30
      Parent Tax Rate: Parent

   Create a purchase order
   Add a line to it
   Set a unit price of 2000 and select previously created tax ('Parent')

   Add a new line to it
   Set a unit price of 185.00 and select previously created tax ('Parent')

   Check that in the tax tab the following values are shown:
      Child 16
         Tax amount: 349.60
         Taxable amount: 2185.00

      Child -66:
         Tax amount: -1689.73 (it should be -233.07)
         Taxable amount: 2534.60 (check which value should be used here)
 
       Child -10:
         Tax amount: -218.50
         Taxable amount: 2185.00
Revision 2018-01-17 21:34 by dmiguelez
Steps To Reproduce As group admin role:
   Create the following 4 taxes:
   1. Name: Parent
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: Y
      Sales/Purchase Type: Purchase Tax
      Country, Destination Country, Region, Destination Region: empty
      Line No.: 10

   2. Name: Child 16
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: 16
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Line net Amount
      Line No.: 10
      Parent Tax Rate: Parent

   3. Name: Child -66
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: -66.66666
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Tax Amount
      Line No.: 20
      Parent Tax Rate: Parent

   Refresh the tab
   Select Child 16 as Tax Base for Child -66

   4. Name: Child -10
      Valid From: today
      Tax Category: IVA Normal
      Summary Level: N
      Rate: -10
      Sales/Purchase Type: Purchase Tax
      Document Tax Amount Calculation: Document based amount by rate
      Country, Destination Country, Region, Destination Region: empty
      Base Amount: Line net Amount
      Line No.: 30
      Parent Tax Rate: Parent

   Create a purchase order
   Add a line to it
   Set a unit price of 2000 and select previously created tax ('Parent')

   Add a new line to it
   Set a unit price of 2000 and select previously created tax ('Parent')

   Check that in the tax tab the following values are shown:
      Child 16
         Tax amount: 349.60
         Taxable amount: 2185.00

      Child -66:
         Tax amount: -1689.73 (it should be -233.07)
         Taxable amount: 2534.60 (check which value should be used here)
 
       Child -10:
         Tax amount: -218.50
         Taxable amount: 2185.00


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker