<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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]--></head><body bgcolor=white lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Mathieu,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.  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 lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you for taking the time to document this!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Katrin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> koha-devel-bounces@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] <b>On Behalf Of </b>Mathieu Saby<br><b>Sent:</b> Thursday, December 13, 2012 12:16 PM<br><b>To:</b> Koha Devel; koha@lists.katipo.co.nz<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 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 size=4 width="90%" align=center></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 href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><o:p></o:p></pre><pre><a 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 href="http://www.koha-community.org/">http://www.koha-community.org/</a><o:p></o:p></pre><pre>git : <a href="http://git.koha-community.org/">http://git.koha-community.org/</a><o:p></o:p></pre><pre>bugs : <a 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 href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a><o:p></o:p></pre></div></div></body></html>