<h2>Introduction</h2>

<p>Every report in TIM Enterprise can be fully customised, from how they perform their calculations to the way they appear.</p>

<p>To amend a report, you need to edit its associated <acronym title="eXtensible Stylesheet Language">XSL</acronym> or <acronym title="Portable Document Format">PDF script</acronym> file, paying attention to the class of web user whose content you want to change, and which report format.</p>

<p>This document details how to change the tax rate in the Billing Report in both <b>web</b> and <b>PDF</b> formats, for any web user with a class of <b>Administrator</b>.</p>

<p>Every report has a unique ID number which the system uses to identify the report type; the report ID for a Billing Report is <b>2</b>.</p>

<h2>Changing Web format</h2>

<p>Open the following file in a plain text editor such as <b>Notepad</b>:-</p>

<pre class="snippet">{Program Files}\Tri-Line\TIM Enterprise\ssldata\_admin\scripts\web\2.xsl</pre>

<p>Look in the first few lines of code for the VAT amount, then change it to the new amount, respecting the decimal point and number of decimal places:-</p>
<p><i>(Click on the screenshot below to enlarge it)</i></p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/HighSecurity.png" alt="HighSecurity Registry value" />

<p>Save the file and run a new <b>Billing Report</b> in <b>web format</b> to verify the amount has changed.&nbsp; If it hasn't then you may be running the report as a web user with a different web class than "Administrator"; in which case, modify the file in the path specified above but choose the appropriate folder other than "_admin".</p>

<h2>Changing PDF format</h2>

<p>Again, in a plain text editor such as <b>Notepad</b>, edit the following file:-</p>

<p><i>(You'll notice that this is a Javascript file, and that it is located in the "\pdf\" folder of the "\scripts\" folder.)</i></p>

<pre class="snippet">{Program Files}\Tri-Line\TIM Enterprise\ssldata\_admin\scripts\pdf\2.js</pre>

<p>Search for the following line (the value shown below may be different on your system):-</p>

<pre class="snippet">var _vat = 20.0;</pre>

<p>Change the value to the new amount, then save the file.</p>

<p>Run a new <b>Billing Report</b> in <b>PDF format</b> to verify that the amount has changed.</p>