As a NetSuite Administrator, ensuring the correct currency symbol appears on the template printouts based on the transaction currency is essential, particularly in multi-currency environments. This practice enhances clarity, reduces customer confusion, and ensures legal and financial accuracy across international transactions. It also supports compliance with tax and accounting standards, improves customer experience, and minimizes manual errors in financial documents. By customizing the Advanced PDF/HTML template to display the currency symbol, this helps maintain professional, accurate, and efficient invoicing processes for global operations.
You can follow the steps below to do this:
1. Navigate to Customization > Forms > Advanced PDF/HTML Template
2. Preferred Advanced PDF/HTML Template: Edit
3. Top Right Corner: Toggle Source Code
4. Source Code: Enter or adjust the following code at the preferred line:
<tr class="totalrow">
<td background-color="#ffffff" colspan="4"> </td>
<td align="right"><b>${record.total@label}</b></td>
<#assign default_currency = record.total?string.currency />
<#if record.currency="JPY">
<td align="right">${default_currency?replace("$","¥")}</td>
<#else>
<td align="right"> ${default_currency}</td>
</#if></tr>
Note:
- The default currency is based on the customer/vendor's primary currency, which can be found on the record under the Financials tab.
5. Click Save
Result:
Before:
After:
You may notice that the total shown before applying the code is still in USD, even if the transaction was in PHP. Once the code is applied, the correct currency is used.You can also check out the following articles on Advanced PDF/HTML Template:
New To NetSuite | Advanced PDF/HTML Template: Adding Page Breaks
New To NetSuite | Advanced PDF/HTML Template: Adding Blank Rows
New To NetSuite | Advanced PDF/HTML Template: Restoring to Previous Version
New To NetSuite | Advanced PDF/HTML Templates
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Oracle + NetSuite Inc. does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. Oracle + NetSuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
Oracle + NetSuite Inc. shall not be liable for any direct, indirect, or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.