<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10254</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10254&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Taxreport (rep709) - separate creditnotes from invoices sales/purch..]]></description>
		<lastBuildDate>Sun, 02 Apr 2023 06:10:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42238#p42238</link>
			<description><![CDATA[<p>Forgot to mention, the report needs PHP 8 and didn&#039;t test with quick entries yet.</p>]]></description>
			<author><![CDATA[null@example.com (advocaat.pollet)]]></author>
			<pubDate>Sun, 02 Apr 2023 06:10:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42238#p42238</guid>
		</item>
		<item>
			<title><![CDATA[Re: Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42237#p42237</link>
			<description><![CDATA[<p>Hi,</p><p>I helped myself. Attachted you can find the rep709-file. Rename it to rep709.php and save it under your &#039;/reporting/&#039;-directory.</p><p>The report contains a VAT-declaration for Belgium, but you can adapt it for other countries (symply rename the fieldnumbers of the VAT-declaration).</p><p>You need to add the fieldnames of the VAT-declaration in the taxname, ex. &#039;BTW BE D&amp;G-21/100-M03VT54M49AT64|M82AT59M85VT63&#039;.</p><p>When the &#039;taxname&#039; is used for a transaction, the fields of the VAT-declaration will be populated with the correct values and sums.</p><p>So, in this ex., if you make a salesinvoice, the fields M03 en VT54 will be popultated with the salesamount and the taxamount.<br />If you make a purchase, the fields M82 and AT59 will be populated with the purchase-amount and the 100%-deductable taxamount.<br />salescreditnote : fields M49 and AT64<br />purchase-creditnote : fields M85 and VT63</p><p>Ofcourse this is not a pretty name of the taxname in invoices/credit notes/deliveries.&nbsp; In these reports, I changed the variable &#039;$tax_type_name&#039; to :</p><p>$tax_type_name = substr($tax_item[&#039;tax_type_name&#039;],0,3);</p><p>So, only the first 3 letters of the taxname are used in invoices/credit notes/deliveries, in above ex. : &#039;BTW&#039;, which is the dutch translation of &#039;VAT&#039;.</p><p>It also works for VAT that is only partialy deductable (ex. 50% deductability of the tax).&nbsp; Read the code.&nbsp; Make a first taxname for the deductable part of the tax (as explained above), and a second taxname for the non-deductable part of the tax, put &#039;_&#039; in front of the taxname for the non-deductable part (ex. _BTW21/50, i.e. 10,5 %, i.e. 1/2e of 21) and FA and the report will do the rest (escaping the non-deductable part of taxamounts in purchases from being part of the VAT-declaration).<br />&nbsp; <br />I hope this helps someone.</p><p>Kind regards,<br />F.</p>]]></description>
			<author><![CDATA[null@example.com (advocaat.pollet)]]></author>
			<pubDate>Sun, 02 Apr 2023 05:58:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42237#p42237</guid>
		</item>
		<item>
			<title><![CDATA[Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42230#p42230</link>
			<description><![CDATA[<p>Hi,</p><p>In Belgium, the creditnotes in VAT-declaration need to be mentioned seperated from invoices (sales and purchases).</p><p>Now, FA makes sums of invoices AND creditnotes in the taxreport-summary.</p><p>How can I seperate the creditnotes from invoices in the taxreport-summary ?</p><p>Kind regards,<br />F.</p>]]></description>
			<author><![CDATA[null@example.com (advocaat.pollet)]]></author>
			<pubDate>Thu, 30 Mar 2023 06:19:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42230#p42230</guid>
		</item>
	</channel>
</rss>
