<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10254&amp;type=atom" />
	<updated>2023-04-02T06:10:01Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10254</id>
		<entry>
			<title type="html"><![CDATA[Re: Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42238#p42238" />
			<content type="html"><![CDATA[<p>Forgot to mention, the report needs PHP 8 and didn&#039;t test with quick entries yet.</p>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2023-04-02T06:10:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42238#p42238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42237#p42237" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2023-04-02T05:58:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42237#p42237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Taxreport (rep709) - separate creditnotes from invoices sales/purch.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42230#p42230" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2023-03-30T06:19:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42230#p42230</id>
		</entry>
</feed>
