<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Entering foreing currency amount in payment]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=2481</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2481&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Entering foreing currency amount in payment.]]></description>
		<lastBuildDate>Tue, 26 Mar 2013 12:25:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16212#p16212</link>
			<description><![CDATA[<p>OK - this is where we&#039;ve gotten to.</p><p>A couple of points were clarified by our accountant.</p><p>RE over/under payments.</p><p>If there is an underpayment then it should be treated as a bad debt and accounted for as such.&nbsp; It is actually tax deductable.&nbsp; Of course, you can pay the outstanding amount with petty cash if you want to tidy up the accounts and clear out the aged debtors etc.</p><p>Overpayments are not allowed due to money laundering rules.&nbsp; They need to be kept on the accounts and carried over from year to year.&nbsp; Of course, if you do any further work for that client you can deduct the overpayment from the amount they owe.</p><p>RE Foreign currency transactions.</p><p>Overpayments or under payments need to be handled as foreign exchange gains or losses.&nbsp; Therefore, we are going to get the rate right.</p><p>Say we&#039;re using GBP - here&#039;s are procedure for adding an invoice and payment for an invoice we have received in a foreign currency (EUR) and where the payment was made after the invoice.</p><p>Look up on the bank system or statement to see the actual amount in GBP which was used to pay the invoice.</p><p>Divide the amount paid by the amount in EUR on the invoice.&nbsp; This gives us the exact rate which was used by the bank when making the payment.&nbsp; Write this amount down.</p><p>Look up online the exchange rate for the date of the invoice.&nbsp; Add this into the exchange rate table under &#039;Banking and General ledger&#039;.</p><p>Enter the invoice.</p><p>(At this point we&#039;re all fine - invoice has been added and the system has worked out the equivalent in GBP which has been added to expenses).</p><p>Enter a payment - and overwrite the exchange rate with the calculated exchange rate.</p><p>Then allocate the payment - the amounts should match.</p><p>NB - it might be an idea to switch rates to six decimal places to get a better response.</p><p>If the calculated amount is wrong then void the payment and add a new one with a slightly tweaked rate.&nbsp; Then use the new payment to pay the invoice.</p><p>The voided payment can be cleaned out from reconciliation by ticking the (voided) transaction when reconciling the next statement.</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Tue, 26 Mar 2013 12:25:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16212#p16212</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16206#p16206</link>
			<description><![CDATA[<p>With this method, you don&#039;t need to allocate the payment. You can also do partial payment or even pre-payment.</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Tue, 26 Mar 2013 08:11:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16206#p16206</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16198#p16198</link>
			<description><![CDATA[<p>This assumes that the invoice is paid in full each time. What happens to payments on account and say two payments to fulfil one invoice?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 26 Mar 2013 02:32:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16198#p16198</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16192#p16192</link>
			<description><![CDATA[<p>Hi <br />I just realize we don&#039;t speak of the same FA page.</p><p>You are using the &#039;Bank General Ledger/Payment&#039; page. I&#039;m speaking of the &#039;Supplier/Payment&#039; page. The difference is, in this page you have to&nbsp; setup an exchange rate (and allocate the payment at the same time).</p><br /><div class="quotebox"><cite>bailey86 wrote:</cite><blockquote><p>Thanks for the patch.<br />So, this is how we enter it on FA.</p><p>We look up the exchange rate for the payment date - say 0.8.</p></blockquote></div><p>You either use 0.805<br />or .80 and set bank charge to 1<br /></p><div class="quotebox"><blockquote><p>We enter that rate in the exchange rate table for the payment date.</p></blockquote></div><p>Don&#039;t need to do that<br /></p><div class="quotebox"><blockquote><p>We create a payment to that supplier for GBP 161.00.</p><p>OK so far - the payment of GBP 161.00 will match perfectly on the reconciliation screen.</p><p>Now we go to allocate the payment to the original EUR 200.00 invoice.</p></blockquote></div><p>Don&#039;t need to do that, as the payment as already been allocated.</p><div class="quotebox"><blockquote><p>FA uses the payment date rate of 0.8 to figure out that is needs GBP 160.00 to fully pay the invoice.&nbsp; This leaves GBP 1.00 of the payment as unallocated.</p></blockquote></div><p>No, FA use the rate you entered when you entered the payment. ie .805 and that leave nothing unallocated.</p><p>Then FA will compute the P&amp;L when reevaluating your stock. If this day the exchange rate was 0.75<br />you got 200 EUR of stock (for 161 GBP), but the value of this stock is 150 GBP (for that day). Therefore you lost £11 on Foreign Exchange P/L. That&#039;s done (pretty much) automatically by FA.</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 17:39:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16192#p16192</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16191#p16191</link>
			<description><![CDATA[<p>Hi Elax,</p><p>I&#039;ve just spoken to our accountant - and your patch seems to be closer to what should happen.&nbsp; If there is an overpayment or an underpayment when paying a foreign exchange invoice then this should go into the foreign exchange gain/loss account.</p><p>I&#039;m just looking into it further now.</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Mon, 25 Mar 2013 17:27:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16191#p16191</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16190#p16190</link>
			<description><![CDATA[<div class="quotebox"><cite>bailey86 wrote:</cite><blockquote><p>Hmmmm....</p><p>Just checking here.</p><p>I thought the foreign exchange gain/loss occured when the exchange rate on the invoice date is different than the exchange rate on the payment date.</p></blockquote></div><p>Yes and it&#039;s done automatically by FA as long as you enter the exchange rate on the invoice.</p><div class="quotebox"><blockquote><p>What your patch addresses is the fact that the actual rate used by the bank when making the payment is hardly ever an exact match to the rate for that day.</p></blockquote></div><p>Not at all. My patch only propose a different way to enter the inputs (amount/amount instead of amount/exchange rate) which solve an exchange rate truncation problem. When there is no truncation problem (99.9 % of the time)&nbsp; the GL entries for FA or my patch are strictly equivalent.</p><div class="quotebox"><blockquote><p>What I&#039;m proposing is that the difference between the amount being allocated (worked out by the daily rate and the actual amount paid in the local currency) and the amount on the invoice should be treated as an over or under payment.</p><p>Thanks for your feedback - it&#039;s great to get the detail of this sorted out.</p></blockquote></div><p>Once again, my patch is not about difference between real exchange rate and daily exchange but to solve exchange rate truncation (and also avoid the need of calculating the exchange rate).<br />What you propose is unnecessary, as you shouldn&#039;t care (that much) of the daily exchange rate and&nbsp; FA&nbsp; does it already when&nbsp; you reevaluate your stock. (There is no need to mess around payment for that. It&#039;s a stock valuation issue not a payment issue).</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 17:19:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16190#p16190</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16189#p16189</link>
			<description><![CDATA[<p>Hmmmm....</p><p>Just checking here.</p><p>I thought the foreign exchange gain/loss occured when the exchange rate on the invoice date is different than the exchange rate on the payment date.</p><p>http://www.allbusiness.com/glossaries/foreign-currency-transaction-gain-or-loss/4951388-1.html</p><p>Therefore - having only one exchange rate per day keeps things clean.</p><p>What your patch addresses is the fact that the actual rate used by the bank when making the payment is hardly ever an exact match to the rate for that day.</p><p>What I&#039;m proposing is that the difference between the amount being allocated (worked out by the daily rate and the actual amount paid in the local currency) and the amount on the invoice should be treated as an over or under payment.</p><p>Thanks for your feedback - it&#039;s great to get the detail of this sorted out.</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Mon, 25 Mar 2013 17:07:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16189#p16189</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16187#p16187</link>
			<description><![CDATA[<p>The problem you are discussing is a general FA problem and using my patch or not doesn&#039;t change anything.<br />The difference between FA and my patch is <br />- with FA you enter the amount&nbsp; in GBP and the exchange rate , FA calculates the amount in EUR<br />- with mine, you enter the amounts in GBP and EUR and FA calculates the exchange rates.</p><p>The thing is at that point, you don&#039;t care of the rate of the day. What you care is how much would be displayed on your bank statement (that is the amount in GPB : in your case £161) and how much will appears on the supplier statement 200 EUR.</p><p>That&#039;s it. If you do that everything is fine, you see 161 and your bank statement and when you reconciliate your supplier payment you have an invoice of 200 EUR and a payment of 200.</p><p>The fact that the rates can changes the days is at that point irrelevant. When you enter a payment in FA , you enter it with the rate you effectively got for the payment, not an hypothetic rate of the day, that you will never have exactly.</p><p>Having said that, we you do a currency reevaluation, FA will compare your rate with the &quot;official&quot; one and put the difference in the Foreign exchange P&amp;L. (and this is the same with my patch or not).</p><p>The difference&nbsp; is with my patch, you enter 161 GBP and 200 EUR and everything work perfectly (you can reconciliate your bank account EXACTLY and allocate you supplier transactions EXACTLY) or you use FA.<br />For this you need to enter 161 GBP and a rate&nbsp; which will be 161/200 = 0.805 or the opposite 200/161 = 1.24223602484472<br />I never know which way it is, and I always get it wrong.<br />At that point you can get a rounding error and not get exactly 200 EUR.</p><p>With my patch you can get rounding error with the exchange rate, luckily FA fix it by balancing the transaction.<br />Let&#039;s say my payments are 10 X and 3 Y. The exchange rate will be 3.3333333333. However, the exchange rate stored in FA will be 3.33333 or something so when converting back the amount in company currency I can have 9.99 instead of 10. FA will work anyway, it&#039;s create a supplier payment of 10 (which is what I want) and add a 0.01 of Foreign exchange P&amp;L to balance gl trans of 9.99 (or something like that).</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 16:32:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16187#p16187</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16186#p16186</link>
			<description><![CDATA[<p>Thanks for the patch.</p><p>We&#039;ve been thinking about this whole issue - here&#039;s where we&#039;ve gotten to.</p><p>There may be an issue with your patch approach.&nbsp; That is that FA holds a single rate for each day/date - what happens if there is more than one foreign exchange transaction on that date.&nbsp; I know it works out the amount on the fly for each transaction but the amount may not match the rate stored for that day.&nbsp; No biggie of a problem - but it may confuse the story of what&#039;s happening.&nbsp; Also, it may make the Foreign Exchange gain/loss amounts incorrect.</p><p>So - this is our current plan.</p><p>We run our accounts in GBP.&nbsp; We get an invoice in a foreign currency amount (EUR 200.00) - we add an exchange rate (from exchange rate historical records online) for that invoice date (say 0.75) - enter the invoice - expenses get increased by the equivalent amount in our local currency (GPB 150.00).</p><p>So far so good.</p><p>Several days later we then pay the invoice using online payment.</p><p>Now - we look at the bank statement/online banking and see the exact amount deducted in our local currency - say it comes out as a payment of GBP 161.00.</p><p>So, this is how we enter it on FA.</p><p>We look up the exchange rate for the payment date - say 0.8.<br />We enter that rate in the exchange rate table for the payment date.<br />We create a payment to that supplier for GBP 161.00.</p><p>OK so far - the payment of GBP 161.00 will match perfectly on the reconciliation screen.</p><p>Now we go to allocate the payment to the original EUR 200.00 invoice.</p><p>FA uses the payment date rate of 0.8 to figure out that is needs GBP 160.00 to fully pay the invoice.&nbsp; This leaves GBP 1.00 of the payment as unallocated.</p><p>NB - it could be the other way depending on the rates - i.e. it may result in an invoice which is not fully paid.</p><p>(It&#039;s important to note that the exchange rate we enter for the payment date will hardly ever match the exact rate which was used when the bank made the payment.&nbsp; Rates fluctuate during the day so an exact match is highly unlikely).</p><p>The important point to note is that at this point we have an overpayment or an underpayment.</p><p>We are going to treat this like any other overpayment or underpayment.&nbsp; We may have a customer who pays us slightly too much - or one who pays slightly too little.&nbsp; If they are a private customer they may not be interested in correcting the payment - and it&#039;s not worth our time to chase a small underpayment.&nbsp; I&#039;ve put up another post at https://frontaccounting.com/punbb/viewtopic.php?id=3982 to work out how to deal with over/under payments.</p><p>Please note - if the invoice date and the payment date are the same day then there is no foreign exchange loss or gain as the exchange rate is the same.&nbsp; Any difference between the amount FA calculates for the invoice/payment and the actual payment made will be treated as an over/under payment.</p><p>The main point is this.&nbsp; Foreign exchange losses/gains occur due to exchange rate differences between the invoice date and the payment date.&nbsp; Differences in the actual amounts on the allocation screen should be treated as under/over payments.</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Mon, 25 Mar 2013 16:06:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16186#p16186</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16185#p16185</link>
			<description><![CDATA[<p>Agreed - the &quot;Exchange Rate P&amp;L&quot; account holds the differences due to the exchange rate being different on the payment date from the exchange rate on invoice date.</p><p>The payment allocation will not match exactly because because the exchange rate on the payment date will hardly ever be an exact match for the rate the bank used when making the payment (rates fluctuate during the day).&nbsp; I suggest that this difference should probably be handled as an overpayment or an underpayment.</p><p>Cheers,</p><p>Kevin B</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Mon, 25 Mar 2013 16:00:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16185#p16185</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16183#p16183</link>
			<description><![CDATA[<p>@apmuthu</p><p>The problem is there is no &#039;difference&#039; becauce FA only allow you to enter one amount (and not the real one). Moreover the exchange rate P&amp;L is calculating at currenty reevaluation and it&#039;s not here to correct rounding error which are there only because FA doesn&#039;t allow you to enter the real amounts.</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 15:22:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16183#p16183</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16181#p16181</link>
			<description><![CDATA[<p>Actually the difference to should go to a&quot;Exchange Rate P&amp;L&quot; account that keeps track of all such loose change. That way when we prepare the Balance Sheet in another currency (For head office of MNCs) we will not be affected. This is possible when the said entry is to be included only when the currency changes from that of the main accounts of the transaction or if it is dynamically computed at display time and not populated in the db!</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 25 Mar 2013 15:15:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16181#p16181</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16170#p16170</link>
			<description><![CDATA[<p>There we go<br /></p><div class="codebox"><pre><code>diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php
index ed8f5a0..6b215e3 100644
--- a/purchasing/supplier_payment.php
+++ b/purchasing/supplier_payment.php
@@ -228,7 +228,11 @@ function handle_add_payment()
        if ($comp_currency != $bank_currency &amp;&amp; $bank_currency != $supp_currency)
                $rate = 0;
        else
+       {
                $rate = input_num(&#039;_ex_rate&#039;);
+               $supplier_amount = input_num(&#039;_supp_amount&#039;);
+                       if($supplier_amount) $rate = input_num(&#039;amount&#039;)/$supplier_amount;
+       }

        $payment_id = add_supp_payment($_POST[&#039;supplier_id&#039;], $_POST[&#039;DatePaid&#039;],
                $_POST[&#039;bank_account&#039;], input_num(&#039;amount&#039;), input_num(&#039;discount&#039;),
@@ -293,7 +297,9 @@ start_form();
        $bank_currency = get_bank_account_currency($_POST[&#039;bank_account&#039;]);
        if ($bank_currency != $supplier_currency)
        {
-               exchange_rate_display($bank_currency, $supplier_currency, $_POST[&#039;DatePaid&#039;], true);
+               //exchange_rate_display($bank_currency, $supplier_currency, $_POST[&#039;DatePaid&#039;], true);
+               // my version
+               text_row(&quot;Supplier Amount:&quot;, &#039;_supp_amount&#039;, 0, 8, 8, null, &quot;&quot;, $supplier_currency );
        }

        amount_row(_(&quot;Bank Charge:&quot;), &#039;charge&#039;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 12:40:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16170#p16170</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16169#p16169</link>
			<description><![CDATA[<p>Hiya!</p><p>Thanks for the fast reply.</p><p>I would appreciate the patch - cos it works out from the amounts paid the actual rate which applied when the payment was made.</p><p>Thanks again.</p><p>Cheers,</p><p>Kevin B</p>]]></description>
			<author><![CDATA[null@example.com (bailey86)]]></author>
			<pubDate>Mon, 25 Mar 2013 12:30:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16169#p16169</guid>
		</item>
		<item>
			<title><![CDATA[Re: Entering foreing currency amount in payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16168#p16168</link>
			<description><![CDATA[<div class="quotebox"><cite>bailey86 wrote:</cite><blockquote><p>Did anyone get to resolve this?</p></blockquote></div><p>I have, in my patched version. Basically I modified FA so the supplier amount is entered in the supplier currency (and the payment in my currency).I don&#039;t need to care about exchange rate, just put the two amounts and it works .</p><p>I can send you the patch, alternatively, you can try to convince Joe, that my way is better and include my patch in FA ;-)</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Mon, 25 Mar 2013 12:24:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16168#p16168</guid>
		</item>
	</channel>
</rss>
