<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Tax report as comma file or spreadsheet]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4166&amp;type=atom" />
	<updated>2013-06-25T17:43:50Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4166</id>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16888#p16888" />
			<content type="html"><![CDATA[<p>Sorry. I had overseen the option at the bottom of the page to choose between pdf and excel. Now I got what I needed. SOLVED.</p>]]></content>
			<author>
				<name><![CDATA[thorbjornw]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14181</uri>
			</author>
			<updated>2013-06-25T17:43:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16888#p16888</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16887#p16887" />
			<content type="html"><![CDATA[<p>I have just tried an online PDF converting service, and that gets me a nice spreadsheet with the tax data. But it seems a bit odd way to do it, as I know Mysql can export directly to spreadsheet.</p>]]></content>
			<author>
				<name><![CDATA[thorbjornw]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14181</uri>
			</author>
			<updated>2013-06-25T16:55:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16887#p16887</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16886#p16886" />
			<content type="html"><![CDATA[<p>No idea. When I make a report it always comes up on the screen in pdf format, and then I just print it out (invoices, GL reports etc.).&nbsp; I have been looking if there is some option to print to spreadsheet instead but I am unable to see that.</p>]]></content>
			<author>
				<name><![CDATA[thorbjornw]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14181</uri>
			</author>
			<updated>2013-06-25T16:51:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16886#p16886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16885#p16885" />
			<content type="html"><![CDATA[<p>I&#039;m afraid I can&#039;t help you there. The files output here are perfectly good Excel files. Well... Good enough for LibreOffice, anyway. Can you get anything out of FA in Excel format? Could there be some library missing?</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-06-25T16:22:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16885#p16885</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16884#p16884" />
			<content type="html"><![CDATA[<p>Thanks for the suggestions. I think the easiest would be to print the tax report to an excel file. But how do I do that? The report comes automatically out in PDF format, and there is no easy way to convert that to a spreadsheet (I am working in Linux Mint 15).</p>]]></content>
			<author>
				<name><![CDATA[thorbjornw]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14181</uri>
			</author>
			<updated>2013-06-25T15:46:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16884#p16884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16881#p16881" />
			<content type="html"><![CDATA[<p>I did that for Swedish VAT reports, by just querying the database for the balance (at the end of the period) of a bunch of accounts, adding a few of them together and outputting the appropriate figures inside the appropriate XML tags. (The script also creates a balancing transaction to be imported by the CSV import plugin which I use to import daily sales figures. I&#039;m not familiar enough with the database model to suggest how to do this directly in SQL, but if you have the figures you could always do it manually.)</p><p>It&#039;s a (very) simple php script sending a ridiculous number of queries to the database. But it only runs once a month... </p><p>Something like </p><div class="codebox"><pre><code>select sum(amount) from gl_trans 
where account = $a 
and tran_date =&gt; $periodstart 
and tran_date =&lt; $periodend</code></pre></div><p>should get you the data for each account, assuming the VAT accounts were balanced at the start of the period. (I ensure that by booking the balancing transaction on the last day of the period. Otherwise you&#039;d need to sum up all transactions of the account from the start of the year.)</p><p>Then you can just output the data into whatever format you need.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-06-25T12:36:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16881#p16881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16877#p16877" />
			<content type="html"><![CDATA[<p>Can&#039;t you just print the existing tax report to Excel instead of PDF?</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-06-25T06:06:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16877#p16877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tax report as comma file or spreadsheet]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16876#p16876" />
			<content type="html"><![CDATA[<p>Here in Nicaragua we have to upload monthly a VAT report in spreadsheet. Up to now we have done that manually, but as all the information is in the system, there must be a better way. I can get a nice VAT report out of Frontaccounting in PDF (even if the tax ID number is missing). Is there a way to make it printing to a comma file or spreadsheet?</p><p>I tried to look at the possibilities to make a MYSQL query directly in the database but I had some problems understanding the structure of the database (particularly understanding the ID that link the different tables), but must admit I am not very experienced in MYSQL databases.</p><p>Any help would be highly appreciated. <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[thorbjornw]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14181</uri>
			</author>
			<updated>2013-06-25T01:14:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16876#p16876</id>
		</entry>
</feed>
