[Koha-bugs] [Bug 9280] New: Bad price calculation when filling a basket with staged records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 13 13:32:59 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9280

            Bug ID: 9280
           Summary: Bad price calculation when filling a basket with
                    staged records
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: mathieu.saby at univ-rennes2.fr

Koha does not manage the VAT properly when filling a basket with staged
records.


Let's take a book whose Recommended Retail Price excluding tax is 39 euros.
On the vendor's website, I import the record for this book in iso2709
In the record (UNIMARC), the price is in 010$d after the ISBN. So, I found in
my record 10$d39.00 EUR
I stage this record in Koha with Stage Marc Records Tools.

In Acquisition module, I create a vendor with:
- List item price includes tax: Yes
- Invoice item price includes tax: Yes
- Discount: 9.0000 %
- Tax rate: 5.5%

I create a new basket for this vendor.
I fill this basket with my stage record.

I think I should have for the command line in this basket :
- RRP tax included : 39 euros
- Ecost tax included : 39 euros - 3,51 euros = 35,49 euros
- RRP tax excluded : 39*100/105.5 = 36,96 euros
- Ecost tax excluded : 35,49*100/105.5 = 33,63 euros

BUT instead I see the following values :
- RRP tax included : 42.86 euros
- Ecost tax included : 39 euros
- RRP tax excluded : 40,63
- Ecost tax excluded : 36,97

So, Koha considered the "39 euros" value in my record as a Ecost price. I dont
think it is normal, as as chose "List item price includes tax: Yes" in vendor
record.

M. Saby
Rennes 2 University

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list