<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
Here is my bug :
<a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9280">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9280</a><br>
<br>
I don't know exactly what is the meaning of  "list item price" in
vendor records, but I am not fluent in english...<br>
<br>
Fischer, Katrin a écrit :
<blockquote
 cite="mid:028B1A54D03E7B4482CDCA4EC8F06BFD027601FF@Bodensee.bsz-bw.de"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
  <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
  <div class="WordSection1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Hi Mathieu,<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">from your description it looks like a bug to me too. I
think what we need is documentation how each price element should be
calculated for each vendor setting. </span></p>
  </div>
</blockquote>
Good idea!<br>
<br>
<blockquote
 cite="mid:028B1A54D03E7B4482CDCA4EC8F06BFD027601FF@Bodensee.bsz-bw.de"
 type="cite">
  <div class="WordSection1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"> I often wonder – is it really a bug or is it
miscalculation on my part?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Thank you for taking the time to document this!<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Katrin<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  </div>
</blockquote>
<br>
Mathieu<br>
<br>
<blockquote
 cite="mid:028B1A54D03E7B4482CDCA4EC8F06BFD027601FF@Bodensee.bsz-bw.de"
 type="cite">
  <div class="WordSection1">
  <div
 style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
 lang="EN-US">From:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
 lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:koha-devel-bounces@lists.koha-community.org">koha-devel-bounces@lists.koha-community.org</a>
[<a class="moz-txt-link-freetext" href="mailto:koha-devel-bounces@lists.koha-community.org">mailto:koha-devel-bounces@lists.koha-community.org</a>] <b>On Behalf Of </b>Mathieu
Saby<br>
  <b>Sent:</b> Thursday, December 13, 2012 12:16 PM<br>
  <b>To:</b> Koha Devel; <a class="moz-txt-link-abbreviated" href="mailto:koha@lists.katipo.co.nz">koha@lists.katipo.co.nz</a><br>
  <b>Subject:</b> Re: [Koha-devel] bug in Acquisition module, regarding
VAT management ?<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal">Hello<br>
As nobody anwered I suppose it is a bug. I will create a bug in
Bugzilla.<br>
  <br>
M. Saby<br>
  <br>
Mathieu Saby a écrit : <o:p></o:p></p>
  <p class="MsoNormal">Hello<br>
We think we have found a bug in Acquisition module, regarding VAT
management, but we want to be sure.<br>
  <br>
Let's take a book whose <b>recommended retail price excluding tax </b>is
39 euros.<br>
On the vendor's website, I import the record for this book in iso2709<br>
In the record (UNIMARC), the price is in 010$d after the ISBN. So, I
found : $d39.00 EUR<br>
I stage this record in Koha with Stage Marc Records Tools.<br>
  <br>
In Acquisition module, I create a vendor with:<br>
- List item price includes tax: Yes<br>
- Invoice item price includes tax: Yes<br>
- Discount: 9.0000 %<br>
- Tax rate: 5.5%<br>
  <br>
I create a new basket for this vendor.<br>
I fill this basket with my stage record.<br>
  <br>
I think I should have for the command line in this basket : <br>
- RRP tax included : 39 euros<br>
- Ecost tax included : 39 euros - 3,51 euros = 35,49 euros<br>
- RRP tax excluded : 39*100/105.5 = 36,96 euros<br>
- Ecost tax excluded : 35,49*100/105.5 = 33,63 euros<br>
  <br>
  <b>BUT instead I see the following values : </b><br>
- RRP tax included : 42.86 euros<br>
- Ecost tax included : 39 euros<br>
- RRP tax excluded : 40,63<br>
- Ecost tax excluded : 36,97<br>
  <br>
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.<br>
Do you agree with me?<br>
  <br>
  <br>
  <o:p></o:p></p>
  <pre>-- <o:p></o:p></pre>
  <pre>Mathieu Saby<o:p></o:p></pre>
  <pre>Service d'Informatique Documentaire<o:p></o:p></pre>
  <pre>Service Commun de la Documentation<o:p></o:p></pre>
  <pre>Université Rennes 2<o:p></o:p></pre>
  <pre>Téléphone : 02 99 14 12 65<o:p></o:p></pre>
  <pre>Courriel : <a moz-do-not-send="true"
 href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a><o:p></o:p></pre>
  <pre>  <o:p></o:p></pre>
  <pre><o:p> </o:p></pre>
  <pre style="text-align: center;"><hr align="center" size="4"
 width="90%"></pre>
  <pre><o:p> </o:p></pre>
  <pre>_______________________________________________<o:p></o:p></pre>
  <pre>Koha-devel mailing list<o:p></o:p></pre>
  <pre><a moz-do-not-send="true"
 href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><o:p></o:p></pre>
  <pre><a moz-do-not-send="true"
 href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><o:p></o:p></pre>
  <pre>website : <a moz-do-not-send="true"
 href="http://www.koha-community.org/">http://www.koha-community.org/</a><o:p></o:p></pre>
  <pre>git : <a moz-do-not-send="true"
 href="http://git.koha-community.org/">http://git.koha-community.org/</a><o:p></o:p></pre>
  <pre>bugs : <a moz-do-not-send="true"
 href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a><o:p></o:p></pre>
  <p class="MsoNormal"><br>
  <br>
  <br>
  <o:p></o:p></p>
  <pre>-- <o:p></o:p></pre>
  <pre>Mathieu Saby<o:p></o:p></pre>
  <pre>Service d'Informatique Documentaire<o:p></o:p></pre>
  <pre>Service Commun de la Documentation<o:p></o:p></pre>
  <pre>Université Rennes 2<o:p></o:p></pre>
  <pre>Téléphone : 02 99 14 12 65<o:p></o:p></pre>
  <pre>Courriel : <a moz-do-not-send="true"
 href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a><o:p></o:p></pre>
  </div>
  </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : <a class="moz-txt-link-abbreviated" href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a>
</pre>
</body>
</html>