Defining Start and End Tags in Advanced Templates
The Electronic Bank Payments SuiteApp uses tags to determine the parts of an advanced template that must be inserted into the output payment file, and the parts that must return values after payment file creation.
Use the following tags in your custom template body:
#OUTPUT START#
-
Required.
-
Signals the start of content to be inserted in the output payment file.
#OUTPUT END#
-
Required.
-
Signals the end of content to be inserted in the output payment file.
#RETURN START#
-
Not required.
-
Signals the start of content to be returned back to the Electronic Bank Payments SuiteApp for post payment file creation processing.
#RETURN END#
-
Required if
#RETURN START#
is added. -
Signals the end of content to be returned back to the Electronic Bank Payments SuiteApp for post payment file creation processing.
#REMOVE EOL#
-
Not required.
-
Removes the end of line (EOL) character or new line character after a
</#list>
command before the#OUTPUT END#
tag.
Example
In the following example, the string Outside and the return section containing Age are not included in the output.
The Electronic Bank Payments SuiteApp processes the return section after payment file creation. Currently, only sequenceId:
is handled by the SuiteApp.
Template
Outside
#OUTPUT START#
<#assign name = "John">
<#assign company = "NetSuite">
<#assign age = 100>
My name is ${name}
My company is ${company}
#OUTPUT END#
#RETURN START#
Age:${age}
#RETURN END#
Output

Related Topics
- Creating Custom Payment File Templates
- Creating a New Custom Payment File Template
- Working with Advanced Templates
- Including Fields from NetSuite Records in Advanced Templates
- Including Fields from NetSuite Search Results in Advanced Templates
- FreeMarker Template Library for Electronic Bank Payments
- Advanced Template Snippets
- Advanced Template Tips and Tricks
- Adding Field Validations to Custom Payment File Templates