| 1 |
<#-- format specific processing -->
<#-- cached / dynamic values -->
<#assign totalAmt = computeTotalAmount(payments)>
<#assign totalLines = 0>
<#function isBalanceLine>
<#return cbank.custpage_eft_custrecord_2663_balance_line>
</#function>
<#function getBalanceNetAmt>
<#if isBalanceLine()>
<#assign totalLines = totalLines + 1 >
<#return "0">
<#else>
<#return formatAmount(totalAmt)>
</#if>
</#function>
<#function getBalanceDebitAmt>
<#if isBalanceLine()>
<#return formatAmount(totalAmt)>
<#else>
<#return "0">
</#if>
</#function>
<#-- template building -->
#OUTPUT START#
0 01${setLength(cbank.custpage_eft_custrecord_2663_bank_code,3)} ${setLength(cbank.custrecord_2663_legal_name,26)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_comp_id,"left","0",6)}${setLength(pfa.custrecord_2663_ref_note,12)}${pfa.custrecord_2663_process_date?string("ddMMyy")}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign totalLines = totalLines + 1 >
1${setLength(ebank.custrecord_2663_entity_bank_no,3)}-${setLength(ebank.custrecord_2663_entity_branch_no,3)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left"," ",9)} 50${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(ebank.custrecord_2663_entity_acct_name,32)}${setLength(ebank.custrecord_2663_entity_payment_desc,18)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left"," ",9)}${setLength(cbank.custrecord_2663_legal_name,16)}00000000
</#list>
<#if isBalanceLine()>
1${setLength(cbank.custpage_eft_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left"," ",9)} 13${setPadding(formatAmount(totalAmt),"left","0",10)}${setLength(cbank.custrecord_2663_legal_name,50)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left"," ",9)}${setLength(cbank.custrecord_2663_legal_name,16)}00000000
</#if>
7999-999 ${setPadding(getBalanceNetAmt(),"left","0",10)}${setPadding(formatAmount(totalAmt),"left","0",10)}${setPadding(getBalanceDebitAmt(),"left","0",10)} ${setPadding(totalLines,"left","0",6)} <#rt>
#OUTPUT END# |
Australia |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ABA'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_code</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">26</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">6</param>
</validator>
<validator type="num" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_ref_note</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="ABA" extension="aba">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo type="balance">balance</recordInfo>
<recordInfo>trailer</recordInfo>
</recordStructure>
<record name="header">
<field name="Header Record Type">
<position>1</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Dummy 1">
<position>2</position>
<length>17</length>
</field>
<field name="Reel Sequence Number">
<position>19</position>
<length>2</length>
<source type="value">01</source>
</field>
<field name="Bank Code">
<position>21</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Dummy 2">
<position>24</position>
<length>7</length>
</field>
<field name="Company Name">
<position>31</position>
<length>26</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Company ID">
<position>57</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reference Note">
<position>63</position>
<length>12</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name="Processing Date">
<position>75</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Dummy 3">
<position>81</position>
<length>40</length>
</field>
</record>
<record name="body">
<field name="Body Record Type">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Receiving Bank BSB Number (Bank)">
<position>2</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Receiving Bank BSB Number (Dash)">
<position>5</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Receiving Bank BSB Number (Branch)">
<position>6</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Receiving Bank Account Number">
<position>9</position>
<length>9</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
<align>right</align>
</field>
<field name="Indicator">
<position>18</position>
<length>1</length>
</field>
<field name="Transaction Code">
<position>19</position>
<length>2</length>
<source type="value">50</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>21</position>
<length>10</length>
<source type="amount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Receiving Bank Name">
<position>31</position>
<length>32</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
</field>
<field name="Receiving Bank Description">
<position>63</position>
<length>18</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>81</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>84</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>85</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>88</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Company Name">
<position>97</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Withholding Tax">
<position>113</position>
<length>8</length>
<padding>0</padding>
</field>
</record>
<record name="balance">
<field name="Body Record Type (Balance Line)">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>2</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>5</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>6</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>9</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Indicator">
<position>18</position>
<length>1</length>
</field>
<field name="Transaction Code">
<position>19</position>
<length>2</length>
<source type="value">13</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Balance Line Amount">
<position>21</position>
<length>10</length>
<source type="totalAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Company Name">
<position>31</position>
<length>50</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>81</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>84</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>85</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>88</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Company Name">
<position>97</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Withholding Tax">
<position>113</position>
<length>8</length>
<padding>0</padding>
</field>
</record>
<record name="trailer">
<field name="Trailer Record Type">
<position>1</position>
<length>1</length>
<source type="value">7</source>
</field>
<field name="BSB Format Filler">
<position>2</position>
<length>7</length>
<source type="value">999-999</source>
</field>
<field name="Dummy 1">
<position>9</position>
<length>12</length>
</field>
<field name="Net Total Amount">
<position>21</position>
<length>10</length>
<source type="balanceNetAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Credit Total Amount">
<position>31</position>
<length>10</length>
<source type="totalAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Debit Total Amount">
<position>41</position>
<length>10</length>
<source type="balanceDebitAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 2">
<position>51</position>
<length>24</length>
</field>
<field name="Total Lines">
<position>75</position>
<length>6</length>
<source type="totalLines" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>81</position>
<length>40</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
1 |
6/24/2021 5:36 am |
5000 |
ABA |
T |
|
|
aba |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ABA">
<refField id="custrecord_2663_bank_code" label="Bank Code" mandatory="true" helptext="Enter your bank's approved abbreviation code, to identify the bank."/>
<refField id="custrecord_2663_bank_comp_id" label="Bank Company Id" mandatory="true" helptext="Enter the 6-digit code that identifies your company in the bank's records. This is assigned by the bank."/>
<refField id="custrecord_2663_bank_num" label="BSB Number (Bank)" mandatory="true" helptext="Enter the code that identifies your company's bank and state. This corresponds to the first 3 digits of a 6-digit BSB code."/>
<refField id="custrecord_2663_branch_num" label="BSB Number (Branch)" mandatory="true" helptext="Enter the code that identifies your company's bank branch. This corresponds to the last 3 digits of a 6-digit BSB code."/>
<refField id="custrecord_2663_acct_num" label="Bank Account Number" mandatory="true" helptext="Enter your company’s 9-digit bank account number."/>
<refField id="custrecord_2663_balance_line" label="Insert Balancing Line?" helptext="If your bank requires balanced files for EFT transactions, check this box to include a balancing line in the payment file to indicate the amount debited from your company’s bank account. Clear this box if your bank accepts unbalanced files."/>
</refFields> |
|
value_1_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=1 |
1 |
ABA |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 2 |
<#-- format specific processing -->
<#function getAccountType acctType>
<#assign value = "0">
<#if acctType == "Ordinary" || acctType == "普通">
<#assign value = "1" >
<#elseif acctType == "Check" || acctType == "当座">
<#assign value = "2" >
<#elseif acctType == "Saving" || acctType == "貯蓄">
<#assign value = "4" >
<#elseif acctType == "Other" || acctType == "その他">
<#assign value = "9" >
</#if>
<#return value>
</#function>
<#-- cached / dynamic values -->
<#assign totalLines = 0>
<#assign totalAmt = 0>
<#-- template building -->
#OUTPUT START#
1210${setPadding(cbank.custpage_eft_custrecord_2663_bank_comp_id,"left","0",10)}${setLength(cbank.custrecord_2663_legal_name,40)}${setLength(pfa.custrecord_2663_process_date?string("MMdd"),4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_name,15)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setLength(cbank.custpage_eft_custrecord_2663_branch_name,15)}${getAccountType(cbank.custpage_eft_custrecord_2663_bank_acct_type2)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",7)}${setLength("",17)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign totalLines = totalLines + 1 >
<#assign totalAmt = totalAmt + formatAmount(getAmountWithBankFee(payment),"truncDec")?number>
2${setLength(ebank.custrecord_2663_entity_bank_no,4)}${setLength(ebank.custrecord_2663_entity_bank_name,15)}${setLength(ebank.custrecord_2663_entity_branch_no,3)}${setLength(ebank.custrecord_2663_entity_branch_name,15)}${setLength("",4)}${setLength(getAccountType(ebank.custrecord_2663_acct_type),1)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",7)}${setLength(ebank.custrecord_2663_entity_acct_name,30)}${setPadding(formatAmount(getAmountWithBankFee(payment),"truncDec"),"left","0",10)}1${setLength(ebank.custrecord_2663_customer_code,20)} ${setLength(ebank.custrecord_2663_edi_value,1)}${setLength("",7)}
</#list>
8${setPadding(totalLines?c,"left","0",6)}${setPadding(formatAmount(totalAmt,"truncDec"),"left","0",12)}${setLength("",101)}
9${setLength("",119)}<#rt>
#OUTPUT END# |
Japan |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='Zengin'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_bank_name' label='Bank Name' helptext="Enter the name of the vendor's/employee's/customer's bank."/>
<refField id='custrecord_2663_entity_branch_name' label='Branch Name' helptext="Enter the name of the bank branch where the vendor's/employee's/customer's bank account is maintained."/>
<refField id='custrecord_2663_acct_type' label='Account Type' mandatory='true' helptext="Select the vendor's/employee's/customer's bank account type. You can choose from Ordinary or Checking account."/>
<refField id='custrecord_2663_edi' label='EDI' />
<refField id='custrecord_2663_customer_code' label='Customer Code' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">10</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">40</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">7</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">7</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="hankaku">
<param name="specialChars">()\-A-Za-z0-9</param>
</validator>
<validator type="len">
<param name="maxLength">30</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_customer_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="Zengin" country="JP">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo>trailer</recordInfo>
<recordInfo>end</recordInfo>
</recordStructure>
<record name="header">
<field name="Header Record Type">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Classification">
<position>2</position>
<length>2</length>
<source type="value">21</source>
</field>
<field name="Code Type">
<position>4</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="EFT Requestor ID">
<position>5</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Account Holder's Name">
<position>15</position>
<length>40</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Transfer Date">
<position>55</position>
<length>4</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">MMDD</format>
</field>
<field name="Remitting Bank Number">
<position>59</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Name">
<position>63</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_name</sourceFld>
</source>
</field>
<field name="Remitting Branch Number">
<position>78</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Branch Name">
<position>81</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_name</sourceFld>
</source>
</field>
<field name="Account Type">
<position>96</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Remitting Bank Account Number">
<position>97</position>
<length>7</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy">
<position>104</position>
<length>17</length>
</field>
</record>
<record name="body">
<field name="Body Record Type">
<position>1</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Receiving Bank Number">
<position>2</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Receiving Bank Name">
<position>6</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_name</sourceFld>
</source>
</field>
<field name="Receiving Branch Number">
<position>21</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Receiving Branch Name">
<position>24</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_name</sourceFld>
</source>
</field>
<field name="Clearing House Number">
<position>39</position>
<length>4</length>
</field>
<field name="Account Type">
<position>43</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_acct_type</sourceFld>
</source>
</field>
<field name="Receiving Bank Account Number">
<position>44</position>
<length>7</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Receiving Account Holder Name">
<position>51</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
</field>
<field name="Amount">
<position>81</position>
<length>10</length>
<source type="amountNoDec" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Status">
<position>91</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Customer Code">
<position>92</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_customer_code</sourceFld>
</source>
</field>
<field name="Transfer Priority">
<position>112</position>
<length>1</length>
</field>
<field name="Identifier">
<position>113</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_edi_value</sourceFld>
</source>
</field>
<field name="Dummy">
<position>114</position>
<length>7</length>
</field>
</record>
<record name="trailer">
<field name="Trailer Record Type">
<position>1</position>
<length>1</length>
<source type="value">8</source>
</field>
<field name="Total Count" type="totalLines">
<position>2</position>
<length>6</length>
<source type="totalLines" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Amount" type="totalAmt">
<position>8</position>
<length>12</length>
<source type="totalAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy">
<position>20</position>
<length>101</length>
</field>
</record>
<record name="end">
<field name="End Record Type">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Dummy">
<position>2</position>
<length>119</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
2 |
6/24/2021 5:37 am |
5000 |
Zengin |
T |
SHIFT_JIS |
5 |
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Zengin">
<refField id="custrecord_2663_bank_comp_id" label="EFT ID" mandatory="true" helptext="Enter your company's EFT requester ID. This number is assigned by the bank."/>
<refField id="custrecord_2663_bank_num" label="Bank Number" mandatory="true" helptext="Enter the number that identifies the bank in the Japanese banking industry."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the number that identifies the bank branch where your account is maintained."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_bank_name" label="Bank Name" helptext="Enter the name of the bank where your company's account is maintained."/>
<refField id="custrecord_2663_branch_name" label="Branch Name" helptext="Enter the name of the bank branch where your company's bank account is maintained."/>
<refField id="custrecord_2663_bank_acct_type2" label="Account Type" mandatory="true" helptext="Select whether your bank account is an ordinary or checking account."/>
</refFields> |
|
value_2_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=2 |
2 |
Zengin |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 4 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign entityAccountHash = 0>
<#-- template building -->
#OUTPUT START#
1,,,,${cbank.custpage_eft_custrecord_2663_acct_num},7,${pfa.custrecord_2663_process_date?string("yyMMdd")},${pfa.custrecord_2663_process_date?string("yyMMdd")},
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
<#assign totalPayments = totalPayments + 1>
<#assign entityAccountHash = entityAccountHash + ebank.custrecord_2663_entity_acct_no?substring(2, 13)?number>
2,${ebank.custrecord_2663_entity_acct_no},50,${formatAmount(amount)},${ebank.custrecord_2663_entity_acct_name},${ebank.custrecord_2663_reference},${ebank.custrecord_2663_customer_code},,${ebank.custrecord_2663_entity_payment_desc},${cbank.custrecord_2663_legal_name},,,
</#list>
3,${formatAmount(totalAmount)},${totalPayments?c},${setPadding(entityAccountHash?c,"left","0",11)}
#OUTPUT END# |
New Zealand |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BNZ'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_reference' label='Payment Reference' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id='custrecord_2663_customer_code' label='Payment Code' mandatory='false' />
<refField id='custrecord_2663_entity_payment_desc' label='Payment Description' mandatory='false' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator type="all">
<validatorList>
<validator type="invalidChars">
<param name="invalidChars">,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">15</param>
<param name="maxLength">16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">15</param>
<param name="maxLength">16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_reference</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_customer_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="BNZ" country="NZ" delimiter="," extension="afi" crlf="true">
<recordStructure>
<recordInfo>headerrecord</recordInfo>
<recordInfo type="body">transactionrecord</recordInfo>
<recordInfo>controlrecord</recordInfo>
</recordStructure>
<record name="headerrecord">
<field name="RECORD_TYPE">
<position>1</position>
<length>1</length>
<source type="value">1</source>
<setFixed>false</setFixed>
</field>
<field name="DIRECT_DEBIT_AUTH_NO">
<position>2</position>
<length>7</length>
<setFixed>false</setFixed>
</field>
<field name="BATCH_NUMBER">
<position>9</position>
<length>2</length>
<setFixed>false</setFixed>
</field>
<field name="BATCH_SEQUENCE_NO">
<position>11</position>
<length>4</length>
<setFixed>false</setFixed>
</field>
<field name="ACCOUNT_NUMBER">
<position>15</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name="BATCH_TYPE">
<position>30</position>
<length>1</length>
<source type="value">7</source>
<setFixed>false</setFixed>
</field>
<field name="BATCH_DUE_DATE">
<position>31</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
<setFixed>false</setFixed>
</field>
<field name="TODAY'S_DATE">
<position>37</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
<setFixed>false</setFixed>
</field>
<field name="INDICATOR">
<position>43</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
</record>
<record name="transactionrecord">
<field name="RECORD_TYPE">
<position>1</position>
<length>3</length>
<source type="value">2</source>
<setFixed>false</setFixed>
</field>
<field name="ACCOUNT_NO">
<position>4</position>
<length>16</length>
<source type="entityAccountHash">dummy</source>
<setFixed>false</setFixed>
</field>
<field name="TRAN_CODE">
<position>20</position>
<length>2</length>
<source type="value">50</source>
<setFixed>false</setFixed>
</field>
<field name="AMOUNT">
<position>22</position>
<length>12</length>
<source type="amount">dummy</source>
<setFixed>false</setFixed>
</field>
<field name="OTHER_PARTY_NAME">
<position>34</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name="OTHER_PARTY_REF">
<position>54</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name="OTHER_PARTY_CODE">
<position>66</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name="OTHER_PARTY_ALPHA_REF">
<position>78</position>
<length>1</length>
<setFixed>false</setFixed>
</field>
<field name="OTHER_PARTY_PARTICULARS">
<position>79</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name="SUBSCRIBER_NAME">
<position>91</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name="SUB_CODE">
<position>111</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name="SUB_REFERENCE">
<position>123</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name="SUB_PARTICULAR">
<position>135</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
</record>
<record name="controlrecord">
<field name="RECORD_TYPE">
<position>1</position>
<length>1</length>
<source type="value">3</source>
<setFixed>false</setFixed>
</field>
<field name="AMOUNT">
<position>2</position>
<length>20</length>
<source type="totalAmt">dummy</source>
<setFixed>false</setFixed>
</field>
<field name="TRANS_AMOUNT">
<position>22</position>
<length>6</length>
<source type="totalLines">dummy</source>
<setFixed>false</setFixed>
</field>
<field name="HASH_TOTAL">
<position>28</position>
<length>11</length>
<source type="hashEntityAccount">dummy</source>
<padding>0</padding>
<align>right</align>
<setFixed>true</setFixed>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
4 |
6/24/2021 5:36 am |
5000 |
BNZ |
T |
|
|
afi |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BNZ">
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your 15-digit or 16-digit bank account number."/>
</refFields> |
|
value_4_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=4 |
4 |
BNZ |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 5 |
<#-- format specific processing -->
<#function computeExpirationDate>
<#assign processDate = pfa.custrecord_2663_process_date?string("yyDDD")>
<#assign expireDate = processDate?number + 1>
<#return expireDate?c>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + " " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#assign totalDebitAmount = 0>
<#if cbank.custpage_eft_custrecord_2663_balance_line>
<#assign totalDebitAmount = totalAmount>
</#if>
<#-- template building -->
#OUTPUT START#
VOL1${setPadding(pfa.id,"left","0",6)} ${setLength(cbank.custpage_eft_custrecord_2663_bank_code,6)} ${setLength(cbank.custpage_eft_custrecord_2663_bank_num,6)} 1
HDR1A${setLength(cbank.custpage_eft_custrecord_2663_bank_num,6)}S ${setLength(cbank.custpage_eft_custrecord_2663_bank_num,6)}${setPadding(pfa.id,"left","0",6)}00010001 ${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyDDD"),"left"," ",6)}${setPadding(computeExpirationDate(),"left"," ",6)} 000000
HDR2F0200000100 00
UHL1${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left"," ",6)}999999 000000001 DAILY ${setPadding(pfa.id,"left","0",3)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)}099${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)} ${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}${setLength(getReferenceNote(payment)?upper_case,18)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,18)}
</#list>
${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}017${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)} ${setPadding(formatAmount(totalAmount),"left","0",11)}${setLength(pfa.custrecord_2663_ref_note?upper_case,18)}${setLength("CONTRA",18)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}
EOF1A${setLength(cbank.custpage_eft_custrecord_2663_bank_num,6)}S ${setLength(cbank.custpage_eft_custrecord_2663_bank_num,6)}${setPadding(pfa.id,"left","0",6)}00010001 ${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyDDD"),"left"," ",6)}${setPadding(computeExpirationDate(),"left"," ",6)} 000000
EOF2F0200000100 00
UTL1${setPadding(formatAmount(totalDebitAmount),"left","0",13)}${setPadding(formatAmount(totalAmount),"left","0",13)}0000001${setPadding(payments?size,"left","0",7)}
#OUTPUT END# |
Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACS'>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_code</fieldName>
<validatorList>
<validator type="custom" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_file_ref</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='GB' crlf='true' name='BACS'>
<recordStructure>
<recordInfo>VOL1</recordInfo>
<recordInfo>HDR1</recordInfo>
<recordInfo>HDR2</recordInfo>
<recordInfo>UHL1</recordInfo>
<recordInfo type='body'>Standard</recordInfo>
<recordInfo>Contra</recordInfo>
<recordInfo>EOF1</recordInfo>
<recordInfo>EOF2</recordInfo>
<recordInfo>UTL1</recordInfo>
</recordStructure>
<record name='VOL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>VOL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>11</position>
</field>
<field name='Reserved (blank)'>
<length>20</length>
<position>12</position>
</field>
<field name='HSBC / SAGE'>
<length>6</length>
<position>32</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name='Owner ID - Reserved (blank)'>
<length>4</length>
<position>38</position>
</field>
<field name='Owner ID - Service User Number'>
<length>6</length>
<position>42</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='Owner ID - Reserved (blank)'>
<length>4</length>
<position>48</position>
</field>
<field name='Reserved'>
<length>28</length>
<position>52</position>
</field>
<field name='Label Standard Level'>
<length>1</length>
<position>80</position>
<source type='value'>1</source>
</field>
</record>
<record name='HDR1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Identifier - A'>
<length>1</length>
<position>5</position>
<source type='value'>A</source>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>6</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Identifier - S'>
<length>1</length>
<position>12</position>
<source type='value'>S</source>
</field>
<field name='File Identifier - Reserved (blank)'>
<length>2</length>
<position>13</position>
</field>
<field name='File Identifier - Reserved'>
<length>1</length>
<position>15</position>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>16</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>22</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='File Section Number'>
<length>4</length>
<position>28</position>
<source type='value'>0001</source>
</field>
<field name='File Sequence Number'>
<length>4</length>
<position>32</position>
<source type='value'>0001</source>
</field>
<field name='Generation Number'>
<length>4</length>
<position>36</position>
</field>
<field name='Generation Version Number'>
<length>2</length>
<position>40</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>42</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYDDD</format>
</field>
<field name='File Expiration Date'>
<length>6</length>
<position>48</position>
<align>right</align>
<source type='expirationDate' />
<format type='date'>YYDDD</format>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>54</position>
</field>
<field name='Block Count'>
<length>6</length>
<position>55</position>
<source type='value'>000000</source>
</field>
<field name='System Code'>
<length>13</length>
<position>61</position>
</field>
<field name='Reserved'>
<length>7</length>
<position>74</position>
</field>
</record>
<record name='HDR2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Record Format'>
<length>1</length>
<position>5</position>
<source type='value'>F</source>
</field>
<field name='Block Length'>
<length>5</length>
<position>6</position>
<source type='value'>02000</source>
</field>
<field name='Record Length'>
<length>5</length>
<position>11</position>
<source type='value'>00100</source>
</field>
<field name='Free Text'>
<length>35</length>
<position>16</position>
</field>
<field name='Buffer Offset'>
<length>2</length>
<position>51</position>
<source type='value'>00</source>
</field>
<field name='Reserved'>
<length>28</length>
<position>53</position>
</field>
</record>
<record name='UHL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UHL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='BACS Processing Day'>
<length>6</length>
<position>5</position>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYDDD</format>
</field>
<field name='Service User Number'>
<length>6</length>
<position>11</position>
<source type='value'>999999</source>
</field>
<field name='Service User Number - Reserved (blank)'>
<length>4</length>
<position>17</position>
</field>
<field name='Currency Code'>
<length>2</length>
<position>21</position>
<source type='value'>00</source>
</field>
<field name='Country Code'>
<length>6</length>
<position>23</position>
<source type='value'>000000</source>
</field>
<field name='Work Code'>
<length>9</length>
<position>29</position>
<source type='value'>1 DAILY</source>
</field>
<field name='File Number'>
<length>3</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<length>7</length>
<position>41</position>
</field>
<field name='Audit Print Identifier'>
<length>7</length>
<position>48</position>
</field>
<field name='Free text'>
<length>26</length>
<position>55</position>
</field>
</record>
<record name='Standard'>
<field name='Recipient Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Recipient Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Recipient Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Senders Account Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Reference'>
<position>65</position>
<length>18</length>
<source type='referenceNote'>dummy</source>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='Contra'>
<field name='Senders Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Senders Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>17</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Free Text'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='totalAmt' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Account Reference'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Contra Indication'>
<position>65</position>
<length>18</length>
<source type='value'>CONTRA</source>
</field>
<field name='Senders Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='EOF1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Identifier - A'>
<length>1</length>
<position>5</position>
<source type='value'>A</source>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>6</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Identifier - S'>
<length>1</length>
<position>12</position>
<source type='value'>S</source>
</field>
<field name='File Identifier - Reserved (blank)'>
<length>2</length>
<position>13</position>
</field>
<field name='File Identifier - Reserved'>
<length>1</length>
<position>15</position>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>16</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>22</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='File Section Number'>
<length>4</length>
<position>28</position>
<source type='value'>0001</source>
</field>
<field name='File Sequence Number'>
<length>4</length>
<position>32</position>
<source type='value'>0001</source>
</field>
<field name='Generation Number'>
<length>4</length>
<position>36</position>
</field>
<field name='Generation Version Number'>
<length>2</length>
<position>40</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>42</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYDDD</format>
</field>
<field name='File Expiration Date'>
<length>6</length>
<position>48</position>
<align>right</align>
<source type='expirationDate' />
<format type='date'>YYDDD</format>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>54</position>
</field>
<field name='Block Count'>
<length>6</length>
<position>55</position>
<source type='value'>000000</source>
</field>
<field name='System Code'>
<length>13</length>
<position>61</position>
</field>
<field name='Reserved'>
<length>7</length>
<position>74</position>
</field>
</record>
<record name='EOF2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Record Format'>
<length>1</length>
<position>5</position>
<source type='value'>F</source>
</field>
<field name='Block Length'>
<length>5</length>
<position>6</position>
<source type='value'>02000</source>
</field>
<field name='Record Length'>
<length>5</length>
<position>11</position>
<source type='value'>00100</source>
</field>
<field name='Free Text'>
<length>35</length>
<position>16</position>
</field>
<field name='Buffer Offset'>
<length>2</length>
<position>51</position>
<source type='value'>00</source>
</field>
<field name='Reserved'>
<length>28</length>
<position>53</position>
</field>
</record>
<record name='UTL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UTL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Total of debit records'>
<length>13</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='totalDebitAmt' />
</field>
<field name='Total of credit records'>
<length>13</length>
<position>18</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Count of debit records'>
<length>7</length>
<position>31</position>
<source type='value'>1</source>
<align>right</align>
<padding>0</padding>
</field>
<field name='Count of credit records'>
<length>7</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Reserved (blank)'>
<length>10</length>
<position>45</position>
</field>
<field name='Reserved (blank)'>
<length>26</length>
<position>55</position>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
5 |
9/9/2021 4:23 am |
5000 |
BACS |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BACS">
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
<refField id="custrecord_2663_bank_num" label="Service User Number" mandatory="false" helptext="Enter your company’s 6-digit Service User Number (SUN). This number is assigned by the bank."/>
<refField id="custrecord_2663_bank_code" label="HSBC/SAGE" mandatory="false" helptext="Enter HSBC or SAGE if there is no Service User Number (SUN) assigned by the bank."/>
<refField id="custrecord_2663_balance_line" label="Include Total Debit Amount" helptext="Check this box to include the total debit amount in the UTL1 record of the payment file. Otherwise, a default value of zero is assigned."/>
</refFields> |
|
value_5_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=5 |
5 |
BACS |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 6 |
<#function getHashValue data>
<#assign valueNum = setPadding(data?string,"right","0",11)>
<#assign acctNum = setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"right","0",11)>
<#assign value1 = valueNum?substring(0,6)>
<#assign value2 = valueNum?substring(6,11)>
<#assign acctNum1 = acctNum?substring(0,6)>
<#assign acctNum2 = acctNum?substring(6,11)>
<#assign valueDiff = value1?number - value2?number>
<#assign acctNumDiff = acctNum1?number - acctNum2?number>
<#assign res = formatAmount(valueDiff - acctNumDiff,"truncDec")>
<#return res?number>
</#function>
<#assign seqId = "">
<#function computeSequenceId >
<#assign lastSeqId = 0>
<#assign lastSeqId = getSequenceId(true)>
<#assign seqId = lastSeqId + 1>
<#return seqId?string>
</#function>
#OUTPUT START#
<#assign totalAmount = 0>
<#assign totalHash = 0>
<#assign index = 0>
${setMaxLength(pfa.custrecord_2663_process_date?string("yyMMdd"),6)}${setLength("",45)}${setMaxLength(cbank.custpage_dd_custrecord_2663_bank_num,4)}${setMaxLength(cbank.custpage_dd_custrecord_2663_branch_num,3)}${setMaxLength(cbank.custpage_dd_custrecord_2663_acct_num,11)} ${setLength(cbank.custrecord_2663_legal_name?string?upper_case,20)}${setPadding(computeSequenceId(),"left","0",5)}${setMaxLength(cbank.custpage_dd_custrecord_2663_issuer_num?string?upper_case,8)}${setLength("",9)}0
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign amount = getAmount(payment)>
${setMaxLength(ebank.custrecord_2663_entity_bank_no,4)}${setMaxLength(ebank.custrecord_2663_entity_branch_no,3)}${setLength(ebank.custrecord_2663_entity_acct_no,11)}${setLength(ebank.custrecord_2663_entity_acct_name,20)}30${setPadding(formatAmount(amount),"left","0",11)}${setLength("",23)}${setLength("",15)}${setLength(ebank.custrecord_2663_entity_payment_desc,12)}${setPadding(ebank.custrecord_2663_reference,"left"," ",12)}1
<#assign
index = index + 1
totalAmount = totalAmount + amount
totalHash = totalHash + getHashValue(ebank.custrecord_2663_entity_acct_no)
>
</#list>
${setPadding("","left","0",19)}${setLength("",5)}${setPadding(index?c,"left","0",8)}${setPadding(formatAmount(totalAmount),"left","0",11)}${setLength("",26)}${setPadding(formatAmount(totalHash,"truncDec"),"left","0",11)}${setLength("",33)}9<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${seqId}
#RETURN END# |
Singapore |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='DBS - IDEAL'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id='custrecord_2663_reference' label='Reference' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_reference</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="DBS - IDEAL" country="SG" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="DateProcessed">
<position>1</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Dummy 1">
<position>7</position>
<length>45</length>
</field>
<field name="BankNumber">
<position>52</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="BankBranchNumber">
<position>56</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="BankAccountNo">
<position>59</position>
<length>11</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name="Dummy 2">
<position>70</position>
<length>2</length>
</field>
<field name="Originator">
<position>72</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="SequenceNum">
<position>92</position>
<length>5</length>
<source type="sequenceId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="SenderCompanyID">
<position>97</position>
<length>8</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Dummy 3">
<position>105</position>
<length>9</length>
</field>
<field name="HeaderRecCode">
<position>115</position>
<length>1</length>
<source type="value">0</source>
</field>
</record>
<record name="body">
<field name="GiroCode-Bank">
<position>1</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="GiroCode-Branch">
<position>5</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="GiroCode-Account">
<position>8</position>
<length>11</length>
<source type="entityAccountHash">dummy</source>
</field>
<field name="GiroCode-AccountName">
<position>19</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
</field>
<field name="Amount-Prefix">
<position>39</position>
<length>2</length>
<source type="value">30</source>
</field>
<field name="Amount">
<position>41</position>
<length>11</length>
<source type="amount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>52</position>
<length>23</length>
</field>
<field name="Dummy 4">
<position>75</position>
<length>15</length>
</field>
<field name="Particulars">
<position>90</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
</field>
<field name="GiroReference">
<position>102</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_reference</sourceFld>
</source>
<align>right</align>
</field>
<field name="BodyRecCode">
<position>114</position>
<length>1</length>
<source type="value">1</source>
</field>
</record>
<record name="footer">
<field name="Dummy 1">
<position>1</position>
<length>19</length>
<padding>0</padding>
</field>
<field name="Dummy 2">
<position>20</position>
<length>5</length>
</field>
<field name="Totals-Lines">
<position>25</position>
<length>8</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Totals-Amt">
<position>33</position>
<length>11</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>44</position>
<length>26</length>
</field>
<field name="HashAmount">
<position>70</position>
<length>11</length>
<source type="hashEntityAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 4">
<position>81</position>
<length>33</length>
</field>
<field name="FooterRecCode">
<position>114</position>
<length>1</length>
<source type="value">9</source>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
6 |
6/24/2021 5:36 am |
5000 |
DBS - IDEAL DD |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="DBS - IDEAL">
<refField id="custrecord_2663_bank_num" label="Bank Number" mandatory="true" helptext="Enter the number that identifies the bank within the country's banking industry."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the number that identifies the bank branch where your company's account is maintained."/>
<refField id="custrecord_2663_acct_num" label="Bank Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_issuer_num" label="Sender's Company ID" mandatory="true" helptext="Enter the 8-digit number that the bank uses to identify your company."/>
</refFields> |
|
value_6_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=6 |
6 |
DBS - IDEAL DD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 7 |
<#-- format building -->
#OUTPUT START#
<#assign totalAmount = 0>
0302${setLength("",8)}${setPadding(cbank.custpage_eft_custrecord_2663_issuer_num,"left","0",6)}${setLength("",7)}${pfa.custrecord_2663_process_date?string("ddMM")}Y${setLength(cbank.custrecord_2663_legal_name,24)}${setPadding("","left","0",7)}${setLength("",19)}E${setLength("",5)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",11)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,2)}${setLength(cbank.custpage_eft_custrecord_2663_bank_comp_id,14)}${setLength("",31)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,5)}${setLength("",6)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
0602${setLength("",8)}${setPadding(cbank.custpage_eft_custrecord_2663_issuer_num,"left","0",6)}${setLength(payment.entity,12)}${setLength(buildEntityName(entity,false),24)}${setLength(ebank.custrecord_2663_entity_bank_name,20)}${setLength("",12)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",11)}${setPadding(formatAmount(amount),"left","0",16)}${setLength("",31)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength("",6)}
</#list>
0802${setLength("",8)}${setPadding(cbank.custpage_eft_custrecord_2663_issuer_num,"left","0",6)}${setLength("",84)}${setPadding(formatAmount(totalAmount),"left","0",16)}${setLength("",42)}<#rt>
#OUTPUT END# |
France |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='CFONB'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_name' label='Bank Name' mandatory='true' helptext="Enter the name of the vendor's/employee's/customer's bank."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_code</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">5</param>
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">14</param>
<param name="maxLength">14</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">5</param>
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="CFONB" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Record Type">
<position>1</position>
<length>2</length>
<source type="value">03</source>
</field>
<field name="Transaction Code">
<position>3</position>
<length>2</length>
<source type="value">02</source>
</field>
<field name="Reserved">
<position>5</position>
<length>8</length>
</field>
<field name="Issuer Number">
<position>13</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>19</position>
<length>7</length>
</field>
<field name="Settlement date or maturity date">
<position>26</position>
<length>5</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMY</format>
</field>
<field name="Sender Name">
<position>31</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Payment Reference">
<position>55</position>
<length>7</length>
<padding>0</padding>
</field>
<field name="Reserved">
<position>62</position>
<length>19</length>
</field>
<field name="Payment Currency">
<position>81</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Reserved">
<position>82</position>
<length>5</length>
</field>
<field name="Sender Bank Branch Code">
<position>87</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Account Number">
<position>92</position>
<length>11</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>103</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_opt_fld</sourceFld>
</source>
</field>
<field name="Sender Registration (SIRET)">
<position>105</position>
<length>14</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="Reserved">
<position>119</position>
<length>31</length>
</field>
<field name="Sender Bank Code">
<position>150</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Reserved">
<position>155</position>
<length>6</length>
</field>
</record>
<record name="detail">
<field name="Record Type">
<position>1</position>
<length>2</length>
<source type="value">06</source>
</field>
<field name="Transaction Code">
<position>3</position>
<length>2</length>
<source type="value">02</source>
</field>
<field name="Reserved">
<position>5</position>
<length>8</length>
</field>
<field name="Issuer number">
<position>13</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Reference for Recipient">
<position>19</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityidtext</sourceFld>
</source>
</field>
<field name="Recipients Name">
<position>31</position>
<length>24</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Recipients Bank Name">
<position>55</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_name</sourceFld>
</source>
</field>
<field name="Nature for eco NR">
<position>75</position>
<length>1</length>
</field>
<field name="Country code for NR">
<position>76</position>
<length>3</length>
</field>
<field name="Balance of Payment">
<position>79</position>
<length>8</length>
</field>
<field name="Recipients Branch Code">
<position>87</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Recipients Account Number">
<position>92</position>
<length>11</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>103</position>
<length>16</length>
<source type="amount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Label 1">
<position>119</position>
<length>29</length>
</field>
<field name="Rejection Reason Code">
<position>148</position>
<length>2</length>
</field>
<field name="Recipient Bank Code">
<position>150</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Reserved">
<position>155</position>
<length>6</length>
</field>
</record>
<record name="footer">
<field name="Record Type">
<position>1</position>
<length>2</length>
<source type="value">08</source>
</field>
<field name="Transaction Code">
<position>3</position>
<length>2</length>
<source type="value">02</source>
</field>
<field name="Reserved">
<position>5</position>
<length>8</length>
</field>
<field name="Issuer number">
<position>13</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>19</position>
<length>84</length>
</field>
<field name="Total Payment Amount">
<position>103</position>
<length>16</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>119</position>
<length>42</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
7 |
6/24/2021 5:36 am |
5000 |
CFONB |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="CFONB">
<refField id="custrecord_2663_bank_code" label="Bank Code" mandatory="true" helptext="Enter the 5-digit numeric code that identifies your company's bank."/>
<refField id="custrecord_2663_bank_comp_id" label="SIRET Number" helptext="Enter the 14-digit French company and branch registration number of the bank."/>
<refField id="custrecord_2663_branch_num" label="Bank Branch Number" mandatory="true" helptext="Enter the 5-digit code that identifies the bank branch where your company's account is maintained. "/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_issuer_num" label="Issuer Number" mandatory="true" helptext="Enter the 6-digit numeric code issued by the bank to identify the payment transfers."/>
<refField id="custrecord_2663_opt_fld" label="Reserved Optional Field" displaytype="hidden" helptext=""/>
</refFields> |
|
value_7_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=7 |
7 |
CFONB |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 8 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign entityAccountHash = 0>
<#function getCompanyInfo field>
<#assign fieldValue = "">
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
<#elseif field == "zip">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.zip>
<#elseif field == "taxidnum">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.taxidnum>
</#if>
<#else>
<#if field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
<#elseif field == "zip">
<#assign fieldValue = companyInformation.zip>
<#elseif field == "taxidnum">
<#assign fieldValue = companyInformation.employerid>
</#if>
</#if>
<#return fieldValue>
</#function>
<#-- template building -->
#OUTPUT START#
01000${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,3)}01000000 000${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custrecord_2663_legal_name,26)}${setLength(getCompanyInfo("address1"),26)}${setLength(getCompanyInfo("zip"),4)}${setLength(getCompanyInfo("city"),22)}2${setLength(pfa.name,10,"right")}5
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
<#assign totalPayments = totalPayments + 1>
<#assign entityAccountHash = entityAccountHash + ebank.custrecord_2663_entity_acct_no?number>
1${setPadding(payment_index + 1,"left","0",4)}${setLength(entity.internalid,8,"right")}${setPadding("","left"," ",10)}${setLength(ebank.custrecord_2663_entity_acct_no,12)}${setPadding(formatAmount(amount),"left","0",12)}${setLength(buildEntityName(entity,false),26)}0${setPadding("","left"," ",53)}3
2${setPadding(payment_index + 1,"left","0",4)}0${setLength(entity.address1,26)}${setLength(entity.zipcode,4)}${setLength(entity.city,22)}${setPadding("","left"," ",53)}0${setPadding("","left"," ",16)}
</#list>
9${setPadding(totalPayments*2,"left","0",4)}${setPadding(totalPayments,"left","0",4)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding(entityAccountHash?c,"left","0",15)}${setLength(getCompanyInfo("taxidnum"),11)}${setPadding("","left"," ",81)}
#OUTPUT END# |
Belgium |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='CIRI-FBF'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>12</param>
<param name='minLength'>12</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>12</param>
<param name='minLength'>12</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>26</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>26</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='BE' crlf='true' extension='txt' name='CIRI-FBF'>
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type='body'>detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name='header'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Interbank Clearing Code'>
<position>2</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Reserved'>
<position>3</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Type of Payment'>
<position>4</position>
<length>2</length>
<source type='value'>00</source>
</field>
<field name='Creation date'>
<position>6</position>
<length>6</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>DDMMYY</format>
</field>
<field name="Sender's Bank Code">
<position>12</position>
<length>3</length>
<source type='bankAccount' />
</field>
<field name='Application Code'>
<position>15</position>
<length>2</length>
<source type='value'>01</source>
</field>
<field name='Execution date, requested'>
<position>17</position>
<length>6</length>
<source type='value'>000000</source>
</field>
<field name='If duplicate: D; if not, blank'>
<position>23</position>
<length>1</length>
</field>
<field name='Zeros'>
<position>24</position>
<length>3</length>
<source type='value'>000</source>
</field>
<field name="Sender's Account Number">
<position>27</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type='bankAccount' />
</field>
<field name="Sender's Name">
<position>39</position>
<length>26</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Sender's Address">
<position>65</position>
<length>26</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="Sender's Post Code">
<position>91</position>
<length>4</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>zip</sourceFld>
</source>
</field>
<field name="Sender's City/Town">
<position>95</position>
<length>22</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name="Sender's Language Code">
<position>117</position>
<length>1</length>
<source type='value'>2</source>
</field>
<field name='File Reference'>
<position>118</position>
<length>10</length>
<align>right</align>
<padding> </padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>name</sourceFld>
</source>
</field>
<field name='Version Code'>
<position>128</position>
<length>1</length>
<source type='value'>5</source>
</field>
</record>
<record name='detail'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Sequence number'>
<position>2</position>
<length>4</length>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Sender Reference for Recipient'>
<position>6</position>
<length>8</length>
<align>right</align>
<padding> </padding>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name='Blanks'>
<position>14</position>
<length>10</length>
</field>
<field name="Recipient's account number">
<position>24</position>
<length>12</length>
<source type='entityAccountHash' />
</field>
<field name='Amount'>
<position>36</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type='amountHash' />
</field>
<field name="Recipient's name">
<position>48</position>
<length>26</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Recipient's language code">
<position>74</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Message'>
<position>75</position>
<length>12</length>
</field>
<field name='First continuation of message'>
<position>87</position>
<length>41</length>
</field>
<field name='Type code'>
<position>128</position>
<length>1</length>
<source type='value'>3</source>
</field>
<field name='Record Type'>
<onNewline>true</onNewline>
<position>129</position>
<length>1</length>
<source type='value'>2</source>
</field>
<field name='Sequence number'>
<position>130</position>
<length>4</length>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Recipient Title Code'>
<position>134</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name="Recipient's Address">
<position>138</position>
<length>26</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="Recipient's Post Code">
<position>150</position>
<length>4</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>zipcode</sourceFld>
</source>
</field>
<field name="Recipient's City/Town">
<position>165</position>
<length>22</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name='Second continuation of message'>
<position>176</position>
<length>53</length>
</field>
<field name='Charge Code'>
<position>188</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Blank'>
<position>237</position>
<length>16</length>
</field>
</record>
<record name='footer'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>9</source>
</field>
<field name='Total Number of Data Records'>
<position>2</position>
<length>4</length>
<align>right</align>
<padding>0</padding>
<source type='totalLines' />
</field>
<field name='Number of Payment Records'>
<position>6</position>
<length>4</length>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Total Payment Amount'>
<position>10</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Total of Account Codes'>
<position>22</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
<source type='hashEntityAccount' />
</field>
<field name="Sender's Identification Number">
<position>37</position>
<length>11</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>taxidnum</sourceFld>
</source>
</field>
<field name='File Reference'>
<position>48</position>
<length>12</length>
</field>
<field name='Blank'>
<position>60</position>
<length>49</length>
</field>
<field name='Reserved (blank)'>
<position>109</position>
<length>20</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
8 |
6/24/2021 5:36 am |
5000 |
CIRI-FBF |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="CIRI-FBF">
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 12-digit bank account number."/>
</refFields> |
|
value_8_4533432_160 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign entityAccountHash = 0>
<#function getCompanyInfo field>
<#assign fieldValue = "">
<#if field == "taxregistrationnumber">
<#assign fieldValue = taxregistrationnumber.custrecord_12144_taxregistrationnumber>
</#if>
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
<#elseif field == "zip">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.zip>
</#if>
<#else>
<#if field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
<#elseif field == "zip">
<#assign fieldValue = companyInformation.zip>
</#if>
</#if>
<#return fieldValue>
</#function>
<#-- template building -->
#OUTPUT START#
01000${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,3)}01000000 000${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custrecord_2663_legal_name,26)}${setLength(getCompanyInfo("address1"),26)}${setLength(getCompanyInfo("zip"),4)}${setLength(getCompanyInfo("city"),22)}2${setLength(pfa.name,10,"right")}5
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
<#assign totalPayments = totalPayments + 1>
<#assign entityAccountHash = entityAccountHash + ebank.custrecord_2663_entity_acct_no?number>
1${setPadding(payment_index + 1,"left","0",4)}${setLength(entity.internalid,8,"right")}${setPadding("","left"," ",10)}${setLength(ebank.custrecord_2663_entity_acct_no,12)}${setPadding(formatAmount(amount),"left","0",12)}${setLength(buildEntityName(entity,false),26)}0${setPadding("","left"," ",53)}3
2${setPadding(payment_index + 1,"left","0",4)}0${setLength(entity.address1,26)}${setLength(entity.zipcode,4)}${setLength(entity.city,22)}${setPadding("","left"," ",53)}0${setPadding("","left"," ",16)}
</#list>
9${setPadding(totalPayments*2,"left","0",4)}${setPadding(totalPayments,"left","0",4)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding(entityAccountHash?c,"left","0",15)}${setLength(getCompanyInfo("taxregistrationnumber"),11)}${setPadding("","left"," ",81)}
#OUTPUT END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=8 |
8 |
CIRI-FBF |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 9 |
<#-- format specific processing -->
<#assign totalAmount = 0>
<#assign recordCount = 0>
<#function getCompanyInfo field>
<#assign fieldValue = "">
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
<#elseif field == "taxidnum">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.taxidnum>
</#if>
<#else>
<#if field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
<#elseif field == "taxidnum">
<#assign fieldValue = companyInformation.employerid>
</#if>
</#if>
<#return fieldValue>
</#function>
<#-- format building -->
#OUTPUT START#
PC${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_process_date?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",74)}E${setLength("",6)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
10${setPadding(payment_index + 1,"left","0",7)}${setLength("",6)}${pfa.custrecord_2663_process_date?string("ddMMyy")}${pfa.custrecord_2663_process_date?string("ddMMyy")}48000${setPadding(formatAmount(amount),"left","0",13)}+${setLength(cbank.custpage_eft_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}4${setLength(entity.internalid,16)}1${setLength("",5)}E
<#assign recordCount = recordCount + 1>
16${setPadding(payment_index + 1,"left","0",7)}${setLength(cbank.custpage_eft_custrecord_2663_country_code,2)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,2)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength("",83)}
<#assign recordCount = recordCount + 1>
17${setPadding(payment_index + 1,"left","0",7)}${setLength(ebank.custrecord_2663_entity_country_code,2)}${setLength(ebank.custrecord_2663_entity_iban_check,2)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength("",83)}
<#assign recordCount = recordCount + 1>
20${setPadding(payment_index + 1,"left","0",7)}${setLength(cbank.custrecord_2663_legal_name,30)}${setLength(getCompanyInfo("address1"),30)}${setLength(getCompanyInfo("city"),30)}${setLength(getCompanyInfo("taxidnum"),16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
30${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityName(entity,false),30)}${setLength(entity.address1,30)}${setLength(entity.city,30)}${setLength(entity.vatregnumber,16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
40${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
50${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
70${setPadding(payment_index + 1,"left","0",7)}${setLength("",100)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength("",9)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
EF${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_process_date?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",6)}${setPadding(payments?size,"left","0",7)}${setPadding("","left","0",15)}${setPadding(formatAmount(totalAmount),"left","0",15)}${setPadding(recordCount,"left","0",7)}${setLength("",24)}E${setLength("",6)}<#rt>
#OUTPUT END# |
Italy |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='CBI Payments'>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_country_code' label='Country Code' displaytype='disabled' helptext="This field displays the international code assigned to the country where the bank is based."/>
<refField id='custrecord_2663_entity_iban_check' label='IBAN Check Digits' displaytype='disabled'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled'/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="IT" name="CBI Payments" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">PC</source>
</field>
<field name="Sender">
<position>4</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient (processor)">
<position>9</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Creation Date">
<position>14</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Identity">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Free text">
<position>40</position>
<length>6</length>
</field>
<field name="Blank">
<position>46</position>
<length>59</length>
</field>
<field name="Not Used">
<position>105</position>
<length>7</length>
</field>
<field name="Blank">
<position>112</position>
<length>1</length>
</field>
<field name="Priority">
<position>113</position>
<length>1</length>
</field>
<field name="Currency">
<position>114</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Blank">
<position>115</position>
<length>1</length>
</field>
<field name="Reserved">
<position>116</position>
<length>5</length>
</field>
</record>
<record name="detail">
<!--Record Type 10 -->
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">10</source>
</field>
<field name="Sequence number">
<position>4</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Blank">
<position>11</position>
<length>6</length>
</field>
<field name="Payment Date">
<position>17</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Settlement Date">
<position>23</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Type">
<position>29</position>
<length>5</length>
<source type="value">48000</source>
</field>
<field name="Amount">
<position>34</position>
<length>13</length>
<align>right</align>
<padding>0</padding>
<source type="amountHash" />
</field>
<field name="Sign">
<position>47</position>
<length>1</length>
<source type="value">+</source>
</field>
<field name="Senders Bank Code (ABI)">
<position>48</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Senders Branch Code (CAB)">
<position>53</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Senders Account Code">
<position>58</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccount"/>
</field>
<field name="Recipients Bank Code (ABI)">
<position>70</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Recipients Branch Code (CAB)">
<position>75</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Recipients Account Code">
<position>80</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Sender">
<position>92</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Customer Code Type">
<position>97</position>
<length>1</length>
<source type="value">4</source>
</field>
<field name="Customer Code">
<position>98</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Payment Type">
<position>114</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Blank">
<position>115</position>
<length>4</length>
</field>
<field name="Priority (Standard = blank)">
<position>119</position>
<length>1</length>
</field>
<field name="Currency">
<position>120</position>
<length>1</length>
<source type="value">E</source>
</field>
<!--Record Type 16 -->
<field name="Blank">
<position>121</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>122</position>
<length>2</length>
<source type="value">16</source>
</field>
<field name="Sequence number">
<position>124</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Country Code">
<position>131</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_code</sourceFld>
</source>
</field>
<field name="IBAN Check Digits">
<position>133</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban_check</sourceFld>
</source>
</field>
<field name="CIN">
<position>135</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name="Bank Code (ABI)">
<position>136</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Branch Code (CAB)">
<position>141</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Account Code">
<position>146</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccount"/>
</field>
<field name="Blank">
<position>158</position>
<length>83</length>
</field>
<!--Record Type 17 -->
<field name="Blank">
<position>241</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>242</position>
<length>2</length>
<source type="value">17</source>
</field>
<field name="Sequence number">
<position>244</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Country Code">
<position>251</position>
<length>2</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_code</sourceFld>
</source>
</field>
<field name="IBAN Check Digits">
<position>253</position>
<length>2</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban_check</sourceFld>
</source>
</field>
<field name="CIN">
<position>255</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Bank Code (ABI)">
<position>256</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Branch Code (CAB)">
<position>261</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Account Code">
<position>266</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Blank">
<position>278</position>
<length>83</length>
</field>
<!--Record Type 20 -->
<field name="Blank">
<position>361</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>362</position>
<length>2</length>
<source type="value">20</source>
</field>
<field name="Sequence number">
<position>364</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Company Name">
<position>371</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Address">
<position>401</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="City/Town">
<position>431</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name="VAT Number">
<position>461</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>taxidnum</sourceFld>
</source>
</field>
<field name="Blank">
<position>477</position>
<length>4</length>
</field>
<!--Record Type 30 -->
<field name="Blank">
<position>481</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>482</position>
<length>2</length>
<source type="value">30</source>
</field>
<field name="Sequence number">
<position>484</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Segment 1">
<position>491</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Segment 2">
<position>521</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="Segment 3">
<position>551</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name="VAT Number">
<position>581</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>vatregnumber</sourceFld>
</source>
</field>
<field name="Blank">
<position>597</position>
<length>4</length>
</field>
<!--Record Type 40 -->
<field name="Blank">
<position>601</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>602</position>
<length>2</length>
<source type="value">40</source>
</field>
<field name="Sequence number">
<position>604</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Address">
<position>611</position>
<length>30</length>
</field>
<field name="Postal Code">
<position>641</position>
<length>5</length>
</field>
<field name="Municipality and Province">
<position>646</position>
<length>25</length>
</field>
<field name="Blank">
<position>671</position>
<length>50</length>
</field>
<!--Record Type 50 -->
<field name="Blank">
<position>721</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>722</position>
<length>2</length>
<source type="value">50</source>
</field>
<field name="Sequence number">
<position>724</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Segment 1">
<position>731</position>
<length>30</length>
</field>
<field name="Segment 2">
<position>761</position>
<length>30</length>
</field>
<field name="Segment 3">
<position>791</position>
<length>30</length>
</field>
<field name="Blank">
<position>821</position>
<length>20</length>
</field>
<!--Record Type 70 -->
<field name="Blank">
<position>841</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>842</position>
<length>2</length>
<source type="value">70</source>
</field>
<field name="Sequence number">
<position>844</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Blank">
<position>851</position>
<length>15</length>
</field>
<field name="Reserved">
<position>866</position>
<length>5</length>
</field>
<field name="Flow Qualifier">
<position>871</position>
<length>7</length>
</field>
<field name="MP Code">
<position>878</position>
<length>5</length>
</field>
<field name="Blank">
<position>883</position>
<length>27</length>
</field>
<field name="Request (Blank = As Agreed)">
<position>910</position>
<length>1</length>
</field>
<field name="Unique Code">
<position>911</position>
<length>30</length>
</field>
<field name="Blank">
<position>941</position>
<length>10</length>
</field>
<field name="Recipient CIN">
<position>951</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Blank">
<position>952</position>
<length>1</length>
</field>
<field name="Checksum">
<position>953</position>
<length>8</length>
</field>
</record>
<record name="footer">
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">EF</source>
</field>
<field name="Sender">
<position>4</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient (processor)">
<position>9</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Creation Date">
<position>14</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Identity">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Free text">
<position>40</position>
<length>6</length>
</field>
<field name="Number of Payment Records">
<position>46</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments" />
</field>
<field name="Total Credit Amount">
<position>53</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
<source type="value">0</source>
</field>
<field name="Total Payment Amount">
<position>68</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
<source type="totalAmt" />
</field>
<field name="Record Count">
<position>83</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalRecords" />
</field>
<field name="Blank">
<position>90</position>
<length>23</length>
</field>
<field name="Priority">
<position>113</position>
<length>1</length>
</field>
<field name="Currency">
<position>114</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Reserved">
<position>115</position>
<length>6</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
9 |
6/24/2021 5:36 am |
5000 |
CBI Payments |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="CBI Payments">
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company’s International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_country_code" label="Country Code" displaytype="disabled" helptext="This field displays your country code, based on the value entered in the IBAN field."/>
<refField id="custrecord_2663_iban_check" label="IBAN Check Digits" displaytype="disabled" helptext="This field displays your bank account's IBAN check digits, based on the value in the IBAN field."/>
<refField id="custrecord_2663_country_check" label="CIN" displaytype="disabled" helptext="This field displays your bank's CIN, based on the value in the IBAN field."/>
<refField id="custrecord_2663_bank_num" label="ABI (bank code)" displaytype="disabled" helptext="This field displays your bank's ABI code based on the value entered in the IBAN field."/>
<refField id="custrecord_2663_branch_num" label="CAB (branch code)" displaytype="disabled" helptext="This field displays the CAB where your bank account is maintained. This information is based on the value that you entered in the IBAN code field."/>
<refField id="custrecord_2663_acct_num" label="Account Number" displaytype="disabled" helptext="This field displays your company's bank account number. This information is based on the value entered in the IBAN field."/>
<refField id="custrecord_2663_issuer_num" label="Sender SIA code" mandatory="true" helptext="Enter your company's SIA (Interbank Company for Automation) code."/>
<refField id="custrecord_2663_processor_code" label="Payment Processor ABI code" mandatory="true" helptext="Enter the ABI (Italian Banking Association) code of your company's bank."/>
</refFields> |
|
value_9_4533432_160 |
<#-- format specific processing -->
<#assign totalAmount = 0>
<#assign recordCount = 0>
<#function getCompanyInfo field>
<#assign fieldValue = "">
<#if field == "taxregistrationnumber">
<#assign fieldValue = taxregistrationnumber.custrecord_12144_taxregistrationnumber>
</#if>
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
</#if>
<#else>
<#if field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
</#if>
</#if>
<#return fieldValue>
</#function>
<#-- format building -->
#OUTPUT START#
PC${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_process_date?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",74)}E${setLength("",6)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
10${setPadding(payment_index + 1,"left","0",7)}${setLength("",6)}${pfa.custrecord_2663_process_date?string("ddMMyy")}${pfa.custrecord_2663_process_date?string("ddMMyy")}48000${setPadding(formatAmount(amount),"left","0",13)}+${setLength(cbank.custpage_eft_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}4${setLength(entity.internalid,16)}1${setLength("",5)}E
<#assign recordCount = recordCount + 1>
16${setPadding(payment_index + 1,"left","0",7)}${setLength(cbank.custpage_eft_custrecord_2663_country_code,2)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,2)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength("",83)}
<#assign recordCount = recordCount + 1>
17${setPadding(payment_index + 1,"left","0",7)}${setLength(ebank.custrecord_2663_entity_country_code,2)}${setLength(ebank.custrecord_2663_entity_iban_check,2)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength("",83)}
<#assign recordCount = recordCount + 1>
20${setPadding(payment_index + 1,"left","0",7)}${setLength(cbank.custrecord_2663_legal_name,30)}${setLength(getCompanyInfo("address1"),30)}${setLength(getCompanyInfo("city"),30)}${setLength(getCompanyInfo("taxregistrationnumber"),16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
30${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityName(entity,false),30)}${setLength(entity.address1,30)}${setLength(entity.city,30)}${setLength(entity.defaulttaxreg,16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
40${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
50${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
70${setPadding(payment_index + 1,"left","0",7)}${setLength("",100)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength("",9)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
EF${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_process_date?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",6)}${setPadding(payments?size,"left","0",7)}${setPadding("","left","0",15)}${setPadding(formatAmount(totalAmount),"left","0",15)}${setPadding(recordCount,"left","0",7)}${setLength("",24)}E${setLength("",6)}<#rt>
#OUTPUT END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=9 |
9 |
CBI Payments |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 10 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign totalAccountHash = 0>
<#assign newSeqId = 0>
<#function computeSequenceId>
<#assign newSeqId = getSequenceId(true) + 1>
<#return pfa.custrecord_2663_file_creation_timestamp?string("dd") + setPadding(newSeqId,"left","0",2)>
</#function>
<#-- template building -->
#OUTPUT START#
0001A${pfa.custrecord_2663_file_creation_timestamp?string("ddMMyy")}CLIEOP03${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${computeSequenceId()}1${setPadding("","left"," ",21)}
0010C00${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}0001EUR${setLength(pfa.internalid,16)}${setPadding("","left"," ",10)}
0020A${setLength(pfa.custrecord_2663_ref_note,32)}${setPadding("","left"," ",13)}
0030B1${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,35)}P${setPadding("","left"," ",2)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalPayments = totalPayments + 1>
<#assign totalAmount = totalAmount + amount>
<#assign totalAccountHash = totalAccountHash + cbank.custpage_eft_custrecord_2663_acct_num?number + ebank.custrecord_2663_entity_acct_no?number>
0100A0005${setPadding(formatAmount(amount),"left","0",12)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",10)}${setPadding("","left"," ",9)}
0150A${setLength(ebank.custrecord_2663_entity_payment_desc,16)}${setPadding("","left"," ",29)}
0160A${setPadding("","left"," ",45)}
0170B${setLength(buildEntityName(entity,false),35)}${setPadding("","left"," ",10)}
</#list>
9990A${setPadding(formatAmount(totalAmount),"left","0",18)}${setLength(setPadding(totalAccountHash?c,"left","0",10),10,"right")}${setPadding(totalPayments,"left","0",7)}${setPadding("","left"," ",10)}
9999A${setPadding("","left"," ",45)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Netherlands |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='Equens - Clieop'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">7</param>
<param name="maxLength">10</param>
<param name="invalidLength">8</param>
</validator>
<validator type="num" />
<validator type="custom" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">7</param>
<param name="maxLength">10</param>
<param name="invalidLength">8</param>
</validator>
<validator type="num" />
<validator type="custom" />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="NL" name="Equens - Clieop" extension="txt">
<recordStructure>
<recordInfo>file header</recordInfo>
<recordInfo>batch header</recordInfo>
<recordInfo>description</recordInfo>
<recordInfo>ordering party</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>batch trailer</recordInfo>
<recordInfo>file trailer</recordInfo>
</recordStructure>
<!--File Header -->
<record name="file header">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0001</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="File Creation Date">
<position>6</position>
<length>6</length>
<source type="currentDate"/>
<format type="date">DDMMYY</format>
</field>
<field name="File Name">
<position>12</position>
<length>8</length>
<source type="value">CLIEOP03</source>
</field>
<field name="Sender Identification">
<position>20</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="File Identification">
<position>25</position>
<length>4</length>
<source type="sequenceId"/>
</field>
<field name="Duplicate Code">
<position>29</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Filler">
<position>30</position>
<length>21</length>
</field>
</record>
<!--Batch Header -->
<record name="batch header">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0010</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">C</source>
</field>
<field name="Transaction Group">
<position>6</position>
<length>2</length>
<source type="value">00</source>
</field>
<field name="Senders Account Number">
<position>8</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccount"/>
</field>
<field name="Batch Sequence Number">
<position>18</position>
<length>4</length>
<source type="value">0001</source>
</field>
<field name="Currency">
<position>22</position>
<length>3</length>
<source type="value">EUR</source>
</field>
<field name="batch Identification">
<position>25</position>
<length>16</length>
<source type="paymentFileNum"/>
</field>
<field name="Filler">
<position>41</position>
<length>10</length>
</field>
</record>
<!--Description -->
<record name="description">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0020</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Description">
<position>6</position>
<length>32</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name="Filler">
<position>38</position>
<length>13</length>
</field>
</record>
<!--Ordering Party -->
<record name="ordering party">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0030</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">B</source>
</field>
<field name="Name Code">
<position>6</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Processing Date">
<position>7</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Name">
<position>13</position>
<length>35</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Test Code">
<position>48</position>
<length>1</length>
<source type="value">P</source>
</field>
<field name="Filler">
<position>49</position>
<length>2</length>
</field>
</record>
<record name="detail">
<!--Transaction Record -->
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0100</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Transaction Type">
<position>6</position>
<length>4</length>
<source type="value">0005</source>
</field>
<field name="Amount">
<position>10</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="amountHash" />
</field>
<field name="Senders Account Number">
<position>22</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccountHash"/>
</field>
<field name="Recipients Account Number">
<position>32</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="entityAccountHash"/>
</field>
<field name="Filler">
<position>42</position>
<length>9</length>
</field>
<!--Payment Reference -->
<field name="Record Code">
<position>51</position>
<length>4</length>
<onNewline>true</onNewline>
<source type="value">0150</source>
</field>
<field name="Variant Code">
<position>55</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Payment Reference">
<position>56</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
</field>
<field name="Filler">
<position>72</position>
<length>29</length>
</field>
<!--Description -->
<field name="Record Code">
<position>101</position>
<length>4</length>
<onNewline>true</onNewline>
<source type="value">0160</source>
</field>
<field name="Variant Code">
<position>105</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Description">
<position>106</position>
<length>32</length>
</field>
<field name="Filler">
<position>138</position>
<length>13</length>
</field>
<!--Name Beneficiary -->
<field name="Record Code">
<position>151</position>
<length>4</length>
<onNewline>true</onNewline>
<source type="value">0170</source>
</field>
<field name="Variant Code">
<position>155</position>
<length>1</length>
<source type="value">B</source>
</field>
<field name="Recipients Name">
<position>156</position>
<length>35</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>191</position>
<length>10</length>
</field>
</record>
<!--Batch Trailer -->
<record name="batch trailer">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">9990</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Total Amount">
<position>6</position>
<length>18</length>
<align>right</align>
<padding>0</padding>
<source type="totalAmt" />
</field>
<field name="Total Account Numbers">
<position>24</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="hashAllAccount" />
</field>
<field name="Number of Items">
<position>34</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments" />
</field>
<field name="Filler">
<position>41</position>
<length>10</length>
</field>
</record>
<!--File Trailer -->
<record name="file trailer">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">9999</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Filler">
<position>6</position>
<length>45</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
10 |
6/24/2021 5:36 am |
5000 |
Equens - Clieop |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Equens - Clieop">
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter the 9-digit number that identifies your company’s account in the bank."/>
<refField id="custrecord_2663_issuer_num" label="Sender Identification" mandatory="true" helptext="Enter information to identify your company as the sender of the payment."/>
</refFields> |
|
value_10_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=10 |
10 |
Equens - Clieop |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 11 |
<#-- format specific processing -->
<#function getSubsidiaryInfo field>
<#assign value = "">
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "taxidnum">
<#assign value = cbank.custrecord_2663_subsidiary.taxidnum >
<#elseif field == "address1">
<#assign value = cbank.custrecord_2663_subsidiary.address1 >
<#elseif field == "city">
<#assign value = cbank.custrecord_2663_subsidiary.city >
</#if>
<#else>
<#if field == "taxidnum">
<#assign value = companyInformation.employerid >
<#elseif field == "address1">
<#assign value = companyInformation.address1 >
<#elseif field == "city">
<#assign value = companyInformation.city >
</#if>
</#if>
<#return value>
</#function>
<#function getEntityTaxId entity ebank payment>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#return entity.socialsecuritynumber>
<#elseif ebank.custrecord_2663_parent_vendor == payment.entity>
<#return entity.vatregnumber>
<#elseif ebank.custrecord_2663_parent_customer == payment.entity>
<#return entity.vatregnumber>
<#elseif ebank.custrecord_2663_parent_cust_ref == payment.entity>
<#return entity.vatregnumber>
</#if>
</#function>
<#-- cached values and counters -->
<#assign bankTaxId = getSubsidiaryInfo("taxidnum")>
<#assign totalAmount = 0>
<#assign recordCount = 0>
<#-- template building -->
#OUTPUT START#
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}001${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,10)}0${setLength("",3)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,2)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}002${setLength(cbank.custrecord_2663_legal_name,36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}003${setLength(getSubsidiaryInfo("address1"),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}004${setLength(getSubsidiaryInfo("city"),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
0656${setLength(bankTaxId,10,"right")}${setLength(getEntityTaxId(entity ebank payment),12,"right")}010${setPadding(formatAmount(amount),"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,4)}${setLength(ebank.custrecord_2663_entity_branch_no,4)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",10)}19${setLength("",2)}${setLength(ebank.custrecord_2663_entity_country_check,2)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}011${setLength(buildEntityName(entity,false),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}014${setLength(entity.zipcode,5)}${setLength(entity.city,31)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}015${setLength(entity.state,36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
0856${setLength(bankTaxId,10,"right")}${setLength("",15)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding(payments?size,"left","0",8)}${setPadding(recordCount,"left","0",10)}${setLength("",13)}<#rt>
#OUTPUT END# |
Spain |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='AEB - Norma 34'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_country_code' label='Country Code' displaytype='disabled' helptext="This field displays the international code assigned to the country where the bank is based."/>
<refField id='custrecord_2663_entity_iban_check' label='IBAN Check Digits' displaytype='disabled'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled'/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>24</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>24</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="ES" name="AEB - Norma 34" extension="txt">
<recordStructure>
<recordInfo>type 1</recordInfo>
<recordInfo>type 2</recordInfo>
<recordInfo>type 3</recordInfo>
<recordInfo>type 4</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>totals</recordInfo>
</recordStructure>
<!--Type 1 Record -->
<record name="type 1">
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">03</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>15</position>
<length>12</length>
</field>
<field name="Record Type">
<position>27</position>
<length>3</length>
<source type="value">001</source>
</field>
<field name="Creation Date">
<position>30</position>
<length>6</length>
<source type="currentDate" />
<format type="date">DDMMYY</format>
</field>
<field name="Processing Date">
<position>36</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Senders Bank Code">
<position>42</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Senders Branch Code">
<position>46</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Senders Account Number">
<position>50</position>
<length>10</length>
<source type="bankAccount" />
</field>
<field name="Bank Charges">
<position>60</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Filler">
<position>61</position>
<length>3</length>
</field>
<field name="Senders Account Check Digits">
<position>64</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name="Filler">
<position>66</position>
<length>7</length>
</field>
</record>
<!--Type 2 Record -->
<record name="type 2">
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">03</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>15</position>
<length>12</length>
</field>
<field name="Record Type">
<position>27</position>
<length>3</length>
<source type="value">002</source>
</field>
<field name="Sender Name">
<position>30</position>
<length>36</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Filler">
<position>66</position>
<length>7</length>
</field>
</record>
<!--Type 3 Record -->
<record name="type 3">
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">03</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>15</position>
<length>12</length>
</field>
<field name="Record Type">
<position>27</position>
<length>3</length>
<source type="value">003</source>
</field>
<field name="Sender Address">
<position>30</position>
<length>36</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="Filler">
<position>66</position>
<length>7</length>
</field>
</record>
<!--Type 4 Record -->
<record name="type 4">
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">03</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>15</position>
<length>12</length>
</field>
<field name="Record Type">
<position>27</position>
<length>3</length>
<source type="value">004</source>
</field>
<field name="Sender City">
<position>30</position>
<length>36</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name="Filler">
<position>66</position>
<length>7</length>
</field>
</record>
<record name="detail">
<!--Type 10 Record -->
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">06</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Sender Tax ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Recipient Tax ID">
<position>15</position>
<length>12</length>
<align>right</align>
<source type="entityTaxId" />
</field>
<field name="Record Type">
<position>27</position>
<length>3</length>
<source type="value">010</source>
</field>
<field name="Amount">
<position>30</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="amountHash" />
</field>
<field name="Recipient Bank Code">
<position>42</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Recipient Branch Code">
<position>46</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Recipient Account Number">
<position>50</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Bank Charges">
<position>60</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Reason Code">
<position>61</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Reserved">
<position>62</position>
<length>2</length>
</field>
<field name="Recipient Account Check Digits">
<position>64</position>
<length>2</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Reserved">
<position>66</position>
<length>7</length>
</field>
<!--Type 11 Record -->
<field name="Record Code">
<position>73</position>
<length>2</length>
<onNewline>true</onNewline>
<source type="value">06</source>
</field>
<field name="Operation Code">
<position>75</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>77</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>87</position>
<length>12</length>
</field>
<field name="Record Type">
<position>99</position>
<length>3</length>
<source type="value">011</source>
</field>
<field name="Recipient Name">
<position>102</position>
<length>36</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Reserved">
<position>138</position>
<length>7</length>
</field>
<!--Type 14 Record -->
<field name="Record Code">
<position>145</position>
<length>2</length>
<onNewline>true</onNewline>
<source type="value">06</source>
</field>
<field name="Operation Code">
<position>147</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>149</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>159</position>
<length>12</length>
</field>
<field name="Record Type">
<position>171</position>
<length>3</length>
<source type="value">014</source>
</field>
<field name="Recipient Postcode">
<position>174</position>
<length>5</length>
<source type="entityZip" />
</field>
<field name="Recipient City">
<position>179</position>
<length>31</length>
<source type="entityCity" />
</field>
<field name="Reserved">
<position>210</position>
<length>7</length>
</field>
<!--Type 15 Record -->
<field name="Record Code">
<position>217</position>
<length>2</length>
<onNewline>true</onNewline>
<source type="value">06</source>
</field>
<field name="Operation Code">
<position>219</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>221</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>231</position>
<length>12</length>
</field>
<field name="Record Type">
<position>243</position>
<length>3</length>
<source type="value">015</source>
</field>
<field name="Recipient State">
<position>246</position>
<length>36</length>
<source type="entityState" />
</field>
<field name="Reserved">
<position>282</position>
<length>7</length>
</field>
</record>
<!--Totals Record -->
<record name="totals">
<field name="Record Code">
<position>1</position>
<length>2</length>
<source type="value">08</source>
</field>
<field name="Operation Code">
<position>3</position>
<length>2</length>
<source type="value">56</source>
</field>
<field name="Taxpayer ID">
<position>5</position>
<length>10</length>
<align>right</align>
<source type="bankTaxId" />
</field>
<field name="Filler">
<position>15</position>
<length>12</length>
</field>
<field name="Filler">
<position>27</position>
<length>3</length>
</field>
<field name="Total Payment Amount">
<position>30</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="totalAmt" />
</field>
<field name="Total Payment Count">
<position>42</position>
<length>8</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments" />
</field>
<field name="Total Record Count">
<position>50</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="totalRecords" />
</field>
<field name="Filler">
<position>60</position>
<length>6</length>
</field>
<field name="Reserved">
<position>66</position>
<length>7</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
11 |
6/24/2021 5:36 am |
5000 |
AEB - Norma 34 |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="AEB - Norma 34">
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company’s International Bank Account Number (IBAN). The values for the Bank Number, Branch Number, Account Number, Country, IBAN Check Digits, and Account Check Digits are automatically populated based on the value in the IBAN field."/>
<refField id="custrecord_2663_country_code" label="Country" displaytype="disabled" helptext="This field displays your company's country of operations. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_iban_check" label="IBAN Check Digits" displaytype="disabled" helptext="This field displays your bank account's IBAN Check Digits. This information is sourced from the IBAN value in the IBAN field."/>
<refField id="custrecord_2663_country_check" label="Account Check Digits" displaytype="disabled" helptext="This field displays your bank account's Check Digits. This information is sourced from the IBAN value in the IBAN field."/>
<refField id="custrecord_2663_bank_num" label="Bank Number" displaytype="disabled" helptext="This field displays the bank number based on the value in the IBAN field."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" displaytype="disabled" helptext="This field displays the number of the branch where your account is maintained. This number is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_acct_num" label="Account Number" displaytype="disabled" helptext="This field displays your company's bank number. This number is sourced from the value in the IBAN field."/>
</refFields> |
|
value_11_4533432_160 |
<#-- format specific processing -->
<#function getSubsidiaryInfo field>
<#assign value = "">
<#if field == "taxregistrationnumber">
<#assign value = taxregistrationnumber.custrecord_12144_taxregistrationnumber>
</#if>
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "address1">
<#assign value = cbank.custrecord_2663_subsidiary.address1 >
<#elseif field == "city">
<#assign value = cbank.custrecord_2663_subsidiary.city >
</#if>
<#else>
<#if field == "address1">
<#assign value = companyInformation.address1 >
<#elseif field == "city">
<#assign value = companyInformation.city >
</#if>
</#if>
<#return value>
</#function>
<#function getEntityTaxId entity ebank payment>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#return entity.socialsecuritynumber>
<#elseif ebank.custrecord_2663_parent_vendor == payment.entity>
<#return entity.defaulttaxreg>
<#elseif ebank.custrecord_2663_parent_customer == payment.entity>
<#return entity.defaulttaxreg>
<#elseif ebank.custrecord_2663_parent_cust_ref == payment.entity>
<#return entity.defaulttaxreg>
</#if>
</#function>
<#-- cached values and counters -->
<#assign bankTaxId = getSubsidiaryInfo("taxregistrationnumber")>
<#assign totalAmount = 0>
<#assign recordCount = 0>
<#-- template building -->
#OUTPUT START#
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}001${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,10)}0${setLength("",3)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,2)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}002${setLength(cbank.custrecord_2663_legal_name,36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}003${setLength(getSubsidiaryInfo("address1"),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0356${setLength(bankTaxId,10,"right")}${setLength("",12)}004${setLength(getSubsidiaryInfo("city"),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
0656${setLength(bankTaxId,10,"right")}${setLength(getEntityTaxId(entity ebank payment),12,"right")}010${setPadding(formatAmount(amount),"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,4)}${setLength(ebank.custrecord_2663_entity_branch_no,4)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",10)}19${setLength("",2)}${setLength(ebank.custrecord_2663_entity_country_check,2)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}011${setLength(buildEntityName(entity,false),36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}014${setLength(entity.zipcode,5)}${setLength(entity.city,31)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
0656${setLength(bankTaxId,10,"right")}${setLength("",12)}015${setLength(entity.state,36)}${setLength("",7)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
0856${setLength(bankTaxId,10,"right")}${setLength("",15)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding(payments?size,"left","0",8)}${setPadding(recordCount,"left","0",10)}${setLength("",13)}<#rt>
#OUTPUT END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=11 |
11 |
AEB - Norma 34 |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 12 |
<#-- format specific processing -->
<#function getSubsidiaryInfo field>
<#assign fieldValue = "">
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "legalname">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.legalname>
<#elseif field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
<#elseif field == "state">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.state>
<#elseif field == "taxidnum">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.taxidnum>
</#if>
<#else>
<#if field == "legalname">
<#assign fieldValue = companyInformation.legalname>
<#elseif field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
<#elseif field == "state">
<#assign fieldValue = companyInformation.state>
<#elseif field == "taxidnum">
<#assign fieldValue = companyInformation.employerid>
</#if>
</#if>
<#return fieldValue>
</#function>
<#function buildEntityAddress entity>
<#assign address1 = entity.address1>
<#assign address2 = entity.address2>
<#assign address3 = entity.address3>
<#assign address = "">
<#if address1?has_content>
<#assign address = address + address1>
</#if>
<#if address2?has_content>
<#if address?has_content>
<#assign address = address + "," + address2>
<#else>
<#assign address = address2>
</#if>
</#if>
<#if address3?has_content>
<#if address?has_content>
<#assign address = address + "," + address3>
<#else>
<#assign address = address3>
</#if>
</#if>
<#return address>
</#function>
<#function getTransactionField payment field>
<#assign paymentTrans = transHash[payment.internalid]>
<#assign value = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0]>
<#if field == "tranid">
<#assign value = transaction.tranid >
<#elseif field == "trandate">
<#assign value = transaction.trandate?string("ddMMyy") >
</#if>
</#if>
<#return value>
</#function>
<#function getState>
<#assign stateValue = getSubsidiaryInfo("state")>
<#assign stateCode = getStateCode(stateValue)>
<#if stateCode?has_content>
<#return stateCode>
<#else>
<#return stateValue>
</#if>
</#function>
<#-- counters -->
<#assign recordCount = 0>
<#-- format building -->
#OUTPUT START#
IB${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",74)}E${setLength("",6)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
14${setPadding(payment_index + 1,"left","0",7)}${setLength("",12)}${pfa.custrecord_2663_process_date?string("ddMMyy")}30000${setPadding(formatAmount(getAmount(payment)),"left","0",13)}-${setLength(cbank.custpage_dd_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}4${setLength(entity.internalid,16)}${setLength("",6)}E
<#assign recordCount = recordCount + 1>
20${setPadding(payment_index + 1,"left","0",7)}${setLength(getSubsidiaryInfo("legalname"),24)}${setLength(getSubsidiaryInfo("address1"),24)}${setLength(getSubsidiaryInfo("city"),24)}${setLength(getState(),24)}${setLength("",14)}
<#assign recordCount = recordCount + 1>
30${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityName(entity,false),30)}${setLength("",30)}${setLength(entity.vatregnumber,16)}${setLength("",34)}
<#assign recordCount = recordCount + 1>
40${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityAddress(entity),30)}${setLength(entity.zipcode,5)}${setLength(entity.city,25)}${setLength("",50)}
<#assign recordCount = recordCount + 1>
50${setPadding(payment_index + 1,"left","0",7)}${setLength(getTransactionField(payment,"tranid"),40)}${setLength(getTransactionField(payment,"trandate"),40)}${setLength("",10)}${setLength(getSubsidiaryInfo("taxidnum"),16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
51${setPadding(payment_index + 1,"left","0",7)}${setLength(getTransactionField(payment,"tranid"),10)}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength(cbank.custpage_dd_custrecord_2663_tax_province,15)}${setLength(cbank.custpage_dd_custrecord_2663_tax_authorization_num,10)}${cbank.custpage_dd_custrecord_2663_tax_authorization_date?string("ddMMyy")}${setLength("",49)}
<#assign recordCount = recordCount + 1>
70${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
EF${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",6)}${setPadding(payments?size,"left","0",7)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",15)}${setPadding("","left","0",15)}${setPadding(recordCount,"left","0",7)}${setLength("",24)}E${setLength("",6)}<#rt>
#OUTPUT END# |
Italy |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='CBI Collections'>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_country_code' label='Country Code' displaytype='disabled' helptext="This field displays the international code assigned to the country where the bank is based."/>
<refField id='custrecord_2663_entity_iban_check' label='IBAN Check Digits' displaytype='disabled'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled'/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="IT" name="CBI Collections" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">IB</source>
</field>
<field name="Sender">
<position>4</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient (processor)">
<position>9</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Creation Date">
<position>14</position>
<length>6</length>
<source type="currentDate"/>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Identity">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Free text">
<position>40</position>
<length>6</length>
</field>
<field name="Blank">
<position>46</position>
<length>59</length>
</field>
<field name="Not Used">
<position>105</position>
<length>7</length>
</field>
<field name="Blank">
<position>112</position>
<length>2</length>
</field>
<field name="Currency (E=Euro)">
<position>114</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Blank">
<position>115</position>
<length>1</length>
</field>
<field name="Reserved (blank)">
<position>116</position>
<length>5</length>
</field>
</record>
<record name="detail">
<!--Record Type 14 -->
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">14</source>
</field>
<field name="Sequence number">
<position>4</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Blank">
<position>11</position>
<length>12</length>
</field>
<field name="Collection Date">
<position>23</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Type (30000 = Collection)">
<position>29</position>
<length>5</length>
<source type="value">30000</source>
</field>
<field name="Amount">
<position>34</position>
<length>13</length>
<align>right</align>
<padding>0</padding>
<source type="amountHash" />
</field>
<field name="Sign">
<position>47</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Senders Bank Code (ABI)">
<position>48</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Senders Branch Code (CAB)">
<position>53</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Senders Account Code">
<position>58</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccount"/>
</field>
<field name="Recipients Bank Code (ABI)">
<position>70</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Recipients Branch Code (CAB)">
<position>75</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Recipients Account Code">
<position>80</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Sender">
<position>92</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Customer Code Type (Customer Code = 4)">
<position>97</position>
<length>1</length>
<source type="value">4</source>
</field>
<field name="Customer Code">
<position>98</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Debtor Type">
<position>114</position>
<length>1</length>
</field>
<field name="Blank">
<position>115</position>
<length>5</length>
</field>
<field name="Currency (E = Euro)">
<position>120</position>
<length>1</length>
<source type="value">E</source>
</field>
<!--Record Type 20 -->
<field name="Blank">
<position>121</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>122</position>
<length>2</length>
<source type="value">20</source>
</field>
<field name="Sequence number">
<position>124</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Segment 1">
<position>131</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>legalname</sourceFld>
</source>
</field>
<field name="Segment 2">
<position>155</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>address1</sourceFld>
</source>
</field>
<field name="Segment 3">
<position>179</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>city</sourceFld>
</source>
</field>
<field name="Segment 4">
<position>203</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>state</sourceFld>
</source>
</field>
<field name="Blank">
<position>227</position>
<length>14</length>
</field>
<!--Record Type 30 -->
<field name="Blank">
<position>241</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>242</position>
<length>2</length>
<source type="value">30</source>
</field>
<field name="Sequence number">
<position>244</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Segment 1">
<position>251</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Segment 2">
<position>281</position>
<length>30</length>
</field>
<field name="VAT Number">
<position>311</position>
<length>16</length>
<source type="entityTaxId" />
</field>
<field name="Blank">
<position>327</position>
<length>34</length>
</field>
<!--Record Type 40 -->
<field name="Blank">
<position>361</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>362</position>
<length>2</length>
<source type="value">40</source>
</field>
<field name="Sequence number">
<position>364</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Address">
<position>371</position>
<length>30</length>
<source type="entityAddress"/>
</field>
<field name="Postal Code">
<position>401</position>
<length>5</length>
<source type="entityZip"/>
</field>
<field name="City / Town">
<position>406</position>
<length>25</length>
<source type="entityCity"/>
</field>
<field name="Blank">
<position>431</position>
<length>50</length>
</field>
<!--Record Type 50 -->
<field name="Blank">
<position>481</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>482</position>
<length>2</length>
<source type="value">50</source>
</field>
<field name="Sequence number">
<position>484</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Segment 1">
<position>491</position>
<length>40</length>
<source type="referenceNote"/>
</field>
<field name="Segment 2">
<position>531</position>
<length>40</length>
<source type="referenceDate"/>
<format type="date">DDMMYY</format>
</field>
<field name="Filler">
<position>571</position>
<length>10</length>
</field>
<field name="VAT Number">
<position>581</position>
<length>16</length>
<source type="bankTaxId"/>
</field>
<field name="Blank">
<position>597</position>
<length>4</length>
</field>
<!--Record Type 51 -->
<field name="Blank">
<position>601</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>602</position>
<length>2</length>
<source type="value">51</source>
</field>
<field name="Sequence number">
<position>604</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Collection Number">
<position>611</position>
<length>10</length>
<source type="referenceNote"/>
</field>
<field name="Sender Name">
<position>621</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Tax Office Province">
<position>641</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_province</sourceFld>
</source>
</field>
<field name="Tax Office Authorization Number">
<position>656</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_authorization_num</sourceFld>
</source>
</field>
<field name="Tax Office Authorization Date">
<position>666</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_authorization_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Blank">
<position>672</position>
<length>49</length>
</field>
<!--Record Type 70 -->
<field name="Blank">
<position>721</position>
<length>1</length>
<onNewline>true</onNewline>
</field>
<field name="Record Type">
<position>722</position>
<length>2</length>
<source type="value">70</source>
</field>
<field name="Sequence number">
<position>724</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments"/>
</field>
<field name="Filler">
<position>731</position>
<length>78</length>
</field>
<field name="Reserved">
<position>809</position>
<length>12</length>
</field>
<field name="Debtor Document Type">
<position>821</position>
<length>1</length>
</field>
<field name="Result Request Flag">
<position>822</position>
<length>1</length>
</field>
<field name="Notice Printout Flag">
<position>823</position>
<length>1</length>
</field>
<field name="Reserved">
<position>824</position>
<length>17</length>
</field>
</record>
<record name="footer">
<field name="Blank">
<position>1</position>
<length>1</length>
</field>
<field name="Record Type">
<position>2</position>
<length>2</length>
<source type="value">EF</source>
</field>
<field name="Sender">
<position>4</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient (processor)">
<position>9</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Creation Date">
<position>14</position>
<length>6</length>
<source type="currentDate"/>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Identity">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Free text">
<position>40</position>
<length>6</length>
</field>
<field name="Number of Collection Records">
<position>46</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments" />
</field>
<field name="Total Credit Amount">
<position>53</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
<source type="totalAmt" />
</field>
<field name="Total Payment Amount">
<position>68</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Record Count">
<position>83</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalRecords" />
</field>
<field name="Blank">
<position>90</position>
<length>23</length>
</field>
<field name="Priority">
<position>113</position>
<length>1</length>
</field>
<field name="Currency Code (E=Euro)">
<position>114</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Reserved (blank)">
<position>115</position>
<length>6</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
12 |
6/24/2021 5:36 am |
5000 |
CBI Collections |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="CBI Collections">
<refField id="custrecord_2663_bank_num" label="Bank Number" displaytype="disabled" helptext="This field displays the number that identifies the bank within the country's banking industry. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" displaytype="disabled" helptext="This field displays the number that identifies the bank branch where your company's bank account is maintained. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_acct_num" label="Account Number" displaytype="disabled" helptext="This field displays the your company's bank account number. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_issuer_num" label="Sender SIA code" mandatory="true" helptext="Enter your company's SIA (Interbank Company for Automation) code."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_country_code" label="Country" displaytype="disabled" helptext="This field displays the country where the bank is located. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_iban_check" label="IBAN Check Digits" displaytype="disabled" helptext="This field displays the IBAN Check Digits. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_country_check" label="Account Check Digits" displaytype="disabled" helptext="This field displays the CIN check character. This information is sourced from the value in the IBAN field."/>
<refField id="custrecord_2663_processor_code" label="Payment Processor ABI code" mandatory="true" helptext="Enter the ABI (Italian Banking Association) code of your company's bank. "/>
<refField id="custrecord_2663_tax_province" label="Tax Office Province" helptext="Enter the province of the Inland Revenue Office that authorized the electronic payment."/>
<refField id="custrecord_2663_tax_authorization_num" label="Tax Office Authorization Number" helptext="Enter the authorization numer issued by the Inland Revenue Office."/>
<refField id="custrecord_2663_tax_authorization_date" label="Tax Office Authorization Date" helptext="Enter the date (DDMMYY) when the authorization was issued by the Inland Revenue Office."/>
</refFields> |
|
value_12_4533432_160 |
<#-- format specific processing -->
<#function getSubsidiaryInfo field>
<#assign fieldValue = "">
<#if field == "taxregistrationnumber">
<#assign fieldValue = taxregistrationnumber.custrecord_12144_taxregistrationnumber>
</#if>
<#if cbank.custrecord_2663_subsidiary?has_content>
<#if field == "legalname">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.legalname>
<#elseif field == "address1">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.address1>
<#elseif field == "city">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.city>
<#elseif field == "state">
<#assign fieldValue = cbank.custrecord_2663_subsidiary.state>
</#if>
<#else>
<#if field == "legalname">
<#assign fieldValue = companyInformation.legalname>
<#elseif field == "address1">
<#assign fieldValue = companyInformation.address1>
<#elseif field == "city">
<#assign fieldValue = companyInformation.city>
<#elseif field == "state">
<#assign fieldValue = companyInformation.state>
</#if>
</#if>
<#return fieldValue>
</#function>
<#function buildEntityAddress entity>
<#assign address1 = entity.address1>
<#assign address2 = entity.address2>
<#assign address3 = entity.address3>
<#assign address = "">
<#if address1?has_content>
<#assign address = address + address1>
</#if>
<#if address2?has_content>
<#if address?has_content>
<#assign address = address + "," + address2>
<#else>
<#assign address = address2>
</#if>
</#if>
<#if address3?has_content>
<#if address?has_content>
<#assign address = address + "," + address3>
<#else>
<#assign address = address3>
</#if>
</#if>
<#return address>
</#function>
<#function getTransactionField payment field>
<#assign paymentTrans = transHash[payment.internalid]>
<#assign value = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0]>
<#if field == "tranid">
<#assign value = transaction.tranid >
<#elseif field == "trandate">
<#assign value = transaction.trandate?string("ddMMyy") >
</#if>
</#if>
<#return value>
</#function>
<#function getState>
<#assign stateValue = getSubsidiaryInfo("state")>
<#assign stateCode = getStateCode(stateValue)>
<#if stateCode?has_content>
<#return stateCode>
<#else>
<#return stateValue>
</#if>
</#function>
<#-- counters -->
<#assign recordCount = 0>
<#-- format building -->
#OUTPUT START#
IB${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",74)}E${setLength("",6)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
14${setPadding(payment_index + 1,"left","0",7)}${setLength("",12)}${pfa.custrecord_2663_process_date?string("ddMMyy")}30000${setPadding(formatAmount(getAmount(payment)),"left","0",13)}-${setLength(cbank.custpage_dd_custrecord_2663_bank_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_branch_num,5)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left","0",12)}${setLength(ebank.custrecord_2663_entity_bank_no,5)}${setLength(ebank.custrecord_2663_entity_branch_no,5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}4${setLength(entity.internalid,16)}${setLength("",6)}E
<#assign recordCount = recordCount + 1>
20${setPadding(payment_index + 1,"left","0",7)}${setLength(getSubsidiaryInfo("legalname"),24)}${setLength(getSubsidiaryInfo("address1"),24)}${setLength(getSubsidiaryInfo("city"),24)}${setLength(getState(),24)}${setLength("",14)}
<#assign recordCount = recordCount + 1>
30${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityName(entity,false),30)}${setLength("",30)}${setLength(entity.defaulttaxreg,16)}${setLength("",34)}
<#assign recordCount = recordCount + 1>
40${setPadding(payment_index + 1,"left","0",7)}${setLength(buildEntityAddress(entity),30)}${setLength(entity.zipcode,5)}${setLength(entity.city,25)}${setLength("",50)}
<#assign recordCount = recordCount + 1>
50${setPadding(payment_index + 1,"left","0",7)}${setLength(getTransactionField(payment,"tranid"),40)}${setLength(getTransactionField(payment,"trandate"),40)}${setLength("",10)}${setLength(getSubsidiaryInfo("taxregistrationnumber"),16)}${setLength("",4)}
<#assign recordCount = recordCount + 1>
51${setPadding(payment_index + 1,"left","0",7)}${setLength(getTransactionField(payment,"tranid"),10)}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength(cbank.custpage_dd_custrecord_2663_tax_province,15)}${setLength(cbank.custpage_dd_custrecord_2663_tax_authorization_num,10)}${cbank.custpage_dd_custrecord_2663_tax_authorization_date?string("ddMMyy")}${setLength("",49)}
<#assign recordCount = recordCount + 1>
70${setPadding(payment_index + 1,"left","0",7)}${setLength("",110)}
<#assign recordCount = recordCount + 1>
</#list>
<#assign recordCount = recordCount + 1>
EF${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,5)}${setLength(cbank.custpage_dd_custrecord_2663_processor_code,5)}${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,20)}${setLength("",6)}${setPadding(payments?size,"left","0",7)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",15)}${setPadding("","left","0",15)}${setPadding(recordCount,"left","0",7)}${setLength("",24)}E${setLength("",6)}<#rt>
#OUTPUT END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=12 |
12 |
CBI Collections |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 13 |
<#-- format specific processing -->
<#function isBalanceLine>
<#return cbank.custpage_eft_custrecord_2663_balance_line >
</#function>
<#function getBankServiceClassCode>
<#if isBalanceLine() >
<#assign value = "200">
<#else>
<#assign value = "220">
</#if>
<#return value>
</#function>
<#function getEntityBankAccountType bankAccount>
<#if bankAccount == "Savings" >
<#assign value = "32">
<#else>
<#assign value = "22">
</#if>
<#return value>
</#function>
<#function computeTotalDebitAmt batchPayments>
<#if isBalanceLine() >
<#assign value = 0>
<#list batchPayments as payment>
<#assign value = value + getAmount(payment)>
</#list>
<#else>
<#assign value = 0>
</#if>
<#return value>
</#function>
<#function computeTotalRecords recordCount>
<#assign value = (recordCount / 10) >
<#assign value = value?ceiling >
<#return value>
</#function>
<#function getBalanceLineTransactionCode ebanks>
<#assign value = "">
<#if isBalanceLine() >
<#assign cbankAcctType = cbank.custpage_eft_custrecord_2663_bank_acct_type>
<#if cbankAcctType == "Savings">
<#assign value = "32">
<#else>
<#assign value = "22">
</#if>
<#list ebanks as ebank>
<#assign bankAccount = ebank.custrecord_2663_entity_bank_acct_type >
<#assign ebankAcctType = getEntityBankAccountType(bankAccount) >
<#if ebankAcctType == "22" || ebankAcctType == "32" >
<#if cbankAcctType == "Savings">
<#assign value = "37">
<#else>
<#assign value = "27">
</#if>
<#break>
</#if>
</#list>
</#if>
<#return value>
</#function>
<#-- Divide Payments, Entities, and Entity Banks into two groups (CCD, PPD) -->
<#assign ccdPaymentsStr = "">
<#assign ccdEbanksStr = "">
<#assign ccdEbankAccNumsStr = "">
<#assign ccdEntitiesStr = "">
<#assign ppdPaymentsStr = "">
<#assign ppdEbanksStr = "">
<#assign ppdEntitiesStr = "">
<#assign ppdEbankAccNumsStr = "">
<#-- avoid sequence concatenation, use sequence strings instead -->
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign ebankAccNum = ebank_accountnums.list[payment_index]>
<#assign entity = entities[payment_index]>
<#if ebank.custrecord_2663_parent_vendor == payment.entity || ebank.custrecord_2663_parent_cust_ref == payment.entity>
<#assign ccdPaymentsStr = ccdPaymentsStr + "payments[" + payment_index?c?string + "],">
<#assign ccdEbanksStr = ccdEbanksStr + "ebanks[" + payment_index?c?string + "],">
<#assign ccdEntitiesStr = ccdEntitiesStr + "entities[" + payment_index?c?string + "],">
<#assign ccdEbankAccNumsStr = ccdEbankAccNumsStr + "ebank_accountnums.list[" + payment_index?c?string + "],">
</#if>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#assign ppdPaymentsStr = ppdPaymentsStr + "payments[" + payment_index?c?string + "],">
<#assign ppdEbanksStr = ppdEbanksStr + "ebanks[" + payment_index?c?string + "],">
<#assign ppdEntitiesStr = ppdEntitiesStr + "entities[" + payment_index?c?string + "],">
<#assign ppdEbankAccNumsStr = ppdEbankAccNumsStr + "ebank_accountnums.list[" + payment_index?c?string + "],">
</#if>
</#list>
<#-- convert from strings to sequences -->
<#assign ccdPayments = ("[" + removeEnding(ccdPaymentsStr, ",") + "]")?eval>
<#assign ccdEbanks = ("[" + removeEnding(ccdEbanksStr, ",") + "]")?eval>
<#assign ccdEntities = ("[" + removeEnding(ccdEntitiesStr, ",") + "]")?eval>
<#assign ccdEbankAccNums = ("[" + removeEnding(ccdEbankAccNumsStr, ",") + "]")?eval>
<#assign ppdPayments = ("[" + removeEnding(ppdPaymentsStr, ",") + "]")?eval>
<#assign ppdEbanks = ("[" + removeEnding(ppdEbanksStr, ",") + "]")?eval>
<#assign ppdEntities = ("[" + removeEnding(ppdEntitiesStr, ",") + "]")?eval>
<#assign ppdEbankAccNums = ("[" + removeEnding(ppdEbankAccNumsStr, ",") + "]")?eval>
<#function computeSequenceId>
<#assign lastSeqId = getSequenceId(true)>
<#-- store new sequence id to be returned later -->
<#assign newSeqId = lastSeqId + 1>
<#-- do char code to character conversion -->
<#assign seqId = (lastSeqId % 26) + 65>
<#assign seqId = seqId?string?replace("65","A")>
<#assign seqId = seqId?string?replace("66","B")>
<#assign seqId = seqId?string?replace("67","C")>
<#assign seqId = seqId?string?replace("68","D")>
<#assign seqId = seqId?string?replace("69","E")>
<#assign seqId = seqId?string?replace("70","F")>
<#assign seqId = seqId?string?replace("71","G")>
<#assign seqId = seqId?string?replace("72","H")>
<#assign seqId = seqId?string?replace("73","I")>
<#assign seqId = seqId?string?replace("74","J")>
<#assign seqId = seqId?string?replace("75","K")>
<#assign seqId = seqId?string?replace("76","L")>
<#assign seqId = seqId?string?replace("77","M")>
<#assign seqId = seqId?string?replace("78","N")>
<#assign seqId = seqId?string?replace("79","O")>
<#assign seqId = seqId?string?replace("80","P")>
<#assign seqId = seqId?string?replace("81","Q")>
<#assign seqId = seqId?string?replace("82","R")>
<#assign seqId = seqId?string?replace("83","S")>
<#assign seqId = seqId?string?replace("84","T")>
<#assign seqId = seqId?string?replace("85","U")>
<#assign seqId = seqId?string?replace("86","V")>
<#assign seqId = seqId?string?replace("87","W")>
<#assign seqId = seqId?string?replace("88","X")>
<#assign seqId = seqId?string?replace("89","Y")>
<#assign seqId = seqId?string?replace("90","Z")>
<#return seqId>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
<#assign recordCount = 0>
<#assign batchCount = 0>
<#assign lineCount = 0>
<#assign batchLineNum = 0>
<#assign padBlocksString = "">
<#assign ccdBankNumberHash = 0>
<#assign ppdBankNumberHash = 0>
<#assign totalBankNumberHash = 0>
101 ${setLength(cbank.custpage_eft_custrecord_2663_bank_num, 9)}${setLength(cbank.custpage_eft_custrecord_2663_bank_comp_id, 10)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyMMdd"),6)}${setLength(pfa.custrecord_2663_file_creation_timestamp?time?string("HHmm"),4)}${setLength(computeSequenceId(),1)}094101${setLength(cbank.custpage_eft_custrecord_2663_bank_name, 23)}${setLength(cbank.custrecord_2663_legal_name, 23)}
<#assign recordCount = recordCount + 1>
<#if (ccdPayments?size > 0) >
<#assign batchCount = batchCount + 1>
5${getBankServiceClassCode()}${setLength(cbank.custrecord_2663_legal_name,16)} ${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}CCDPayment ${pfa.custrecord_2663_process_date?string("yyMMdd")}${pfa.custrecord_2663_process_date?string("yyMMdd")} 1${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
<#list ccdPayments as payment>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = ccdEbanks[payment_index]>
<#assign ebankAccNum = ccdEbankAccNums[payment_index]>
<#assign entity = ccdEntities[payment_index]>
<#assign ccdBankNumberHash = ccdBankNumberHash + ebank.custrecord_2663_entity_bank_no?substring(0,8)?number>
6${getEntityBankAccountType(ebank.custrecord_2663_entity_bank_acct_type)}${setLength(ebank.custrecord_2663_entity_bank_no,8)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebankAccNum.custrecord_2663_entity_acct_no,17)}${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(ebank.custrecord_2663_parent_vendor.internalId,15)}${setLength(buildEntityName(entity),22)} 0${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#list>
<#if isBalanceLine()>
<#assign batchLineNum = batchLineNum + 1>
<#assign ccdBankNumberHash = ccdBankNumberHash + cbank.custpage_eft_custrecord_2663_bank_num?substring(0,8)?number>
6${getBalanceLineTransactionCode(ccdEbanks)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,9)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,17)}${setPadding(formatAmount(computeTotalAmount(ccdPayments)),"left","0",10)} ${setLength(cbank.custrecord_2663_print_company_name,22)} 0${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
<#assign lineCount = lineCount + batchLineNum>
<#assign totalBankNumberHash = totalBankNumberHash + ccdBankNumberHash>
8${getBankServiceClassCode()}${setPadding(batchLineNum,"left","0",6)}${setPadding(ccdBankNumberHash,"left","0",10)}${setPadding(formatAmount(computeTotalDebitAmt(ccdPayments)),"left","0",12)}${setPadding(formatAmount(computeTotalAmount(ccdPayments)),"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)} ${setLength(cbank.custpage_eft_custrecord_2663_bank_num, 8)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
<#assign batchLineNum = 0>
<#if (ppdPayments?size > 0) >
<#assign batchCount = batchCount + 1>
5${getBankServiceClassCode()}${setLength(cbank.custrecord_2663_legal_name,16)} ${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}PPDPayment ${pfa.custrecord_2663_process_date?string("yyMMdd")}${pfa.custrecord_2663_process_date?string("yyMMdd")} 1${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
<#list ppdPayments as payment>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = ppdEbanks[payment_index]>
<#assign ebankAccNum = ppdEbankAccNums[payment_index]>
<#assign entity = ppdEntities[payment_index]>
<#assign ppdBankNumberHash = ppdBankNumberHash + ebank.custrecord_2663_entity_bank_no?substring(0,8)?number>
6${getEntityBankAccountType(ebank.custrecord_2663_entity_bank_acct_type)}${setLength(ebank.custrecord_2663_entity_bank_no,8)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebankAccNum.custrecord_2663_entity_acct_no,17)}${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(ebank.custrecord_2663_parent_employee.internalId,15)}${setLength(buildEntityName(entity),22)} 0${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#list>
<#if isBalanceLine()>
<#assign batchLineNum = batchLineNum + 1>
<#assign ppdBankNumberHash = ppdBankNumberHash + cbank.custpage_eft_custrecord_2663_bank_num?substring(0,8)?number>
6${getBalanceLineTransactionCode(ppdEbanks)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,9)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,17)}${setPadding(formatAmount(computeTotalAmount(ppdPayments)),"left","0",10)} ${setLength(cbank.custrecord_2663_print_company_name,22)} 0${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
<#assign lineCount = lineCount + batchLineNum>
<#assign totalBankNumberHash = totalBankNumberHash + ppdBankNumberHash>
8${getBankServiceClassCode()}${setPadding(batchLineNum,"left","0",6)}${setPadding(ppdBankNumberHash,"left","0",10)}${setPadding(formatAmount(computeTotalDebitAmt(ppdPayments)),"left","0",12)}${setPadding(formatAmount(computeTotalAmount(ppdPayments)),"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)} ${setLength(cbank.custpage_eft_custrecord_2663_bank_num, 8)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
<#assign recordCount = recordCount + 1>
<#if cbank.custpage_eft_custrecord_2663_pad_blocks && (recordCount % 10 > 0)>
<#assign padBlocksString = "\n">
<#assign numBlocks = 10 - (recordCount % 10) >
<#assign padding = "9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999">
<#list 1..numBlocks as i>
<#assign padBlocksString = padBlocksString + padding + "\n">
</#list>
</#if>
9${setPadding(batchCount,"left","0",6)}${setPadding(computeTotalRecords(recordCount),"left","0",6)}${setPadding(lineCount,"left","0",8)}${setPadding(totalBankNumberHash,"left","0",10)}${setPadding(formatAmount(computeTotalDebitAmt(payments)),"left","0",12)}${setPadding(formatAmount(totalAmount),"left","0",12)} ${padBlocksString}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ACH - CCD/PPD'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_bank_acct_type' mandatory='true' label='Bank Account Type'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled' />
<refField id='custrecord_2663_entity_bank_code' label='Bank Code' displaytype='disabled' helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id='custrecord_2663_entity_processor_code' label='Processor Code' displaytype='disabled' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>10</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>10</param>
<param name='maxLength'>10</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>23</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>16</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="ACH - CCD/PPD" extension="txt">
<recordStructure>
<recordInfo>File Header</recordInfo>
<recordInfo type="batch" paymentFilter="entity" hideWhenEmpty="true">CCD<recordInfo>CCD Batch Header</recordInfo>
<recordInfo type="body" paymentFilter="entity">CCD Detail</recordInfo>
<recordInfo type="balance" hideWhenEmpty="true">CCD Balance Entry Record</recordInfo>
<recordInfo>CCD Batch Control</recordInfo>
</recordInfo>
<recordInfo type="batch" paymentFilter="employee" hideWhenEmpty="true">PPD<recordInfo>PPD Batch Header</recordInfo>
<recordInfo type="body" paymentFilter="employee">PPD Detail</recordInfo>
<recordInfo type="balance" hideWhenEmpty="true">PPD Balance Entry Record</recordInfo>
<recordInfo>PPD Batch Control</recordInfo>
</recordInfo>
<recordInfo>File Control</recordInfo>
</recordStructure>
<record name="File Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Priority Code">
<position>2</position>
<length>2</length>
<source type="value">01</source>
</field>
<field name="Immediate Destination Pad">
<position>4</position>
<length>1</length>
</field>
<field name="Immediate Destination">
<position>5</position>
<length>9</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Immediate Origin">
<position>14</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="File Creation Date">
<position>24</position>
<length>6</length>
<source type="currentDate">dummy</source>
<format type="date">YYMMDD</format>
</field>
<field name="File Creation Time">
<position>30</position>
<length>4</length>
<source type="currentTime">dummy</source>
<format type="time">HHmm</format>
</field>
<field name="File ID Modifier">
<position>34</position>
<length>1</length>
<source type="sequenceId">dummy</source>
</field>
<field name="Record Size">
<position>35</position>
<length>3</length>
<source type="value">094</source>
</field>
<field name="Blocking Factor">
<position>38</position>
<length>2</length>
<source type="value">10</source>
</field>
<field name="Format Code">
<position>40</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Immediate Destination Name">
<position>41</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Immediate Origin Name">
<position>64</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Reference Code">
<position>87</position>
<length>8</length>
<align>left</align>
</field>
</record>
<record name="CCD Batch Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">5</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Company Name">
<position>5</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>21</position>
<length>20</length>
</field>
<field name="Company Identification">
<position>41</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Standard Entry Class">
<position>51</position>
<length>3</length>
<source type="value">CCD</source>
</field>
<field name="Company Entry Description">
<position>54</position>
<length>10</length>
<source type="value">Payment</source>
</field>
<field name="Company Descriptive Date">
<position>64</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Effective Entry Date">
<position>70</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Reserved (Settlement Date)">
<position>76</position>
<length>3</length>
</field>
<field name="Originator Status Code">
<position>79</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Originating DFI Identification - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Originating DFI Identification - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CCD Detail">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="entityBankAccountType"/>
</field>
<field name="Recipient DFI Identification">
<position>4</position>
<length>8</length>
<source type="batchEntityBankNumberHash">dummy</source>
</field>
<field name="Recipient Check Digit">
<position>12</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Recipients Account Number">
<position>13</position>
<length>17</length>
<source type="entityAccount">dummy</source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="batchAmount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Recipient Company Name">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number - 3">
<position>88</position>
<length>7</length>
<source type="batchLineNum">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CCD Balance Entry Record">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="balanceLineTransactionCode">dummy</source>
</field>
<field name="Offsetting DFI Identification">
<position>4</position>
<length>9</length>
<source type="bankBankNumber"></source>
</field>
<field name="Offsetting Account Number">
<position>13</position>
<length>17</length>
<source type="bankAccount"></source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="totalBatchAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
</field>
<field name="Description">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number 3">
<position>88</position>
<length>7</length>
<source type="balanceLineNum"></source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CCD Batch Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">8</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Entry / Addenda Count">
<position>5</position>
<length>6</length>
<source type="totalBatchLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Hash Entry">
<position>11</position>
<length>10</length>
<source type="hashBatchEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debits">
<position>21</position>
<length>12</length>
<source type="totalBatchDebitAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credits">
<position>33</position>
<length>12</length>
<source type="totalBatchAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Company Identification">
<position>45</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Msg. Authentication Code">
<position>55</position>
<length>19</length>
</field>
<field name="Reserved">
<position>74</position>
<length>6</length>
</field>
<field name="Originating DFI Identification">
<position>80</position>
<length>8</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Batch Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">5</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Company Name">
<position>5</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>21</position>
<length>20</length>
</field>
<field name="Company Identification">
<position>41</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Standard Entry Class">
<position>51</position>
<length>3</length>
<source type="value">PPD</source>
</field>
<field name="Company Entry Description">
<position>54</position>
<length>10</length>
<source type="value">Payment</source>
</field>
<field name="Company Descriptive Date">
<position>64</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Effective Entry Date">
<position>70</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Reserved (Settlement Date)">
<position>76</position>
<length>3</length>
</field>
<field name="Originator Status Code">
<position>79</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Originating DFI Identification - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Originating DFI Identification - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Detail">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="entityBankAccountType"/>
</field>
<field name="Recipient DFI Identification">
<position>4</position>
<length>8</length>
<source type="batchEntityBankNumberHash">dummy</source>
</field>
<field name="Recipient Check Digit">
<position>12</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Recipients Account Number">
<position>13</position>
<length>17</length>
<source type="entityAccount">dummy</source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="batchAmount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Recipient Company Name">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number - 3">
<position>88</position>
<length>7</length>
<source type="batchLineNum">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Balance Entry Record">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="balanceLineTransactionCode">dummy</source>
</field>
<field name="Offsetting DFI Identification">
<position>4</position>
<length>9</length>
<source type="bankBankNumber"></source>
</field>
<field name="Offsetting Account Number">
<position>13</position>
<length>17</length>
<source type="bankAccount"></source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="totalBatchAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
</field>
<field name="Description">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number 3">
<position>88</position>
<length>7</length>
<source type="balanceLineNum"></source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Batch Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">8</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Entry / Addenda Count">
<position>5</position>
<length>6</length>
<source type="totalBatchLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Hash Entry">
<position>11</position>
<length>10</length>
<source type="hashBatchEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debits">
<position>21</position>
<length>12</length>
<source type="totalBatchDebitAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credits">
<position>33</position>
<length>12</length>
<source type="totalBatchAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Company Identification">
<position>45</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Msg. Authentication Code">
<position>55</position>
<length>19</length>
</field>
<field name="Reserved">
<position>74</position>
<length>6</length>
</field>
<field name="Originating DFI Identification">
<position>80</position>
<length>8</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="File Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Batch Count">
<position>2</position>
<length>6</length>
<source type="batchCount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Block Count">
<position>8</position>
<length>6</length>
<source type="totalRecords">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry / Addenda Count">
<position>14</position>
<length>8</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry Hash">
<position>22</position>
<length>10</length>
<source type="hashEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debit Amount in File">
<position>32</position>
<length>12</length>
<source type="totalDebitAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credit Amount in File">
<position>44</position>
<length>12</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>56</position>
<length>39</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
13 |
8/22/2021 1:19 am |
5000 |
ACH - CCD/PPD |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ACH - CCD/PPD">
<refField id="custrecord_2663_bank_comp_id" label="Immediate Origin" mandatory="true" helptext="Enter the 9 or 10 characters company id assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_issuer_num" label="Company ID" mandatory="true" helptext="Enter the 10-digit company number assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_bank_num" label="Routing Number" mandatory="true" helptext="Enter the bank's transit routing number."/>
<refField id="custrecord_2663_bank_name" label="Immediate Destination Name" mandatory="true" helptext="Enter the name of the bank’s site where the payment will be processed. You can enter a maximum of 23 characters."/>
<refField id="custrecord_2663_bank_acct_type" label="Bank Account Type" helptext="Select Checking or Savings to indicate the bank account type."/>
<refField id="custrecord_2663_balance_line" label="Create Balanced Files" helptext="If your bank requires balanced files for EFT transactions, check this box to include a balancing line in the payment file to indicate the amount debited from your company’s bank account. Clear this box if your bank accepts unbalanced files."/>
<refField id="custrecord_2663_pad_blocks" label="Add Pad Blocks" helptext="Some banks require payment files to contain lines in multiples of 10. Check this box to add lines with "9" characters at the end of the payment file when the total number of records is not a multiple of 10. Clear this box if your bank does not require pad blocks."/>
<refField id="custrecord_2663_processor_code" label="Federal Reserve Routing Symbol" displaytype="disabled" helptext="This field displays the Federal Reserve Routing Symbol based on the routing number that you entered."/>
<refField id="custrecord_2663_bank_code" label="ABA Institution Identifier" displaytype="disabled" helptext="This field displays the ABA institution identifier based on the routing number that you entered."/>
<refField id="custrecord_2663_country_check" label="Check Digit" displaytype="disabled" helptext="This field diplays the check digit based on the routing number that you entered."/>
</refFields> |
|
value_13_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=13 |
13 |
ACH - CCD/PPD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 15 |
<#-- format specific processing -->
<#function computeHashTotal>
<#assign value = computeHeaderHash() + totalDetailHash>
<#return formatAmount(value,"truncDec")>
</#function>
<#function computeHeaderHash>
<#assign acctNum = cbank.custpage_dd_custrecord_2663_acct_num>
<#assign bankNum = cbank.custpage_dd_custrecord_2663_bank_num>
<#assign branchNum = cbank.custpage_dd_custrecord_2663_branch_num>
<#assign sum1 = (bankNum?substring(0,2)?number*2) + (branchNum?substring(0,2)?number*3) + (acctNum?substring(0,2)?number*4) + (acctNum?substring(4,6)?number*5) + (acctNum?substring(8,10)?number*6)>
<#assign sum2 = (bankNum?substring(2,4)?number*9) + (branchNum?substring(2,3)?number*8) + (acctNum?substring(2,4)?number*7) + (acctNum?substring(6,8)?number*6) + (acctNum?substring(10)?number*5)>
<#assign value = sum1 * sum2>
<#return value>
</#function>
<#function computeDetailHash acctNum bankNum branchNum transCode amount>
<#assign sum1 = (bankNum?substring(0,2)?number*1) + (branchNum?substring(0,2)?number*2) + (acctNum?substring(0,2)?number*3) + (acctNum?substring(4,6)?number*4) + (acctNum?substring(8,10)?number*5) + (transCode?substring(0,1)?number*6) + (amount?substring(0,2)?number*7) + (amount?substring(4,6)?number*8) + (amount?substring(8,10)?number*9)>
<#assign sum2 = (bankNum?substring(2,4)?number*9) + (branchNum?substring(2,3)?number*8) + (acctNum?substring(2,4)?number*7) + (acctNum?substring(6,8)?number*6) + (acctNum?substring(10)?number*5) + (transCode?substring(1)?number*4) + (amount?substring(2,4)?number*3) + (amount?substring(6,8)?number*2) + (amount?substring(10)?number*1)>
<#assign value = sum1 * sum2>
<#return value>
</#function>
<#-- cached / dynamic values -->
<#assign totalLines = 0>
<#assign totalDetailHash = 0>
<#-- template building -->
#OUTPUT START#
1${setLength("IBGINORM",10)}${setLength(cbank.custpage_dd_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_dd_custrecord_2663_branch_num,3)}${setLength(cbank.custpage_dd_custrecord_2663_acct_num,11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,20)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyyyMMdd"),8)}${setLength(pfa.custrecord_2663_process_date?string("yyyyMMdd"),8)}${setLength("",5)}2${setLength("",9)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign totalLines = totalLines + 1 >
<#assign totalDetailHash = totalDetailHash + computeDetailHash(setPadding(ebank.custrecord_2663_entity_acct_no,"right","0",11), ebank.custrecord_2663_entity_bank_no, ebank.custrecord_2663_entity_branch_no, "30", setPadding(formatAmount(getAmount(payment)),"left","0",11)) >
2${setLength(ebank.custrecord_2663_entity_bank_no,4)}${setLength(ebank.custrecord_2663_entity_branch_no,3)}${setLength(ebank.custrecord_2663_entity_acct_no,11)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,20)}30${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(ebank.custrecord_2663_entity_payment_desc?upper_case,12)}${setPadding(ebank.custrecord_2663_reference?upper_case,"left"," ",12)}${setLength("",4)}
</#list>
9${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",13)}${setPadding("","left","0",13)}${setPadding(totalLines?c,"left","0",7)}${setPadding("","left","0",7)}${setLength("",13)}${setPadding(computeHashTotal(),"left","0",13)}${setLength("",13)}<#rt>
#OUTPUT END# |
Singapore |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='UoB - BIB-IBG'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id='custrecord_2663_reference' label='Reference' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_reference</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="UoB - BIB-IBG" country="SG" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Record-Type">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Service-Type">
<position>2</position>
<length>10</length>
<source type="value">IBGINORM</source>
</field>
<field name="BankNumber">
<position>12</position>
<length>4</length>
<source type="bankBankNumberHash"/>
</field>
<field name="BankBranchNumber">
<position>16</position>
<length>3</length>
<source type="bankBranchNumberHash"/>
</field>
<field name="BankAccountNo">
<position>19</position>
<length>11</length>
<source type="bankAccountHash"/>
</field>
<field name="Originator">
<position>30</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Creation-Date">
<position>50</position>
<length>8</length>
<source type="currentDate">dummy</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Value-Date">
<position>58</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Dummy 1">
<position>66</position>
<length>5</length>
</field>
<field name="Hash-Indicator">
<position>71</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Dummy 2">
<position>72</position>
<length>9</length>
</field>
</record>
<record name="body">
<field name="Record_Type">
<position>1</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Bank">
<position>2</position>
<length>4</length>
<source type="entityBankNumberHash"/>
</field>
<field name="Branch">
<position>6</position>
<length>3</length>
<source type="entityBranchNumberHash"/>
</field>
<field name="Account">
<position>9</position>
<length>11</length>
<source type="entityAccountHash">dummy</source>
</field>
<field name="Account_Name">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Trans_Code">
<position>40</position>
<length>2</length>
<source type="value">30</source>
</field>
<field name="Amount">
<position>42</position>
<length>11</length>
<source type="amountHash"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Particulars">
<position>53</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Reference">
<position>65</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_reference</sourceFld>
</source>
<align>right</align>
<setUppercase>true</setUppercase>
</field>
<field name="Dummy 3">
<position>77</position>
<length>4</length>
</field>
</record>
<record name="footer">
<field name="Record_Type">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Total_Amount">
<position>2</position>
<length>13</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 1">
<position>15</position>
<length>13</length>
<padding>0</padding>
</field>
<field name="Total_Lines">
<position>28</position>
<length>7</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 2">
<position>35</position>
<length>7</length>
<padding>0</padding>
</field>
<field name="Dummy 3">
<position>42</position>
<length>13</length>
</field>
<field name="New_Hash">
<position>55</position>
<length>13</length>
<source type="hashTotal"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 5">
<position>68</position>
<length>13</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
15 |
6/24/2021 5:37 am |
5000 |
UoB - BIB-IBG DD |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="UoB - BIB-IBG">
<refField id="custrecord_2663_bank_num" label="Bank Number" mandatory="true" helptext="Enter the number that identifies the bank within the country's banking industry. "/>
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the number that identifies the bank branch where your company's account is maintained."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_legal_name" label="Sender's Name" mandatory="true" helptext=""/>
</refFields> |
|
value_15_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=15 |
15 |
UoB - BIB-IBG DD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 16 |
<#-- format specific processing -->
<#function computeHashTotal>
<#assign value = computeHeaderHash() + totalDetailHash>
<#return formatAmount(value,"truncDec")>
</#function>
<#function computeHeaderHash>
<#assign acctNum = cbank.custpage_eft_custrecord_2663_acct_num>
<#assign bankNum = cbank.custpage_eft_custrecord_2663_bank_num>
<#assign branchNum = cbank.custpage_eft_custrecord_2663_branch_num>
<#assign sum1 = (bankNum?substring(0,2)?number*2) + (branchNum?substring(0,2)?number*3) + (acctNum?substring(0,2)?number*4) + (acctNum?substring(4,6)?number*5) + (acctNum?substring(8,10)?number*6)>
<#assign sum2 = (bankNum?substring(2,4)?number*9) + (branchNum?substring(2,3)?number*8) + (acctNum?substring(2,4)?number*7) + (acctNum?substring(6,8)?number*6) + (acctNum?substring(10)?number*5)>
<#assign value = sum1 * sum2>
<#return value>
</#function>
<#function computeDetailHash acctNum bankNum branchNum transCode amount>
<#assign sum1 = (bankNum?substring(0,2)?number*1) + (branchNum?substring(0,2)?number*2) + (acctNum?substring(0,2)?number*3) + (acctNum?substring(4,6)?number*4) + (acctNum?substring(8,10)?number*5) + (transCode?substring(0,1)?number*6) + (amount?substring(0,2)?number*7) + (amount?substring(4,6)?number*8) + (amount?substring(8,10)?number*9)>
<#assign sum2 = (bankNum?substring(2,4)?number*9) + (branchNum?substring(2,3)?number*8) + (acctNum?substring(2,4)?number*7) + (acctNum?substring(6,8)?number*6) + (acctNum?substring(10)?number*5) + (transCode?substring(1)?number*4) + (amount?substring(2,4)?number*3) + (amount?substring(6,8)?number*2) + (amount?substring(10)?number*1)>
<#assign value = sum1 * sum2>
<#return value>
</#function>
<#-- cached / dynamic values -->
<#assign totalLines = 0>
<#assign totalAmount = 0>
<#assign totalDetailHash = 0>
<#-- template building -->
#OUTPUT START#
1${setLength("IBGINORM",10)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,20)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyyyMMdd"),8)}${setLength(pfa.custrecord_2663_process_date?string("yyyyMMdd"),8)}${setLength("",5)}2${setLength("",9)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalLines = totalLines + 1 >
<#assign totalAmount = totalAmount + amount >
<#assign totalDetailHash = totalDetailHash + computeDetailHash(setPadding(ebank.custrecord_2663_entity_acct_no,"right","0",11), ebank.custrecord_2663_entity_bank_no, ebank.custrecord_2663_entity_branch_no, "25", setPadding(formatAmount(amount),"left","0",11)) >
2${setLength(ebank.custrecord_2663_entity_bank_no,4)}${setLength(ebank.custrecord_2663_entity_branch_no,3)}${setLength(ebank.custrecord_2663_entity_acct_no,11)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,20)}25${setPadding(formatAmount(amount),"left","0",11)}${setLength("",28)}
</#list>
9${setPadding("","left","0",13)}${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding("","left","0",7)}${setPadding(totalLines,"left","0",7)}${setLength("",13)}${setPadding(computeHashTotal(),"left","0",13)}${setLength("",13)}<#rt>
#OUTPUT END# |
Singapore |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='UoB - BIB-IBG'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="UoB - BIB-IBG" country="SG" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Record-Type">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Service-Type">
<position>2</position>
<length>10</length>
<source type="value">IBGINORM</source>
</field>
<field name="BankNumber">
<position>12</position>
<length>4</length>
<source type="bankBankNumberHash"/>
</field>
<field name="BankBranchNumber">
<position>16</position>
<length>3</length>
<source type="bankBranchNumberHash"/>
</field>
<field name="BankAccountNo">
<position>19</position>
<length>11</length>
<source type="bankAccountHash"/>
</field>
<field name="Originator">
<position>30</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Creation-Date">
<position>50</position>
<length>8</length>
<source type="currentDate">dummy</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Value-Date">
<position>58</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Dummy 1">
<position>66</position>
<length>5</length>
</field>
<field name="Hash-Indicator">
<position>71</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Dummy 2">
<position>72</position>
<length>9</length>
</field>
</record>
<record name="body">
<field name="Record_Type">
<position>1</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Bank">
<position>2</position>
<length>4</length>
<source type="entityBankNumberHash"/>
</field>
<field name="Branch">
<position>6</position>
<length>3</length>
<source type="entityBranchNumberHash"/>
</field>
<field name="Account">
<position>9</position>
<length>11</length>
<source type="entityAccountHash">dummy</source>
</field>
<field name="Account_Name">
<position>20</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Trans_Code">
<position>40</position>
<length>2</length>
<source type="value">25</source>
</field>
<field name="Amount">
<position>42</position>
<length>11</length>
<source type="amountHash"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Particulars">
<position>53</position>
<length>12</length>
</field>
<field name="Reference">
<position>65</position>
<length>12</length>
</field>
<field name="Dummy 3">
<position>77</position>
<length>4</length>
</field>
</record>
<record name="footer">
<field name="Record_Type">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Dummy 1">
<position>2</position>
<length>13</length>
<padding>0</padding>
</field>
<field name="Total_Amount">
<position>15</position>
<length>13</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 2">
<position>28</position>
<length>7</length>
<padding>0</padding>
</field>
<field name="Total_Lines">
<position>35</position>
<length>7</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>42</position>
<length>13</length>
</field>
<field name="New_Hash">
<position>55</position>
<length>13</length>
<source type="hashTotal"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 5">
<position>68</position>
<length>13</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
16 |
6/24/2021 5:37 am |
5000 |
UoB - BIB-IBG |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="UoB - BIB-IBG">
<refField id="custrecord_2663_bank_num" label="Bank Number" mandatory="true" helptext="Enter the number that identifies the bank within the country's banking industry."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the number that identifies the bank branch where your company's account is maintained."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_legal_name" label="Sender's Name" mandatory="true" helptext=""/>
</refFields> |
|
value_16_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=16 |
16 |
UoB - BIB-IBG |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 17 |
<#function getHashValue data>
<#assign valueNum = setPadding(data?string,"right","0",11)>
<#assign acctNum = setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"right","0",11)>
<#assign value1 = valueNum?substring(0,6)>
<#assign value2 = valueNum?substring(6,11)>
<#assign acctNum1 = acctNum?substring(0,6)>
<#assign acctNum2 = acctNum?substring(6,11)>
<#assign valueDiff = value1?number - value2?number>
<#assign acctNumDiff = acctNum1?number - acctNum2?number>
<#assign res = formatAmount(valueDiff - acctNumDiff,"truncDec")>
<#return res?number>
</#function>
<#function computeSequenceId >
<#assign lastSeqId = getSequenceId(true)>
<#assign seqId = lastSeqId + 1>
<#return seqId>
</#function>
<#assign newSeqId = computeSequenceId()>
#OUTPUT START#
<#assign totalAmount = 0>
<#assign totalPayments = 0>
<#assign totalHash = 0>
<#assign index = 0>
${setLength(pfa.custrecord_2663_process_date?string("yyMMdd"), 6)}${setLength("",45)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,3)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num, 11)} ${setLength(cbank.custrecord_2663_legal_name?upper_case, 20)}${setPadding(newSeqId, "left", "0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num?upper_case, 8)}${setLength("",9)}0
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign amount = getAmount(payment)>
${setLength(ebank.custrecord_2663_entity_bank_no, 4)}${setLength(ebank.custrecord_2663_entity_branch_no, 3)}${setLength(ebank.custrecord_2663_entity_acct_no, 11)}${setLength(ebank.custrecord_2663_entity_acct_name, 20)}20${setPadding(formatAmount(amount),"left", "0", 11)} 1
<#assign
index = index + 1
totalAmount = totalAmount + amount
totalPayments = totalPayments + 1
totalHash = totalHash + getHashValue(ebank.custrecord_2663_entity_acct_no)
>
</#list>
${setPadding(index, "left", "0", 8)}${setPadding(formatAmount(totalAmount), "left", "0" 11)}${setLength("",5)}0000000000000000000${setLength("",26)}${setPadding(formatAmount(totalHash,"truncDec"), "left", "0", 11)}${setLength("",33)}9<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Singapore |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='DBS - IDEAL'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">11</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="DBS - IDEAL" country="SG" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="DateProcessed">
<position>1</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Dummy 1">
<position>7</position>
<length>45</length>
</field>
<field name="BankNumber">
<position>52</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="BankBranchNumber">
<position>56</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="BankAccountNo">
<position>59</position>
<length>11</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name="Dummy 2">
<position>70</position>
<length>2</length>
</field>
<field name="Originator">
<position>72</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="SequenceNum">
<position>92</position>
<length>5</length>
<source type="sequenceId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="SenderCompanyID">
<position>97</position>
<length>8</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Dummy 3">
<position>105</position>
<length>9</length>
</field>
<field name="HeaderRecCode">
<position>115</position>
<length>1</length>
<source type="value">0</source>
</field>
</record>
<record name="body">
<field name="GiroCode-Bank">
<position>1</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="GiroCode-Branch">
<position>5</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="GiroCode-Account">
<position>8</position>
<length>11</length>
<source type="entityAccountHash">dummy</source>
</field>
<field name="GiroCode-AccountName">
<position>19</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
</field>
<field name="Amount-Prefix">
<position>39</position>
<length>2</length>
<source type="value">20</source>
</field>
<field name="Amount">
<position>41</position>
<length>11</length>
<source type="amount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>52</position>
<length>23</length>
</field>
<field name="Dummy 4">
<position>75</position>
<length>15</length>
</field>
<field name="Particulars">
<position>90</position>
<length>12</length>
</field>
<field name="GiroReference">
<position>102</position>
<length>12</length>
</field>
<field name="BodyRecCode">
<position>114</position>
<length>1</length>
<source type="value">1</source>
</field>
</record>
<record name="footer">
<field name="Totals-Lines">
<position>1</position>
<length>8</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Totals-Amt">
<position>9</position>
<length>11</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 1">
<position>20</position>
<length>5</length>
</field>
<field name="Dummy 2">
<position>25</position>
<length>19</length>
<padding>0</padding>
</field>
<field name="Dummy 3">
<position>44</position>
<length>26</length>
</field>
<field name="HashAmount">
<position>70</position>
<length>11</length>
<source type="hashEntityAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 4">
<position>81</position>
<length>33</length>
</field>
<field name="FooterRecCode">
<position>114</position>
<length>1</length>
<source type="value">9</source>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
17 |
6/24/2021 5:36 am |
5000 |
DBS - IDEAL |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="DBS - IDEAL">
<refField id="custrecord_2663_bank_num" label="Bank Number" mandatory="true" helptext="Enter the number that identifies the bank within the country's banking industry."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the number that identifies the bank branch where your company's account is maintained. "/>
<refField id="custrecord_2663_acct_num" label="Bank Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_issuer_num" label="Sender's Company ID" mandatory="true" helptext="Enter the 8-digit number that the bank uses to identify your company."/>
</refFields> |
|
value_17_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=17 |
17 |
DBS - IDEAL |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 18 |
<#-- format specific processing -->
<#assign newSeqId = "" >
<#function isBalanceLine>
<#return cbank.custpage_eft_custrecord_2663_balance_line >
</#function>
<#function getBankServiceClassCode>
<#assign value = "">
<#if isBalanceLine() >
<#assign value = "200">
<#else>
<#assign value = "220">
</#if>
<#return value>
</#function>
<#function getEntityBankAccountType bankAccount>
<#assign value = "">
<#if bankAccount == "Savings" >
<#assign value = "32">
<#else>
<#assign value = "22">
</#if>
<#return value>
</#function>
<#function computeTotalDebitAmt batchPayments>
<#assign value = "">
<#if isBalanceLine() >
<#assign value = 0>
<#list batchPayments as payment>
<#assign value = value + getAmount(payment)>
</#list>
<#else>
<#assign value = 0>
</#if>
<#return value>
</#function>
<#function computeTotalRecords recordCount>
<#assign value = (recordCount / 10) >
<#assign value = value?ceiling >
<#return value>
</#function>
<#function getBalanceLineTransactionCode ebanks>
<#assign value = "">
<#if isBalanceLine() >
<#assign cbankAcctType = cbank.custpage_eft_custrecord_2663_bank_acct_type>
<#if cbankAcctType == "Savings">
<#assign value = "32">
<#else>
<#assign value = "22">
</#if>
<#list ebanks as ebank>
<#assign bankAccount = ebank.custrecord_2663_entity_bank_acct_type >
<#assign ebankAcctType = getEntityBankAccountType(bankAccount) >
<#if ebankAcctType == "22" || ebankAcctType == "32" >
<#if cbankAcctType == "Savings">
<#assign value = "37">
<#else>
<#assign value = "27">
</#if>
<#break>
</#if>
</#list>
</#if>
<#return value>
</#function>
<#function computeSequenceId>
<#assign lastSeqId = getSequenceId(true)>
<#-- store new sequence id to be returned later -->
<#assign newSeqId = lastSeqId + 1>
<#-- do char code to character conversion -->
<#assign seqId = (lastSeqId % 26) + 65>
<#assign seqId = seqId?string?replace("65","A")>
<#assign seqId = seqId?string?replace("66","B")>
<#assign seqId = seqId?string?replace("67","C")>
<#assign seqId = seqId?string?replace("68","D")>
<#assign seqId = seqId?string?replace("69","E")>
<#assign seqId = seqId?string?replace("70","F")>
<#assign seqId = seqId?string?replace("71","G")>
<#assign seqId = seqId?string?replace("72","H")>
<#assign seqId = seqId?string?replace("73","I")>
<#assign seqId = seqId?string?replace("74","J")>
<#assign seqId = seqId?string?replace("75","K")>
<#assign seqId = seqId?string?replace("76","L")>
<#assign seqId = seqId?string?replace("77","M")>
<#assign seqId = seqId?string?replace("78","N")>
<#assign seqId = seqId?string?replace("79","O")>
<#assign seqId = seqId?string?replace("80","P")>
<#assign seqId = seqId?string?replace("81","Q")>
<#assign seqId = seqId?string?replace("82","R")>
<#assign seqId = seqId?string?replace("83","S")>
<#assign seqId = seqId?string?replace("84","T")>
<#assign seqId = seqId?string?replace("85","U")>
<#assign seqId = seqId?string?replace("86","V")>
<#assign seqId = seqId?string?replace("87","W")>
<#assign seqId = seqId?string?replace("88","X")>
<#assign seqId = seqId?string?replace("89","Y")>
<#assign seqId = seqId?string?replace("90","Z")>
<#return seqId>
</#function>
<#function getAggregationLineCount payment>
<#assign subTrans = transHash[payment.internalid]>
<#return subTrans?size>
</#function>
<#function getReferenceAmount payment accountType transaction>
<#assign tranAmount = 0 >
<#if payment.currency?has_content>
<#if accountType == "Bank">
<#assign tranAmount = transaction.appliedtoforeignamount>
<#else>
<#assign tranAmount = transaction.applyingforeignamount>
</#if>
<#else>
<#if accountType == "Bank">
<#assign tranAmount = transaction.appliedtolinkamount>
<#else>
<#assign tranAmount = transaction.applyinglinkamount>
</#if>
</#if>
<#if (tranAmount < 0)>
<#assign tranAmount = tranAmount * -1>
</#if>
<#return tranAmount>
</#function>
<#-- counters / dynamic values-->
<#assign recordCount = 0>
<#assign batchCount = 0>
<#assign lineCount = 0>
<#assign batchLineNum = 0>
<#assign padBlocksString = "">
<#assign totalBankNumberHash = 0>
<#-- template building -->
#OUTPUT START#
101 ${setLength(cbank.custpage_eft_custrecord_2663_bank_num, 9)}${setLength(cbank.custpage_eft_custrecord_2663_bank_comp_id, 10)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyMMdd"),6)}${setLength(pfa.custrecord_2663_file_creation_timestamp?time?string("HHmm"),4)}${setLength(computeSequenceId(),1)}094101${setLength(cbank.custpage_eft_custrecord_2663_bank_name, 23)}${setLength(cbank.custrecord_2663_legal_name, 23)}
<#assign recordCount = recordCount + 1>
<#assign batchCount = batchCount + 1>
5${getBankServiceClassCode()}${setLength(cbank.custrecord_2663_legal_name,16)} ${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}CTXPayment ${pfa.custrecord_2663_process_date?string("yyMMdd")}${pfa.custrecord_2663_process_date?string("yyMMdd")} 1${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = ebanks[payment_index]>
<#assign ebankAccNum = ebank_accountnums.list[payment_index]>
<#assign entity = entities[payment_index]>
<#assign totalBankNumberHash = totalBankNumberHash + ebank.custrecord_2663_entity_bank_no?substring(0,8)?number>
6${getEntityBankAccountType(ebank.custrecord_2663_entity_bank_acct_type)}${setLength(ebank.custrecord_2663_entity_bank_no,8)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebankAccNum.custrecord_2663_entity_acct_no,17)}${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(entity.internalid,15)}${setPadding(getAggregationLineCount(payment),"left","0",4)}${setLength(buildEntityName(entity),16)} 1${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
<#list transHash[payment.internalid] as transaction>
<#assign lineCount = lineCount + 1>
705INV #: ${setLength(transaction.tranid,16)}INV DT: ${setLength(transaction.trandate?string("MM/dd/yyyy"),10)} INV AMT: ${setPadding(formatAmount(getReferenceAmount(payment, pfa.custrecord_2663_account.type, transaction),"currency"),"left"," ",10)}PO NO: ${setLength(transaction.otherrefnum,11)} ${setPadding(transaction_index + 1,"left","0",4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#list>
</#list>
<#if isBalanceLine()>
<#assign batchLineNum = batchLineNum + 1>
<#assign totalBankNumberHash = totalBankNumberHash + cbank.custpage_eft_custrecord_2663_bank_num?substring(0,8)?number>
6${getBalanceLineTransactionCode(ebanks)}${setLength(cbank.custpage_eft_custrecord_2663_bank_num,9)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,17)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",10)} ${setLength(cbank.custrecord_2663_print_company_name,22)} 0${setLength(cbank.custpage_eft_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
<#assign lineCount = lineCount + batchLineNum>
8${getBankServiceClassCode()}${setPadding(lineCount,"left","0",6)}${setPadding(totalBankNumberHash,"left","0",10)}${setPadding(formatAmount(computeTotalDebitAmt(payments)),"left","0",12)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)} ${setLength(cbank.custpage_eft_custrecord_2663_bank_num, 8)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 2>
<#if cbank.custpage_eft_custrecord_2663_pad_blocks && (recordCount % 10 > 0)>
<#assign numBlocks = 10 - (recordCount % 10) >
<#assign padding = "9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999">
<#assign padBlocksString = "\n">
<#list 1..numBlocks as i>
<#assign padBlocksString = padBlocksString + padding + "\n">
</#list>
</#if>
9${setPadding(batchCount,"left","0",6)}${setPadding(computeTotalRecords(recordCount),"left","0",6)}${setPadding(lineCount,"left","0",8)}${setPadding(totalBankNumberHash,"left","0",10)}000000000000${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",12)} ${padBlocksString}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ACH - CTX (Free Text)'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_bank_acct_type' mandatory='true' label='Bank Account Type'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled' />
<refField id='custrecord_2663_entity_bank_code' label='Bank Code' displaytype='disabled' helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id='custrecord_2663_entity_processor_code' label='Processor Code' displaytype='disabled' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>10</param>
<param name='maxLength'>10</param>
</validator>
<validator type='num' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>10</param>
<param name='maxLength'>10</param>
</validator>
<validator type='num' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>23</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>16</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="ACH - CTX (Free Text)" extension="txt">
<recordStructure>
<recordInfo>File Header</recordInfo>
<recordInfo type="batch">CTX<recordInfo>CTX Batch Header</recordInfo>
<recordInfo type="bodybatch">CTX Detail<recordInfo type="body">CTX Detail Main</recordInfo>
<recordInfo type="applyline">CTX Detail Addendum</recordInfo>
</recordInfo>
<recordInfo type="balance" hideWhenEmpty="true">CTX Balance Entry Record</recordInfo>
<recordInfo>CTX Batch Control</recordInfo>
</recordInfo>
<recordInfo>File Control</recordInfo>
</recordStructure>
<record name="File Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Priority Code">
<position>2</position>
<length>2</length>
<source type="value">01</source>
</field>
<field name="Immediate Destination Pad">
<position>4</position>
<length>1</length>
</field>
<field name="Immediate Destination">
<position>5</position>
<length>9</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Immediate Origin">
<position>14</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="File Creation Date">
<position>24</position>
<length>6</length>
<source type="currentDate">dummy</source>
<format type="date">YYMMDD</format>
</field>
<field name="File Creation Time">
<position>30</position>
<length>4</length>
<source type="currentTime">dummy</source>
<format type="time">HHmm</format>
</field>
<field name="File ID Modifier">
<position>34</position>
<length>1</length>
<source type="sequenceId">dummy</source>
</field>
<field name="Record Size">
<position>35</position>
<length>3</length>
<source type="value">094</source>
</field>
<field name="Blocking Factor">
<position>38</position>
<length>2</length>
<source type="value">10</source>
</field>
<field name="Format Code">
<position>40</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Immediate Destination Name">
<position>41</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Immediate Origin Name">
<position>64</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Reference Code">
<position>87</position>
<length>8</length>
<align>left</align>
</field>
</record>
<record name="CTX Batch Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">5</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Company Name">
<position>5</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>21</position>
<length>20</length>
</field>
<field name="Company Identification">
<position>41</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Standard Entry Class">
<position>51</position>
<length>3</length>
<source type="value">CTX</source>
</field>
<field name="Company Entry Description">
<position>54</position>
<length>10</length>
<source type="value">Payment</source>
</field>
<field name="Company Descriptive Date">
<position>64</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Effective Entry Date">
<position>70</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Reserved (Settlement Date)">
<position>76</position>
<length>3</length>
</field>
<field name="Originator Status Code">
<position>79</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Originating DFI Identification - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Originating DFI Identification - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CTX Detail Main">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="entityBankAccountType"></source>
</field>
<field name="Recipient DFI Identification">
<position>4</position>
<length>8</length>
<source type="batchEntityBankNumberHash">dummy</source>
</field>
<field name="Recipient Check Digit">
<position>12</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Recipients Account Number">
<position>13</position>
<length>17</length>
<source type="entityAccount">dummy</source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="batchAmount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Number of Addenda Records">
<position>55</position>
<length>4</length>
<source type="aggregationLineCount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Recipient Company Name">
<position>59</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>75</position>
<length>2</length>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Trace Number - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number - 3">
<position>88</position>
<length>7</length>
<source type="batchLineNum">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CTX Detail Addendum">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">7</source>
</field>
<field name="Addenda Type Code">
<position>2</position>
<length>2</length>
<source type="value">05</source>
</field>
<field name="Invoice Number Marker">
<position>4</position>
<length>7</length>
<source type="value">INV #:</source>
</field>
<field name="Invoice Number">
<position>11</position>
<length>16</length>
<source type="referenceNote">dummy</source>
</field>
<field name="Invoice Date Marker">
<position>27</position>
<length>8</length>
<source type="value">INV DT:</source>
</field>
<field name="Invoice Date">
<position>35</position>
<length>10</length>
<source type="referenceDate">dummy</source>
<format type="date">MM/DD/YYYY</format>
</field>
<field name="Filler 1">
<position>45</position>
<length>1</length>
</field>
<field name="Invoice Amount Marker">
<position>46</position>
<length>9</length>
<source type="value">INV AMT:</source>
</field>
<field name="Invoice Amount">
<position>55</position>
<length>10</length>
<source type="referenceAmount">dummy</source>
<format type="currency" />
<align>right</align>
</field>
<field name="PO Number Marker">
<position>65</position>
<length>7</length>
<source type="value">PO NO:</source>
</field>
<field name="PO Number">
<position>72</position>
<length>11</length>
<source type="referenceOtherNote">dummy</source>
</field>
<field name="Filler 2">
<position>83</position>
<length>1</length>
</field>
<field name="Addenda Sequence Number">
<position>84</position>
<length>4</length>
<source type="aggregationLineNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Batch Sequence Number">
<position>88</position>
<length>7</length>
<source type="batchLineNum">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CTX Balance Entry Record">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="balanceLineTransactionCode">dummy</source>
</field>
<field name="Offsetting DFI Identification">
<position>4</position>
<length>9</length>
<source type="bankBankNumber"></source>
</field>
<field name="Offsetting Account Number">
<position>13</position>
<length>17</length>
<source type="bankAccount"></source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="totalBatchAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
</field>
<field name="Description">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number 3">
<position>88</position>
<length>7</length>
<source type="balanceLineNum"></source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="CTX Batch Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">8</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Entry / Addenda Count">
<position>5</position>
<length>6</length>
<source type="totalBatchLinesWithAggregate">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Hash Entry">
<position>11</position>
<length>10</length>
<source type="hashBatchEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debits">
<position>21</position>
<length>12</length>
<source type="totalBatchDebitAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credits">
<position>33</position>
<length>12</length>
<source type="totalBatchAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Company Identification">
<position>45</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Msg. Authentication Code">
<position>55</position>
<length>19</length>
</field>
<field name="Reserved">
<position>74</position>
<length>6</length>
</field>
<field name="Originating DFI Identification">
<position>80</position>
<length>8</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="File Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Batch Count">
<position>2</position>
<length>6</length>
<source type="batchCount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Block Count">
<position>8</position>
<length>6</length>
<source type="totalRecords">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry / Addenda Count">
<position>14</position>
<length>8</length>
<source type="totalLinesWithAggregate">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry Hash">
<position>22</position>
<length>10</length>
<source type="hashEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debit Amount in File">
<position>32</position>
<length>12</length>
<padding>0</padding>
</field>
<field name="Total Credit Amount in File">
<position>44</position>
<length>12</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>56</position>
<length>39</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
18 |
6/24/2021 5:36 am |
5000 |
ACH - CTX (Free Text) |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ACH - CTX (Free Text)">
<refField id="custrecord_2663_bank_comp_id" label="Immediate Origin" mandatory="true" helptext="Enter the 10-digit company id assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_issuer_num" label="Company ID" mandatory="true" helptext="Enter the 10-digit company number assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_bank_num" label="Routing Number" mandatory="true" helptext="Enter the bank's transit routing number."/>
<refField id="custrecord_2663_bank_name" label="Immediate Destination Name" mandatory="true" helptext="Enter the name of the bank’s site where the payment will be processed."/>
<refField id="custrecord_2663_bank_acct_type" label="Bank Account Type" helptext="Select Checking or Savings to indicate the bank account type. "/>
<refField id="custrecord_2663_balance_line" label="Create Balanced Files" helptext="If your bank requires balanced files for EFT transactions, check this box to include a balancing line in the payment file to indicate the amount debited from your company’s bank account. Clear this box if your bank accepts unbalanced files."/>
<refField id="custrecord_2663_pad_blocks" label="Add Pad Blocks" helptext="Some banks require payment files to contain lines in multiples of 10. Check this box to add lines with "9" characters at the end of the payment file when the total number of records is not a multiple of 10. Clear this box if your bank does not require pad blocks."/>
<refField id="custrecord_2663_processor_code" label="Federal Reserve Routing Symbol" displaytype="disabled" helptext="This field displays the Federal Reserve Routing Symbol based on the routing number that you entered."/>
<refField id="custrecord_2663_bank_code" label="ABA Institution Identifier" displaytype="disabled" helptext="This field displays the ABA institution identifier based on the routing number."/>
<refField id="custrecord_2663_country_check" label="Check Digit" displaytype="disabled" helptext="This field diplays the check digit based on the routing number that you entered."/>
</refFields> |
|
value_18_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=18 |
18 |
ACH - CTX (Free Text) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 19 |
<#-- format building -->
<#-- counters -->
<#assign entityBankNumberHash = 0>
<#assign entityAccountHash = 0>
<#assign totalAmount = 0>
<#-- build output under one line only -->
#OUTPUT START#
0128ALK${setPadding(cbank.custpage_dd_custrecord_2663_bank_num,"left","0",8)}00000000${setLength(cbank.custrecord_2663_legal_name,27)}${pfa.custrecord_2663_file_creation_timestamp?date?string("ddMMyy")}${setLength("",4)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left","0",10)}${setLength("",25)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}${setLength("",24)}1<#rt>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign ebankNumber = ebank.custrecord_2663_entity_bank_no>
<#assign entityBankNumberHash = entityBankNumberHash + ebankNumber?number>
<#assign entityAccount = ebank.custrecord_2663_entity_acct_no>
<#assign entityAccountHash = entityAccountHash + entityAccount?number>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
0187C00000000${setPadding(ebankNumber,"left","0",8)}${setPadding(entityAccount,"left","0",10)}0${setPadding(entity.internalid,"left","0",11)}005000 00000000000${setPadding(cbank.custpage_dd_custrecord_2663_bank_num,"left","0",8)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left","0",10)}${setPadding(formatAmount(amount),"left","0",11)}${setLength("",3)}${setLength(buildEntityName(entity,false),27)}${setLength("",8)}${setLength(cbank.custrecord_2663_legal_name,27)}${setLength("",27)}1 00${setLength("",69)}<#rt>
</#list>
0128E${setLength("",5)}${setPadding(payments?size,"left","0",7)}${setPadding("","left","0",13)}${setPadding(entityAccountHash?c,"left","0",17)}${setPadding(entityBankNumberHash?c,"left","0",17)}${setPadding(formatAmount(totalAmount),"left","0",13)}${setLength("",51)}<#rt>
#OUTPUT END# |
Germany |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='DTAUS'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' displaytype='disabled' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>8</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>10</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>8</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>10</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="DE" name="DTAUS" extension="txt" linedelimiter="" encoding="ISO-8859-1">
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type="body">Detail</recordInfo>
<recordInfo>Footer</recordInfo>
</recordStructure>
<record name="Header">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0128</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Transfer Code">
<position>6</position>
<length>2</length>
<source type="value">LK</source>
</field>
<field name="Sender Bank Number">
<position>8</position>
<length>8</length>
<source type="bankBankNumber" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>16</position>
<length>8</length>
<source type="value">00000000</source>
</field>
<field name="Sender Name">
<position>24</position>
<length>27</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Creation Date">
<position>51</position>
<length>6</length>
<source type="currentDate" />
<format type="date">DDMMYY</format>
</field>
<field name="Filler">
<position>57</position>
<length>4</length>
</field>
<field name="Sender Account Number">
<position>61</position>
<length>10</length>
<source type="bankAccount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Reference">
<position>71</position>
<length>10</length>
</field>
<field name="Filler">
<position>81</position>
<length>15</length>
</field>
<field name="File Execution Date">
<position>96</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYYYY</format>
</field>
<field name="Filler">
<position>104</position>
<length>24</length>
</field>
<field name="Currency Code">
<position>128</position>
<length>1</length>
<source type="value">1</source>
</field>
</record>
<record name="Detail">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0187</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">C</source>
</field>
<field name="Routing Bank Number">
<position>6</position>
<length>8</length>
<source type="value">00000000</source>
</field>
<field name="Recipient Bank Number">
<position>14</position>
<length>8</length>
<source type="entityBankNumberHash" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Recipient Account Number">
<position>22</position>
<length>10</length>
<source type="entityAccountHash" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>32</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Identity of Recipient">
<position>33</position>
<length>11</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>44</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Payment Code">
<position>45</position>
<length>2</length>
<source type="value">05</source>
</field>
<field name="Supplementary Code">
<position>47</position>
<length>3</length>
<source type="value">000</source>
</field>
<field name="Filler">
<position>50</position>
<length>1</length>
</field>
<field name="Filler">
<position>51</position>
<length>11</length>
<source type="value">00000000000</source>
</field>
<field name="Sender Bank Number">
<position>62</position>
<length>8</length>
<source type="bankBankNumber" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Account Code">
<position>70</position>
<length>10</length>
<source type="bankAccount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>80</position>
<length>11</length>
<source type="amount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>91</position>
<length>3</length>
</field>
<field name="Recipient Name">
<position>94</position>
<length>27</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>121</position>
<length>8</length>
</field>
<field name="Sender Name">
<position>129</position>
<length>27</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Purpose">
<position>156</position>
<length>27</length>
</field>
<field name="Currency">
<position>183</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Filler">
<position>184</position>
<length>2</length>
</field>
<field name="Extension Count">
<position>186</position>
<length>2</length>
<source type="value">00</source>
</field>
<field name="Filler">
<position>188</position>
<length>69</length>
</field>
</record>
<record name="Footer">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0128</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Filler">
<position>6</position>
<length>5</length>
</field>
<field name="Number of Payment Records">
<position>11</position>
<length>7</length>
<source type="totalPayments" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Filler">
<position>18</position>
<length>13</length>
<padding>0</padding>
</field>
<field name="Account Number Hash">
<position>31</position>
<length>17</length>
<source type="hashEntityAccount" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Bank Number Hash">
<position>48</position>
<length>17</length>
<source type="hashEntityBankNumber" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Total Payment Amount">
<position>65</position>
<length>13</length>
<source type="totalAmt" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Filler">
<position>78</position>
<length>51</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
19 |
6/24/2021 5:36 am |
5000 |
DTAUS DD |
T |
ISO-8859-1 |
3 |
txt |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="DTAUS">
<refField id="custrecord_2663_bank_num" label="Bank Number (BLZ)" mandatory="true" helptext="Enter the BLZ code of your company's bank. BLZ (Bankleitzahl) is a bank identifier numbering system used in Germany."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number. You can provide separate bank accounts for payments and direct debit transactions."/>
<refField id="custrecord_2663_iban" label="IBAN" displaytype="disabled" helptext="This field displays your company's International Bank Account Number (IBAN). This number is sourced from the values in the Bank Number and Account Number fields."/>
</refFields> |
|
value_19_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=19 |
19 |
DTAUS DD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 20 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign entityAccountHash = 0>
<#assign entityBankNumberHash = 0>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
</#if>
<#return "">
</#function>
<#-- template building -->
#OUTPUT START#
0128AGK${setPadding(cbank.custpage_eft_custrecord_2663_bank_num,"left","0",8)}${setPadding('',"left","0",8)}${setLength(cbank.custrecord_2663_legal_name?upper_case,27)}${pfa.custrecord_2663_file_creation_timestamp?string("ddMMyy")}${setPadding('',"left","0",4)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}${setLength(pfa.custrecord_2663_ref_note?upper_case,10)}${setPadding("","left"," ",15)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}${setPadding("","left"," ",24)}1<#rt>
<#list payments as payment><#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalPayments = totalPayments + 1>
<#assign totalAmount = totalAmount + amount>
<#assign entityAccountHash = entityAccountHash + ebank.custrecord_2663_entity_acct_no?number>
<#assign entityBankNumberHash = entityBankNumberHash + ebank.custrecord_2663_entity_bank_no?number>
0187C${setPadding('',"left","0",8)}${setPadding(ebank.custrecord_2663_entity_bank_no,"left","0",8)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",10)}${setPadding(entity.internalid,"left","0",13)}51${setPadding("","left","0",3)}${setPadding("","left"," ",1)}${setPadding("","left","0",11)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_num,"left","0",8)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}${setPadding(formatAmount(amount),"left","0",11)}${setPadding("","left"," ",3)}${setLength(buildEntityName(entity,false)?upper_case,27)}${setPadding("","left"," ",8)}${setLength(cbank.custrecord_2663_legal_name?upper_case,27)}${setLength(getReferenceNote(payment)?upper_case,27)}1${setPadding("","left"," ",2)}00${setPadding("","left"," ",69)}<#rt>
</#list>
0128E${setPadding("","left"," ",5)}${setPadding(totalPayments,"left","0",7)}${setPadding("","left","0",13)}${setPadding(setLength(entityAccountHash?c, 17, "right")?trim, "left","0", 17)}${setPadding(setLength(entityBankNumberHash?c, 17, "right")?trim, "left","0", 17)}${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding("","left"," ",51)}<#rt>
#OUTPUT END# |
Germany |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='DTAUS'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' displaytype='disabled' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>27</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>8</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>10</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>8</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='num' />
<validator type='len'>
<param name='maxLength'>10</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="DE" name="DTAUS" extension="txt" linedelimiter="" encoding="ISO-8859-1">
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type="body">Detail</recordInfo>
<recordInfo>Footer</recordInfo>
</recordStructure>
<record name="Header">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0128</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Transfer Code">
<position>6</position>
<length>2</length>
<source type="value">GK</source>
</field>
<field name="Sender Bank Number">
<position>8</position>
<length>8</length>
<source type="bankBankNumber" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>16</position>
<length>8</length>
<source type="value">00000000</source>
</field>
<field name="Sender Name">
<position>24</position>
<length>27</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Creation Date">
<position>51</position>
<length>6</length>
<source type="currentDate" />
<format type="date">DDMMYY</format>
</field>
<field name="Filler">
<position>57</position>
<length>4</length>
<source type="value">0000</source>
</field>
<field name="Sender Account Number">
<position>61</position>
<length>10</length>
<source type="bankAccount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Reference">
<position>71</position>
<length>10</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Filler">
<position>81</position>
<length>15</length>
</field>
<field name="File Execution Date">
<position>96</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYYYY</format>
</field>
<field name="Filler">
<position>104</position>
<length>24</length>
</field>
<field name="Currency Code">
<position>128</position>
<length>1</length>
<source type="value">1</source>
</field>
</record>
<record name="Detail">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0187</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">C</source>
</field>
<field name="Routing Bank Number">
<position>6</position>
<length>8</length>
<source type="value">00000000</source>
</field>
<field name="Recipient Bank Number">
<position>14</position>
<length>8</length>
<source type="entityBankNumberHash" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Recipient Account Number">
<position>22</position>
<length>10</length>
<source type="entityAccountHash" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Identity of Recipient">
<position>32</position>
<length>13</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
<setUppercase>true</setUppercase>
</field>
<field name="Payment Code">
<position>45</position>
<length>2</length>
<source type="value">51</source>
</field>
<field name="Supplementary Code">
<position>47</position>
<length>3</length>
<source type="value">000</source>
</field>
<field name="Filler">
<position>50</position>
<length>1</length>
</field>
<field name="Filler">
<position>51</position>
<length>11</length>
<padding>0</padding>
</field>
<field name="Sender Bank Number">
<position>62</position>
<length>8</length>
<source type="bankBankNumber" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Account Code">
<position>70</position>
<length>10</length>
<source type="bankAccount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>80</position>
<length>11</length>
<source type="amount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>91</position>
<length>3</length>
</field>
<field name="Recipient Name">
<position>94</position>
<length>27</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Filler">
<position>121</position>
<length>8</length>
</field>
<field name="Sender Name">
<position>129</position>
<length>27</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Purpose">
<position>156</position>
<length>27</length>
<source type="referenceNote"/>
<setUppercase>true</setUppercase>
</field>
<field name="Currency">
<position>183</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Filler">
<position>184</position>
<length>2</length>
</field>
<field name="Extension Count">
<position>186</position>
<length>2</length>
<source type="value">00</source>
</field>
<field name="Extensions 1-2">
<position>188</position>
<length>58</length>
</field>
<field name="Filler">
<position>246</position>
<length>11</length>
</field>
</record>
<record name="Footer">
<field name="Record Length">
<position>1</position>
<length>4</length>
<source type="value">0128</source>
</field>
<field name="Record Type">
<position>5</position>
<length>1</length>
<source type="value">E</source>
</field>
<field name="Filler">
<position>6</position>
<length>5</length>
</field>
<field name="Number of Payment Records">
<position>11</position>
<length>7</length>
<source type="totalPayments" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Filler">
<position>18</position>
<length>13</length>
<padding>0</padding>
</field>
<field name="Account Number Hash">
<position>31</position>
<length>17</length>
<source type="hashEntityAccount" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Bank Number Hash">
<position>48</position>
<length>17</length>
<source type="hashEntityBankNumber" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Total Payment Amount">
<position>65</position>
<length>13</length>
<source type="totalAmt" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Filler">
<position>78</position>
<length>51</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
20 |
6/24/2021 5:36 am |
5000 |
DTAUS |
T |
ISO-8859-1 |
3 |
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="DTAUS">
<refField id="custrecord_2663_bank_num" label="Bank Number (BLZ)" mandatory="true" helptext="Enter the BLZ code of your company’s bank. BLZ (Bankleitzahl) is a bank identifier numbering system used in Germany."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_iban" label="IBAN" displaytype="disabled" helptext="This field displays your company’s International Bank Account Number (IBAN). This number is sourced from the values that you supplied in the Bank Number and Account Number fields."/>
</refFields> |
|
value_20_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=20 |
20 |
DTAUS |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 21 |
<#-- format specific processing -->
<#function getVoidCheckIndicator payment>
<#assign value = "O">
<#assign reversalDate = payment.reversaldate>
<#if reversalDate?has_content>
<#assign value = "V">
</#if>
<#return value>
</#function>
<#function getChequeNumber payment>
<#assign value = "">
<#if payment.recordtype == "cashrefund">
<#assign value = payment.otherrefnum>
<#else>
<#assign value = payment.tranid>
</#if>
<#return value>
</#function>
<#-- template building -->
#OUTPUT START#
${setPadding(cbank.custpage_pp_custrecord_2663_acct_num,"left","0",12)}H${setLength("",22)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("MMddyy"),6)}${setLength("",69)}
<#list payments as payment>
<#assign entity = entities[payment_index]>
${setPadding(cbank.custpage_pp_custrecord_2663_acct_num,"left","0",12)}${setLength(getVoidCheckIndicator(payment),1)}${setPadding(getChequeNumber(payment),"left","0",10)}${setPadding(formatAmount(getAmount(payment)),"left","0",12)}${setLength(payment.trandate?string("MMddyy"),6)}${setLength("",3)}${setLength(buildEntityName(entity,true),50)}${setLength("",16)}
</#list>
${setPadding(cbank.custpage_pp_custrecord_2663_acct_num,"left","0",12)}T${setPadding(payments?size?c,"left","0",10)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",12)}${setLength("",75)}
#OUTPUT END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields /> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>12</param>
</validator>
<validator type='num'>
<param name='min'>1</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="BoA/ML" country="US" extension="txt" crlf="true">
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type="body">Detail</recordInfo>
<recordInfo>Footer</recordInfo>
</recordStructure>
<record name="Header">
<field name="Sender Account Number">
<position>1</position>
<length>12</length>
<source type="bankAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Record Type">
<position>13</position>
<length>1</length>
<source type="value">H</source>
</field>
<field name="Filler">
<position>14</position>
<length>22</length>
</field>
<field name="Issue Date">
<position>36</position>
<length>6</length>
<source type="currentDate">dummy</source>
<format type="date">MMDDYY</format>
</field>
<field name="Filler">
<position>42</position>
<length>69</length>
</field>
</record>
<record name="Detail">
<field name="Bank Account Number">
<position>1</position>
<length>12</length>
<source type="bankAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Record Type">
<position>13</position>
<length>1</length>
<source type="chequeVoid">dummy</source>
</field>
<field name="Cheque Number">
<position>14</position>
<length>10</length>
<source type="chequeNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>24</position>
<length>12</length>
<source type="amount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Issue Date">
<position>36</position>
<length>6</length>
<source type="chequeDate">dummy</source>
<format type="date">MMDDYY</format>
</field>
<field name="Filler">
<position>42</position>
<length>3</length>
</field>
<field name="Recipient Name">
<position>45</position>
<length>50</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>95</position>
<length>16</length>
</field>
</record>
<record name="Footer">
<field name="Sender Account Number">
<position>1</position>
<length>12</length>
<source type="bankAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Record Type">
<position>13</position>
<length>1</length>
<source type="value">T</source>
</field>
<field name="Item (Payment) Count">
<position>14</position>
<length>10</length>
<source type="totalPayments">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Amount">
<position>24</position>
<length>12</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>36</position>
<length>75</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
21 |
4/27/2023 4:03 am |
5000 |
BoA/ML |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
Positive Pay |
3 |
162 |
<refFields type='BoA/ML'>
<refField id='custrecord_2663_acct_num' label='Account Number' mandatory='true' />
</refFields> |
|
value_21_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=21 |
21 |
BoA/ML |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 22 |
<#-- format specific processing -->
<#function getVoidCheckIndicator payment>
<#assign value = "">
<#assign reversalDate = payment.reversaldate>
<#if reversalDate?has_content>
<#assign value = "V">
</#if>
<#return value>
</#function>
<#function getReferenceNote payment>
<#assign value = "">
<#if payment.recordtype == 'cashrefund'>
<#return payment.otherrefnum>
</#if>
<#return payment.tranid>
</#function>
<#-- template building -->
<#assign totalAmount = 0>
#OUTPUT START#
<#list payments as payment>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
${setPadding(cbank.custpage_pp_custrecord_2663_acct_num,"left","0",10)}${setPadding(getReferenceNote(payment),"left","0",10)}${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${payment.trandate?string("MMddyy")}${setLength("",15)}${setLength(getVoidCheckIndicator(payment),1)}${setLength("",28)}
</#list>
#REMOVE EOL#
#OUTPUT END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields/> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>10</param>
<param name='maxLength'>10</param>
</validator>
<validator type='num'>
<param name='min'>1</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="RBC" country="US" extension="txt">
<recordStructure>
<recordInfo type="body">Detail</recordInfo>
</recordStructure>
<record name="Detail">
<field name="Account Number">
<position>1</position>
<length>10</length>
<source type="bankAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Cheque Number">
<position>11</position>
<length>10</length>
<source type="chequeNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>21</position>
<length>10</length>
<source type="amount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Issue Date">
<position>31</position>
<length>6</length>
<source type="chequeDate">dummy</source>
<format type="date">MMDDYY</format>
</field>
<field name="Free Format">
<position>37</position>
<length>15</length>
</field>
<field name="Void Indicator">
<position>52</position>
<length>1</length>
<source type="chequeVoid">dummy</source>
</field>
<field name="Filler">
<position>53</position>
<length>28</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
22 |
4/27/2023 4:03 am |
5000 |
RBC |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
Positive Pay |
3 |
162 |
<refFields type='RBC'>
<refField id='custrecord_2663_acct_num' label='Account Number' mandatory='true' />
</refFields> |
|
value_22_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=22 |
22 |
RBC |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 23 |
<#-- output file building -->
#OUTPUT START#
*${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,4)}${setLength(cbank.custrecord_2663_legal_name?upper_case,40)}${pfa.custrecord_2663_process_date?string("yyyyMMdd")}Y${setLength("",8)}${setLength(pfa.custrecord_2663_ref_note,15)}+810${setLength("",9)}01LIVE
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
2${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,4)}${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(entity.accountnumber,7)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",19)} 1${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(buildEntityName(entity,false),20)}${setLength("",10)}${setLength(cbank.custrecord_2663_print_company_name,15)}
</#list>
2${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,4)}T${setLength("",30)}${setPadding(formatAmount(computeTotalAmount(payments)),"left","0",13)}${setLength("",47)}<#rt>
#OUTPUT END# |
South Africa |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="Standard Bank">
<refField id="custrecord_2663_entity_branch_no" label="Branch Number" mandatory="true" helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id="custrecord_2663_entity_acct_no" label="Account Number" mandatory="true" helptext="Enter the vendor's/employee's/customer's bank account number."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">19</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">40</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">4</param>
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">19</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="Standard Bank" country="ZA" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Error Flag">
<position>1</position>
<length>1</length>
<source type="value">*</source>
</field>
<field name="Company Code">
<position>2</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Company Name">
<position>6</position>
<length>40</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name="Action Date">
<position>46</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Language">
<position>54</position>
<length>1</length>
<source type="value">Y</source>
</field>
<field name="Filler">
<position>55</position>
<length>8</length>
</field>
<field name="Statement Reference">
<position>63</position>
<length>15</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name="Sign">
<position>78</position>
<length>1</length>
<source type="value">+</source>
</field>
<field name="Entry Class">
<position>79</position>
<length>2</length>
<source type="value">81</source>
</field>
<field name="Tax Code">
<position>81</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Filler">
<position>82</position>
<length>9</length>
</field>
<field name="Batch Number">
<position>91</position>
<length>2</length>
<source type="value">01</source>
</field>
<field name="Test or Live">
<position>93</position>
<length>4</length>
<source type="value">LIVE</source>
</field>
</record>
<record name="detail">
<field name="Method of Payment">
<position>1</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Company Code">
<position>2</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient Branch Number">
<position>6</position>
<length>6</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
<padding>0</padding>
<align>right</align>
</source>
</field>
<field name="Employee Number">
<position>12</position>
<length>7</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>accountnumber</sourceFld>
</source>
</field>
<field name="Recipient Account Number">
<position>19</position>
<length>19</length>
<source type="entityAccount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>38</position>
<length>1</length>
</field>
<field name="Account Type">
<position>39</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Amount">
<position>40</position>
<length>11</length>
<source type="amount"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Recipient Name">
<position>51</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>71</position>
<length>10</length>
</field>
<field name="Statement Reference">
<position>81</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name="RTGS Indicator">
<position>96</position>
<length>1</length>
</field>
</record>
<record name="footer">
<field name="Error Flag">
<position>1</position>
<length>1</length>
<source type="value">2</source>
</field>
<field name="Company Code">
<position>2</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Trailer Indicator">
<position>6</position>
<length>1</length>
<source type="value">T</source>
</field>
<field name="Filler">
<position>7</position>
<length>30</length>
</field>
<field name="Total Amountt">
<position>37</position>
<length>13</length>
<source type="totalAmt"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>50</position>
<length>14</length>
</field>
<field name="Number of Transactions">
<position>64</position>
<length>7</length>
</field>
<field name="Filler">
<position>71</position>
<length>26</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
23 |
6/24/2021 5:37 am |
5000 |
Standard Bank |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Standard Bank">
<refField id="custrecord_2663_branch_num" label="Branch Number" mandatory="true" helptext="Enter the 6-digit numeric code that identifies the bank branch where your company's account is maintained."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_issuer_num" label="Bureau Code" mandatory="true" helptext="Enter the 4-digit alphanumeric code of the foreign exchange bureau used by the bank to process payments from accounts in a currency other than Rand."/>
<refField id="custrecord_2663_legal_name" label="Company Name" mandatory="true" helptext=""/>
</refFields> |
|
value_23_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=23 |
23 |
Standard Bank |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 24 |
<#-- format specific processing -->
<#assign totalAmount = 0>
<#assign totalPayments = 0>
<#assign recordCount = 1>
<#function computeSequenceId>
<#assign seqId = getSequenceId(false)>
<#if seqId == 9999>
<#assign seqId = 1>
<#else>
<#assign seqId = seqId + 1>
</#if>
<#return seqId>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
</#if>
<#return "">
</#function>
<#assign newSeqId = computeSequenceId()>
<#-- template building -->
#OUTPUT START#
$$AAPDCPA1464[PROD[NL$$
A${setPadding(recordCount,"left","0",9)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}${setPadding(newSeqId,"left","0",4)}${setPadding(pfa.custrecord_2663_file_creation_timestamp?string("yyDDD"),"left","0",6)}${setPadding(cbank.custpage_eft_custrecord_2663_processor_code,"left","0",5)}${setLength("",20)}CAD${setLength("",1406)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
<#assign totalPayments = totalPayments + 1>
<#assign recordCount = recordCount + 1>
C${setPadding(recordCount,"left","0",9)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}${setPadding(newSeqId,"left","0",4)}430${setPadding(formatAmount(amount),"left","0",10)}${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left","0",6)}${setPadding(ebank.custrecord_2663_entity_bank_no,"left","0",4)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setPadding("","left","0",25)}${setLength(cbank.custpage_eft_custrecord_2663_statement_name,15)}${setLength(buildEntityName(entity,false),30)}${setLength(cbank.custrecord_2663_legal_name,30)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}${setLength(entity.internalid,19)}${setPadding("","left","0",9)}${setLength("",12)}${setLength(getReferenceNote(payment),15)}${setLength("",35)}
</#list>
Z${setPadding(recordCount + 1,"left","0",9)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,10)}${setPadding(newSeqId,"left","0",4)}${setPadding("","left","0",22)}${setPadding(formatAmount(totalAmount),"left","0",14)}${setPadding(totalPayments,"left","0",8)}${setPadding("","left","0",1396)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Canada |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="CPA-005">
<refField id="custrecord_2663_entity_bank_no" label="Financial Institution Number" mandatory="true" helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id="custrecord_2663_entity_branch_no" label="Branch Transit Number" mandatory="true" helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id="custrecord_2663_entity_acct_no" label="Account Number" mandatory="true" helptext="Enter the vendor's/employee's/customer's bank account number."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
<validator type="len">
<param name="minLength">10</param>
<param name="maxLength">10</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_processor_code</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">5</param>
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~1-9</param>
</validator>
<validator type="invalidChars">
<param name="invalidChars">0</param>
</validator>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='alpha'>
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~1-9</param>
</validator>
<validator type="invalidChars">
<param name="invalidChars">0</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">4</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="CPA-005" country="CA" extension="txt">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>footer</recordInfo>
</recordStructure>
<record name="header">
<field name="Record Type">
<position>1</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Record Count">
<position>2</position>
<length>9</length>
<source type="value">1</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Client Number">
<position>11</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="File Creation Number">
<position>21</position>
<length>4</length>
<source type="sequenceId"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="File Creation Date">
<position>25</position>
<length>6</length>
<source type="currentDate"/>
<format type="date">YYDDD</format>
<padding>0</padding>
<align>right</align>
</field>
<field name="Processing Centre">
<position>31</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>36</position>
<length>20</length>
</field>
<field name="Currency Code">
<position>56</position>
<length>3</length>
<source type="value">CAD</source>
</field>
<field name="Filler">
<position>59</position>
<length>1406</length>
</field>
</record>
<record name="detail">
<field name="Record Type">
<position>1</position>
<length>1</length>
<source type="value">C</source>
</field>
<field name="Record Count">
<position>2</position>
<length>9</length>
<source type="totalRecords"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Number">
<position>11</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="File Creation Number">
<position>21</position>
<length>4</length>
<source type="sequenceId"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Transaction Code">
<position>25</position>
<length>3</length>
<source type="value">430</source>
</field>
<field name="Amount">
<position>28</position>
<length>10</length>
<source type="amount"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Payment Date">
<position>38</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYDDD</format>
<padding>0</padding>
<align>right</align>
</field>
<field name="Bank Number">
<position>44</position>
<length>4</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Branch Number">
<position>48</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Account Number">
<position>53</position>
<length>12</length>
<source type="entityAccount"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>65</position>
<length>22</length>
<padding>0</padding>
</field>
<field name="Reserved">
<position>87</position>
<length>3</length>
<padding>0</padding>
</field>
<field name="Senders Short Name">
<position>90</position>
<length>15</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
</field>
<field name="Recipient Name">
<position>105</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Sender Name">
<position>135</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Sender Number">
<position>165</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Recipient Number">
<position>175</position>
<length>19</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Reserved">
<position>194</position>
<length>9</length>
<padding>0</padding>
</field>
<field name="Reserved">
<position>203</position>
<length>12</length>
</field>
<field name="Recipient Information">
<position>215</position>
<length>15</length>
<source type="referenceNote"/>
</field>
<field name="Reserved">
<position>230</position>
<length>22</length>
</field>
<field name="Reserved">
<position>252</position>
<length>2</length>
</field>
<field name="Reserved">
<position>254</position>
<length>11</length>
</field>
</record>
<record name="footer">
<field name="Record Type">
<position>1</position>
<length>1</length>
<source type="value">Z</source>
</field>
<field name="Record Count">
<position>2</position>
<length>9</length>
<source type="totalRecords"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Sender Number">
<position>11</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="File Creation Number">
<position>21</position>
<length>4</length>
<source type="sequenceId"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>25</position>
<length>14</length>
<padding>0</padding>
</field>
<field name="Reserved">
<position>39</position>
<length>8</length>
<padding>0</padding>
</field>
<field name="Total Amount">
<position>47</position>
<length>14</length>
<source type="totalAmt"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Number of Transactions">
<position>61</position>
<length>8</length>
<source type="totalPayments"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Filler">
<position>69</position>
<length>1396</length>
<padding>0</padding>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
24 |
6/24/2021 5:36 am |
5000 |
CPA-005 |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="CPA-005">
<refField id="custrecord_2663_bank_num" label="Financial Institution Number" mandatory="true" helptext="Enter the number that identifies the bank in the Financial Institutions Directory, which is maintained by the Canadian Payment Association."/>
<refField id="custrecord_2663_branch_num" label="Branch Transit Number" mandatory="true" helptext="Enter the routing number of the bank branch where your company's account is maintained. Bank branch routing numbers of Canadian financial institutions are listed in the Financial Institutions Directory of the Canadian Payment Association."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number (maximum of 12 digits)."/>
<refField id="custrecord_2663_issuer_num" label="Client Number" mandatory="true" helptext="Enter the 10-digit number that identifies your company as a client of the bank. The first six numbers is assigned by the bank and the last 4 numbers is assigned by your company and can be used to indicate a subsidiary or division."/>
<refField id="custrecord_2663_processor_code" label="Data Centre" mandatory="true" helptext="Enter the number of the bank processing center where the payment file will be processed. This information should be provided by the bank."/>
<refField id="custrecord_2663_statement_name" label="Statement Name" helptext="Enter a name for electronic payment transactions made with this bank."/>
</refFields> |
|
value_24_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=24 |
24 |
CPA-005 |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 25 |
<#-- format specific processing -->
<#assign totalPayments = 0>
<#assign totalAmount = 0>
<#assign totalAccountHash = 0>
<#assign newSeqId = 0>
<#function computeSequenceId>
<#assign newSeqId = getSequenceId(true) + 1>
<#return pfa.custrecord_2663_file_creation_timestamp?string("dd") + setPadding(newSeqId,"left","0",2)>
</#function>
<#-- template building -->
#OUTPUT START#
0001A${pfa.custrecord_2663_file_creation_timestamp?string("ddMMyy")}CLIEOP03${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,5)}${computeSequenceId()}1${setPadding("","left"," ",21)}
0010B00${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}0001EUR${setLength("",16)}${setPadding("","left"," ",10)}
0020A${setLength(pfa.custrecord_2663_ref_note,32)}${setPadding("","left"," ",13)}
0030B1${pfa.custrecord_2663_process_date?string("ddMMyy")}${setLength(cbank.custrecord_2663_legal_name,35)}P${setPadding("","left"," ",2)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalPayments = totalPayments + 1>
<#assign totalAmount = totalAmount + amount>
<#assign totalAccountHash = totalAccountHash + cbank.custpage_eft_custrecord_2663_acct_num?number + ebank.custrecord_2663_entity_acct_no?number>
0100A0005${setPadding(formatAmount(amount),"left","0",12)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",10)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",10)}${setPadding("","left"," ",9)}
0150A${setLength(ebank.custrecord_2663_entity_payment_desc,16)}${setPadding("","left"," ",29)}
0170B${setLength(buildEntityName(entity,false),35)}${setPadding("","left"," ",10)}
</#list>
9990A${setPadding(formatAmount(totalAmount),"left","0",18)}${setLength(setPadding(totalAccountHash?c,"left","0",10),10,"right")}${setPadding(totalPayments,"left","0",7)}${setPadding("","left"," ",10)}
9999A${setPadding("","left"," ",45)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Netherlands |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='Equens - Clieop (ING Bank)'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">7</param>
<param name="maxLength">10</param>
<param name="invalidLength">8</param>
</validator>
<validator type="num" />
<validator type="custom" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">7</param>
<param name="maxLength">10</param>
<param name="invalidLength">8</param>
</validator>
<validator type="num" />
<validator type="custom" />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="NL" name="Equens - Clieop (ING Bank)" extension="txt">
<recordStructure>
<recordInfo>file header</recordInfo>
<recordInfo>batch header</recordInfo>
<recordInfo>description</recordInfo>
<recordInfo>ordering party</recordInfo>
<recordInfo type="body">detail</recordInfo>
<recordInfo>batch trailer</recordInfo>
<recordInfo>file trailer</recordInfo>
</recordStructure>
<!--File Header -->
<record name="file header">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0001</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="File Creation Date">
<position>6</position>
<length>6</length>
<source type="currentDate"/>
<format type="date">DDMMYY</format>
</field>
<field name="File Name">
<position>12</position>
<length>8</length>
<source type="value">CLIEOP03</source>
</field>
<field name="Sender Identification">
<position>20</position>
<length>5</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="File Identification">
<position>25</position>
<length>4</length>
<source type="sequenceId"/>
</field>
<field name="Duplicate Code">
<position>29</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Filler">
<position>30</position>
<length>21</length>
</field>
</record>
<!--Batch Header -->
<record name="batch header">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0010</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">B</source>
</field>
<field name="Transaction Group">
<position>6</position>
<length>2</length>
<source type="value">00</source>
</field>
<field name="Senders Account Number">
<position>8</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccount"/>
</field>
<field name="Batch Sequence Number">
<position>18</position>
<length>4</length>
<source type="value">0001</source>
</field>
<field name="Currency">
<position>22</position>
<length>3</length>
<source type="value">EUR</source>
</field>
<field name="Batch Identification">
<position>25</position>
<length>16</length>
</field>
<field name="Filler">
<position>41</position>
<length>10</length>
</field>
</record>
<!--Description -->
<record name="description">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0020</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Description">
<position>6</position>
<length>32</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name="Filler">
<position>38</position>
<length>13</length>
</field>
</record>
<!--Ordering Party -->
<record name="ordering party">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0030</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">B</source>
</field>
<field name="Name Code">
<position>6</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Processing Date">
<position>7</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Sender Name">
<position>13</position>
<length>35</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Test Code">
<position>48</position>
<length>1</length>
<source type="value">P</source>
</field>
<field name="Filler">
<position>49</position>
<length>2</length>
</field>
</record>
<record name="detail">
<!--Transaction Record -->
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">0100</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Transaction Type">
<position>6</position>
<length>4</length>
<source type="value">0005</source>
</field>
<field name="Amount">
<position>10</position>
<length>12</length>
<align>right</align>
<padding>0</padding>
<source type="amountHash" />
</field>
<field name="Senders Account Number">
<position>22</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="bankAccountHash"/>
</field>
<field name="Recipients Account Number">
<position>32</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="entityAccountHash"/>
</field>
<field name="Filler">
<position>42</position>
<length>9</length>
</field>
<!--Payment Reference -->
<field name="Record Code">
<position>51</position>
<length>4</length>
<onNewline>true</onNewline>
<source type="value">0150</source>
</field>
<field name="Variant Code">
<position>55</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Payment Reference">
<position>56</position>
<length>16</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
</field>
<field name="Filler">
<position>72</position>
<length>29</length>
</field>
<!--Name Beneficiary -->
<field name="Record Code">
<position>101</position>
<length>4</length>
<onNewline>true</onNewline>
<source type="value">0170</source>
</field>
<field name="Variant Code">
<position>105</position>
<length>1</length>
<source type="value">B</source>
</field>
<field name="Recipients Name">
<position>106</position>
<length>35</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Filler">
<position>141</position>
<length>10</length>
</field>
</record>
<!--Batch Trailer -->
<record name="batch trailer">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">9990</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Total Amount">
<position>6</position>
<length>18</length>
<align>right</align>
<padding>0</padding>
<source type="totalAmt" />
</field>
<field name="Total Account Numbers">
<position>24</position>
<length>10</length>
<align>right</align>
<padding>0</padding>
<source type="hashAllAccount" />
</field>
<field name="Number of Items">
<position>34</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type="totalPayments" />
</field>
<field name="Filler">
<position>41</position>
<length>10</length>
</field>
</record>
<!--File Trailer -->
<record name="file trailer">
<field name="Record Code">
<position>1</position>
<length>4</length>
<source type="value">9999</source>
</field>
<field name="Variant Code">
<position>5</position>
<length>1</length>
<source type="value">A</source>
</field>
<field name="Filler">
<position>6</position>
<length>45</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
25 |
6/24/2021 5:36 am |
5000 |
Equens - Clieop (ING Bank) |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Equens - Clieop (ING Bank)">
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter the 9-digit number that identifies your company’s account in the bank."/>
<refField id="custrecord_2663_issuer_num" label="Sender Identification" mandatory="true" helptext="Enter information to identify your company as the sender of the payment."/>
</refFields> |
|
value_25_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=25 |
25 |
Equens - Clieop (ING Bank) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 26 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
</#if>
<#return "">
</#function>
<#-- template building -->
#OUTPUT START#
<#setting locale="hu">
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
${setPadding(formatAmount(getAmount(payment),"dec",","),"left","0",15)}${pfa.custrecord_2663_process_date?string("yyyyMMdd")}${setPadding("","left"," ",13)}${setLength(cbank.custpage_eft_custrecord_2663_bban,24)}${setLength(ebank.custrecord_2663_entity_bban,24)}${setLength(buildEntityName(entity,false),32)}HU000${setPadding("","left"," ",15)}${setPadding(payment_index + 1,"left","0",35)}${setLength(getReferenceNote(payment),35)}${setPadding("","left"," ",16)}${setPadding("","left","0",6)}${setPadding("","left"," ",20)}
</#list>
#REMOVE EOL#
#OUTPUT END# |
Hungary |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='Raiffeisen Domestic Transfer'>
<refField id='custrecord_2663_entity_bban' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bban</fieldName>
<validatorList>
<validator type='len'>
<param name='validLength'>16|24</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bban</fieldName>
<validatorList>
<validator type='len'>
<param name='validLength'>16|24</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="HU" name="Raiffeisen Domestic Transfer" extension="txt">
<recordStructure>
<recordInfo type="body">detail</recordInfo>
</recordStructure>
<record name="detail">
<field name="Amount">
<position>1</position>
<length>15</length>
<align>right</align>
<padding>0</padding>
<source type="amount" />
<format type="decimal">,</format>
</field>
<field name="Payment Date">
<position>16</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYYMMDD</format>
</field>
<field name="Account Number">
<position>24</position>
<length>13</length>
</field>
<field name="Sender Account Number">
<position>37</position>
<length>24</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bban</sourceFld>
</source>
</field>
<field name="Recipient Account Number">
<position>61</position>
<length>24</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bban</sourceFld>
</source>
</field>
<field name="Recipient Name and Address">
<position>85</position>
<length>32</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Recipient Country Code">
<position>117</position>
<length>2</length>
<source type="value">HU</source>
</field>
<field name="Payment Code">
<position>119</position>
<length>3</length>
<source type="value">000</source>
</field>
<field name="Reserved">
<position>122</position>
<length>15</length>
</field>
<field name="Details - 1">
<position>137</position>
<length>35</length>
<source type="lineNum" />
<align>right</align>
<padding>0</padding>
</field>
<field name="Details - 2">
<position>172</position>
<length>35</length>
<source type="referenceNote"/>
</field>
<field name="Reserved">
<position>207</position>
<length>6</length>
</field>
<field name="Identification">
<position>213</position>
<length>10</length>
</field>
<field name="Reference">
<position>223</position>
<length>6</length>
<padding>0</padding>
</field>
<field name="Comment">
<position>229</position>
<length>20</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
26 |
6/24/2021 5:37 am |
5000 |
Raiffeisen Domestic Transfer |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Raiffeisen Domestic Transfer">
<refField id="custrecord_2663_bank_num" label="Bank Number" displaytype="disabled" helptext="This field displays the number that identifies the bank. This number is sourced from the value in the Account Number field."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" displaytype="disabled" helptext="This field displays the number that identifies the bank branch where your account is maintained. This number is sourced from the value in the Account Number field."/>
<refField id="custrecord_2663_acct_num" label="Bank Account Number" displaytype="disabled" helptext="This field displays your company's bank account number. This number is sourced from the value in the Account Number field."/>
<refField id="custrecord_2663_bban" label="Account Number" mandatory="true" helptext="Enter your company's 16-digit or 24-digit basic bank account number (BBAN). This number is used by financial institutions in Hungary to identify bank accounts as part of a national account numbering system.<br><br><b>Note:</b> The values for the Bank Number, Branch Number, and Bank Account Number fields are sourced from the value in this field."/>
</refFields> |
|
value_26_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=26 |
26 |
Raiffeisen Domestic Transfer |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 27 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + " " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#assign totalDebitAmount = 0>
<#if cbank.custpage_eft_custrecord_2663_balance_line>
<#assign totalDebitAmount = totalAmount>
</#if>
<#-- output file building -->
#OUTPUT START#
UHL1${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left"," ",6)}999999 00000000${setLength("1 DAILY",9)}${setPadding(pfa.id,"left","0",3)}${setLength("",40)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)}099${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}${setLength("",4)}${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}${setLength(getReferenceNote(payment)?upper_case,18)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,18)}${setLength("",6)}
</#list>
${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}017${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}${setLength("",4)}${setPadding(formatAmount(totalAmount),"left","0",11)}${setLength(pfa.custrecord_2663_ref_note?upper_case,18)}${setLength("CONTRA",18)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}${setLength("",6)}
UTL1${setPadding(formatAmount(totalDebitAmount),"left","0",13)}${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding("1","left","0",7)}${setPadding(payments?size,"left","0",7)}${setLength("",36)}
#OUTPUT END# |
Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACS - Bank of Scotland'>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_file_ref</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='GB' crlf='true' name='BACS - Bank of Scotland'>
<recordStructure>
<recordInfo>UHL1</recordInfo>
<recordInfo type='body'>Standard</recordInfo>
<recordInfo>Contra</recordInfo>
<recordInfo>UTL1</recordInfo>
</recordStructure>
<record name='UHL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UHL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='BACS Processing Day'>
<length>6</length>
<position>5</position>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYDDD</format>
</field>
<field name='Service User Number'>
<length>6</length>
<position>11</position>
<source type='value'>999999</source>
</field>
<field name='Service User Number - Reserved (blank)'>
<length>4</length>
<position>17</position>
</field>
<field name='Currency Code'>
<length>2</length>
<position>21</position>
<source type='value'>00</source>
</field>
<field name='Country Code'>
<length>6</length>
<position>23</position>
<source type='value'>000000</source>
</field>
<field name='Work Code'>
<length>9</length>
<position>29</position>
<source type='value'>1 DAILY</source>
</field>
<field name='File Number'>
<length>3</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<length>7</length>
<position>41</position>
</field>
<field name='Audit Print Identifier'>
<length>7</length>
<position>48</position>
</field>
<field name='Free text'>
<length>26</length>
<position>55</position>
</field>
</record>
<record name='Standard'>
<field name='Recipient Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Recipient Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Recipient Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Senders Account Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Reference'>
<position>65</position>
<length>18</length>
<source type='referenceNote'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='Contra'>
<field name='Senders Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Senders Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>17</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Free Text'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='totalAmt' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Account Reference'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Contra Indication'>
<position>65</position>
<length>18</length>
<source type='value'>CONTRA</source>
</field>
<field name='Senders Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='UTL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UTL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Total of debit records'>
<length>13</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='totalDebitAmt' />
</field>
<field name='Total of credit records'>
<length>13</length>
<position>18</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Count of debit records'>
<length>7</length>
<position>31</position>
<source type='value'>1</source>
<align>right</align>
<padding>0</padding>
</field>
<field name='Count of credit records'>
<length>7</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Reserved (blank)'>
<length>10</length>
<position>45</position>
</field>
<field name='Reserved (blank)'>
<length>26</length>
<position>55</position>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
27 |
9/9/2021 4:23 am |
5000 |
BACS - Bank of Scotland |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BACS - Bank of Scotland">
<refField id="custrecord_2663_bank_num" label="Service User Number" mandatory="true" helptext="Enter your company's 6-digit service user number. This number is assigned by the bank."/>
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations. "/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
<refField id='custrecord_2663_balance_line' label='Include Total Debit Amount' />
</refFields> |
|
value_27_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=27 |
27 |
BACS - Bank of Scotland |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 28 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + " " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- template building -->
#OUTPUT START#
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)}099${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)} ${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}${setLength(getReferenceNote(payment)?upper_case,18)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,18)}
</#list>
#OUTPUT END# |
Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACS - Albany ALBACS-IP'>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_file_ref</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='GB' crlf='true' name='BACS - Albany ALBACS-IP'>
<recordStructure>
<recordInfo type='body'>Standard</recordInfo>
</recordStructure>
<record name='Standard'>
<field name='Recipient Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Recipient Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Recipient Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Senders Account Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Reference'>
<position>65</position>
<length>18</length>
<source type='referenceNote'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
28 |
9/9/2021 4:23 am |
5000 |
BACS - Albany ALBACS-IP |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BACS - Albany ALBACS-IP">
<refField id="custrecord_2663_bank_num" label="Service User Number" mandatory="true" helptext="Enter your company's 6-digit service user number. This number is assigned by the bank."/>
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
</refFields> |
|
value_28_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=28 |
28 |
BACS - Albany ALBACS-IP |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 29 |
<#-- format specific processing -->
<#function buildEntityBillingAddress1 entity>
<#assign address = "">
<#if entity.billaddress1?has_content >
<#assign address = entity.billaddress1 >
<#elseif entity.shipaddress1?has_content >
<#assign address = entity.shipaddress1 >
<#elseif entity.address1?has_content >
<#assign address = entity.address1 >
</#if>
<#if (address?length > 70) >
<#assign address = address?substring(0,70) >
</#if>
<#return address>
</#function>
<#function buildEntityBillingAddress2 entity>
<#assign address = "">
<#if entity.billaddress2?has_content >
<#assign address = entity.billaddress2 >
<#elseif entity.shipaddress2?has_content >
<#assign address = entity.shipaddress2 >
<#elseif entity.address2?has_content >
<#assign address = entity.address2 >
</#if>
<#if (address?length > 70) >
<#assign address = address?substring(0,70) >
</#if>
<#return address>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
<Issr>${cbank.custpage_eft_custrecord_2663_issuer_num}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${pfa.id}-1</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${getCountryCode(cbank.custpage_eft_custrecord_2663_bank_country)}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_bank_address1),70)}</AdrLine>
<AdrLine>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_bank_address2),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${cbank.custpage_eft_custrecord_2663_iban}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<InstrId>${pfa.id}-${payment.tranid}</InstrId>
<EndToEndId>${pfa.id}-${payment.tranid}</EndToEndId>
</PmtId>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertToLatinCharSet(buildEntityName(entity, false)),70)}</Nm>
<PstlAdr>
<Ctry>${convertToLatinCharSet(entity.billcountrycode)}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(buildEntityBillingAddress1(entity)),70)}</AdrLine>
<AdrLine>${setMaxLength(convertToLatinCharSet(buildEntityBillingAddress2(entity)),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${convertToLatinCharSet(entity.internalid)}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>${setMaxLength(convertToLatinCharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Austria;Germany |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (Austria)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (Austria)" country="AT" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{Batch Id}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
<PstlAdr>
<Ctry>{Country}</Ctry>
<AdrLine>{Address Line 1}</AdrLine>
<AdrLine>{Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
<Ccy>{Currency}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{Transaction Id}</InstrId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
<PstlAdr>
<Ctry>{Entity Country}</Ctry>
<AdrLine>{Entity Address Line 1}</AdrLine>
<AdrLine>{Entity Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Entity Identification}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
</field>
<field name="Batch Id">
<source type="batchId"/>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_country</sourceFld>
</source>
</field>
<field name="Address Line 1">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address1</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Address Line 2">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address2</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="Currency">
<source type="bankCurrency"/>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
</field>
<field name="Transaction Id">
<source type="tranId"/>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Country">
<source type="entityCountry"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 1">
<source type="entityAddress1"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 2">
<source type="entityAddress2"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Identification">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="referenceNote"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
29 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (Austria) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (Austria)">
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter the code used by the bank to identify your company. This is assigned by the bank."/>
<refField id="custrecord_2663_issuer_num" label="Issuer" mandatory="true" helptext="Enter the code used by the bank to identify fund transfers from your company. This is assigned by the bank."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_bank_address1" label="Address Line 1" mandatory="true" helptext="Enter the address line 1 information of your bank, such as its street address or PO box."/>
<refField id="custrecord_2663_bank_address2" label="Address Line 2" mandatory="true" helptext="Enter the address line 2 information of your bank, such as its building or apartment address."/>
<refField id="custrecord_2663_bank_country" label="Country" mandatory="true" helptext="Select the country where your company's bank is located."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the bank's Business Identifier Code (BIC), also called SWIFT code (eight or 11 characters)."/>
</refFields> |
|
value_29_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=29 |
29 |
SEPA Credit Transfer (Austria) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 30 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign note = "">
<#assign paymentTrans = transHash[payment.internalid]>
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0]>
<#assign note = transaction.tranid >
</#if>
<#if !note?has_content>
<#assign note = pfa.name >
</#if>
<#return note>
</#function>
<#function getCustomFormattedAmount amount>
<#assign value = formatAmount(amount,"dec")>
<#assign value = value?replace(".",",")>
<#return value>
</#function>
<#-- template building -->
#OUTPUT START#
:20:${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,16)}
:21R:${setLength(pfa.name,16)}
:50H:/${setLength(cbank.custpage_eft_custrecord_2663_iban,34)}
${setLength(cbank.custrecord_2663_legal_name,35)}
${setLength(cbank.custpage_eft_custrecord_2663_bank_address1,35)}
${setLength(cbank.custpage_eft_custrecord_2663_bank_city,35)}
${setLength(cbank.custpage_eft_custrecord_2663_bank_country,35)}
:52A:${setLength(cbank.custpage_eft_custrecord_2663_bic,8)}
:30:${pfa.custrecord_2663_process_date?string("yyMMdd")}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
:32B:${setLength(getCurrencySymbol(payment.currency),3)}${setLength(getCustomFormattedAmount(getAmount(payment)),15)}
:57A:${setLength(ebank.custrecord_2663_entity_bic,10)}
:59:/${setLength(ebank.custrecord_2663_entity_iban,34)}
${setLength(buildEntityName(entity,false),35)}
${setLength(entity.address1,35)}
${setLength(entity.city,35)}
${setLength(entity.billcountry,35)}
:70:${setLength(getReferenceNote(payment),35)}
:71A:SHA
</#list>
:19A:${setPadding(payments?size,"left","0",5)}
:19:${setLength(getCustomFormattedAmount(computeTotalAmount(payments,true)),17)}<#rt>
#OUTPUT END# |
Luxembourg |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ABBL VIR 2000'>
<refField id='custrecord_2663_entity_bic' label='BIC' mandatory='true' helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_city</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country="LU" name="ABBL VIR 2000" extension="txt">
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type="body">Detail</recordInfo>
<recordInfo>Footer</recordInfo>
</recordStructure>
<record name="Header">
<field name="Debtor Identification Tag">
<position>1</position>
<length>4</length>
<source type="value">:20:</source>
</field>
<field name="Debtor Identification">
<position>1</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Group Transfer Reference Tag">
<position>1</position>
<length>5</length>
<source type="value">:21R:</source>
<onNewline>true</onNewline>
</field>
<field name="Group Transfer Reference">
<position>1</position>
<length>16</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>name</sourceFld>
</source>
</field>
<field name="Group Transfer Sender Tag">
<position>1</position>
<length>6</length>
<source type="value">:50H:/</source>
<onNewline>true</onNewline>
</field>
<field name="Group Transfer Sender">
<position>1</position>
<length>34</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="Group Transfer Sender Name">
<position>1</position>
<length>35</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<onNewline>true</onNewline>
</field>
<field name="Address">
<position>1</position>
<length>35</length>
<source type="bankAddress1" />
<onNewline>true</onNewline>
</field>
<field name="City">
<position>1</position>
<length>35</length>
<source type="bankCity" />
<onNewline>true</onNewline>
</field>
<field name="Country">
<position>1</position>
<length>35</length>
<source type="bankCountryName" />
<onNewline>true</onNewline>
</field>
<field name="Sender Bank Code Tag">
<position>1</position>
<length>5</length>
<source type="value">:52A:</source>
<onNewline>true</onNewline>
</field>
<field name="Sender Bank Code">
<position>1</position>
<length>8</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
<field name="Execution Date Tag">
<position>1</position>
<length>4</length>
<source type="value">:30:</source>
<onNewline>true</onNewline>
</field>
<field name="Execution Date">
<position>1</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
</record>
<record name="Detail">
<field name="Currency Code Tag">
<position>1</position>
<length>5</length>
<source type="value">:32B:</source>
</field>
<field name="Currency Code">
<position>6</position>
<length>3</length>
<source type="currency"></source>
</field>
<field name="Amount">
<position>10</position>
<length>15</length>
<source type="amount" />
<format type="decimal">,</format>
</field>
<field name="Recipient BIC Code Tag">
<position>26</position>
<length>5</length>
<source type="value">:57A:</source>
<onNewline>true</onNewline>
</field>
<field name="Recipient BIC Code">
<position>31</position>
<length>10</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Recipient IBAN Code Tag">
<position>41</position>
<length>5</length>
<source type="value">:59:/</source>
<onNewline>true</onNewline>
</field>
<field name="Recipient IBAN Code">
<position>47</position>
<length>34</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Recipient Name">
<position>82</position>
<length>35</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<onNewline>true</onNewline>
</field>
<field name="Address">
<position>117</position>
<length>35</length>
<source type="entityAddress1"></source>
<onNewline>true</onNewline>
</field>
<field name="City">
<position>152</position>
<length>35</length>
<source type="entityCity"></source>
<onNewline>true</onNewline>
</field>
<field name="Country">
<position>187</position>
<length>35</length>
<source type="entityCountryName"></source>
<onNewline>true</onNewline>
</field>
<field name="Reason for Payment Tag">
<position>223</position>
<length>4</length>
<source type="value">:70:</source>
<onNewline>true</onNewline>
</field>
<field name="Reason for Payment">
<position>228</position>
<length>35</length>
<source type="referenceNote"></source>
</field>
<field name="Costs Tag">
<position>264</position>
<length>5</length>
<source type="value">:71A:</source>
<onNewline>true</onNewline>
</field>
<field name="Costs">
<position>270</position>
<length>3</length>
<source type="value">SHA</source>
</field>
</record>
<record name="Footer">
<field name="Number of Payments Tag">
<position>1</position>
<length>5</length>
<source type="value">:19A:</source>
</field>
<field name="Number of Payments">
<position>1</position>
<length>5</length>
<source type="totalPayments"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Amount Tag">
<position>1</position>
<length>4</length>
<source type="value">:19:</source>
<onNewline>true</onNewline>
</field>
<field name="Total Amount">
<position>1</position>
<length>17</length>
<source type="totalAmt"></source>
<format type="decimal">,</format>
</field>
</record>
</fileformat> |
F |
F |
F |
T |
30 |
6/24/2021 5:36 am |
5000 |
ABBL VIR 2000 |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ABBL VIR 2000">
<refField id="custrecord_2663_issuer_num" label="Issuer Number" mandatory="true" helptext="Enter the alphanumeric code (up to 16 characters) that identifies your company's account in the bank."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_bank_address1" label="Address 1" mandatory="true" helptext="Enter the address of your company's bank (street address, and building or apartment address). "/>
<refField id="custrecord_2663_bank_city" label="Bank City" mandatory="true" helptext="Enter the city where your company's bank is located."/>
<refField id="custrecord_2663_bank_country" label="Bank Country" mandatory="true" helptext="Select the country where your company's bank is located."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code, also called SWIFT code, of your company's bank (eight or 11 characters)."/>
</refFields> |
|
value_30_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=30 |
30 |
ABBL VIR 2000 |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 31 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
<Issr>${cbank.custpage_eft_custrecord_2663_issuer_num}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${pfa.id}-1</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${getCountryCode(cbank.custpage_eft_custrecord_2663_bank_country)}</Ctry>
<AdrLine>${cbank.custpage_eft_custrecord_2663_bank_address1} ${cbank.custpage_eft_custrecord_2663_bank_address2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${cbank.custpage_eft_custrecord_2663_iban}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<InstrId>${pfa.id}-${payment.tranid}</InstrId>
<EndToEndId>${pfa.id}-${payment.tranid}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertToLatinCharSet(buildEntityName(entity)),70)}</Nm>
<PstlAdr>
<Ctry>${convertToLatinCharSet(entity.billcountrycode)}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(entity.address1),70)} ${setMaxLength(convertToLatinCharSet(entity.address2),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${convertToLatinCharSet(entity.internalid)}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>${setMaxLength(convertToLatinCharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Netherlands |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (Netherlands)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (Netherlands)" country="NL" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{Batch Id}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
<PstlAdr>
<Ctry>{Country}</Ctry>
<AdrLine>{Address Line 1} {Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
<Ccy>{Currency}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{Transaction Id}</InstrId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
<PstlAdr>
<Ctry>{Entity Country}</Ctry>
<AdrLine>{Entity Address Line 1} {Entity Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Entity Identification}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
</field>
<field name="Batch Id">
<source type="batchId"/>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_country</sourceFld>
</source>
</field>
<field name="Address Line 1">
<source type="bankAddress1" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Address Line 2">
<source type="bankAddress2" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="Currency">
<source type="bankCurrency"/>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Country">
<source type="entityCountry"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 1">
<source type="entityAddress1"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 2">
<source type="entityAddress2"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Identification">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="referenceNote"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
31 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (Netherlands) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (Netherlands)">
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter the code the bank uses to identify your company. This is assigned by the bank."/>
<refField id="custrecord_2663_issuer_num" label="Issuer" mandatory="true" helptext="Enter the code the bank uses to identify fund transfers from your company. This is assigned by the bank."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_bank_address1" label="Address Line 1" mandatory="true" helptext="Enter the street address of your company's bank."/>
<refField id="custrecord_2663_bank_address2" label="Address Line 2" mandatory="true" helptext="Enter the building, city, or town address of your company's bank."/>
<refField id="custrecord_2663_bank_country" label="Country" mandatory="true" helptext="Select the country where your company's bank is located."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company's bank (eight or 11 characters). "/>
</refFields> |
|
value_31_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=31 |
31 |
SEPA Credit Transfer (Netherlands) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 32 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="APC:STUZZA:payments:ISO:pain:001:001:02:austrian:002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<pain.001.001.02>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<Grpg>MIXD</Grpg>
<InitgPty>
<Id>
<OrgId>
<BkPtyId>${cbank.custpage_eft_custrecord_2663_issuer_num}</BkPtyId>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${pfa.id}-1</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${cbank.custpage_eft_custrecord_2663_iban}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<EndToEndId>${pfa.id}-${payment.tranid}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertToLatinCharSet(buildEntityName(entity, false)),70)}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>${setMaxLength(convertToLatinCharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</pain.001.001.02>
</Document><#rt>
#OUTPUT END# |
Austria |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA (Austria) Pain.001.001.02">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="false" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA (Austria) Pain.001.001.02" country="AT" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="APC:STUZZA:payments:ISO:pain:001:001:02:austrian:002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<pain.001.001.02>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<Grpg>MIXD</Grpg>
<InitgPty>
<Id>
<OrgId>
<BkPtyId>{Issuer}</BkPtyId>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{Batch Id}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<CdtTrfTxInf>
<PmtId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</pain.001.001.02>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
</field>
<field name="Batch Id">
<source type="batchId"/>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
</field>
<field name="Transaction Id">
<source type="tranId"/>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="referenceNote"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
32 |
9/9/2021 4:24 am |
5000 |
SEPA (Austria) Pain.001.001.02 |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA (Austria) Pain.001.001.02">
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter the code used by the bank to identify your company. This is assigned by the bank."/>
<refField id="custrecord_2663_issuer_num" label="Issuer" mandatory="true" helptext="Enter the code used by the bank to identify fund transfers from your company. This is assigned by the bank."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_bank_address1" label="Address Line 1" mandatory="true" helptext="Enter the address line 1 information of your bank, such as its street address or PO box."/>
<refField id="custrecord_2663_bank_address2" label="Address Line 2" mandatory="true" helptext="Enter the address line 2 information of your bank, such as its building or apartment address."/>
<refField id="custrecord_2663_bank_country" label="Country" mandatory="true" helptext="Select the country where your company's bank is located."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="false" helptext="Enter the bank's Business Identifier Code (BIC), also called SWIFT code (eight or 11 characters)."/>
</refFields> |
|
value_32_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=32 |
32 |
SEPA (Austria) Pain.001.001.02 |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 33 |
<#function formatHashTotal totalHash>
<#assign value = totalHash?c>
<#assign value = value?string>
<#if (value?string?length > 11)>
<#assign offset = value?string?length - 11>
<#assign value = value?substring(offset)>
</#if>
<#return value?string>
</#function>
<#function getHashValue data>
<#assign value = data?string>
<#assign value = value?substring(2,13)>
<#return value?number>
</#function>
<#function getReferenceNote payment>
<#assign paymentTrans = transHash[payment.internalid]>
<#assign refNote = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0]>
<#assign refNote = transaction.tranid>
</#if>
<#return refNote>
</#function>
<#assign totalAmount = 0>
<#assign totalPayments = 0>
<#assign totalHash = 0>
<#assign index = 0>
<#-- template building -->
#OUTPUT START#
1,,,,,,${setPadding(pfa.custrecord_2663_process_date?string("yyyyMMdd"), "left", " ", 8)},${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyyyMMdd"), "left", " ", 8)},
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign totalAmount = totalAmount + getAmount(payment)>
<#assign totalPayments = totalPayments + 1>
<#assign totalHash = totalHash + getHashValue(ebank.custrecord_2663_entity_bban)>
2,${setMaxLength(ebank.custrecord_2663_entity_bban, 16)},50,${setMaxLength(formatAmount(getAmount(payment)), 11)},${setMaxLength(buildEntityName(entity), 20)},${setMaxLength(getReferenceNote(payment), 12)},${setMaxLength(ebank.custrecord_2663_entity_payment_desc, 12)},,${setMaxLength(pfa.custrecord_2663_ref_note, 12)},${setMaxLength(cbank.custrecord_2663_print_company_name, 20)},,${setMaxLength(getReferenceNote(payment), 12)},${setMaxLength(pfa.id, 12)}
</#list>
3,${formatAmount(totalAmount)},${totalPayments?c},${formatHashTotal(totalHash)}<#rt>
#OUTPUT END# |
New Zealand |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ANZ'>
<refField id='custrecord_2663_entity_bban' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_payment_desc' label='Payment Description' mandatory='false' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='NZ' delimiter=',' name='ANZ'>
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type='body'>Transaction</recordInfo>
<recordInfo>Control</recordInfo>
</recordStructure>
<record name='Header'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Subscriber ID'>
<position>2</position>
<length>16</length>
<setFixed>false</setFixed>
</field>
<field name='Batch Number'>
<position>3</position>
<length>4</length>
<setFixed>false</setFixed>
</field>
<field name='Reserved (blank)'>
<position>4</position>
<length>4</length>
<setFixed>false</setFixed>
</field>
<field name='Subscriber Account No.'>
<position>5</position>
<length>15</length>
<setFixed>false</setFixed>
</field>
<field name='Batch Type'>
<length>1</length>
<position>6</position>
<setFixed>false</setFixed>
</field>
<field name='Batch Due Date'>
<position>7</position>
<length>8</length>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYYYMMDD</format>
<setFixed>false</setFixed>
</field>
<field name='Batch Creation Date'>
<position>8</position>
<length>8</length>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_file_creation_timestamp</sourceFld>
</source>
<format type='date'>YYYYMMDD</format>
<setFixed>false</setFixed>
</field>
<field name='Header End'>
<position>16</position>
<length>1</length>
<setFixed>false</setFixed>
</field>
</record>
<record name='Transaction'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>2</source>
<setFixed>false</setFixed>
</field>
<field name='Account Number'>
<position>10</position>
<length>16</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bban</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Transaction Code'>
<position>11</position>
<length>2</length>
<source type='value'>50</source>
<setFixed>false</setFixed>
</field>
<field name='Amount'>
<position>12</position>
<length>11</length>
<source type='amount' />
<setFixed>false</setFixed>
</field>
<field name='Other Party Name'>
<position>13</position>
<length>20</length>
<maxLength>20</maxLength>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Other Party Reference'>
<position>14</position>
<length>12</length>
<maxLength>12</maxLength>
<source type="referenceNote"></source>
<setFixed>false</setFixed>
</field>
<field name='Other Party Analysis Code'>
<position>15</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name='Other Party Alpha Reference'>
<position>16</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name='Other Party Particulars'>
<position>17</position>
<length>12</length>
<maxLength>12</maxLength>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Subscribers Name'>
<position>18</position>
<length>20</length>
<maxLength>20</maxLength>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Subscribers Analysis Code'>
<position>19</position>
<length>12</length>
<setFixed>false</setFixed>
</field>
<field name='Subscriber Reference'>
<position>20</position>
<length>12</length>
<maxLength>12</maxLength>
<source type='referenceNote'></source>
<setFixed>false</setFixed>
</field>
<field name='Subscriber Particulars'>
<position>21</position>
<length>12</length>
<source type='paymentFileNum'></source>
<setFixed>false</setFixed>
</field>
<field name="Account Number Hash">
<position>22</position>
<length>16</length>
<source type="entityAccountHash">dummy</source>
<setFixed>false</setFixed>
<format type='hidden' />
</field>
</record>
<record name='Control'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>3</source>
<setFixed>false</setFixed>
</field>
<field name='Batch Total Amount'>
<position>24</position>
<length>11</length>
<source type='totalAmt'></source>
<setFixed>false</setFixed>
</field>
<field name='Number of Transactions'>
<position>25</position>
<length>5</length>
<source type='totalPayments'></source>
<setFixed>false</setFixed>
</field>
<field name='Bank Account Hash'>
<position>26</position>
<length>11</length>
<source type='hashEntityAccount' />
<setFixed>false</setFixed>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
33 |
6/24/2021 5:36 am |
5000 |
ANZ |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ANZ">
<refField id="custrecord_2663_bban" label="Account Number" mandatory="true" helptext="Enter your 15-digit or 16-digit bank account number."/>
</refFields> |
|
value_33_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=33 |
33 |
ANZ |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 34 |
<#-- format specific processing -->
<#assign totalAmount = 0>
<#assign entityAccountHash = 0>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
</#if>
<#return "">
</#function>
<#-- template building -->
#OUTPUT START#
12${setLength(cbank.custpage_eft_custrecord_2663_bank_num,2)}${setLength(cbank.custpage_eft_custrecord_2663_branch_num,4)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,7)}${setLength(cbank.custpage_eft_custrecord_2663_bank_code,3)}${pfa.custrecord_2663_process_date?string("ddMMyy")}${setPadding("","left"," ",7)}${setLength(cbank.custrecord_2663_print_company_name,20)}${setPadding("","left"," ",109)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
<#assign entityAccountHash = entityAccountHash + ebank.custrecord_2663_entity_bban?substring(2, 13)?number>
13${setLength(ebank.custrecord_2663_entity_bank_no,2)}${setLength(ebank.custrecord_2663_entity_branch_no,4)}${setLength(ebank.custrecord_2663_entity_acct_no,7)}${setLength(ebank.custrecord_2663_entity_acct_suffix,3)}051${setPadding(formatAmount(amount),"left","0",10)}${setLength(buildEntityName(entity,false),20)}${setLength(pfa.custrecord_2663_ref_note,12)}${setLength(ebank.custrecord_2663_entity_payment_desc,12)}${setLength(getReferenceNote(payment),12)}${setLength(ebank.custrecord_2663_entity_bban,12)}${setPadding("","left"," ",1)}${setLength(cbank.custrecord_2663_print_company_name,20)}${setLength(entity.entityid,12)}${setLength(buildEntityName(entity,false),12)}${setPadding("","left"," ",16)}
</#list>
1399${setPadding(entityAccountHash?c,"left","0",11)}${setPadding("","left"," ",6)}${setPadding(formatAmount(totalAmount),"left","0",10)}${setPadding("","left"," ",129)}<#rt>
#OUTPUT END# |
New Zealand |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ASB'>
<refField id='custrecord_2663_entity_bban' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Unique Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_suffix' label='Bank Suffix' displaytype='disabled' />
<refField id='custrecord_2663_entity_payment_desc' label='Payment Description' mandatory='false' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='NZ' name='ASB'>
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type='body'>Detail</recordInfo>
<recordInfo>Trailer</recordInfo>
</recordStructure>
<record name='Header'>
<field name='File Type'>
<position>1</position>
<length>2</length>
<source type='value'>12</source>
</field>
<field name='Bank Number'>
<position>3</position>
<length>2</length>
<source type="bankBankNumber"></source>
</field>
<field name='Branch Number'>
<position>5</position>
<length>4</length>
<source type="bankBranchNumber"></source>
</field>
<field name='Bank Unique Number'>
<position>9</position>
<length>7</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Suffix'>
<position>16</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name='Due Date'>
<position>19</position>
<length>6</length>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>DDMMYY</format>
</field>
<field name='Filler'>
<position>25</position>
<length>7</length>
</field>
<field name='Client Name'>
<position>32</position>
<length>20</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Filler'>
<position>52</position>
<length>109</length>
</field>
</record>
<record name='Detail'>
<field name='Record Type'>
<position>1</position>
<length>2</length>
<source type='value'>13</source>
</field>
<field name='Bank Number'>
<position>3</position>
<length>2</length>
<source type='entityBankNumber'></source>
</field>
<field name='Branch Number'>
<position>5</position>
<length>4</length>
<source type='entityBranchNumber'></source>
</field>
<field name='Account Number'>
<position>9</position>
<length>7</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Suffix'>
<position>16</position>
<length>3</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_suffix</sourceFld>
</source>
</field>
<field name='Transaction Code'>
<position>19</position>
<length>3</length>
<source type='value'>051</source>
</field>
<field name='Amount'>
<position>22</position>
<length>10</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Payee Name'>
<position>32</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name='Internal Reference'>
<position>52</position>
<length>12</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name='Payee Code'>
<position>64</position>
<length>12</length>
</field>
<field name='Payee Reference'>
<position>76</position>
<length>12</length>
<source type="referenceNote"></source>
</field>
<field name='Payee Particulars'>
<position>88</position>
<length>12</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bban</sourceFld>
</source>
</field>
<field name='Filler'>
<position>100</position>
<length>1</length>
</field>
<field name='Payer Name'>
<position>101</position>
<length>20</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Payer Code'>
<position>121</position>
<length>12</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityidtext</sourceFld>
</source>
</field>
<field name='Payer Reference'>
<position>133</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name='Payee Particulars'>
<position>145</position>
<length>12</length>
</field>
<field name='Filler'>
<position>156</position>
<length>4</length>
</field>
<field name="Account Number Hash">
<position>168</position>
<length>16</length>
<source type="entityAccountHash">dummy</source>
<format type='hidden' />
</field>
</record>
<record name='Trailer'>
<field name='Record Type'>
<position>1</position>
<length>2</length>
<source type='value'>13</source>
</field>
<field name='Key Field'>
<position>3</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Import File Check Total'>
<position>5</position>
<length>11</length>
<source type='hashEntityAccount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Filler'>
<position>16</position>
<length>6</length>
</field>
<field name='Total Amount'>
<position>22</position>
<length>10</length>
<source type='totalAmt'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Filler'>
<position>32</position>
<length>129</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
34 |
6/24/2021 5:36 am |
5000 |
ASB |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="ASB">
<refField id="custrecord_2663_bban" label="Account Number" mandatory="true" helptext="Enter your 15-digit or 16-digit bank account number."/>
<refField id="custrecord_2663_bank_num" label="Bank Number" displaytype="disabled" helptext="This field displays the bank number based on the value in the Account Number field."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" displaytype="disabled" helptext="This field displays the branch number based on the value in the Account Number field."/>
<refField id="custrecord_2663_acct_num" label="Unique Account Number" displaytype="disabled" helptext="This field displays your unique account number based on the value in the Account Number field."/>
<refField id="custrecord_2663_bank_code" label="Bank Suffix" displaytype="disabled" helptext="This field displays the bank suffix based on the value in the Account Number field."/>
</refFields> |
|
value_34_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=34 |
34 |
ASB |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 35 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + " " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#assign seqId = 0>
<#function computeSequenceId>
<#assign seqId = getSequenceId(false)>
<#if seqId == 968>
<#assign seqId = 1>
<#else>
<#assign seqId = seqId + 1>
</#if>
<#return seqId>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
VOL1${setPadding(pfa.id,"left","0",6)}${setLength("",31)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,6)}${setLength("",33)}
HDR1 A${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,6)}S${setLength("",9)}00000 00000 00000F${setLength("",7)}${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyMMdd"),"left"," ",6)}0100${setLength("",5)}B${setLength("",17)}
UHL1${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left"," ",6)}000090${setLength("",4)}01000000${setLength("1 DAILY",9)}${setPadding(computeSequenceId(),"left","0",3)}${setLength("",40)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)}099${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}0000${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_print_company_name?upper_case,18)}${setLength(getReferenceNote(payment)?upper_case,18)}${setLength(buildEntityName(entity,false)?upper_case,18)}
</#list>
${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}017${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}0000${setPadding(formatAmount(totalAmount),"left","0",11)}${setLength("",18)}${setLength("CONTRA",18)}${setLength(cbank.custrecord_2663_print_company_name?upper_case,18)}
UTL1${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding(formatAmount(totalAmount),"left","0",13)}0000001${setPadding(payments?size?c,"left","0",7)}${setLength("",36)}
#OUTPUT END#
#RETURN START#
sequenceId:${seqId}
#RETURN END# |
Ireland;Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACS - Bank of Ireland'>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_print_company_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='IE' crlf='true' name='BACS - Bank of Ireland'>
<recordStructure>
<recordInfo>VOL1</recordInfo>
<recordInfo>HDR1</recordInfo>
<recordInfo>UHL1</recordInfo>
<recordInfo type='body'>Standard</recordInfo>
<recordInfo>Contra</recordInfo>
<recordInfo>UTL1</recordInfo>
</recordStructure>
<record name='VOL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>VOL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Volume Serial Number'>
<length>6</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Filler'>
<length>31</length>
<position>11</position>
</field>
<field name='Owner Identification'>
<length>6</length>
<position>42</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name='Filler'>
<length>33</length>
<position>48</position>
</field>
</record>
<record name='HDR1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Reserved'>
<length>1</length>
<position>5</position>
</field>
<field name='File Identifier - A'>
<length>1</length>
<position>6</position>
<source type='value'>A</source>
</field>
<field name='File Identifier - Owner Identification'>
<length>6</length>
<position>7</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name='File Identifier - S'>
<length>1</length>
<position>13</position>
<source type='value'>S</source>
</field>
<field name='Filler'>
<length>9</length>
<position>14</position>
</field>
<field name='Blocked Length'>
<length>5</length>
<position>23</position>
<align>right</align>
<padding>0</padding>
</field>
<field name='Filler'>
<length>1</length>
<position>28</position>
</field>
<field name='Begin Extent'>
<length>5</length>
<position>29</position>
<align>right</align>
<padding>0</padding>
</field>
<field name='Filler'>
<length>1</length>
<position>34</position>
</field>
<field name='End Extent'>
<length>5</length>
<position>35</position>
<align>right</align>
<padding>0</padding>
</field>
<field name='Record Format'>
<length>1</length>
<position>40</position>
<source type='value'>F</source>
</field>
<field name='Filler'>
<length>7</length>
<position>41</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>48</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYMMDD</format>
</field>
<field name='Record Length'>
<length>4</length>
<position>54</position>
<align>right</align>
<source type='value'>0100</source>
</field>
<field name='Filler'>
<length>5</length>
<position>58</position>
</field>
<field name='Record Attribute'>
<length>1</length>
<position>63</position>
<source type='value'>B</source>
</field>
<field name='Filler'>
<length>17</length>
<position>64</position>
</field>
</record>
<record name='UHL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UHL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='BACS Processing Day'>
<length>6</length>
<position>5</position>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYDDD</format>
</field>
<field name='Filler'>
<length>4</length>
<position>11</position>
<padding>0</padding>
</field>
<field name='Receiver ID'>
<length>2</length>
<position>15</position>
<source type='value'>90</source>
</field>
<field name='Filler'>
<length>4</length>
<position>17</position>
</field>
<field name='Currency Code'>
<length>2</length>
<position>21</position>
<source type='value'>01</source>
</field>
<field name='Filler'>
<length>6</length>
<position>23</position>
<padding>0</padding>
</field>
<field name='Work Code'>
<length>9</length>
<position>29</position>
<source type='value'>1 DAILY</source>
</field>
<field name='File Number'>
<length>3</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='sequenceId'/>
</field>
<field name='Filler'>
<length>40</length>
<position>41</position>
</field>
</record>
<record name='Standard'>
<field name='Destination Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Destination Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Type of Account Code'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Originating Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Originating Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Filler'>
<position>32</position>
<length>4</length>
<padding>0</padding>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='User Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='User Reference No.'>
<position>65</position>
<length>18</length>
<source type='referenceNote'/>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
</record>
<record name='Contra'>
<field name='Senders Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Senders Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>17</source>
</field>
<field name='Originating Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Originating Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Filler'>
<position>32</position>
<length>4</length>
<padding>0</padding>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='totalAmt' />
<padding>0</padding>
<align>right</align>
</field>
<field name='User Narrative'>
<position>47</position>
<length>18</length>
</field>
<field name='Contra Reference'>
<position>65</position>
<length>18</length>
<source type='value'>CONTRA</source>
</field>
<field name='Name of Bank Account'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
</record>
<record name='UTL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UTL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Total Debit'>
<length>13</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Total Credit'>
<length>13</length>
<position>18</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Count of debit records'>
<length>7</length>
<position>31</position>
<source type='value'>1</source>
<align>right</align>
<padding>0</padding>
</field>
<field name='Count of credit records'>
<length>7</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Filler'>
<length>36</length>
<position>45</position>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
35 |
9/9/2021 4:23 am |
5000 |
BACS - Bank of Ireland |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BACS - Bank of Ireland">
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
<refField id="custrecord_2663_issuer_num" label="Authorized ID No." mandatory="true" helptext="Enter your company's 6-digit, alphanumeric issuer number. This number is assigned by the bank."/>
</refFields> |
|
value_35_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=35 |
35 |
BACS - Bank of Ireland |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 37 |
<#-- format specific processing -->
<#assign newSeqId = 0>
<#function computeSequenceId>
<#assign lastSeqNo = getSequenceId(true)>
<#assign newSeqId = lastSeqNo + 1>
<#-- do char code to character conversion -->
<#assign seqId = (lastSeqNo % 26) + 65>
<#assign seqId = seqId?string?replace("65","A")>
<#assign seqId = seqId?string?replace("66","B")>
<#assign seqId = seqId?string?replace("67","C")>
<#assign seqId = seqId?string?replace("68","D")>
<#assign seqId = seqId?string?replace("69","E")>
<#assign seqId = seqId?string?replace("70","F")>
<#assign seqId = seqId?string?replace("71","G")>
<#assign seqId = seqId?string?replace("72","H")>
<#assign seqId = seqId?string?replace("73","I")>
<#assign seqId = seqId?string?replace("74","J")>
<#assign seqId = seqId?string?replace("75","K")>
<#assign seqId = seqId?string?replace("76","L")>
<#assign seqId = seqId?string?replace("77","M")>
<#assign seqId = seqId?string?replace("78","N")>
<#assign seqId = seqId?string?replace("79","O")>
<#assign seqId = seqId?string?replace("80","P")>
<#assign seqId = seqId?string?replace("81","Q")>
<#assign seqId = seqId?string?replace("82","R")>
<#assign seqId = seqId?string?replace("83","S")>
<#assign seqId = seqId?string?replace("84","T")>
<#assign seqId = seqId?string?replace("85","U")>
<#assign seqId = seqId?string?replace("86","V")>
<#assign seqId = seqId?string?replace("87","W")>
<#assign seqId = seqId?string?replace("88","X")>
<#assign seqId = seqId?string?replace("89","Y")>
<#assign seqId = seqId?string?replace("90","Z")>
<#return seqId>
</#function>
<#function isBalanceLine>
<#return cbank.custpage_dd_custrecord_2663_balance_line >
</#function>
<#function getBankServiceClassCode>
<#assign value = "">
<#if isBalanceLine() >
<#assign value = "200">
<#else>
<#assign value = "225">
</#if>
<#return value>
</#function>
<#function getEntityBankAccountType bankAccount>
<#assign value = "">
<#if bankAccount == "Savings" >
<#assign value = "37">
<#else>
<#assign value = "27">
</#if>
<#return value>
</#function>
<#function getBalanceLineTransactionCode>
<#assign value = "">
<#if isBalanceLine() >
<#assign cbankAcctType = cbank.custpage_dd_custrecord_2663_bank_acct_type>
<#if cbankAcctType == "Savings">
<#assign value = "32">
<#else>
<#assign value = "22">
</#if>
</#if>
<#return value>
</#function>
<#function computeTotalRecords recordCount>
<#assign value = (recordCount / 10) >
<#assign value = value?ceiling >
<#return value>
</#function>
<#function getTotalCreditAmt totalAmount>
<#assign value = 0>
<#if isBalanceLine() >
<#assign value = totalAmount>
</#if>
<#return value>
</#function>
<#-- counters / flags-->
<#assign recordCount = 0>
<#assign batchCount = 0>
<#assign batchLineNum = 0>
<#assign entityBankNumberHash = 0>
<#assign totalAmount = 0>
<#-- format building -->
#OUTPUT START#
101 ${setLength(cbank.custpage_dd_custrecord_2663_bank_num,9)}${setLength(cbank.custpage_dd_custrecord_2663_bank_comp_id,10)}${pfa.custrecord_2663_file_creation_timestamp?date?string("yyMMdd")}${pfa.custrecord_2663_file_creation_timestamp?time?string("HHmm")}${setLength(computeSequenceId(),1)}094101${setLength(cbank.custpage_dd_custrecord_2663_bank_name,23)}${setLength(cbank.custrecord_2663_legal_name,23)}${setLength(pfa.id,8)}
<#assign recordCount = recordCount + 1>
<#assign batchCount = batchCount + 1>
5${getBankServiceClassCode()}${setLength(cbank.custrecord_2663_legal_name,16)}${setLength("",20)}${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,10)}PPD${setLength("Payment",10)}${pfa.custrecord_2663_process_date?string("yyMMdd")}${pfa.custrecord_2663_process_date?string("yyMMdd")}${setLength("",3)}1${setLength(cbank.custpage_dd_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_dd_custrecord_2663_bank_code,4)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = ebanks[payment_index]>
<#assign ebankAccNum = ebank_accountnums.list[payment_index]>
<#assign entity = entities[payment_index]>
<#assign entityHash = setMaxLength(ebank.custrecord_2663_entity_bank_no,8)>
<#assign entityBankNumberHash = entityBankNumberHash + entityHash?number>
<#assign amount = getAmount(payment)>
<#assign totalAmount = totalAmount + amount>
6${setLength(getEntityBankAccountType(ebank.custrecord_2663_entity_bank_acct_type),2)}${setLength(entityHash,8)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(ebankAccNum.custrecord_2663_entity_acct_no,17)}${setPadding(formatAmount(amount),"left","0",10)}${setLength(entity.internalid,15)}${setLength(buildEntityName(entity,false),22)} 0${setLength(cbank.custpage_dd_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_dd_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#list>
<#if isBalanceLine()>
<#assign batchLineNum = batchLineNum + 1>
<#assign entityBankNumberHash = entityBankNumberHash + cbank.custpage_dd_custrecord_2663_bank_num?substring(0,8)?number>
6${setLength(getBalanceLineTransactionCode(),2)}${setLength(cbank.custpage_dd_custrecord_2663_bank_num,9)}${setLength(cbank.custpage_dd_custrecord_2663_acct_num,17)}${setPadding(formatAmount(totalAmount),"left","0",10)}${setLength("",15)}${setLength(cbank.custrecord_2663_print_company_name,22)} 0${setLength(cbank.custpage_dd_custrecord_2663_processor_code,4)}${setLength(cbank.custpage_dd_custrecord_2663_bank_code,4)}${setPadding(batchLineNum,"left","0",7)}
<#assign recordCount = recordCount + 1>
</#if>
8${getBankServiceClassCode()}${setPadding(batchLineNum,"left","0",6)}${setPadding(entityBankNumberHash?c,"left","0",10)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding(formatAmount(getTotalCreditAmt(totalAmount)),"left","0",12)}${setLength(cbank.custpage_dd_custrecord_2663_issuer_num,10)}${setLength("",25)}${setLength(cbank.custpage_dd_custrecord_2663_bank_num,8)}${setPadding(batchCount,"left","0",7)}
<#assign recordCount = recordCount + 2>
<#if cbank.custpage_dd_custrecord_2663_pad_blocks && (recordCount % 10 > 0)>
<#assign numBlocks = 10 - (recordCount % 10) >
<#assign padding = "9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999">
<#assign padBlocksString = "\n">
<#list 1..numBlocks as i>
<#assign padBlocksString = padBlocksString + padding + "\n">
</#list>
</#if>
9${setPadding(batchCount,"left","0",6)}${setPadding(computeTotalRecords(recordCount),"left","0",6)}${setPadding(batchLineNum,"left","0",8)}${setPadding(entityBankNumberHash?c,"left","0",10)}${setPadding(formatAmount(totalAmount),"left","0",12)}${setPadding("","left","0",12)}${setLength("",39)}${padBlocksString}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ACH - PPD'>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_bank_acct_type' mandatory='true' label='Bank Account Type'/>
<refField id='custrecord_2663_entity_country_check' label='Country Check' displaytype='disabled' />
<refField id='custrecord_2663_entity_bank_code' label='Bank Code' displaytype='disabled' helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id='custrecord_2663_entity_processor_code' label='Processor Code' displaytype='disabled' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>10</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>10</param>
<param name='maxLength'>10</param>
</validator>
<validator type="alpha">
<param name="specialChars">0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>23</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>16</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type='len'>
<param name='minLength'>9</param>
<param name='maxLength'>9</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type='len'>
<param name='maxLength'>17</param>
</validator>
<validator type="alpha">
<param name="specialChars">!"#$%&'()*+,-.\/:;<=>?@\[\\\]^_`\{|\}~0-9</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="ACH - PPD" extension="txt">
<recordStructure>
<recordInfo>File Header</recordInfo>
<recordInfo type="batch" hideWhenEmpty="true">
PPD
<recordInfo>PPD Batch Header</recordInfo>
<recordInfo type="bodybatch">
PPD Detail
<recordInfo type="body">PPD Detail Main</recordInfo>
</recordInfo>
<recordInfo type="balance" hideWhenEmpty="true">PPD Balance Entry Record</recordInfo>
<recordInfo>PPD Batch Control</recordInfo>
</recordInfo>
<recordInfo>File Control</recordInfo>
</recordStructure>
<record name="File Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Priority Code">
<position>2</position>
<length>2</length>
<source type="value">01</source>
</field>
<field name="Immediate Destination Pad">
<position>4</position>
<length>1</length>
</field>
<field name="Immediate Destination">
<position>5</position>
<length>9</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Immediate Origin">
<position>14</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
</field>
<field name="File Creation Date">
<position>24</position>
<length>6</length>
<source type="currentDate">dummy</source>
<format type="date">YYMMDD</format>
</field>
<field name="File Creation Time">
<position>30</position>
<length>4</length>
<source type="currentTime">dummy</source>
<format type="time">HHmm</format>
</field>
<field name="File ID Modifier">
<position>34</position>
<length>1</length>
<source type="sequenceId">dummy</source>
</field>
<field name="Record Size">
<position>35</position>
<length>3</length>
<source type="value">094</source>
</field>
<field name="Blocking Factor">
<position>38</position>
<length>2</length>
<source type="value">10</source>
</field>
<field name="Format Code">
<position>40</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Immediate Destination Name">
<position>41</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Immediate Origin Name">
<position>64</position>
<length>23</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<align>left</align>
</field>
<field name="Reference Code">
<position>87</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
<align>left</align>
</field>
</record>
<record name="PPD Batch Header">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">5</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Company Name">
<position>5</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>21</position>
<length>20</length>
</field>
<field name="Company Identification">
<position>41</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Standard Entry Class">
<position>51</position>
<length>3</length>
<source type="value">PPD</source>
</field>
<field name="Company Entry Description">
<position>54</position>
<length>10</length>
<source type="value">Payment</source>
</field>
<field name="Company Descriptive Date">
<position>64</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Effective Entry Date">
<position>70</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYMMDD</format>
</field>
<field name="Reserved (Settlement Date)">
<position>76</position>
<length>3</length>
</field>
<field name="Originator Status Code">
<position>79</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Originating DFI Identification - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Originating DFI Identification - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Detail Main">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="entityBankAccountType"></source>
</field>
<field name="Recipient DFI Identification">
<position>4</position>
<length>8</length>
<source type="batchEntityBankNumberHash">dummy</source>
</field>
<field name="Recipient Check Digit">
<position>12</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name="Recipients Account Number">
<position>13</position>
<length>17</length>
<source type="entityAccount">dummy</source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="batchAmount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
</field>
<field name="Recipient Company Name">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number - 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number - 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number - 3">
<position>88</position>
<length>7</length>
<source type="batchLineNum">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Balance Entry Record">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">6</source>
</field>
<field name="Transaction Code">
<position>2</position>
<length>2</length>
<source type="balanceLineTransactionCode">dummy</source>
</field>
<field name="Offsetting DFI Identification">
<position>4</position>
<length>9</length>
<source type="bankBankNumber"></source>
</field>
<field name="Offsetting Account Number">
<position>13</position>
<length>17</length>
<source type="bankAccount"></source>
</field>
<field name="Amount">
<position>30</position>
<length>10</length>
<source type="totalBatchAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Identification Number">
<position>40</position>
<length>15</length>
</field>
<field name="Description">
<position>55</position>
<length>22</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name="Discretionary Data">
<position>77</position>
<length>2</length>
</field>
<field name="Addenda Record Indicator">
<position>79</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Trace Number 1">
<position>80</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="Trace Number 2">
<position>84</position>
<length>4</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Trace Number 3">
<position>88</position>
<length>7</length>
<source type="balanceLineNum"></source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="PPD Batch Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">8</source>
</field>
<field name="Service Class Code">
<position>2</position>
<length>3</length>
<source type="bankServiceClassCode"></source>
</field>
<field name="Entry / Addenda Count">
<position>5</position>
<length>6</length>
<source type="totalBatchLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Hash Entry">
<position>11</position>
<length>10</length>
<source type="hashBatchEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debits">
<position>21</position>
<length>12</length>
<source type="totalBatchAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credits">
<position>33</position>
<length>12</length>
<padding>0</padding>
<source type="totalCreditAmt">dummy</source>
<align>right</align>
</field>
<field name="Company Identification">
<position>45</position>
<length>10</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name="Msg. Authentication Code">
<position>55</position>
<length>19</length>
</field>
<field name="Reserved">
<position>74</position>
<length>6</length>
</field>
<field name="Originating DFI Identification">
<position>80</position>
<length>8</length>
<source type="bankBankNumber">dummy</source>
</field>
<field name="Batch Number">
<position>88</position>
<length>7</length>
<source type="batchId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
</record>
<record name="File Control">
<field name="Record Code">
<position>1</position>
<length>1</length>
<source type="value">9</source>
</field>
<field name="Batch Count">
<position>2</position>
<length>6</length>
<source type="batchCount">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Block Count">
<position>8</position>
<length>6</length>
<source type="totalRecords">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry / Addenda Count">
<position>14</position>
<length>8</length>
<source type="totalLines">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Entry Hash">
<position>22</position>
<length>10</length>
<source type="hashEntityBankNumber">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Debit Amount in File">
<position>32</position>
<length>12</length>
<source type="totalAmt">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Total Credit Amount in File">
<position>44</position>
<length>12</length>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reserved">
<position>56</position>
<length>39</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
37 |
8/22/2021 1:19 am |
5000 |
ACH - PPD |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="ACH - PPD">
<refField id="custrecord_2663_bank_comp_id" label="Immediate Origin" mandatory="true" helptext="Enter the 9 or 10 characters company id assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_issuer_num" label="Company ID" mandatory="true" helptext="Enter the 10-digit company number assigned by your bank. This is usually one digit followed by your company's tax Id."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number."/>
<refField id="custrecord_2663_bank_num" label="Routing Number" mandatory="true" helptext="Enter the bank's transit routing number."/>
<refField id="custrecord_2663_bank_name" label="Immediate Destination Name" mandatory="true" helptext="Enter the name of the bank’s site where the payment will be processed."/>
<refField id="custrecord_2663_bank_acct_type" label="Bank Account Type" helptext="Select Checking or Savings to indicate the bank account type. "/>
<refField id="custrecord_2663_balance_line" label="Create Balanced Files" helptext="If your bank requires balanced files for EFT transactions, check this box to include a balancing line in the payment file to indicate the amount debited from your company’s bank account. Clear this box if your bank accepts unbalanced files."/>
<refField id="custrecord_2663_pad_blocks" label="Add Pad Blocks" helptext="Some banks require payment files to contain lines in multiples of 10. Check this box to add lines with "9" characters at the end of the payment file when the total number of records is not a multiple of 10. Clear this box if your bank does not require pad blocks."/>
<refField id="custrecord_2663_processor_code" label="Federal Reserve Routing Symbol" displaytype="disabled" helptext="This field displays the Federal Reserve Routing Symbol based on the routing number that you entered."/>
<refField id="custrecord_2663_bank_code" label="ABA Institution Identifier" displaytype="disabled" helptext="This field displays the ABA institution identifier based on the routing number."/>
<refField id="custrecord_2663_country_check" label="Check Digit" displaytype="disabled" helptext="This field diplays the check digit based on the routing number that you entered."/>
</refFields> |
|
value_37_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=37 |
37 |
ACH - PPD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 38 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + " " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- cached / dynamic values -->
<#assign totalAmt = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
VOL1${setLength("",76)}
HDR1${setLength("",37)}${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyDDD"),"left"," ",6)}${setLength("",33)}
HDR2${setLength("",76)}
UHL1${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left"," ",6)}${setLength("",10)}00${setLength("",6)}${setLength("1 DAILY",9)}${setLength("",3)}${setLength("",7)}${setLength("",7)}${setLength("",26)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)} 99${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}${setLength("",4)}${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}${setLength(getReferenceNote(payment)?upper_case,18)}${setLength(ebank.custrecord_2663_entity_acct_name?upper_case,18)}
</#list>
${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)} 17${setLength(cbank.custpage_eft_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_eft_custrecord_2663_acct_num,8)}${setLength("",4)}${setPadding(formatAmount(totalAmt),"left","0",11)}${setLength(pfa.custrecord_2663_ref_note?upper_case,18)}${setLength("CONTRA",18)}${setLength(cbank.custrecord_2663_legal_name?upper_case,18)}
EOF1${setLength("",76)}
EOF2${setLength("",76)}
UTL1${setPadding(formatAmount(totalAmt),"left","0",13)}${setPadding(formatAmount(totalAmt),"left","0",13)}${setPadding("1","left","0",7)}${setPadding(payments?size?c,"left","0",7)}${setLength("",10)}${setLength("",26)}
#OUTPUT END# |
Isle of Man;Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACSTEL-IP'>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">0</param>
</validator>
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='GB' crlf='true' name='BACSTEL-IP'>
<recordStructure>
<recordInfo>VOL1</recordInfo>
<recordInfo>HDR1</recordInfo>
<recordInfo>HDR2</recordInfo>
<recordInfo>UHL1</recordInfo>
<recordInfo type='body'>Standard</recordInfo>
<recordInfo>Contra</recordInfo>
<recordInfo>EOF1</recordInfo>
<recordInfo>EOF2</recordInfo>
<recordInfo>UTL1</recordInfo>
</recordStructure>
<record name='VOL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>VOL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Filler'>
<length>76</length>
<position>5</position>
</field>
</record>
<record name='HDR1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Filler'>
<length>37</length>
<position>5</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>42</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYDDD</format>
</field>
<field name='Filler'>
<length>33</length>
<position>48</position>
</field>
</record>
<record name='HDR2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Filler'>
<length>76</length>
<position>5</position>
</field>
</record>
<record name='UHL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UHL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='BACS Processing Day'>
<length>6</length>
<position>5</position>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYDDD</format>
</field>
<field name='Service User Number'>
<length>10</length>
<position>11</position>
</field>
<field name='Currency Code'>
<length>2</length>
<position>21</position>
<padding>0</padding>
</field>
<field name='Country Code'>
<length>6</length>
<position>23</position>
</field>
<field name='Work Code'>
<length>9</length>
<position>29</position>
<source type='value'>1 DAILY</source>
</field>
<field name='File Number'>
<length>3</length>
<position>38</position>
</field>
<field name='Reserved (blank)'>
<length>7</length>
<position>41</position>
</field>
<field name='Audit Print Identifier'>
<length>7</length>
<position>48</position>
</field>
<field name='Free text'>
<length>26</length>
<position>55</position>
</field>
</record>
<record name='Standard'>
<field name='Recipient Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Recipient Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Recipient Account Type'>
<position>15</position>
<length>1</length>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Senders Account Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Reference'>
<position>65</position>
<length>18</length>
<source type='referenceNote'/>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
</record>
<record name='Contra'>
<field name='Senders Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Senders Account Type'>
<position>15</position>
<length>1</length>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>17</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Free Text'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='totalAmt' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Account Reference'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Contra Indication'>
<position>65</position>
<length>18</length>
<source type='value'>CONTRA</source>
</field>
<field name='Senders Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
</record>
<record name='EOF1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Filler'>
<length>76</length>
<position>5</position>
</field>
</record>
<record name='EOF2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Filler'>
<length>76</length>
<position>5</position>
</field>
</record>
<record name='UTL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UTL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Total of debit records'>
<length>13</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Total of credit records'>
<length>13</length>
<position>18</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Count of debit records'>
<length>7</length>
<position>31</position>
<source type='value'>1</source>
<align>right</align>
<padding>0</padding>
</field>
<field name='Count of credit records'>
<length>7</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='totalPayments' />
</field>
<field name='Reserved (blank)'>
<length>10</length>
<position>45</position>
</field>
<field name='Reserved (blank)'>
<length>26</length>
<position>55</position>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
38 |
9/9/2021 4:23 am |
5000 |
BACSTEL-IP |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="BACSTEL-IP">
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
</refFields> |
|
value_38_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=38 |
38 |
BACSTEL-IP |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 40 |
<#-- format specific processing -->
<#-- for vendor and customer -->
<#assign otherPayments = []>
<#assign otherEbanks = []>
<#assign otherEntities = []>
<#-- for employee -->
<#assign employeePayments = []>
<#assign employeeEbanks = []>
<#assign employeeEntities = []>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#if ebank.custrecord_2663_parent_vendor == payment.entity || ebank.custrecord_2663_parent_cust_ref == payment.entity>
<#assign otherPayments = otherPayments + [payment]>
<#assign otherEbanks = otherEbanks + [ebank]>
<#assign otherEntities = otherEntities + [entity]>
</#if>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#assign employeePayments = employeePayments + [payment]>
<#assign employeeEbanks = employeeEbanks + [ebank]>
<#assign employeeEntities = employeeEntities + [entity]>
</#if>
</#list>
<#function getClearingCode amount>
<#if (amount <= 1000)>
<#return "700">
</#if>
<#return "018">
</#function>
<#function getServiceClassCode amount forEmployee>
<#if (amount <= 1000)>
<#if forEmployee>
<#return "06">
<#else>
<#return "07">
</#if>
</#if>
<#return "">
</#function>
<#function getClearingCodeComplement amount forEmployee>
<#if (amount > 1000)>
<#if forEmployee>
<#return "00004">
<#else>
<#return "00005">
</#if>
</#if>
<#return "">
</#function>
<#function getTransactionFieldValue payment field>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#if field == "tranid">
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
<#elseif field == "duedate">
<#assign dueDate = transaction.duedate>
<#if dueDate?has_content>
<#return dueDate?string("ddMMyyyy")>
</#if>
<#elseif field == "amount">
<#assign accountType = pfa.custrecord_2663_account.type>
<#if payment.currency?has_content>
<#if accountType == "Bank">
<#return transaction.appliedtoforeignamount>
<#else>
<#return transaction.applyingforeignamount>
</#if>
<#else>
<#if accountType == "Bank">
<#return transaction.appliedtolinkamount>
<#else>
<#return transaction.applyinglinkamount>
</#if>
</#if>
</#if>
</#if>
<#return "">
</#function>
<#function getEntityTaxId entity taxType forEmployee>
<#if taxType != "0">
<#if forEmployee>
<#return entity.socialsecuritynumber>
<#else>
<#return entity.vatregnumber>
</#if>
</#if>
<#return "">
</#function>
<#-- cached values -->
<#assign newSeqId = getSequenceId(true) + 1>
<#-- template building -->
#OUTPUT START#
<#assign recordCount = 0>
<#assign batchRecordCount = 0>
<#assign batchCount = 0>
<#assign batchLineNum = 0>
<#assign batchAmount = 0>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding("","left","0",4)}0${setLength("",9)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(cbank.custpage_eft_custrecord_2663_bank_name,30)}${setLength("",10)}1${pfa.custrecord_2663_file_creation_timestamp?string("ddMMyyyy")}${pfa.custrecord_2663_file_creation_timestamp?string("HHmmss")}${setPadding(newSeqId,"left","0",6)}08406250${setLength("",69)}
<#assign recordCount = recordCount + 1>
<#if (otherPayments?size > 0) >
<#assign batchCount = batchCount + 1>
<#assign batchRecordCount = batchRecordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}1C2003043${setLength("",1)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(pfa.custrecord_2663_ref_note,40)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address1,30)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_address2,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address3,15)}${setLength(cbank.custpage_eft_custrecord_2663_bank_city,20)}${setLength(cbank.custpage_eft_custrecord_2663_bank_zip?replace("-",""),8)}${setLength(cbank.custpage_eft_custrecord_2663_bank_state,2)}${setLength("",18)}
<#list otherPayments as payment>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = otherEbanks[payment_index]>
<#assign entity = otherEntities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign batchAmount = batchAmount + amount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}A000${getClearingCode(amount)}${setPadding(ebank.custrecord_2663_entity_bank_code,"left","0",3)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setLength(ebank.custrecord_2663_entity_issuer_num,1)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(ebank.custrecord_2663_entity_iban_check,1)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(buildEntityName(entity),30)}${setLength(getTransactionFieldValue(payment,"tranid"),20)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}BRL${setLength("",15)}${setPadding(formatAmount(amount),"left","0",15)}${setLength("",83)}${setLength(getServiceClassCode(amount,false),2)}${setLength(getClearingCodeComplement(amount,false),5)}${setLength("",5)}0${setLength("",10)}
<#assign batchLineNum = batchLineNum + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}B${setLength("",3)}${setLength(ebank.custrecord_2663_customer_code,1)}${setPadding(getEntityTaxId(entity,ebank.custrecord_2663_customer_code, false),"left","0",14)}${setLength(ebank.custrecord_2663_entity_address1,30)}${setPadding(ebank.custrecord_2663_entity_address2,"left","0",5)}${setLength(ebank.custrecord_2663_entity_address3,15)}${setLength("",15)}${setLength(ebank.custrecord_2663_entity_city,20)}${setLength(ebank.custrecord_2663_entity_zip?replace("-",""),8)}${setLength(ebank.custrecord_2663_entity_state,2)}${setLength(getTransactionFieldValue(payment,"duedate"),8)}${setPadding(formatAmount(getTransactionFieldValue(payment,"amount")),"left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setLength(getTransactionFieldValue(payment,"tranid"),15)}0${setLength("",14)}
</#list>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign recordCount = recordCount + batchRecordCount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}5${setLength("",9)}${setPadding(batchRecordCount,"left","0",6)}${setPadding("","left","0",18)}${setPadding(formatAmount(batchAmount*1000),"left","0",18)}${setLength("",181)}
</#if>
<#assign batchLineNum = 0>
<#assign batchRecordCount = 0>
<#if (employeePayments?size > 0) >
<#assign batchCount = batchCount + 1>
<#assign batchRecordCount = batchRecordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}1C3003043${setLength("",1)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(pfa.custrecord_2663_ref_note,40)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address1,30)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_address2,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address3,15)}${setLength(cbank.custpage_eft_custrecord_2663_bank_city,20)}${setLength(cbank.custpage_eft_custrecord_2663_bank_zip?replace("-",""),8)}${setLength(cbank.custpage_eft_custrecord_2663_bank_state,2)}${setLength("",18)}
<#list employeePayments as payment>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = employeeEbanks[payment_index]>
<#assign entity = employeeEntities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign batchAmount = batchAmount + amount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}A000${getClearingCode(amount)}${setPadding(ebank.custrecord_2663_entity_bank_code,"left","0",3)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setLength(ebank.custrecord_2663_entity_issuer_num,1)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(ebank.custrecord_2663_entity_iban_check,1)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(buildEntityName(entity),30)}${setLength(getTransactionFieldValue(payment,"tranid"),20)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}BRL${setLength("",15)}${setPadding(formatAmount(amount),"left","0",15)}${setLength("",83)}${setLength(getServiceClassCode(amount,true),2)}${setLength(getClearingCodeComplement(amount,true),5)}${setLength("",5)}0${setLength("",10)}
<#assign batchLineNum = batchLineNum + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}B${setLength("",3)}${setLength(ebank.custrecord_2663_customer_code,1)}${setPadding(getEntityTaxId(entity,ebank.custrecord_2663_customer_code, true),"left","0",14)}${setLength(ebank.custrecord_2663_entity_address1,30)}${setPadding(ebank.custrecord_2663_entity_address2,"left","0",5)}${setLength(ebank.custrecord_2663_entity_address3,15)}${setLength("",15)}${setLength(ebank.custrecord_2663_entity_city,20)}${setLength(ebank.custrecord_2663_entity_zip?replace("-",""),8)}${setLength(ebank.custrecord_2663_entity_state,2)}${setLength(getTransactionFieldValue(payment,"duedate"),8)}${setPadding(formatAmount(getTransactionFieldValue(payment,"amount")),"left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setLength(getTransactionFieldValue(payment,"tranid"),15)}0${setLength("",14)}
</#list>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign recordCount = recordCount + batchRecordCount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}5${setLength("",9)}${setPadding(batchRecordCount,"left","0",6)}${setPadding("","left","0",18)}${setPadding(formatAmount(batchAmount*1000),"left","0",18)}${setLength("",181)}
</#if>
<#assign recordCount = recordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}99999${setLength("",9)}${setPadding(batchCount,"left","0",6)}${setPadding(recordCount,"left","0",6)}${setLength("",211)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Brazil |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='CNAB 240'>
<refField id='custrecord_2663_entity_bank_code' label='Payee Bank' mandatory='true' helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id='custrecord_2663_entity_branch_no' label='Payee Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_issuer_num' label='Payee Branch Verif. Dig.' mandatory='true' />
<refField id='custrecord_2663_entity_address1' label='Street Name' mandatory='true' />
<refField id='custrecord_2663_entity_address2' label='Apt, Suite, Building Number' mandatory='false' />
<refField id='custrecord_2663_entity_address3' label='Apt, Suite, Building Name' mandatory='false' />
<refField id='custrecord_2663_entity_city' label='City Name' mandatory='false' />
<refField id='custrecord_2663_entity_zip' label='Zip' mandatory='false' />
<refField id='custrecord_2663_entity_state' label='State' mandatory='false' />
<refField id='custrecord_2663_entity_acct_no' label='Payee Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>/>
<refField id='custrecord_2663_entity_iban_check' label='Payee Account Verif. Dig.' mandatory='false' />
<refField id='custrecord_2663_entity_country_check' label='Payee Verification Digit' mandatory='false' />
<refField id='custrecord_2663_customer_code' label='Payee Registration/Tax Type' mandatory='true' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_code</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_opt_fld</fieldName>
<validatorList>
<validator type="validChars">
<param name='validChars'>01239</param>
</validator>
<validator type="len">
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_tax_authorization_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">14</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_processor_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban_check</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_country_check</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">30</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">30</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address3</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_city</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_zip</fieldName>
<validatorList>
<validator type="validChars">
<param name='validChars'>0-9\-</param>
</validator>
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_state</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">2</param>
<param name="maxLength">2</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_issuer_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban_check</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_country_check</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_customer_code</fieldName>
<validatorList>
<validator type="validChars">
<param name='validChars'>01239</param>
</validator>
<validator type="len">
<param name="minLength">1</param>
<param name="maxLength">1</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bban</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">14</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">30</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">5</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address3</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">15</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_city</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">20</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_zip</fieldName>
<validatorList>
<validator type="validChars">
<param name='validChars'>0-9\-</param>
</validator>
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_state</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">2</param>
<param name="maxLength">2</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='BR' crlf='false' name='CNAB 240' extension='txt'>
<recordStructure>
<recordInfo>File Header Registry</recordInfo>
<recordInfo type="batch" paymentFilter="entity" hideWhenEmpty="true">
CNAB Bill and Invoice
<recordInfo>CNAB Bill and Invoice Batch Header Registry</recordInfo>
<recordInfo type="bodybatch" paymentFilter="entity">
<recordInfo type="body" paymentFilter="entity">Detail Registry</recordInfo>
</recordInfo>
<recordInfo>Batch Trailer Registry</recordInfo>
</recordInfo>
<recordInfo type="batch" paymentFilter="employee" hideWhenEmpty="true">
CNAB Expense Report
<recordInfo>CNAB Expense Report Batch Header Registry</recordInfo>
<recordInfo type="bodybatch" paymentFilter="employee">
<recordInfo type="body" paymentFilter="employee">Detail Registry</recordInfo>
</recordInfo>
<recordInfo>Batch Trailer Registry</recordInfo>
</recordInfo>
<recordInfo>File Trailer Registry</recordInfo>
</recordStructure>
<!-- FILE HEADER REGISTRY START -->
<record name='File Header Registry'>
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='value'>0000</source>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='CNAB'>
<position>9</position>
<length>9</length>
</field>
<field name='Tipo'>
<position>18</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_opt_fld</sourceFld>
</source>
</field>
<field name='Numero'>
<position>19</position>
<length>14</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_authorization_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Convenio'>
<position>33</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
<align>left</align>
</field>
<field name='Ag – Cod'>
<position>53</position>
<length>5</length>
<source type="bankBranchNumber"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Ag – DV'>
<position>58</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name='Conta – Cod'>
<position>59</position>
<length>12</length>
<source type="bankAccount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Conta – DV'>
<position>71</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban_check</sourceFld>
</source>
</field>
<field name='AgConta – DV'>
<position>72</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name='Nome Empresa'>
<position>73</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Nome Banco'>
<position>103</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_name</sourceFld>
</source>
</field>
<field name='CNAB'>
<position>133</position>
<length>10</length>
</field>
<field name='Cod. Arquivo'>
<position>143</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name='Data geracao'>
<position>144</position>
<length>8</length>
<source type="currentDate">dummy</source>
<format type="date">DDMMYYYY</format>
</field>
<field name='Hora geracao'>
<position>152</position>
<length>6</length>
<source type="currentTime">dummy</source>
<format type="time">HHmmss</format>
</field>
<field name='Sequencia'>
<position>158</position>
<length>6</length>
<source type="sequenceId">dummy</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Layout Arquivo'>
<position>164</position>
<length>3</length>
<source type="value">084</source>
</field>
<field name='Densidade'>
<position>167</position>
<length>5</length>
<source type="value">06250</source>
</field>
<field name='Bank use'>
<position>172</position>
<length>20</length>
</field>
<field name='Company use'>
<position>192</position>
<length>20</length>
</field>
<field name='CNAB'>
<position>212</position>
<length>29</length>
</field>
</record>
<!-- FILE HEADER REGISTRY END -->
<!-- CNAB Bill and Invoice BATCH HEADER REGISTRY START -->
<record name='CNAB Bill and Invoice Batch Header Registry'>
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='batchId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Operacao'>
<position>9</position>
<length>1</length>
<source type='value'>C</source>
</field>
<field name='Servico'>
<position>10</position>
<length>2</length>
<source type='value'>20</source>
</field>
<field name='Forma Lancto'>
<position>12</position>
<length>2</length>
<source type='value'>03</source>
</field>
<field name='Layout Lote'>
<position>14</position>
<length>3</length>
<source type='value'>043</source>
</field>
<field name='CNAB'>
<position>17</position>
<length>1</length>
</field>
<field name='Tipo'>
<position>18</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_opt_fld</sourceFld>
</source>
</field>
<field name='Numero'>
<position>19</position>
<length>14</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_authorization_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Convenio'>
<position>33</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
<align>left</align>
</field>
<field name='Ag – Cod'>
<position>53</position>
<length>5</length>
<source type="bankBranchNumber"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Ag – DV'>
<position>58</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name='Conta – Cod'>
<position>59</position>
<length>12</length>
<source type="bankAccount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Conta – DV'>
<position>71</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban_check</sourceFld>
</source>
</field>
<field name='AgConta – DV'>
<position>72</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name='Nome Empresa'>
<position>73</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Informacao 1'>
<position>103</position>
<length>40</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name='Logradouro'>
<position>143</position>
<length>30</length>
<source type="bankAddress1"></source>
</field>
<field name='Numero'>
<position>173</position>
<length>5</length>
<source type="bankAddress2"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Complemento'>
<position>178</position>
<length>15</length>
<source type="bankAddress3"></source>
</field>
<field name='Cidade'>
<position>193</position>
<length>20</length>
<source type="bankCity"></source>
</field>
<field name='CEP'>
<position>213</position>
<length>8</length>
<source type="bankZip"></source>
</field>
<field name='Estado'>
<position>221</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_state</sourceFld>
</source>
</field>
<field name='CNAB'>
<position>223</position>
<length>8</length>
</field>
<field name='Ocorrencias'>
<position>230</position>
<length>10</length>
</field>
</record>
<!-- CNAB Bill and Invoice BATCH HEADER REGISTRY END -->
<!-- CNAB Expense Report BATCH HEADER REGISTRY START -->
<record name='CNAB Expense Report Batch Header Registry'>
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='batchId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Operacao'>
<position>9</position>
<length>1</length>
<source type='value'>C</source>
</field>
<field name='Servico'>
<position>10</position>
<length>2</length>
<source type='value'>30</source>
</field>
<field name='Forma Lancto'>
<position>12</position>
<length>2</length>
<source type='value'>03</source>
</field>
<field name='Layout Lote'>
<position>14</position>
<length>3</length>
<source type='value'>043</source>
</field>
<field name='CNAB'>
<position>17</position>
<length>1</length>
</field>
<field name='Tipo'>
<position>18</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_opt_fld</sourceFld>
</source>
</field>
<field name='Numero'>
<position>19</position>
<length>14</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_tax_authorization_num</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Convenio'>
<position>33</position>
<length>20</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
<align>left</align>
</field>
<field name='Ag – Cod'>
<position>53</position>
<length>5</length>
<source type="bankBranchNumber"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Ag – DV'>
<position>58</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
</field>
<field name='Conta – Cod'>
<position>59</position>
<length>12</length>
<source type="bankAccount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Conta – DV'>
<position>71</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban_check</sourceFld>
</source>
</field>
<field name='AgConta – DV'>
<position>72</position>
<length>1</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name='Nome Empresa'>
<position>73</position>
<length>30</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Informacao 1'>
<position>103</position>
<length>40</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name='Logradouro'>
<position>143</position>
<length>30</length>
<source type="bankAddress1"></source>
</field>
<field name='Numero'>
<position>173</position>
<length>5</length>
<source type="bankAddress2"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Complemento'>
<position>178</position>
<length>15</length>
<source type="bankAddress3"></source>
</field>
<field name='Cidade'>
<position>193</position>
<length>20</length>
<source type="bankCity"></source>
</field>
<field name='CEP'>
<position>213</position>
<length>8</length>
<source type="bankZip"></source>
</field>
<field name='Estado'>
<position>221</position>
<length>2</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_state</sourceFld>
</source>
</field>
<field name='CNAB'>
<position>223</position>
<length>8</length>
</field>
<field name='Ocorrencias'>
<position>230</position>
<length>10</length>
</field>
</record>
<!-- CNAB Expense Report BATCH HEADER REGISTRY END -->
<!-- DETAIL REGISTRY START -->
<record name='Detail Registry'>
<!-- DETAIL REGISTRY SEGMENT A START -->
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='batchId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>3</source>
</field>
<field name='Numero Reg.'>
<position>9</position>
<length>5</length>
<source type='batchLineNum'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Segmento'>
<position>14</position>
<length>1</length>
<source type='value'>A</source>
</field>
<field name='Tipo Movimento'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Cod. Movimento'>
<position>16</position>
<length>2</length>
<source type='value'>00</source>
</field>
<field name='Camara'>
<position>18</position>
<length>3</length>
<source type='bankClearingCode'></source>
</field>
<field name='Banco'>
<position>21</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Ag – Cod'>
<position>24</position>
<length>5</length>
<source type="entityBranchNumber"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Ag – DV'>
<position>29</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_issuer_num</sourceFld>
</source>
</field>
<field name='Conta – Cod'>
<position>30</position>
<length>12</length>
<source type="entityAccount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Conta – DV'>
<position>42</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban_check</sourceFld>
</source>
</field>
<field name='AgConta – DV'>
<position>43</position>
<length>1</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_country_check</sourceFld>
</source>
</field>
<field name='Nome'>
<position>44</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name='Seu Numero'>
<position>74</position>
<length>20</length>
<source type="referenceNote"></source>
</field>
<field name='Data Pagto'>
<position>94</position>
<length>8</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYYYY</format>
</field>
<field name='Tipo Moeda'>
<position>102</position>
<length>3</length>
<source type="value">BRL</source>
</field>
<field name='Qtde. Moeda'>
<position>105</position>
<length>15</length>
</field>
<field name='Valor Pagto'>
<position>125</position>
<length>15</length>
<source type="amount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Numero do Documento'>
<position>135</position>
<length>20</length>
</field>
<field name='Data Real'>
<position>155</position>
<length>8</length>
</field>
<field name='Valor Real'>
<position>163</position>
<length>15</length>
</field>
<field name='Informacao 2'>
<position>178</position>
<length>40</length>
</field>
<field name='Cod. Final. Doc.'>
<position>218</position>
<length>2</length>
<source type='bankServiceClassCode'></source>
</field>
<field name='Cod. Final. TED'>
<position>220</position>
<length>5</length>
<source type='bankClearingCodeComplement'></source>
</field>
<field name='Final. Compl.'>
<position>225</position>
<length>2</length>
</field>
<field name='CNAB'>
<position>227</position>
<length>3</length>
</field>
<field name='Aviso'>
<position>230</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Ocorrencias'>
<position>231</position>
<length>10</length>
</field>
<!-- DETAIL REGISTRY SEGMENT A END -->
<!-- DETAIL REGISTRY SEGMENT B START -->
<field name='Banco'>
<position>232</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<onNewline isCountLine='false'>true</onNewline>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>235</position>
<length>4</length>
<source type='batchId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Registro'>
<position>239</position>
<length>1</length>
<source type='value'>3</source>
</field>
<field name='Numero Reg.'>
<position>240</position>
<length>5</length>
<source type='batchLineNum'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Segmento'>
<position>245</position>
<length>1</length>
<source type='value'>B</source>
</field>
<field name='CNAB'>
<position>246</position>
<length>3</length>
</field>
<field name='Payee Registration/Tax Type'>
<position>249</position>
<length>1</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_customer_code</sourceFld>
</source>
</field>
<field name='Payee Registration/Tax Number'>
<position>250</position>
<length>14</length>
<source type='entityTaxId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Logradouro'>
<position>264</position>
<length>30</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_address1</sourceFld>
</source>
</field>
<field name='Numero'>
<position>294</position>
<length>5</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_address2</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Complemento'>
<position>299</position>
<length>15</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_address3</sourceFld>
</source>
</field>
<field name='Bairro'>
<position>314</position>
<length>15</length>
</field>
<field name='Cidade'>
<position>329</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_city</sourceFld>
</source>
</field>
<field name='CEP'>
<position>349</position>
<length>8</length>
<source type="entityZip"></source>
</field>
<field name='Estado'>
<position>351</position>
<length>2</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_state</sourceFld>
</source>
</field>
<field name='Vencimento'>
<position>352</position>
<length>8</length>
<source type="referenceDueDate"></source>
<format type="date">DDMMYYYY</format>
</field>
<field name='Valor Doc.'>
<position>360</position>
<length>15</length>
<source type="referenceAmount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Abatimento'>
<position>373</position>
<length>15</length>
<source type="value">000000000000000</source>
</field>
<field name='Desconto'>
<position>388</position>
<length>15</length>
<source type="discountAmount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Mora'>
<position>403</position>
<length>15</length>
<source type="value">000000000000000</source>
</field>
<field name='Multa'>
<position>418</position>
<length>15</length>
<source type="value">000000000000000</source>
</field>
<field name='Cod. Doc. Fav.'>
<position>425</position>
<length>15</length>
<source type="referenceNote"></source>
</field>
<field name='Aviso'>
<position>440</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name='Cog UG Centr.'>
<position>441</position>
<length>6</length>
</field>
<field name='CNAB'>
<position>447</position>
<length>8</length>
</field>
<!-- DETAIL REGISTRY SEGMENT B END -->
</record>
<!-- DETAIL REGISTRY START END -->
<!-- BATCH TRAILER REGISTRY START -->
<record name='Batch Trailer Registry'>
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='batchId'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>5</source>
</field>
<field name='CNAB'>
<position>9</position>
<length>9</length>
</field>
<field name='Qtde. Registros'>
<position>18</position>
<length>6</length>
<source type="totalBatchRecords"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Valor'>
<position>24</position>
<length>18</length>
<source type="totalBatchAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Qtde. Moedas'>
<position>42</position>
<length>18</length>
<source type="totalAmt"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Num. Aviso Deb.'>
<position>60</position>
<length>6</length>
</field>
<field name='CNAB'>
<position>66</position>
<length>165</length>
</field>
<field name='Ocorrencias'>
<position>231</position>
<length>10</length>
</field>
</record>
<!-- BATCH TRAILER REGISTRY END -->
<!-- FILE TRAILER REGISTRY START -->
<record name='File Trailer Registry'>
<field name='Banco'>
<position>1</position>
<length>3</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Lote'>
<position>4</position>
<length>4</length>
<source type='value'>9999</source>
</field>
<field name='Registro'>
<position>8</position>
<length>1</length>
<source type='value'>9</source>
</field>
<field name='CNAB'>
<position>9</position>
<length>9</length>
</field>
<field name='Qtde. Lotes'>
<position>18</position>
<length>6</length>
<source type="batchCount"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Qtde. Registros'>
<position>24</position>
<length>6</length>
<source type="totalRecords"></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Qtde. Contas'>
<position>30</position>
<length>6</length>
</field>
<field name='CNAB'>
<position>36</position>
<length>205</length>
</field>
</record>
<!-- FILE TRAILER REGISTRY END -->
</fileformat> |
F |
F |
F |
F |
40 |
6/24/2021 5:36 am |
5000 |
CNAB 240 |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="CNAB 240">
<refField id="custrecord_2663_bank_code" label="Bank Code" mandatory="true" helptext="Enter the 3-digit identification code of your company's bank. If the code has fewer than three digits, prefix the code with zeroes. For example, 012."/>
<refField id="custrecord_2663_branch_num" label="Bank Branch Number" mandatory="true" helptext="Enter the branch number of the bank branch where your company's account is maintained. You can enter up to five digits."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's bank account number in this field. You can enter up to 12 digits."/>
<refField id="custrecord_2663_bank_name" label="Bank Name" mandatory="true" helptext="Enter the name of your company's bank."/>
<refField id="custrecord_2663_issuer_num" label="Branch Verification Dig." mandatory="false" helptext="Enter the verification code of the bank branch where your company's account is maintained."/>
<refField id="custrecord_2663_opt_fld" label="Registration Type" mandatory="true" helptext="Enter the code that corresponds to your company's tax registration type:<br><ul><li>0 – Exempt/Not informed</li><li>1 – CPF</li><li>2 – CGC/CNPJ</li><li>3 – PIS/PASEP</li><li>9 – Others</li></ul>"/>
<refField id="custrecord_2663_iban_check" label="Account Verification Dig." mandatory="false" helptext="Enter your bank account's verification digit or IBAN check digit. For banks that use two digits, enter only the first digit."/>
<refField id="custrecord_2663_country_check" label="Verification Digit" mandatory="false" helptext="Enter your bank account's verification digit or country check digit. For bank accounts that use two digits, enter only the second digit."/>
<refField id="custrecord_2663_processor_code" label="Bank Agreement Code" mandatory="false" helptext="Enter your company's agreement code with the bank. You can enter up to 20 characters."/>
<refField id="custrecord_2663_tax_authorization_num" label="Registration Number" mandatory="true" helptext="Enter your company's tax registration number. You can enter up to 14 digits.<br><br><b>Important:</b> Fill this field with zeroes if you entered 0 in the registration type field."/>
<refField id="custrecord_2663_bank_address1" label="Street Name" mandatory="true" helptext="Enter the name of your street."/>
<refField id="custrecord_2663_bank_address2" label="Apt, Suite, Building Number" mandatory="false" helptext="Enter your apartment, suite, or building number."/>
<refField id="custrecord_2663_bank_address3" label="Apt, Suite, Building Name" mandatory="false" helptext="Enter your apartment, suite, or building name."/>
<refField id="custrecord_2663_bank_city" label="City Name" mandatory="false" helptext="Enter the name of your city."/>
<refField id="custrecord_2663_bank_state" label="State" mandatory="false" helptext="Enter your 2-letter state code."/>
<refField id="custrecord_2663_bank_zip" label="Zip" mandatory="false" helptext="Enter your zip code."/>
</refFields> |
|
value_40_4533432_160 |
<#-- format specific processing -->
<#-- for vendor and customer -->
<#assign otherPayments = []>
<#assign otherEbanks = []>
<#assign otherEntities = []>
<#-- for employee -->
<#assign employeePayments = []>
<#assign employeeEbanks = []>
<#assign employeeEntities = []>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#if ebank.custrecord_2663_parent_vendor == payment.entity || ebank.custrecord_2663_parent_cust_ref == payment.entity>
<#assign otherPayments = otherPayments + [payment]>
<#assign otherEbanks = otherEbanks + [ebank]>
<#assign otherEntities = otherEntities + [entity]>
</#if>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#assign employeePayments = employeePayments + [payment]>
<#assign employeeEbanks = employeeEbanks + [ebank]>
<#assign employeeEntities = employeeEntities + [entity]>
</#if>
</#list>
<#function getClearingCode amount>
<#if (amount <= 1000)>
<#return "700">
</#if>
<#return "018">
</#function>
<#function getServiceClassCode amount forEmployee>
<#if (amount <= 1000)>
<#if forEmployee>
<#return "06">
<#else>
<#return "07">
</#if>
</#if>
<#return "">
</#function>
<#function getClearingCodeComplement amount forEmployee>
<#if (amount > 1000)>
<#if forEmployee>
<#return "00004">
<#else>
<#return "00005">
</#if>
</#if>
<#return "">
</#function>
<#function getTransactionFieldValue payment field>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#if field == "tranid">
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
<#elseif field == "duedate">
<#assign dueDate = transaction.duedate>
<#if dueDate?has_content>
<#return dueDate?string("ddMMyyyy")>
</#if>
<#elseif field == "amount">
<#assign accountType = pfa.custrecord_2663_account.type>
<#if payment.currency?has_content>
<#if accountType == "Bank">
<#return transaction.appliedtoforeignamount>
<#else>
<#return transaction.applyingforeignamount>
</#if>
<#else>
<#if accountType == "Bank">
<#return transaction.appliedtolinkamount>
<#else>
<#return transaction.applyinglinkamount>
</#if>
</#if>
</#if>
</#if>
<#return "">
</#function>
<#function getEntityTaxId entity taxType forEmployee>
<#if taxType != "0">
<#if forEmployee>
<#return entity.socialsecuritynumber>
<#else>
<#return entity.defaulttaxreg>
</#if>
</#if>
<#return "">
</#function>
<#-- cached values -->
<#assign newSeqId = getSequenceId(true) + 1>
<#-- template building -->
#OUTPUT START#
<#assign recordCount = 0>
<#assign batchRecordCount = 0>
<#assign batchCount = 0>
<#assign batchLineNum = 0>
<#assign batchAmount = 0>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding("","left","0",4)}0${setLength("",9)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(cbank.custpage_eft_custrecord_2663_bank_name,30)}${setLength("",10)}1${pfa.custrecord_2663_file_creation_timestamp?string("ddMMyyyy")}${pfa.custrecord_2663_file_creation_timestamp?string("HHmmss")}${setPadding(newSeqId,"left","0",6)}08406250${setLength("",69)}
<#assign recordCount = recordCount + 1>
<#if (otherPayments?size > 0) >
<#assign batchCount = batchCount + 1>
<#assign batchRecordCount = batchRecordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}1C2003043${setLength("",1)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(pfa.custrecord_2663_ref_note,40)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address1,30)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_address2,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address3,15)}${setLength(cbank.custpage_eft_custrecord_2663_bank_city,20)}${setLength(cbank.custpage_eft_custrecord_2663_bank_zip?replace("-",""),8)}${setLength(cbank.custpage_eft_custrecord_2663_bank_state,2)}${setLength("",18)}
<#list otherPayments as payment>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = otherEbanks[payment_index]>
<#assign entity = otherEntities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign batchAmount = batchAmount + amount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}A000${getClearingCode(amount)}${setPadding(ebank.custrecord_2663_entity_bank_code,"left","0",3)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setLength(ebank.custrecord_2663_entity_issuer_num,1)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(ebank.custrecord_2663_entity_iban_check,1)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(buildEntityName(entity),30)}${setLength(getTransactionFieldValue(payment,"tranid"),20)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}BRL${setLength("",15)}${setPadding(formatAmount(amount),"left","0",15)}${setLength("",83)}${setLength(getServiceClassCode(amount,false),2)}${setLength(getClearingCodeComplement(amount,false),5)}${setLength("",5)}0${setLength("",10)}
<#assign batchLineNum = batchLineNum + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}B${setLength("",3)}${setLength(ebank.custrecord_2663_customer_code,1)}${setPadding(getEntityTaxId(entity,ebank.custrecord_2663_customer_code, false),"left","0",14)}${setLength(ebank.custrecord_2663_entity_address1,30)}${setPadding(ebank.custrecord_2663_entity_address2,"left","0",5)}${setLength(ebank.custrecord_2663_entity_address3,15)}${setLength("",15)}${setLength(ebank.custrecord_2663_entity_city,20)}${setLength(ebank.custrecord_2663_entity_zip?replace("-",""),8)}${setLength(ebank.custrecord_2663_entity_state,2)}${setLength(getTransactionFieldValue(payment,"duedate"),8)}${setPadding(formatAmount(getTransactionFieldValue(payment,"amount")),"left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setLength(getTransactionFieldValue(payment,"tranid"),15)}0${setLength("",14)}
</#list>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign recordCount = recordCount + batchRecordCount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}5${setLength("",9)}${setPadding(batchRecordCount,"left","0",6)}${setPadding("","left","0",18)}${setPadding(formatAmount(batchAmount*1000),"left","0",18)}${setLength("",181)}
</#if>
<#assign batchLineNum = 0>
<#assign batchRecordCount = 0>
<#if (employeePayments?size > 0) >
<#assign batchCount = batchCount + 1>
<#assign batchRecordCount = batchRecordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}1C3003043${setLength("",1)}${setLength(cbank.custpage_eft_custrecord_2663_opt_fld,1)}${setPadding(cbank.custpage_eft_custrecord_2663_tax_authorization_num,"left","0",14)}${setLength(cbank.custpage_eft_custrecord_2663_processor_code,20)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_issuer_num,1)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",12)}${setLength(cbank.custpage_eft_custrecord_2663_iban_check,1)}${setLength(cbank.custpage_eft_custrecord_2663_country_check,1)}${setLength(cbank.custrecord_2663_print_company_name,30)}${setLength(pfa.custrecord_2663_ref_note,40)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address1,30)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_address2,"left","0",5)}${setLength(cbank.custpage_eft_custrecord_2663_bank_address3,15)}${setLength(cbank.custpage_eft_custrecord_2663_bank_city,20)}${setLength(cbank.custpage_eft_custrecord_2663_bank_zip?replace("-",""),8)}${setLength(cbank.custpage_eft_custrecord_2663_bank_state,2)}${setLength("",18)}
<#list employeePayments as payment>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign batchLineNum = batchLineNum + 1>
<#assign ebank = employeeEbanks[payment_index]>
<#assign entity = employeeEntities[payment_index]>
<#assign amount = getAmount(payment)>
<#assign batchAmount = batchAmount + amount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}A000${getClearingCode(amount)}${setPadding(ebank.custrecord_2663_entity_bank_code,"left","0",3)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",5)}${setLength(ebank.custrecord_2663_entity_issuer_num,1)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",12)}${setLength(ebank.custrecord_2663_entity_iban_check,1)}${setLength(ebank.custrecord_2663_entity_country_check,1)}${setLength(buildEntityName(entity),30)}${setLength(getTransactionFieldValue(payment,"tranid"),20)}${pfa.custrecord_2663_process_date?string("ddMMyyyy")}BRL${setLength("",15)}${setPadding(formatAmount(amount),"left","0",15)}${setLength("",83)}${setLength(getServiceClassCode(amount,true),2)}${setLength(getClearingCodeComplement(amount,true),5)}${setLength("",5)}0${setLength("",10)}
<#assign batchLineNum = batchLineNum + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}3${setPadding(batchLineNum,"left","0",5)}B${setLength("",3)}${setLength(ebank.custrecord_2663_customer_code,1)}${setPadding(getEntityTaxId(entity,ebank.custrecord_2663_customer_code, true),"left","0",14)}${setLength(ebank.custrecord_2663_entity_address1,30)}${setPadding(ebank.custrecord_2663_entity_address2,"left","0",5)}${setLength(ebank.custrecord_2663_entity_address3,15)}${setLength("",15)}${setLength(ebank.custrecord_2663_entity_city,20)}${setLength(ebank.custrecord_2663_entity_zip?replace("-",""),8)}${setLength(ebank.custrecord_2663_entity_state,2)}${setLength(getTransactionFieldValue(payment,"duedate"),8)}${setPadding(formatAmount(getTransactionFieldValue(payment,"amount")),"left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setPadding("","left","0",15)}${setLength(getTransactionFieldValue(payment,"tranid"),15)}0${setLength("",14)}
</#list>
<#assign batchRecordCount = batchRecordCount + 1>
<#assign recordCount = recordCount + batchRecordCount>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}${setPadding(batchCount,"left","0",4)}5${setLength("",9)}${setPadding(batchRecordCount,"left","0",6)}${setPadding("","left","0",18)}${setPadding(formatAmount(batchAmount*1000),"left","0",18)}${setLength("",181)}
</#if>
<#assign recordCount = recordCount + 1>
${setPadding(cbank.custpage_eft_custrecord_2663_bank_code,"left","0",3)}99999${setLength("",9)}${setPadding(batchCount,"left","0",6)}${setPadding(recordCount,"left","0",6)}${setLength("",211)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=40 |
40 |
CNAB 240 |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 41 |
<#-- format specific processing -->
<#function getVoidCheckIndicator payment>
<#assign value = "2">
<#assign reversalDate = payment.reversaldate>
<#if reversalDate?has_content>
<#assign value = "6">
</#if>
<#return value>
</#function>
<#function isVoidCheck payment>
<#assign value = false>
<#if payment?has_content>
<#assign reversalDate = payment.reversaldate>
<#if reversalDate?has_content>
<#assign value = true>
</#if>
</#if>
<#return value>
</#function>
<#function getChequeNumber payment>
<#assign value = "">
<#if payment.recordtype == "cashrefund">
<#assign value = payment.otherrefnum>
<#else>
<#assign value = payment.tranid>
</#if>
<#return value>
</#function>
<#-- cached / dynamic values -->
<#assign voidPayments = 0>
<#assign voidAmounts = 0>
<#assign recordCount = 0>
<#-- template building -->
#OUTPUT START#
1${setLength("",2)}MELLONBANK${setLength(cbank.custrecord_2663_print_company_name,10)}${setLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyMMdd"),6)}${setPadding(pfa.custrecord_2663_file_creation_timestamp?time?string("HHmm"),"left","0",7)}${setLength("",44)}
<#assign recordCount = recordCount + 1>
2${setLength("",30)}10008016001${setLength("",38)}
<#assign recordCount = recordCount + 1>
<#list payments as payment>
<#if isVoidCheck(payment)>
<#assign voidPayments = voidPayments + 1 >
<#assign voidAmounts = voidAmounts + getAmount(payment) >
</#if>
<#assign recordCount = recordCount + 1>
6${setLength(getVoidCheckIndicator(payment),1)}${setLength(cbank.custrecord_2663_print_company_name,10)}MELLONWEST${setPadding(cbank.custpage_pp_custrecord_2663_acct_num,"left","0",10)}${setPadding(getChequeNumber(payment),"left","0",10)}${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(payment.trandate?string("yyMMdd"),6)}${setLength("",10)}${setLength("",5)}${setLength("",7)}
</#list>
<#assign recordCount = recordCount + 1>
8${setPadding((payments?size-voidPayments)?c,"left","0",10)}${setPadding(formatAmount(computeTotalAmount(payments)-voidAmounts),"left","0",12)}${setPadding(voidPayments?c,"left","0",10)}${setPadding(formatAmount(voidAmounts),"left","0",12)}${setPadding("","left","0",35)}
<#assign recordCount = recordCount + 1>
9${setPadding(recordCount?c,"left","0",6)}${setLength("",73)}<#rt>
#OUTPUT END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields /> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>10</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='US' name='SVB - CDA' extension='txt'>
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo>Service</recordInfo>
<recordInfo type='body'>Detail</recordInfo>
<recordInfo>Service Total</recordInfo>
<recordInfo>Trailer</recordInfo>
</recordStructure>
<record name='Header'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Filler'>
<position>2</position>
<length>2</length>
</field>
<field name='Destination of Receiving Location'>
<position>4</position>
<length>10</length>
<source type='value'>MELLONBANK</source>
</field>
<field name='Company Name'>
<position>14</position>
<length>10</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Transmission Date'>
<position>24</position>
<length>6</length>
<align>right</align>
<source type='currentDate'></source>
<format type='date'>YYMMDD</format>
</field>
<field name='Transmission Time'>
<position>30</position>
<length>7</length>
<align>right</align>
<padding>0</padding>
<source type='currentTime'></source>
<format type='time'>HHmm</format>
</field>
<field name='Filler'>
<position>37</position>
<length>44</length>
</field>
</record>
<record name='Service'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>2</source>
</field>
<field name='Filler'>
<position>2</position>
<length>30</length>
</field>
<field name='Service Type'>
<position>32</position>
<length>3</length>
<source type='value'>100</source>
</field>
<field name='Record Size'>
<position>35</position>
<length>3</length>
<source type='value'>080</source>
</field>
<field name='Blocking Factor'>
<position>38</position>
<length>4</length>
<source type='value'>1600</source>
</field>
<field name='Format Code'>
<position>42</position>
<length>1</length>
<source type='value'>1</source>
</field>
<field name='Filler'>
<position>43</position>
<length>38</length>
</field>
</record>
<record name='Detail'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>6</source>
</field>
<field name='Check Record Status'>
<position>2</position>
<length>1</length>
<source type='chequeVoid'></source>
</field>
<field name='Origin'>
<position>3</position>
<length>10</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Pittsburgh'>
<position>13</position>
<length>10</length>
<source type='value'>MELLONWEST</source>
</field>
<field name='Checking Account Number'>
<position>23</position>
<length>10</length>
<source type='bankAccount'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Check Serial Number'>
<position>33</position>
<length>10</length>
<source type='chequeNumber'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Check Amount'>
<position>43</position>
<length>10</length>
<source type='amount'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Issue Date'>
<position>53</position>
<length>6</length>
<source type='chequeDate'>
</source>
<format type='date'>YYMMDD</format>
</field>
<field name='Additional Data'>
<position>59</position>
<length>10</length>
</field>
<field name='Register Information'>
<position>69</position>
<length>5</length>
</field>
<field name='Filler'>
<position>74</position>
<length>7</length>
</field>
</record>
<record name='Service Total'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>8</source>
</field>
<field name='Total Number of Add Issue Items'>
<position>2</position>
<length>10</length>
<source type='totalPayments'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Total Number of Void Issue Items'>
<position>12</position>
<length>12</length>
<source type='totalAmt'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Total Number of Void Issue Items'>
<position>24</position>
<length>10</length>
<source type='totalVoidPayments'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Total Dollar Amount of Void Issue Items'>
<position>34</position>
<length>12</length>
<source type='totalVoidAmt'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Numeric Filler'>
<position>46</position>
<length>35</length>
<padding>0</padding>
</field>
</record>
<record name='Trailer'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>9</source>
</field>
<field name='Total Number of Records Transmitted'>
<position>2</position>
<length>6</length>
<source type='totalRecords'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Filler'>
<position>8</position>
<length>73</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
41 |
4/27/2023 4:03 am |
5000 |
SVB - CDA |
T |
|
|
txt |
Mihir Bhatnagar |
7 |
Positive Pay |
3 |
162 |
<refFields type='SVB - CDA'>
<refField id='custrecord_2663_acct_num' label='Account Number' mandatory='true' />
</refFields> |
|
value_41_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=41 |
41 |
SVB - CDA |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 42 |
<#-- format specific processing -->
<#function computeExpirationDate>
<#assign processDate = pfa.custrecord_2663_process_date?string("yyDDD")>
<#assign expireDate = processDate?number + 1>
<#return expireDate?c>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
VOL1${setPadding(pfa.id,"left","0",6)} ${setLength(cbank.custpage_dd_custrecord_2663_bank_code,6)} ${setLength(cbank.custpage_dd_custrecord_2663_bank_num,6)} 1
HDR1A${setLength(cbank.custpage_dd_custrecord_2663_bank_num,6)}S ${setLength(cbank.custpage_dd_custrecord_2663_bank_num,6)}${setPadding(pfa.id,"left","0",6)}00010001 ${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyDDD"),"left"," ",6)}${setPadding(computeExpirationDate(),"left"," ",6)} 000000
HDR2F0200000100 00
UHL1${setPadding(pfa.custrecord_2663_process_date?string("yyDDD"),"left"," ",6)}999999 000000001 DAILY ${setPadding(pfa.id,"left","0",3)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
${setLength(ebank.custrecord_2663_entity_branch_no,6)}${setLength(ebank.custrecord_2663_entity_acct_no,8)}017${setLength(cbank.custpage_dd_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_dd_custrecord_2663_acct_num,8)} ${setPadding(formatAmount(getAmount(payment)),"left","0",11)}${setLength(cbank.custrecord_2663_print_company_name?upper_case,18)}${setLength(ebank.custrecord_2663_entity_payment_desc?upper_case,18)}${setLength(buildEntityName(entity)?upper_case,18)}
</#list>
${setLength(cbank.custpage_dd_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_dd_custrecord_2663_acct_num,8)}099${setLength(cbank.custpage_dd_custrecord_2663_branch_num,6)}${setLength(cbank.custpage_dd_custrecord_2663_acct_num,8)} ${setPadding(formatAmount(totalAmount),"left","0",11)}${setLength(pfa.custrecord_2663_ref_note?upper_case,18)}CONTRA ${setLength(cbank.custrecord_2663_print_company_name?upper_case,18)}
EOF1A${setLength(cbank.custpage_dd_custrecord_2663_bank_num,6)}S ${setLength(cbank.custpage_dd_custrecord_2663_bank_num,6)}${setPadding(pfa.id,"left","0",6)}00010001 ${setPadding(pfa.custrecord_2663_file_creation_timestamp?date?string("yyDDD"),"left"," ",6)}${setPadding(computeExpirationDate(),"left"," ",6)} 000000
EOF2F0200000100 00
UTL1${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding(formatAmount(totalAmount),"left","0",13)}${setPadding(payments?size,"left","0",7)}0000001
#OUTPUT END# |
Jersey;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='BACS'>
<refField id='custrecord_2663_entity_branch_no' label='Sort Code' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' mandatory='true' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">8</param>
<param name="maxLength">8</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">6</param>
<param name="maxLength">6</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_file_ref</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="alpha">
<param name="specialChars">&\-.\/0-9</param>
</validator>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='GB' crlf='true' name='BACS'>
<recordStructure>
<recordInfo>VOL1</recordInfo>
<recordInfo>HDR1</recordInfo>
<recordInfo>HDR2</recordInfo>
<recordInfo>UHL1</recordInfo>
<recordInfo type='body'>Standard</recordInfo>
<recordInfo>Contra</recordInfo>
<recordInfo>EOF1</recordInfo>
<recordInfo>EOF2</recordInfo>
<recordInfo>UTL1</recordInfo>
</recordStructure>
<record name='VOL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>VOL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>11</position>
</field>
<field name='Reserved (blank)'>
<length>20</length>
<position>12</position>
</field>
<field name='HSBC / SAGE'>
<length>6</length>
<position>32</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name='Owner ID - Reserved (blank)'>
<length>4</length>
<position>38</position>
</field>
<field name='Owner ID - Service User Number'>
<length>6</length>
<position>42</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='Owner ID - Reserved (blank)'>
<length>4</length>
<position>48</position>
</field>
<field name='Reserved'>
<length>28</length>
<position>52</position>
</field>
<field name='Label Standard Level'>
<length>1</length>
<position>80</position>
<source type='value'>1</source>
</field>
</record>
<record name='HDR1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Identifier - A'>
<length>1</length>
<position>5</position>
<source type='value'>A</source>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>6</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Identifier - S'>
<length>1</length>
<position>12</position>
<source type='value'>S</source>
</field>
<field name='File Identifier - Reserved (blank)'>
<length>2</length>
<position>13</position>
</field>
<field name='File Identifier - Reserved'>
<length>1</length>
<position>15</position>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>16</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>22</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='File Section Number'>
<length>4</length>
<position>28</position>
<source type='value'>0001</source>
</field>
<field name='File Sequence Number'>
<length>4</length>
<position>32</position>
<source type='value'>0001</source>
</field>
<field name='Generation Number'>
<length>4</length>
<position>36</position>
</field>
<field name='Generation Version Number'>
<length>2</length>
<position>40</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>42</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYDDD</format>
</field>
<field name='File Expiration Date'>
<length>6</length>
<position>48</position>
<align>right</align>
<source type='expirationDate' />
<format type='date'>YYDDD</format>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>54</position>
</field>
<field name='Block Count'>
<length>6</length>
<position>55</position>
<source type='value'>000000</source>
</field>
<field name='System Code'>
<length>13</length>
<position>61</position>
</field>
<field name='Reserved'>
<length>7</length>
<position>74</position>
</field>
</record>
<record name='HDR2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>HDR</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Record Format'>
<length>1</length>
<position>5</position>
<source type='value'>F</source>
</field>
<field name='Block Length'>
<length>5</length>
<position>6</position>
<source type='value'>02000</source>
</field>
<field name='Record Length'>
<length>5</length>
<position>11</position>
<source type='value'>00100</source>
</field>
<field name='Free Text'>
<length>35</length>
<position>16</position>
</field>
<field name='Buffer Offset'>
<length>2</length>
<position>51</position>
<source type='value'>00</source>
</field>
<field name='Reserved'>
<length>28</length>
<position>53</position>
</field>
</record>
<record name='UHL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UHL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='BACS Processing Day'>
<length>6</length>
<position>5</position>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>YYDDD</format>
</field>
<field name='Service User Number'>
<length>6</length>
<position>11</position>
<source type='value'>999999</source>
</field>
<field name='Service User Number - Reserved (blank)'>
<length>4</length>
<position>17</position>
</field>
<field name='Currency Code'>
<length>2</length>
<position>21</position>
<source type='value'>00</source>
</field>
<field name='Country Code'>
<length>6</length>
<position>23</position>
<source type='value'>000000</source>
</field>
<field name='Work Code'>
<length>9</length>
<position>29</position>
<source type='value'>1 DAILY</source>
</field>
<field name='File Number'>
<length>3</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<length>7</length>
<position>41</position>
</field>
<field name='Audit Print Identifier'>
<length>7</length>
<position>48</position>
</field>
<field name='Free text'>
<length>26</length>
<position>55</position>
</field>
</record>
<record name='Standard'>
<field name='Recipient Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name='Recipient Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name='Recipient Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>17</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Reserved (blank)'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Senders Account Name'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Reference'>
<position>65</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_payment_desc</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Recipient Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='Contra'>
<field name='Senders Sort Code'>
<position>1</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>7</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Senders Account Type'>
<position>15</position>
<length>1</length>
<source type='value'>0</source>
</field>
<field name='Transaction Code'>
<position>16</position>
<length>2</length>
<source type='value'>99</source>
</field>
<field name='Senders Sort Code'>
<position>18</position>
<length>6</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name='Senders Account Number'>
<position>24</position>
<length>8</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
</field>
<field name='Free Text'>
<position>32</position>
<length>4</length>
</field>
<field name='Amount'>
<position>36</position>
<length>11</length>
<source type='totalAmt' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Account Reference'>
<position>47</position>
<length>18</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Contra Indication'>
<position>65</position>
<length>18</length>
<source type='value'>CONTRA</source>
</field>
<field name='Senders Account Name'>
<position>83</position>
<length>18</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Processing Date'>
<length>6</length>
<position>101</position>
</field>
</record>
<record name='EOF1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='File Identifier - A'>
<length>1</length>
<position>5</position>
<source type='value'>A</source>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>6</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Identifier - S'>
<length>1</length>
<position>12</position>
<source type='value'>S</source>
</field>
<field name='File Identifier - Reserved (blank)'>
<length>2</length>
<position>13</position>
</field>
<field name='File Identifier - Reserved'>
<length>1</length>
<position>15</position>
</field>
<field name='File Identifier - Service User Number'>
<length>6</length>
<position>16</position>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name='File Serial Number'>
<length>6</length>
<position>22</position>
<align>right</align>
<padding>0</padding>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='File Section Number'>
<length>4</length>
<position>28</position>
<source type='value'>0001</source>
</field>
<field name='File Sequence Number'>
<length>4</length>
<position>32</position>
<source type='value'>0001</source>
</field>
<field name='Generation Number'>
<length>4</length>
<position>36</position>
</field>
<field name='Generation Version Number'>
<length>2</length>
<position>40</position>
</field>
<field name='File Creation Date'>
<length>6</length>
<position>42</position>
<align>right</align>
<source type='currentDate' />
<format type='date'>YYDDD</format>
</field>
<field name='File Expiration Date'>
<length>6</length>
<position>48</position>
<align>right</align>
<source type='expirationDate' />
<format type='date'>YYDDD</format>
</field>
<field name='Accessibility Indicator'>
<length>1</length>
<position>54</position>
</field>
<field name='Block Count'>
<length>6</length>
<position>55</position>
<source type='value'>000000</source>
</field>
<field name='System Code'>
<length>13</length>
<position>61</position>
</field>
<field name='Reserved'>
<length>7</length>
<position>74</position>
</field>
</record>
<record name='EOF2'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>EOF</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>2</source>
</field>
<field name='Record Format'>
<length>1</length>
<position>5</position>
<source type='value'>F</source>
</field>
<field name='Block Length'>
<length>5</length>
<position>6</position>
<source type='value'>02000</source>
</field>
<field name='Record Length'>
<length>5</length>
<position>11</position>
<source type='value'>00100</source>
</field>
<field name='Free Text'>
<length>35</length>
<position>16</position>
</field>
<field name='Buffer Offset'>
<length>2</length>
<position>51</position>
<source type='value'>00</source>
</field>
<field name='Reserved'>
<length>28</length>
<position>53</position>
</field>
</record>
<record name='UTL1'>
<field name='Label Identifier'>
<length>3</length>
<position>1</position>
<source type='value'>UTL</source>
</field>
<field name='Label Number'>
<length>1</length>
<position>4</position>
<source type='value'>1</source>
</field>
<field name='Total of debit records'>
<length>13</length>
<position>5</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Total of credit records'>
<length>13</length>
<position>18</position>
<align>right</align>
<padding>0</padding>
<source type='totalAmt' />
</field>
<field name='Count of debit records'>
<length>7</length>
<position>31</position>
<source type='totalPayments' />
<align>right</align>
<padding>0</padding>
</field>
<field name='Count of credit records'>
<length>7</length>
<position>38</position>
<align>right</align>
<padding>0</padding>
<source type='value'>1</source>
</field>
<field name='Reserved (blank)'>
<length>10</length>
<position>45</position>
</field>
<field name='Reserved (blank)'>
<length>26</length>
<position>55</position>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
42 |
9/9/2021 4:23 am |
5000 |
BACS DD |
T |
|
|
|
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="BACS">
<refField id="custrecord_2663_branch_num" label="Sort Code" mandatory="true" helptext="Enter the 6-digit numeric sort code of your bank branch. This code is used by the British banking industry to route money transfers within the country using different clearance organizations."/>
<refField id="custrecord_2663_acct_num" label="Account Number" mandatory="true" helptext="Enter your company's 8-digit bank account number."/>
<refField id="custrecord_2663_bank_num" label="Service User Number" mandatory="false" helptext="Enter your company’s 6-digit Service User Number (SUN). This number is assigned by the bank."/>
<refField id="custrecord_2663_bank_code" label="HSBC/SAGE" mandatory="false" helptext="Enter HSBC or SAGE if there is no Service User Number (SUN) assigned by the bank."/>
</refFields> |
|
value_42_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=42 |
42 |
BACS DD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 43 |
<#-- format specific processing -->
<#function buildEntityBillingAddress1 entity>
<#assign address = "">
<#if entity.billaddress1?has_content >
<#assign address = entity.billaddress1 >
<#elseif entity.shipaddress1?has_content >
<#assign address = entity.shipaddress1 >
<#elseif entity.address1?has_content >
<#assign address = entity.address1 >
</#if>
<#if (address?length > 70) >
<#assign address = address?substring(0,70) >
</#if>
<#return address>
</#function>
<#function buildEntityBillingAddress2 entity>
<#assign address = "">
<#if entity.billaddress2?has_content >
<#assign address = entity.billaddress2 >
<#elseif entity.shipaddress2?has_content >
<#assign address = entity.shipaddress2 >
<#elseif entity.address2?has_content >
<#assign address = entity.address2 >
</#if>
<#if (address?length > 70) >
<#assign address = address?substring(0,70) >
</#if>
<#return address>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
<Issr>${cbank.custpage_eft_custrecord_2663_issuer_num}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${pfa.id}-1</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${getCountryCode(cbank.custpage_eft_custrecord_2663_bank_country)}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_bank_address1),70)} ${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_bank_address2),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${cbank.custpage_eft_custrecord_2663_iban}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${cbank.custpage_eft_custrecord_2663_bank_comp_id}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<InstrId>${pfa.id}-${payment.tranid}</InstrId>
<EndToEndId>${pfa.id}-${payment.tranid}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertToLatinCharSet(buildEntityName(entity, false)),70)}</Nm>
<PstlAdr>
<Ctry>${convertToLatinCharSet(entity.billcountrycode)}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(buildEntityBillingAddress1(entity)),70)} ${setMaxLength(convertToLatinCharSet(buildEntityBillingAddress2(entity)),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${convertToLatinCharSet(entity.internalid)}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<RmtInf>
<Ustrd>${setMaxLength(convertToLatinCharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Belgium;France;Germany;Jersey;Luxembourg;Netherlands;Spain;United Kingdom |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (ABN AMRO)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (ABN AMRO)" country="NL" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{Batch Id}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
<PstlAdr>
<Ctry>{Country}</Ctry>
<AdrLine>{Address Line 1} {Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
<Ccy>{Currency}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<UltmtDbtr>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{Transaction Id}</InstrId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
<PstlAdr>
<Ctry>{Entity Country}</Ctry>
<AdrLine>{Entity Address Line 1} {Entity Address Line 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Entity Identification}</Id>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
<Ccy>EUR</Ccy>
</CdtrAcct>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
</field>
<field name="Batch Id">
<source type="batchId"/>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_country</sourceFld>
</source>
</field>
<field name="Address Line 1">
<source type="bankAddress1" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Address Line 2">
<source type="bankAddress2" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="Currency">
<source type="bankCurrency"/>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Country">
<source type="entityCountry"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 1">
<source type="entityAddress1"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address Line 2">
<source type="entityAddress2"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Identification">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityid</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="referenceNote"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
43 |
9/9/2021 4:24 am |
5000 |
SEPA Credit Transfer (ABN AMRO) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (ABN AMRO)">
<refField id='custrecord_2663_bank_comp_id' label='Company Id' mandatory='true' />
<refField id='custrecord_2663_bic' label='BIC' mandatory='true' />
<refField id='custrecord_2663_issuer_num' label='Issuer' mandatory='true' />
<refField id='custrecord_2663_iban' label='IBAN' mandatory='true' />
<refField id='custrecord_2663_statement_name' label='Company Name' mandatory='true' />
<refField id='custrecord_2663_bank_address1' label='Address Line 1' mandatory='true' />
<refField id='custrecord_2663_bank_address2' label='Address Line 2' mandatory='true' />
<refField id='custrecord_2663_bank_country' label='Country' mandatory='true' />
</refFields> |
|
value_43_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=43 |
43 |
SEPA Credit Transfer (ABN AMRO) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 44 |
<#-- cached values -->
<#assign index = 0>
<#assign refNote = pfa.custrecord_2663_ref_note?upper_case>
<#if (refNote?length > 12)>
<#assign refNote = refNote?substring(0,12)>
</#if>
<#-- template building -->
#OUTPUT START#
A${setPadding(pfa.id,"left","0",6)}03${setLength(cbank.custpage_eft_custrecord_2663_branch_num,4)}${setLength(cbank.custrecord_2663_print_company_name?upper_case,30)}${setLength("",6)}${setLength(pfa.custrecord_2663_ref_note?upper_case,20)}${setLength(pfa.custrecord_2663_process_date?string("ddMMyy"),6)}${setLength("",105)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#assign index = index + 1>
D${setPadding(index?c,"left","0",6)}${setPadding(setLength(ebank.custrecord_2663_entity_bank_no,2,"right"),"left","0",2)}${setPadding(ebank.custrecord_2663_entity_branch_no,"left","0",4)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left","0",8)}${setPadding(ebank.custrecord_2663_entity_acct_suffix?upper_case,"left","0",4)}50DC${setPadding(formatAmount(getAmount(payment)),"left","0",15)}${setLength(buildEntityName(entity,false),20)}${setLength(buildEntityName(entity,false)?upper_case,12)}${setLength(ebank.custrecord_2663_entity_payment_desc?upper_case,12)}${setLength(refNote,12,"right")}${setPadding(cbank.custpage_eft_custrecord_2663_bank_num,"left","0",2)}${setPadding(cbank.custpage_eft_custrecord_2663_branch_num,"left","0",4)}${setPadding(cbank.custpage_eft_custrecord_2663_acct_num,"left","0",8)}${setPadding(cbank.custpage_eft_custrecord_2663_bank_suffix,"left","0",4)}${setLength(cbank.custrecord_2663_print_company_name?upper_case,20)}${setLength("",42)}
</#list>
#REMOVE EOL#
#OUTPUT END# |
New Zealand |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='Westpac - Deskbank'>
<refField id='custrecord_2663_entity_bban' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' displaytype='disabled' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' displaytype='disabled' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Unique Account Number' displaytype='disabled' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_suffix' label='Bank Suffix' displaytype='disabled' />
<refField id='custrecord_2663_entity_payment_desc' label='Payment Description' mandatory='false' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bban</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type='len'>
<param name='validLength'>15|16</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type='len'>
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='NZ' name='Westpac - Deskbank'>
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type='body'>Detail</recordInfo>
</recordStructure>
<record name='Header'>
<field name='File Type'>
<position>1</position>
<length>1</length>
<source type='value'>A</source>
</field>
<field name='Sequence Number'>
<position>2</position>
<length>6</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>internalid</sourceFld>
</source>
</field>
<field name='Originating Bank'>
<position>8</position>
<length>2</length>
<source type='value'>03</source>
</field>
<field name='Originating Branch Number'>
<position>10</position>
<length>4</length>
<source type="bankBranchNumber"></source>
</field>
<field name='Customer Name'>
<position>14</position>
<length>30</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Customer Number'>
<position>44</position>
<length>6</length>
</field>
<field name='Description'>
<position>50</position>
<length>20</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setUppercase>true</setUppercase>
</field>
<field name='Due Date'>
<position>70</position>
<length>6</length>
<align>right</align>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type='date'>DDMMYY</format>
</field>
<field name='Filler'>
<position>76</position>
<length>105</length>
</field>
</record>
<record name='Detail'>
<field name='Record Type'>
<position>1</position>
<length>1</length>
<source type='value'>D</source>
</field>
<field name='Sequence Number'>
<position>2</position>
<length>6</length>
<padding>0</padding>
<align>right</align>
<source type='lineNum'></source>
</field>
<field name='Payee Bank Number'>
<position>8</position>
<length>2</length>
<source type='entityBankNumber'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Payee Branch Number'>
<position>10</position>
<length>4</length>
<source type='entityBranchNumber'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Payee Unique Account Number'>
<position>14</position>
<length>8</length>
<source type='entityAccount'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Payee Bank Suffix'>
<position>22</position>
<length>4</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_suffix</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Transaction Code'>
<position>26</position>
<length>2</length>
<source type='value'>50</source>
</field>
<field name='MTS Source'>
<position>28</position>
<length>2</length>
<source type='value'>DC</source>
</field>
<field name='Amount'>
<position>30</position>
<length>15</length>
<source type='amount' />
<padding>0</padding>
<align>right</align>
</field>
<field name='Payee Name'>
<position>45</position>
<length>20</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name='Payee Particulars'>
<position>65</position>
<length>12</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
</field>
<field name='Payee Analysis Code'>
<position>77</position>
<length>12</length>
</field>
<field name='Payee Reference'>
<position>89</position>
<length>12</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name='Payer Bank Number'>
<position>101</position>
<length>2</length>
<source type='bankBankNumber'></source>
<padding>0</padding>
<align>right</align>
</field>
<field name='Payer Branch Number'>
<position>103</position>
<length>4</length>
<source type='bankBranchNumber'></source>
</field>
<field name='Payer Unique Account Number'>
<position>107</position>
<length>8</length>
<source type='bankAccount'></source>
</field>
<field name='Payer Bank Suffix'>
<position>115</position>
<length>4</length>
<source type='bankAccountSuffix'></source>
</field>
<field name='Payer Name'>
<position>119</position>
<length>20</length>
<source type='field'>
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_print_company_name</sourceFld>
</source>
</field>
<field name='Filler'>
<position>139</position>
<length>42</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
44 |
6/24/2021 5:37 am |
5000 |
Westpac - Deskbank |
T |
|
|
|
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="Westpac - Deskbank">
<refField id="custrecord_2663_bban" label="Account Number" mandatory="true" helptext="Enter your 15-digit or 16-digit bank account number."/>
<refField id="custrecord_2663_bank_num" label="Bank Number" displaytype="disabled" helptext="This field displays the bank number based on the value in the Account Number field."/>
<refField id="custrecord_2663_branch_num" label="Branch Number" displaytype="disabled" helptext="This field displays the branch number based on the value in the Account Number field."/>
<refField id="custrecord_2663_acct_num" label="Unique Account Number" displaytype="disabled" helptext="This field displays your unique account number based on the value in the Account Number field."/>
<refField id="custrecord_2663_bank_suffix" label="Bank Suffix" displaytype="disabled" helptext="This field displays the bank suffix based on the value in the Account Number field."/>
</refFields> |
|
value_44_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=44 |
44 |
Westpac - Deskbank |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 45 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#assign value = value?replace('\'',' ')>
<#assign value = value?replace('/',' ')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.003.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(pfa.id,5)}-${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),30)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${setMaxLength(payments?size,15)}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_eft_custrecord_2663_iban,34)}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<InstrId>${pfa.id}-${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),29)}</InstrId>
<EndToEndId>${pfa.id}-${setMaxLength(payment.tranid,29)}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity)),70)}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Germany |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (Germany)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_print_company_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (Germany)" country="DE" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{File Reference Note}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<CtgyPurp>
<Cd>SUPP</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
<Ccy>{Currency}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{File Ref Note}</InstrId>
<EndToEndId>{Pay File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
<length>5</length>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
<length>5</length>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="Currency">
<source type="bankCurrency"/>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
<field name="File Reference Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>30</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
<length>5</length>
</field>
<field name="Pay File Id">
<source type="paymentFileNum"/>
<length>5</length>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<length>29</length>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="File Ref Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>29</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="referenceNote"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
45 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (Germany) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (Germany)">
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN). "/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter the name of your company."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company's bank (eight or 11 characters). "/>
</refFields> |
|
value_45_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=45 |
45 |
SEPA Credit Transfer (Germany) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 46 |
<#-- format specific processing -->
<#function buildEntityBillingAddress1 entity>
<#assign address = "">
<#if entity.billaddress1?has_content >
<#assign address = entity.billaddress1 >
<#elseif entity.shipaddress1?has_content >
<#assign address = entity.shipaddress1 >
<#elseif entity.address1?has_content >
<#assign address = entity.address1 >
</#if>
<#return address>
</#function>
<#function buildEntityBillingAddress2 entity>
<#assign address = "">
<#if entity.billaddress2?has_content >
<#assign address = entity.billaddress2 >
<#elseif entity.shipaddress2?has_content >
<#assign address = entity.shipaddress2 >
<#elseif entity.address2?has_content >
<#assign address = entity.address2 >
</#if>
<#return address>
</#function>
<#function buildIBAN ebank>
<#assign value = "">
<#assign swiftID = ebank.custrecord_2663_entity_bic>
<#if swiftID?has_content && (swiftID?length == 8 || swiftID?length == 11)>
<#assign countryCode = swiftID?substring(4,6) >
<#if countryCode != "SA" && countryCode != "LB">
<#assign value = "//" + ebank.custrecord_2663_entity_bic + "/" + ebank.custrecord_2663_entity_acct_no>
<#else>
<#assign value = "//" + ebank.custrecord_2663_entity_iban>
</#if>
</#if>
<#return value>
</#function>
<#function buildReferenceNote payment>
<#assign paymentTrans = transHash[payment.internalid]>
<#assign refNote = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0] >
<#assign refNote = transaction.tranid >
</#if>
<#if (refNote?length > 35) >
<#assign refNote = refNote?substring(0,35) >
</#if>
<#return refNote>
</#function>
<#function buildBankIBAN>
<#assign value = "//" + cbank.custpage_eft_custrecord_2663_bic + "/" + cbank.custpage_eft_custrecord_2663_acct_num>
<#return value>
</#function>
<#-- template building -->
#OUTPUT START#
CI,${setMaxLength(pfa.custrecord_2663_file_creation_timestamp?date?string("yyyyMMdd"),8)}${setMaxLength(pfa.custrecord_2663_file_creation_timestamp?time?string("HHmmss"),6)},,${setMaxLength(pfa.id,4)}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
4.01,GIR,,${setMaxLength(cbank.custpage_eft_custrecord_2663_branch_num?upper_case,3)},${setMaxLength(cbank.custpage_eft_custrecord_2663_acct_num?upper_case,34)},${setMaxLength(getCurrencySymbol(payment.currency)?upper_case,3)},${setMaxLength(formatAmount(getAmount(payment),"dec"),15)},${setMaxLength(pfa.custrecord_2663_process_date?string("yyyyMMdd"),8)},//${setMaxLength(ebank.custrecord_2663_entity_bic?upper_case,33)},${encloseString(setMaxLength(ebank.custrecord_2663_entity_bank_name?upper_case,35),35,",","\"")},${encloseString(setMaxLength(ebank.custrecord_2663_entity_address1?upper_case,35),35,",","\"")},${encloseString(setMaxLength(ebank.custrecord_2663_entity_address2?upper_case,35),35,",","\"")},,${setMaxLength(buildIBAN(ebank)?upper_case,34)},${encloseString(setMaxLength(buildEntityName(entity,false)?upper_case?trim,35),35,",","\"")},${encloseString(setMaxLength(buildEntityBillingAddress1(entity)?upper_case,35),35,",","\"")},${encloseString(setMaxLength(buildEntityBillingAddress2(entity)?upper_case,32),32,",","\"")},,,,,,,,,,,,,,${encloseString(setMaxLength(pfa.custrecord_2663_ref_note?upper_case,16)?trim,16,",","\"")},,,${encloseString(setMaxLength(buildReferenceNote(payment)?upper_case,35),35,",","\"")},,,,,,,,,,,,,,,,,,,,,,,,${setMaxLength(buildBankIBAN()?upper_case,34)},${encloseString(setMaxLength(cbank.custrecord_2663_legal_name?upper_case,35),35,",","\"")},${encloseString(setMaxLength(cbank.custpage_eft_custrecord_2663_bank_address1?upper_case,32),32,",","\"")},${encloseString(setMaxLength(cbank.custpage_eft_custrecord_2663_bank_address2?upper_case,32),32,",","\"")},${encloseString(setMaxLength(cbank.custpage_eft_custrecord_2663_bank_address3?upper_case,32),32,",","\"")},N,,,${setMaxLength(ebank.custrecord_2663_entity_bic?upper_case,11)},${setMaxLength(ebank.custrecord_2663_entity_bic?upper_case,11)},,${setMaxLength(cbank.custpage_eft_custrecord_2663_bic?upper_case,11)},,,,,,CORT,,,,,,${setMaxLength(ebank.custrecord_2663_entity_country_code?upper_case,2)},${setMaxLength(ebank.custrecord_2663_entity_country_code?upper_case,2)},,${setMaxLength(cbank.custpage_eft_custrecord_2663_country_code?upper_case,2)}
</#list>
99,${setMaxLength(payments?size?c,7)},${setMaxLength(formatAmount(computeTotalAmount(payments,true),"dec"),20)}
#OUTPUT END# |
|
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='J.P. Morgan Freeform GMT'>
<refField id='custrecord_2663_entity_acct_no' label='Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_bic' label='Swift ID/BIC' mandatory='true' helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_bank_name' label='Bank Name' mandatory='true' helptext="Enter the name of the vendor's/employee's/customer's bank."/>
<refField id='custrecord_2663_entity_country_code' label='Country Code' displaytype='disabled' helptext="This field displays the international code assigned to the country where the bank is based."/>
<refField id='custrecord_2663_entity_address1' label='Bank Address 1' mandatory='true' />
<refField id='custrecord_2663_entity_address2' label='Bank Address 2' mandatory='true' />
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='false' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name='validLength'>8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num">
<param name="min">1</param>
</validator>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name='validLength'>8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type="custom" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="custom" />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='NZ' crlf='true' name='J.P. Morgan Freeform GMT' extension='csv' delimiter=','>
<recordStructure>
<recordInfo>Header</recordInfo>
<recordInfo type='body'>Detail</recordInfo>
<recordInfo>Trailer</recordInfo>
</recordStructure>
<record name='Header'>
<field name='Record Indicator'>
<position>1</position>
<length>2</length>
<source type='value'>CI</source>
</field>
<field name='Timestamp'>
<position>3</position>
<length>14</length>
<source type='currentDate'></source>
<format type='datetime'>YYYYMMDDHHmmss</format>
<setFixed>false</setFixed>
</field>
<field name='User Identifier'>
<position>17</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Batch Number'>
<position>25</position>
<length>4</length>
<source type='paymentFileNum'></source>
<setFixed>false</setFixed>
</field>
</record>
<record name='Detail'>
<field name='Record Indicator'>
<position>1</position>
<length>4</length>
<source type='value'>4.01</source>
</field>
<field name='Pay Method'>
<position>5</position>
<length>3</length>
<source type='value'>GIR</source>
</field>
<field name='Bank'>
<position>8</position>
<length>11</length>
<setFixed>false</setFixed>
</field>
<field name='Location'>
<position>19</position>
<length>3</length>
<source type='bankBranchNumber'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
</field>
<field name='Account'>
<position>22</position>
<length>34</length>
<source type='bankAccount'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>34</maxLength>
</field>
<field name='Currency'>
<position>56</position>
<length>3</length>
<source type='currency'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
</field>
<field name='Amount'>
<position>59</position>
<length>15</length>
<source type='amount'></source>
<setFixed>false</setFixed>
<format type='decimal'></format>
</field>
<field name='Value Date'>
<position>74</position>
<length>8</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYYMMDD</format>
<setFixed>false</setFixed>
</field>
<field name='Bene Bank ID'>
<position>82</position>
<length>35</length>
<source type='entitySwiftCode'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
</field>
<field name='Bene Bank Name'>
<position>117</position>
<length>35</length>
<source type='entityBankName'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>35</maxLength>
<format type='quoted'></format>
</field>
<field name='Bene Bank Addr 1'>
<position>152</position>
<length>35</length>
<source type='entityAddress1'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>35</maxLength>
<format type='quoted'></format>
</field>
<field name='Bene Bank Addr 2'>
<position>187</position>
<length>35</length>
<source type='entityAddress2'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>35</maxLength>
<format type='quoted'></format>
</field>
<field name='Bene Bank Addr 3'>
<position>222</position>
<length>32</length>
<setFixed>false</setFixed>
<format type='quoted'></format>
</field>
<field name='Ult Bene ID'>
<position>254</position>
<length>34</length>
<source type='entityIBAN'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>34</maxLength>
</field>
<field name='Ult Bene Name'>
<position>288</position>
<length>35</length>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>35</maxLength>
<format type='quoted'></format>
</field>
<field name='Ult Bene Bank Addr 1'>
<position>323</position>
<length>35</length>
<source type='entityBillingAddress1'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>35</maxLength>
<format type='quoted'></format>
</field>
<field name='Ult Bene Bank Addr 2'>
<position>358</position>
<length>32</length>
<source type='entityBillingAddress2'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='Ult Bene Bank Addr 3'>
<position>392</position>
<length>32</length>
<setFixed>false</setFixed>
</field>
<field name='Ult Bene Bank Addr 4'>
<position>425</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Intermediary ID'>
<position>495</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Intermediary Name'>
<position>530</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Intermediary Addr 1'>
<position>565</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Intermediary Addr 2'>
<position>600</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Intermediary Addr 3'>
<position>635</position>
<length>32</length>
<setFixed>false</setFixed>
</field>
<field name='Instructions to Debit Bank 1'>
<position>670</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Instructions to Debit Bank 2'>
<position>705</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Instructions to Debit Bank 3'>
<position>740</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Instructions to Debit Bank 4'>
<position>775</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Correspondent Charges'>
<position>810</position>
<length>1</length>
<setFixed>false</setFixed>
</field>
<field name='Debit Bank Charges'>
<position>811</position>
<length>1</length>
<setFixed>false</setFixed>
</field>
<field name='Customer Reference'>
<position>812</position>
<length>16</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='Delivery Instructions'>
<position>828</position>
<length>3</length>
<setFixed>false</setFixed>
</field>
<field name='Pay Through Code'>
<position>831</position>
<length>10</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 1'>
<position>841</position>
<length>35</length>
<source type="referenceNote"></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='Remitters Text 2'>
<position>876</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 3'>
<position>911</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 4'>
<position>946</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 5'>
<position>981</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 6'>
<position>1051</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 7'>
<position>1121</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 8'>
<position>1191</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 9'>
<position>1261</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 10'>
<position>1331</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 11'>
<position>1401</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Remitters Text 12'>
<position>1471</position>
<length>70</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 1'>
<position>1541</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 2'>
<position>1549</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 3'>
<position>1557</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 4'>
<position>1565</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 5'>
<position>1573</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Code Value 6'>
<position>1581</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 1'>
<position>1589</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 2'>
<position>1614</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 3'>
<position>1639</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 4'>
<position>1664</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 5'>
<position>1689</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='Field Text Line 6'>
<position>1714</position>
<length>25</length>
<setFixed>false</setFixed>
</field>
<field name='By Order ID'>
<position>1739</position>
<length>34</length>
<source type='bankIBAN'></source>
<setFixed>false</setFixed>
<setUppercase>true</setUppercase>
<maxLength>34</maxLength>
</field>
<field name='By Order Name'>
<position>1773</position>
<length>35</length>
<setFixed>false</setFixed>
<source type='bankLegalName'></source>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='By Order Addr 1'>
<position>1808</position>
<length>32</length>
<setFixed>false</setFixed>
<source type='bankAddress1'></source>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='By Order Addr 2'>
<position>1840</position>
<length>32</length>
<setFixed>false</setFixed>
<source type='bankAddress2'></source>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='By Order Addr 3'>
<position>1872</position>
<length>32</length>
<setFixed>false</setFixed>
<source type='bankAddress3'></source>
<setUppercase>true</setUppercase>
<format type='quoted'></format>
</field>
<field name='Bene is a Bank'>
<position>1904</position>
<length>1</length>
<source type='value'>N</source>
</field>
<field name='Instructions to Debit Bank Line 5'>
<position>1905</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Instructions to Debit Bank Line 6'>
<position>1940</position>
<length>36</length>
<setFixed>false</setFixed>
</field>
<field name='Ult Bene Swift ID'>
<position>1976</position>
<length>11</length>
<setFixed>false</setFixed>
<source type='entityBIC'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Bene Bank Swift ID'>
<position>1987</position>
<length>11</length>
<setFixed>false</setFixed>
<source type='entityBIC'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Intermediary Swift ID'>
<position>1998</position>
<length>11</length>
<setFixed>false</setFixed>
</field>
<field name='By Order of Swift ID'>
<position>2009</position>
<length>11</length>
<setFixed>false</setFixed>
<source type='bankBIC'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Regulatory Reporting Code'>
<position>2020</position>
<length>8</length>
<setFixed>false</setFixed>
</field>
<field name='Regulatory Reporting Country Code'>
<position>2028</position>
<length>2</length>
<setFixed>false</setFixed>
</field>
<field name='Regulatory Reporting Line 1'>
<position>2030</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Regulatory Reporting Line 2'>
<position>2065</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Regulatory Reporting Line 3'>
<position>2100</position>
<length>35</length>
<setFixed>false</setFixed>
</field>
<field name='Instruction code - code 1'>
<position>2135</position>
<length>4</length>
<setFixed>false</setFixed>
<source type='value'>CORT</source>
</field>
<field name='Instruction code - text 1'>
<position>2139</position>
<length>30</length>
<setFixed>false</setFixed>
</field>
<field name='Instruction code - code 2'>
<position>2169</position>
<length>4</length>
<setFixed>false</setFixed>
</field>
<field name='Instruction code - text 2'>
<position>2173</position>
<length>30</length>
<setFixed>false</setFixed>
</field>
<field name='Instruction code - code 3'>
<position>2203</position>
<length>4</length>
<setFixed>false</setFixed>
</field>
<field name='Instruction code - text 3'>
<position>2207</position>
<length>30</length>
<setFixed>false</setFixed>
</field>
<field name='Ult Bene Country'>
<position>2237</position>
<length>2</length>
<setFixed>false</setFixed>
<source type='entityCountry'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Bene Bank Country'>
<position>2239</position>
<length>2</length>
<setFixed>false</setFixed>
<source type='entityCountry'></source>
<setUppercase>true</setUppercase>
</field>
<field name='Intermediary Country'>
<position>2241</position>
<length>2</length>
<setFixed>false</setFixed>
</field>
<field name='By Order Country'>
<position>2243</position>
<length>2</length>
<setFixed>false</setFixed>
<source type='bankCountry'></source>
<setUppercase>true</setUppercase>
</field>
</record>
<record name='Trailer'>
<field name='Record Indicator'>
<position>1</position>
<length>2</length>
<source type='value'>99</source>
<setFixed>false</setFixed>
</field>
<field name='Total Number of Records'>
<position>3</position>
<length>7</length>
<source type='totalPayments'></source>
<setFixed>false</setFixed>
</field>
<field name='Hash Total of Amounts'>
<position>10</position>
<length>20</length>
<source type='totalAmt'></source>
<setFixed>false</setFixed>
<format type='decimal'></format>
</field>
</record>
</fileformat> |
F |
F |
F |
T |
46 |
6/24/2021 5:37 am |
5000 |
J.P. Morgan Freeform GMT |
T |
|
|
csv |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type='J.P. Morgan Freeform GMT'>
<refField id='custrecord_2663_branch_num' label='Branch Location' mandatory='true' />
<refField id='custrecord_2663_acct_num' label='Account Number' mandatory='true' />
<refField id='custrecord_2663_bic' label='Swift ID/BIC' mandatory='true' />
<refField id='custrecord_2663_country_code' label='Country Code' displaytype='disabled' />
<refField id='custrecord_2663_bank_address1' label='Bank Address 1' mandatory='true' />
<refField id='custrecord_2663_bank_address2' label='Bank Address 2' mandatory='true' />
</refFields> |
|
value_46_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=46 |
46 |
J.P. Morgan Freeform GMT |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 47 |
<#-- format specific processing -->
<#function getTransactionFieldValue payment field>
<#assign paidTransactions = transHash[payment.internalid]>
<#if paidTransactions?size == 1>
<#assign transaction = paidTransactions[0]>
<#if field == "tranid">
<#assign tranId = transaction.tranid>
<#if tranId?has_content>
<#return tranId>
</#if>
<#elseif field == "trandate">
<#assign tranDate = transaction.trandate>
<#if tranDate?has_content>
<#return tranDate?string("MM/dd/yyyy")>
</#if>
<#elseif field == "amount">
<#assign accountType = pfa.custrecord_2663_account.type>
<#if payment.currency?has_content>
<#if accountType == "Bank">
<#return transaction.appliedtoforeignamount>
<#else>
<#return transaction.applyingforeignamount>
</#if>
<#else>
<#if accountType == "Bank">
<#return transaction.appliedtolinkamount>
<#else>
<#return transaction.applyinglinkamount>
</#if>
</#if>
</#if>
</#if>
<#return "">
</#function>
<#-- template building -->
#OUTPUT START#
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
${setMaxLength(ebank.custrecord_2663_entity_acct_name,50)},${setMaxLength(getTransactionFieldValue(payment,"tranid"),27)},${getTransactionFieldValue(payment,"trandate")},${formatAmount(getTransactionFieldValue(payment,"amount"),"dec")},0.00,0.00,0.00,${setMaxLength(pfa.custrecord_2663_ref_note,50)},${setMaxLength(pfa.internalid,50)}," "," "," "," "," "," "," "," "," "
</#list>
#OUTPUT END# |
United States |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='PNC ActivePay'>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">50</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat country='US' crlf='true' name='PNC ActivePay' extension='csv' delimiter=','>
<recordStructure>
<recordInfo type='body'>Detail</recordInfo>
</recordStructure>
<record name='Detail'>
<field name='Merchant Code'>
<position>1</position>
<length>50</length>
<maxLength>50</maxLength>
<source type='field'>
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Invoice Number'>
<position>51</position>
<length>50</length>
<maxLength>50</maxLength>
<source type='referenceNote'></source>
<setFixed>false</setFixed>
</field>
<field name='Invoice Date'>
<position>101</position>
<length>10</length>
<source type='referenceDate'></source>
<format type='date'>MM/DD/YYYY</format>
</field>
<field name='Invoice Amount'>
<position>111</position>
<length>14</length>
<source type='referenceAmount'></source>
<format type='decimal'></format>
<align>left</align>
<setFixed>false</setFixed>
<maxLength>14</maxLength>
</field>
<field name='Tax Amount'>
<position>126</position>
<length>14</length>
<source type='value'>0.00</source>
<setFixed>false</setFixed>
</field>
<field name='Discount Amount'>
<position>140</position>
<length>14</length>
<source type='value'>0.00</source>
<setFixed>false</setFixed>
</field>
<field name='Freight Amount'>
<position>154</position>
<length>14</length>
<source type='value'>0.00</source>
<setFixed>false</setFixed>
</field>
<field name='Client Payment Code'>
<position>168</position>
<length>50</length>
<source type='field'>
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<setFixed>false</setFixed>
</field>
<field name='Client Reference Number'>
<position>218</position>
<length>50</length>
<source type='paymentFileNum'></source>
<setFixed>false</setFixed>
</field>
<field name='Description'>
<position>268</position>
<length>500</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 1 Label'>
<position>768</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 1 Label'>
<position>818</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 2 Label'>
<position>868</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 2 Label'>
<position>918</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 3 Label'>
<position>968</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 3 Label'>
<position>1018</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 4 Label'>
<position>1068</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
<field name='UDF 4 Label'>
<position>1118</position>
<length>50</length>
<source type='value'>" "</source>
<setFixed>false</setFixed>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
47 |
6/24/2021 5:37 am |
5000 |
PNC ActivePay |
T |
|
|
csv |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type='PNC ActivePay'>
</refFields> |
|
value_47_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=47 |
47 |
PNC ActivePay |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 48 |
<#-- format specific processing -->
<#-- constants -->
<#assign BILL_SEQ_FRST = "1">
<#assign BILL_SEQ_RCUR = "2">
<#assign BILL_SEQ_FNAL = "3">
<#assign BILL_SEQ_OOFF = "4">
<#assign AMEND_NONE = "1">
<#assign AMEND_MANDATE_ID = "2">
<#assign AMEND_DEBTOR_ACCT = "3">
<#assign AMEND_DEBTOR_AGENT = "4">
<#assign AMEND_CREDITOR_ID = "5">
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('/',' ')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#function buildUnstructuredInfo payment ebank>
<#assign bankCompanyName = cbank.custpage_dd_custrecord_2663_statement_name >
<#assign aggMethod = pfa.custrecord_2663_agg_method >
<#assign info = "">
<#if aggMethod == "@NONE@">
<#assign paymentTrans = transHash[payment.internalid]>
<#assign tranId = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0] >
<#assign tranId = transaction.tranid >
</#if>
<#assign info = tranId + " " + bankCompanyName >
<#else>
<#assign info = ebank.custrecord_2663_entity_payment_desc >
</#if>
<#return info>
</#function>
<#-- create batch payments, ebanks, entities for each sequence type -->
<#assign seqPayments = {}>
<#assign seqEbanks = {}>
<#assign seqEntities = {}>
<#list payments_FRST as payment>
<#assign entity = entities_FRST[payment_index]>
<#assign ebank = ebanks_FRST[payment_index]>
<#if !seqPayments["FRST"]?has_content>
<#assign seqPayments = seqPayments + {"FRST":[]}>
<#assign seqEbanks = seqEbanks + {"FRST":[]}>
<#assign seqEntities = seqEntities + {"FRST":[]}>
</#if>
<#assign seqPayments = seqPayments + {"FRST":seqPayments["FRST"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"FRST":seqEbanks["FRST"] + [ebank]}>
<#assign seqEntities = seqEntities + {"FRST":seqEntities["FRST"] + [entity]}>
</#list>
<#list payments_RCUR as payment>
<#assign entity = entities_RCUR[payment_index]>
<#assign ebank = ebanks_RCUR[payment_index]>
<#if !seqPayments["RCUR"]?has_content>
<#assign seqPayments = seqPayments + {"RCUR":[]}>
<#assign seqEbanks = seqEbanks + {"RCUR":[]}>
<#assign seqEntities = seqEntities + {"RCUR":[]}>
</#if>
<#assign seqPayments = seqPayments + {"RCUR":seqPayments["RCUR"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"RCUR":seqEbanks["RCUR"] + [ebank]}>
<#assign seqEntities = seqEntities + {"RCUR":seqEntities["RCUR"] + [entity]}>
</#list>
<#list payments_FNAL as payment>
<#assign entity = entities_FNAL[payment_index]>
<#assign ebank = ebanks_FNAL[payment_index]>
<#if !seqPayments["FNAL"]?has_content>
<#assign seqPayments = seqPayments + {"FNAL":[]}>
<#assign seqEbanks = seqEbanks + {"FNAL":[]}>
<#assign seqEntities = seqEntities + {"FNAL":[]}>
</#if>
<#assign seqPayments = seqPayments + {"FNAL":seqPayments["FNAL"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"FNAL":seqEbanks["FNAL"] + [ebank]}>
<#assign seqEntities = seqEntities + {"FNAL":seqEntities["FNAL"] + [entity]}>
</#list>
<#list payments_OOFF as payment>
<#assign entity = entities_OOFF[payment_index]>
<#assign ebank = ebanks_OOFF[payment_index]>
<#if !seqPayments["OOFF"]?has_content>
<#assign seqPayments = seqPayments + {"OOFF":[]}>
<#assign seqEbanks = seqEbanks + {"OOFF":[]}>
<#assign seqEntities = seqEntities + {"OOFF":[]}>
</#if>
<#assign seqPayments = seqPayments + {"OOFF":seqPayments["OOFF"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"OOFF":seqEbanks["OOFF"] + [ebank]}>
<#assign seqEntities = seqEntities + {"OOFF":seqEntities["OOFF"] + [entity]}>
</#list>
<#-- counters -->
<#assign batchCount = 0>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02 pain.008.003.02.xsd">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>${setPadding(pfa.id,"left","0",5)}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${setMaxLength(payments?size,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_dd_custrecord_2663_statement_name),70)}</Nm>
</InitgPty>
</GrpHdr>
<#list seqPayments?keys as key>
<#if (seqPayments[key]?size > 0) >
<#assign batchCount = batchCount +1>
<#assign batchPaymentCount = 0>
<#if batchCount == 1>
<PmtInf>
<#else>
<PmtInf>
</#if>
<PmtInfId>${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),30)}-${setPadding(batchCount,"left","0",4)}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${setMaxLength(seqPayments[key]?size,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(seqPayments[key]),"decLessThan1")}</CtrlSum>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<LclInstrm>
<Cd>${pfa.custrecord_2663_direct_debit_type}</Cd>
</LclInstrm>
<SeqTp>${key}</SeqTp>
</PmtTpInf>
<ReqdColltnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdColltnDt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_dd_custrecord_2663_statement_name),70)}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_dd_custrecord_2663_iban,34)}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_dd_custrecord_2663_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtrSchmeId>
<Id>
<PrvtId>
<Othr>
<Id>${cbank.custpage_dd_custrecord_2663_processor_code}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</CdtrSchmeId>
<#list seqPayments[key] as payment>
<#assign ebank = seqEbanks[key][payment_index]>
<#assign entity = seqEntities[key][payment_index]>
<#assign batchPaymentCount = batchPaymentCount + 1>
<#if payment_index == 0>
<DrctDbtTxInf>
<#else>
<DrctDbtTxInf>
</#if>
<PmtId>
<InstrId>${setPadding(pfa.id,"left","0",5)}-${setPadding(payment.tranid,"left","0",5)}</InstrId>
<EndToEndId>${setPadding(pfa.id,"left","0",5)}-${setPadding(payment.tranid,"left","0",5)} </EndToEndId>
</PmtId>
<InstdAmt Ccy='EUR'>${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
<DrctDbtTx>
<MndtRltdInf>
<MndtId>${convertSEPACharSet(ebank.custrecord_2663_reference)}</MndtId>
<DtOfSgntr>${ebank.custrecord_2663_date_ref_mandate?string("yyyy-MM-dd")}</DtOfSgntr>
<#if ebank.custrecord_2663_customer_code == AMEND_NONE>
<AmdmntInd>false</AmdmntInd>
<#elseif ebank.custrecord_2663_customer_code == AMEND_MANDATE_ID>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlMndtId>${ebank.custrecord_2663_entity_issuer_num}</OrgnlMndtId>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_DEBTOR_ACCT>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlDbtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_acct_no}</IBAN>
</Id>
</OrgnlDbtrAcct>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_DEBTOR_AGENT>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlDbtrAgt>
<FinInstnId>
<Othr>
<Id>SMNDA</Id>
</Othr>
</FinInstnId>
</OrgnlDbtrAgt>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_CREDITOR_ID>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlCdtrSchmeId>
<Nm>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_acct_name),70)}</Nm>
<Id>
<PrvtId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_bank_no),35)}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</OrgnlCdtrSchmeId>
</AmdmntInfDtls>
</#if>
<#if ebank.custrecord_2663_entity_bank_code?has_content>
<ElctrncSgntr>${convertSEPACharSet(ebank.custrecord_2663_entity_bank_code)}</ElctrncSgntr>
</#if>
</MndtRltdInf>
</DrctDbtTx>
<DbtrAgt>
<FinInstnId>
<BIC>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_bic),11)}</BIC>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity,false)),70)}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_iban),70)}</IBAN>
</Id>
</DbtrAcct>
<Purp>
<Cd>COLL</Cd>
</Purp>
<RmtInf>
<Ustrd>${convertSEPACharSet(buildUnstructuredInfo(payment,ebank))}</Ustrd>
</RmtInf>
<#if batchPaymentCount < seqPayments[key]?size>
</DrctDbtTxInf>
<#else>
</DrctDbtTxInf>
</#if>
</#list>
</PmtInf>
</#if>
</#list>
</CstmrDrctDbtInitn>
</Document><#rt>
#OUTPUT END# |
Germany |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Direct Debit (Germany)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id="custrecord_2663_entity_iban" label="IBAN" mandatory="true" helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id="custrecord_2663_entity_billing_seq_type" label="Billing Sequence Type" mandatory="true" />
<refField id="custrecord_2663_reference" label="Reference Mandate" mandatory="true" helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id="custrecord_2663_date_ref_mandate" label="Date of Reference Mandate" mandatory="true" />
<refField id="custrecord_2663_entity_ref_amended" label="Reference Amended" mandatory="true" />
<refField id="custrecord_2663_entity_issuer_num" label="Original Reference Mandate" mandatory="false" />
<refField id="custrecord_2663_entity_acct_no" label="Original Debtor IBAN" mandatory="false" helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id="custrecord_2663_entity_bank_no" label="Original Creditor ID" mandatory="false" helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id="custrecord_2663_entity_acct_name" label="Original Creditor Name" mandatory="false" helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id="custrecord_2663_entity_payment_desc" label="Remittance Message" mandatory="true" helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id="custrecord_2663_entity_bank_code" label="Electronic Signature" mandatory="false" helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id="custrecord_2663_first_pay_date" label="First Payment Date" displaytype="hidden" />
<refField id="custrecord_2663_final_pay_date" label="Final Payment Date" displaytype="inline" />
<refField id="custrecord_2663_num_payments" label="Payments Made" displaytype="inline" />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_processor_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_print_company_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Ref Mandate -->
<fieldValidator>
<fieldName>custrecord_2663_reference</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Ref Mandate -->
<fieldValidator>
<fieldName>custrecord_2663_entity_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Debtor IBAN -->
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<!-- Original Creditor ID -->
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Creditor Name -->
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Remittance Message -->
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">140</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Electronic Signature -->
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Direct Debit (Germany)" country="DE" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02 pain.008.003.02.xsd">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Header Number of Transactions}</NbOfTxs>
<CtrlSum>{Header Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{File Reference Note}-{Batch Id}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Payment Number of Transactions}</NbOfTxs>
<CtrlSum>{Payment Control Sum}</CtrlSum>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<LclInstrm>
<Cd>{Direct Debit Type}</Cd>
</LclInstrm>
<SeqTp>{Sequence Type}</SeqTp>
</PmtTpInf>
<ReqdColltnDt>{Requested Collection Date}</ReqdColltnDt>
<Cdtr>
<Nm>{Creditor Name}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Bank IBAN}</IBAN>
</Id>
<Ccy>{Bank Currency}</Ccy>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<BIC>{Bank BIC}</BIC>
</FinInstnId>
</CdtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtrSchmeId>
<Id>
<PrvtId>
<Othr>
<Id>{Bank Creditor ID}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</CdtrSchmeId>
<DrctDbtTxInf>
<PmtId>
<InstrId>{Detail Pay File Id}-{Transaction Id}</InstrId>
<EndToEndId>{Detail Pay File Id}-{Check Number} </EndToEndId>
</PmtId>
<InstdAmt Ccy='EUR'>{Amount}</InstdAmt>
<DrctDbtTx>
<MndtRltdInf>
<MndtId>{Reference Mandate}</MndtId>
<DtOfSgntr>{Date of Reference Mandate}</DtOfSgntr>
<AmdmntInd>{Amendment Indicator}</AmdmntInd>
{Amendment Details}
<ElctrncSgntr>{Electronic Signature}</ElctrncSgntr>
</MndtRltdInf>
</DrctDbtTx>
<DbtrAgt>
<FinInstnId>
<BIC>{Entity Bank BIC}</BIC>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<Nm>{Entity Company Name}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{Entity IBAN}</IBAN>
</Id>
</DbtrAcct>
<Purp>
<Cd>COLL</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</DrctDbtTxInf>
</PmtInf>
</CstmrDrctDbtInitn>
</Document>
</xmlStructure>
<xmlSource name="Original Mandate Identification">
<AmdmntInfDtls>
<OrgnlMndtId>{Original Reference Mandate}</OrgnlMndtId>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Debtor Account">
<AmdmntInfDtls>
<OrgnlDbtrAcct>
<Id>
<IBAN>{Debtor IBAN}</IBAN>
</Id>
</OrgnlDbtrAcct>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Debtor Agent">
<AmdmntInfDtls>
<OrgnlDbtrAgt>
<FinInstnId>
<Othr>
<Id>SMNDA</Id>
</Othr>
</FinInstnId>
</OrgnlDbtrAgt>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Creditor ID">
<AmdmntInfDtls>
<OrgnlCdtrSchmeId>
<Nm>{Original Creditor}</Nm>
<Id>
<PrvtId>
<Othr>
<Id>{Original Creditor ID Number}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</OrgnlCdtrSchmeId>
</AmdmntInfDtls>
</xmlSource>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo type="body" element="DrctDbtTxInf">detail</recordInfo>
<recordInfo type="batch" element="PmtInf">payment</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Header Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Header Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="payment">
<field name="File Reference Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>30</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Batch Id">
<source type="batchId"/>
<length>4</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Payment Number of Transactions">
<source type="totalBatchPayments"/>
<length>15</length>
</field>
<field name="Payment Control Sum">
<source type="totalBatchAmt"/>
<format type="decimal"/>
</field>
<field name="Direct Debit Type">
<source type="directDebitType"></source>
</field>
<field name="Sequence Type">
<source type="entityBillingSequenceType"></source>
</field>
<field name="Requested Collection Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creditor Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Bank IBAN">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="Bank Currency">
<source type="bankCurrency"/>
</field>
<field name="Bank BIC">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
<field name="Bank Creditor ID">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="File Ref Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>30</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Pay File Id">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
</record>
<record name="detail">
<field name="Detail Pay File Id">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Check Number">
<source type="chequeNumber"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Amount">
<source type="batchAmount"></source>
<format type="currency"></format>
</field>
<field name="Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_reference</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Date of Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_date_ref_mandate</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Amendment Indicator">
<source type="entityRefAmendmentIndicator"></source>
</field>
<field name="Electronic Signature">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_code</sourceFld>
</source>
<hideWhenEmpty>true</hideWhenEmpty>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Amendment Details">
<source type="xml">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_customer_code</sourceFld>
</source>
</field>
<field name="Original Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_issuer_num</sourceFld>
</source>
</field>
<field name="Debtor IBAN">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Original Creditor">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Original Creditor ID Number">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Bank BIC">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
<length>11</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Company Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
<length>34</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
48 |
6/24/2021 5:37 am |
3000 |
SEPA Direct Debit (Germany) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="SEPA Direct Debit (Germany)">
<refField id="custrecord_2663_processor_code" label="Creditor Id" mandatory="true" helptext="Enter your company’s Creditor Identification number issued by your bank."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter the name of your company."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company’s bank (eight or 11 characters). "/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company’s International Bank Account Number (IBAN)."/>
</refFields> |
|
value_48_4533432_160 |
|
T |
T |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=48 |
48 |
SEPA Direct Debit (Germany) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 49 |
<#-- format specific processing -->
<#-- cached / dynamic values -->
<#assign totalAmt = computeTotalAmount(payments)>
<#assign totalLines = 0>
<#assign newSeqId = 0>
<#function isBalanceLine>
<#return cbank.custpage_dd_custrecord_2663_balance_line>
</#function>
<#function getBalanceNetAmt>
<#if isBalanceLine()>
<#assign totalLines = totalLines + 1 >
<#return "0">
<#else>
<#return formatAmount(totalAmt)>
</#if>
</#function>
<#function getBalanceDebitAmt>
<#if isBalanceLine()>
<#return formatAmount(totalAmt)>
<#else>
<#return "0">
</#if>
</#function>
<#function computeSequenceId>
<#assign lastSeqId = getSequenceId(true)>
<#if lastSeqId == 99>
<#assign lastSeqId = 0>
</#if>
<#assign newSeqId = lastSeqId + 1>
<#return newSeqId>
</#function>
<#function getReferenceNote payment ebank>
<#assign refNote = "">
<#if pfa.custrecord_2663_agg_method != '@NONE@'>
<#assign refNote = ebank.custrecord_2663_entity_payment_desc>
<#else>
<#assign transactions = transHash[payment.internalid]>
<#if transactions?size == 1>
<#assign transaction = transactions[0]>
<#assign refNote = transaction.tranid>
</#if>
</#if>
<#return refNote>
</#function>
<#-- template building -->
#OUTPUT START#
0${setPadding("","left"," ",17)}${setPadding(computeSequenceId(),"left","0",2)}${setLength(cbank.custpage_dd_custrecord_2663_bank_code,3)} ${setLength(cbank.custrecord_2663_legal_name,26)}${setPadding(cbank.custpage_dd_custrecord_2663_bank_comp_id,"left","0",6)}${setLength(pfa.custrecord_2663_ref_note,12)}${pfa.custrecord_2663_process_date?string("ddMMyy")}
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign totalLines = totalLines + 1 >
1${setLength(ebank.custrecord_2663_entity_bank_no,3)}-${setLength(ebank.custrecord_2663_entity_branch_no,3)}${setPadding(ebank.custrecord_2663_entity_acct_no,"left"," ",9)} 13${setPadding(formatAmount(getAmount(payment)),"left","0",10)}${setLength(ebank.custrecord_2663_entity_acct_name,32)}${setLength(getReferenceNote(payment, ebank),18)}${setLength(cbank.custpage_dd_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_dd_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left"," ",9)}${setLength(cbank.custrecord_2663_legal_name,16)}00000000
</#list>
<#if isBalanceLine()>
1${setLength(cbank.custpage_dd_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_dd_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left"," ",9)} 50${setPadding(formatAmount(totalAmt),"left","0",10)}${setLength(cbank.custrecord_2663_legal_name,50)}${setLength(cbank.custpage_dd_custrecord_2663_bank_num,3)}-${setLength(cbank.custpage_dd_custrecord_2663_branch_num,3)}${setPadding(cbank.custpage_dd_custrecord_2663_acct_num,"left"," ",9)}${setLength(cbank.custrecord_2663_legal_name,16)}00000000
</#if>
7999-999${setPadding("","left"," ",12)}${setPadding(getBalanceNetAmt(),"left","0",10)}${setPadding(getBalanceDebitAmt(),"left","0",10)}${setPadding(formatAmount(totalAmt),"left","0",10)} ${setPadding(totalLines,"left","0",6)}${setLength("",40)}<#rt>
#OUTPUT END#
#RETURN START#
sequenceId:${newSeqId}
#RETURN END# |
Australia |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type='ABA'>
<refField id='custrecord_2663_entity_bank_no' label='Bank Number' mandatory='true' helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id='custrecord_2663_entity_branch_no' label='Branch Number' mandatory='true' helptext="Enter the code that identifies the bank branch where the vendor's/employee's/customer's account is maintained."/>
<refField id='custrecord_2663_entity_acct_no' label='Bank Account Number' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id='custrecord_2663_entity_acct_name' label='Bank Account Name' mandatory='true' helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id='custrecord_2663_entity_payment_desc' label='Bank Account Payment Description' helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bank_code</fieldName>
<validatorList>
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">26</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">6</param>
</validator>
<validator type="num" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_ref_note</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">12</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_branch_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">32</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">18</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_branch_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="minLength">3</param>
<param name="maxLength">3</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_acct_num</fieldName>
<validatorList>
<validator type="num" />
<validator type="len">
<param name="maxLength">9</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="ABA" extension="aba">
<recordStructure>
<recordInfo>header</recordInfo>
<recordInfo type="body">body</recordInfo>
<recordInfo type="balance">balance</recordInfo>
<recordInfo>trailer</recordInfo>
</recordStructure>
<record name="header">
<field name="Header Record Type">
<position>1</position>
<length>1</length>
<source type="value">0</source>
</field>
<field name="Dummy 1">
<position>2</position>
<length>17</length>
</field>
<field name="Reel Sequence Number">
<position>19</position>
<length>2</length>
<source type="sequenceId"/>
<padding>0</padding>
<align>right</align>
</field>
<field name="Bank Code">
<position>21</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_code</sourceFld>
</source>
</field>
<field name="Dummy 2">
<position>24</position>
<length>7</length>
</field>
<field name="Company Name">
<position>31</position>
<length>26</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Company ID">
<position>57</position>
<length>6</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Reference Note">
<position>63</position>
<length>12</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
</field>
<field name="Processing Date">
<position>75</position>
<length>6</length>
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">DDMMYY</format>
</field>
<field name="Dummy 3">
<position>81</position>
<length>40</length>
</field>
</record>
<record name="body">
<field name="Body Record Type">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Receiving Bank BSB Number (Bank)">
<position>2</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
</field>
<field name="Receiving Bank BSB Number (Dash)">
<position>5</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Receiving Bank BSB Number (Branch)">
<position>6</position>
<length>3</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_branch_no</sourceFld>
</source>
</field>
<field name="Receiving Bank Account Number">
<position>9</position>
<length>9</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
<align>right</align>
</field>
<field name="Indicator">
<position>18</position>
<length>1</length>
</field>
<field name="Transaction Code">
<position>19</position>
<length>2</length>
<source type="value">13</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Amount">
<position>21</position>
<length>10</length>
<source type="amount" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Receiving Bank Name">
<position>31</position>
<length>32</length>
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
</field>
<field name="Receiving Bank Description">
<position>63</position>
<length>18</length>
<source type="referenceNote"/>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>81</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>84</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>85</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>88</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Company Name">
<position>97</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Withholding Tax">
<position>113</position>
<length>8</length>
<padding>0</padding>
</field>
</record>
<record name="balance">
<field name="Body Record Type (Balance Line)">
<position>1</position>
<length>1</length>
<source type="value">1</source>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>2</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>5</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>6</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>9</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Indicator">
<position>18</position>
<length>1</length>
</field>
<field name="Transaction Code">
<position>19</position>
<length>2</length>
<source type="value">50</source>
<padding>0</padding>
<align>right</align>
</field>
<field name="Balance Line Amount">
<position>21</position>
<length>10</length>
<source type="totalAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Company Name">
<position>31</position>
<length>50</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Bank)">
<position>81</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_num</sourceFld>
</source>
</field>
<field name="Remitting Bank BSB Number (Dash)">
<position>84</position>
<length>1</length>
<source type="value">-</source>
</field>
<field name="Remitting Bank BSB Number (Branch)">
<position>85</position>
<length>3</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_branch_num</sourceFld>
</source>
</field>
<field name="Remitting Bank Account Number">
<position>88</position>
<length>9</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_acct_num</sourceFld>
</source>
<align>right</align>
</field>
<field name="Company Name">
<position>97</position>
<length>16</length>
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_legal_name</sourceFld>
</source>
</field>
<field name="Withholding Tax">
<position>113</position>
<length>8</length>
<padding>0</padding>
</field>
</record>
<record name="trailer">
<field name="Trailer Record Type">
<position>1</position>
<length>1</length>
<source type="value">7</source>
</field>
<field name="BSB Format Filler">
<position>2</position>
<length>7</length>
<source type="value">999-999</source>
</field>
<field name="Dummy 1">
<position>9</position>
<length>12</length>
</field>
<field name="Net Total Amount">
<position>21</position>
<length>10</length>
<source type="balanceNetAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Credit Total Amount">
<position>31</position>
<length>10</length>
<source type="balanceDebitAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Debit Total Amount">
<position>41</position>
<length>10</length>
<source type="totalAmt" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 2">
<position>51</position>
<length>24</length>
</field>
<field name="Total Lines">
<position>75</position>
<length>6</length>
<source type="totalLines" />
<padding>0</padding>
<align>right</align>
</field>
<field name="Dummy 3">
<position>81</position>
<length>40</length>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
49 |
6/24/2021 5:36 am |
5000 |
ABA DD |
T |
|
|
aba |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="ABA">
<refField id="custrecord_2663_bank_code" label="Bank Code" mandatory="true" helptext="Enter your bank's approved abbreviation code, to identify the bank."/>
<refField id="custrecord_2663_bank_comp_id" label="Bank Company Id" mandatory="true" helptext="Enter the 6-digit code that identifies your company in the bank's records. This is assigned by the bank."/>
<refField id="custrecord_2663_bank_num" label="BSB Number (Bank)" mandatory="true" helptext="Enter the code that identifies your company's bank and state. This corresponds to the first 3 digits of a 6-digit BSB code."/>
<refField id="custrecord_2663_branch_num" label="BSB Number (Branch)" mandatory="true" helptext="Enter the code that identifies your company's bank branch. This corresponds to the last 3 digits of a 6-digit BSB code."/>
<refField id="custrecord_2663_acct_num" label="Bank Account Number" mandatory="true" helptext="Enter your company’s 9-digit bank account number."/>
<refField id="custrecord_2663_balance_line" label="Insert Balancing Line?" helptext="If your bank requires balanced files for EFT transactions, check this box to include a balancing line in the payment file to indicate the amount debited from your company’s bank account. Clear this box if your bank accepts unbalanced files."/>
</refFields> |
|
value_49_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=49 |
49 |
ABA DD |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 50 |
<#-- format specific processing -->
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#function getEntityTaxId entity ebank payment>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#return entity.socialsecuritynumber>
<#else>
<#if isFeatureEnable.custrecord_suitetax == "true">
<#return entity.defaulttaxreg>
<#else>
<#return entity.vatregnumber>
</#if>
</#if>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${setMaxLength(pfa.id,5)}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${setMaxLength(payments?size?c,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id),35)}</Id>
<Issr>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(pfa.id,35)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${cbank.custpage_eft_custrecord_2663_country_code}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_address1),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id),35)}</Id>
<Issr>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_eft_custrecord_2663_iban,34)}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ClrSysMmbId>
<MmbId>${setMaxLength(cbank.custpage_eft_custrecord_2663_branch_num,35)}</MmbId>
</ClrSysMmbId>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#if (payment_index > 0) >
<CdtTrfTxInf>
<#else>
<CdtTrfTxInf>
</#if>
<PmtId>
<InstrId>${setMaxLength(pfa.id,5)}-${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),29)}</InstrId>
<EndToEndId>${setMaxLength(payment.tranid,13)} ${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),21)}</EndToEndId>
</PmtId>
<PmtTpInf>
<CtgyPurp>
<Cd>SUPP</Cd>
<Prtry>48000</Prtry>
</CtgyPurp>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity)),70)}</Nm>
<PstlAdr>
<Ctry>${entity.billcountrycode}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(entity.address1),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${convertSEPACharSet(getEntityTaxId(entity,ebank,payment))}</Id>
<Issr>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Italy |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (CBI)">
<refField id='custrecord_2663_entity_bic' label='BIC' mandatory='true' helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_issuer_num' label='Issuer' mandatory='true' />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (CBI)" country="IT" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
<PstlAdr>
<Ctry>{Country}</Ctry>
<AdrLine>{Address}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<ClrSysMmbId>
<MmbId>{Member Id}</MmbId>
</ClrSysMmbId>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{File Ref Note}</InstrId>
<EndToEndId>{Transaction Id} {Reference Note}</EndToEndId>
</PmtId>
<PmtTpInf>
<CtgyPurp>
<Cd>SUPP</Cd>
<Prtry>48000</Prtry>
</CtgyPurp>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
<PstlAdr>
<Ctry>{Entity Country}</Ctry>
<AdrLine>{Entity Address}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Entity Identification}</Id>
<Issr>{Entity Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum" />
<length>5</length>
</field>
<field name="Creation Date">
<source type="currentDate" />
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime" />
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments" />
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt" />
<format type="decimal" />
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum" />
<length>35</length>
</field>
<field name="Number of Transactions">
<source type="totalPayments" />
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt" />
<format type="decimal" />
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
<field name="Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_code</sourceFld>
</source>
</field>
<field name="Address">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address1</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Member Id">
<source type="bankBranchNumber" />
<length>35</length>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum" />
<length>5</length>
</field>
<field name="File Ref Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>29</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Transaction Id">
<source type="tranId" />
<length>13</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Reference Note">
<source type="referenceNote" />
<length>21</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Instructed Amount">
<source type="amount" />
<format type="decimal" />
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Entity Country">
<source type="entityBillingCountryCode" />
</field>
<field name="Entity Address">
<source type="entityAddress1" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Identification">
<source type="entityTaxId" />
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Issuer">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_issuer_num</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo" />
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
50 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (CBI) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (CBI)">
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter your company's tax identification or other number assigned by an entity to identify your company."/>
<refField id="custrecord_2663_branch_num" label="ABI Code" displaytype="disabled" helptext="Enter the ABI (Italian Banking Association) code of your company's bank."/>
<refField id="custrecord_2663_issuer_num" label="Issuer" mandatory="true" helptext="Enter the name of the entity that issued your tax Id (company Id)."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_bank_address1" label="Address" mandatory="true" helptext="Enter the address of your company's bank."/>
<refField id="custrecord_2663_country_code" label="Country" displaytype="disabled" helptext="Select the country where your company's bank is located."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company's bank (eight or 11 characters)."/>
</refFields> |
|
value_50_4533432_160 |
<#-- format specific processing -->
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#function getEntityTaxId entity ebank payment>
<#if ebank.custrecord_2663_parent_employee == payment.entity>
<#return entity.socialsecuritynumber>
<#else>
<#return entity.defaulttaxreg>
</#if>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${setMaxLength(pfa.id,5)}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${setMaxLength(payments?size?c,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id),35)}</Id>
<Issr>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(pfa.id,35)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${cbank.custpage_eft_custrecord_2663_country_code}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_address1),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id),35)}</Id>
<Issr>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_eft_custrecord_2663_iban,34)}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ClrSysMmbId>
<MmbId>${setMaxLength(cbank.custpage_eft_custrecord_2663_branch_num,35)}</MmbId>
</ClrSysMmbId>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#if (payment_index > 0) >
<CdtTrfTxInf>
<#else>
<CdtTrfTxInf>
</#if>
<PmtId>
<InstrId>${setMaxLength(pfa.id,5)}-${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),29)}</InstrId>
<EndToEndId>${setMaxLength(payment.tranid,13)} ${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),21)}</EndToEndId>
</PmtId>
<PmtTpInf>
<CtgyPurp>
<Cd>SUPP</Cd>
<Prtry>48000</Prtry>
</CtgyPurp>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity)),70)}</Nm>
<PstlAdr>
<Ctry>${entity.billcountrycode}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(entity.address1),70)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${convertSEPACharSet(getEntityTaxId(entity,ebank,payment))}</Id>
<Issr>${setMaxLength(convertSEPACharSet(ebank.custrecord_2663_entity_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<Purp>
<Cd>SUPP</Cd>
</Purp>
<RmtInf>
<Ustrd>${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=50 |
50 |
SEPA Credit Transfer (CBI) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 51 |
<#-- format specific processing -->
<#-- constants -->
<#assign BILL_SEQ_FRST = "1">
<#assign BILL_SEQ_RCUR = "2">
<#assign BILL_SEQ_FNAL = "3">
<#assign BILL_SEQ_OOFF = "4">
<#assign AMEND_NONE = "1">
<#assign AMEND_MANDATE_ID = "2">
<#assign AMEND_DEBTOR_ACCT = "3">
<#assign AMEND_DEBTOR_AGENT = "4">
<#assign AMEND_CREDITOR_ID = "5">
<#function buildUnstructuredInfo payment ebank>
<#assign bankCompanyName = cbank.custpage_dd_custrecord_2663_statement_name >
<#assign aggMethod = pfa.custrecord_2663_agg_method >
<#assign info = "">
<#if aggMethod == "@NONE@">
<#assign paymentTrans = transHash[payment.internalid]>
<#assign tranId = "">
<#assign tranDate = "">
<#if paymentTrans?size == 1>
<#assign transaction = paymentTrans[0] >
<#assign tranId = transaction.tranid >
<#assign tranDate = transaction.trandate >
</#if>
<#assign info = tranId + " " + tranDate + " " + bankCompanyName >
<#else>
<#assign info = ebank.custrecord_2663_entity_payment_desc >
</#if>
<#return info>
</#function>
<#-- create batch payments, ebanks, entities for each sequence type -->
<#assign seqPayments = {}>
<#assign seqEbanks = {}>
<#assign seqEntities = {}>
<#list payments_FRST as payment>
<#assign entity = entities_FRST[payment_index]>
<#assign ebank = ebanks_FRST[payment_index]>
<#if !seqPayments["FRST"]?has_content>
<#assign seqPayments = seqPayments + {"FRST":[]}>
<#assign seqEbanks = seqEbanks + {"FRST":[]}>
<#assign seqEntities = seqEntities + {"FRST":[]}>
</#if>
<#assign seqPayments = seqPayments + {"FRST":seqPayments["FRST"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"FRST":seqEbanks["FRST"] + [ebank]}>
<#assign seqEntities = seqEntities + {"FRST":seqEntities["FRST"] + [entity]}>
</#list>
<#list payments_RCUR as payment>
<#assign entity = entities_RCUR[payment_index]>
<#assign ebank = ebanks_RCUR[payment_index]>
<#if !seqPayments["RCUR"]?has_content>
<#assign seqPayments = seqPayments + {"RCUR":[]}>
<#assign seqEbanks = seqEbanks + {"RCUR":[]}>
<#assign seqEntities = seqEntities + {"RCUR":[]}>
</#if>
<#assign seqPayments = seqPayments + {"RCUR":seqPayments["RCUR"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"RCUR":seqEbanks["RCUR"] + [ebank]}>
<#assign seqEntities = seqEntities + {"RCUR":seqEntities["RCUR"] + [entity]}>
</#list>
<#list payments_FNAL as payment>
<#assign entity = entities_FNAL[payment_index]>
<#assign ebank = ebanks_FNAL[payment_index]>
<#if !seqPayments["FNAL"]?has_content>
<#assign seqPayments = seqPayments + {"FNAL":[]}>
<#assign seqEbanks = seqEbanks + {"FNAL":[]}>
<#assign seqEntities = seqEntities + {"FNAL":[]}>
</#if>
<#assign seqPayments = seqPayments + {"FNAL":seqPayments["FNAL"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"FNAL":seqEbanks["FNAL"] + [ebank]}>
<#assign seqEntities = seqEntities + {"FNAL":seqEntities["FNAL"] + [entity]}>
</#list>
<#list payments_OOFF as payment>
<#assign entity = entities_OOFF[payment_index]>
<#assign ebank = ebanks_OOFF[payment_index]>
<#if !seqPayments["OOFF"]?has_content>
<#assign seqPayments = seqPayments + {"OOFF":[]}>
<#assign seqEbanks = seqEbanks + {"OOFF":[]}>
<#assign seqEntities = seqEntities + {"OOFF":[]}>
</#if>
<#assign seqPayments = seqPayments + {"OOFF":seqPayments["OOFF"] + [payment]}>
<#assign seqEbanks = seqEbanks + {"OOFF":seqEbanks["OOFF"] + [ebank]}>
<#assign seqEntities = seqEntities + {"OOFF":seqEntities["OOFF"] + [entity]}>
</#list>
<#-- counters -->
<#assign batchCount = 0>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02 pain.008.003.02.xsd">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>${setPadding(pfa.id,"left","0",5)}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${setMaxLength(payments?size,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_dd_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertToLatinCharSet(cbank.custpage_dd_custrecord_2663_bank_comp_id),35)}</Id>
<Issr>${setMaxLength(convertToLatinCharSet(cbank.custpage_dd_custrecord_2663_issuer_num),35)}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<#list seqPayments?keys as key>
<#if (seqPayments[key]?size > 0) >
<#assign batchCount = batchCount +1>
<#assign batchPaymentCount = 0>
<#if batchCount == 1>
<PmtInf>
<#else>
<PmtInf>
</#if>
<PmtInfId>${setMaxLength(convertToLatinCharSet(pfa.custrecord_2663_ref_note),30)}-${setPadding(batchCount,"left","0",4)}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>true</BtchBookg>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<LclInstrm>
<Cd>${pfa.custrecord_2663_direct_debit_type}</Cd>
</LclInstrm>
<SeqTp>${key}</SeqTp>
<CtgyPurp>
<Cd>CORT</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdColltnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdColltnDt>
<Cdtr>
<Nm>${setMaxLength(convertToLatinCharSet(cbank.custpage_dd_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${cbank.custpage_dd_custrecord_2663_country_code}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(cbank.custpage_dd_custrecord_2663_bank_address1),70)}</AdrLine>
</PstlAdr>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_dd_custrecord_2663_iban,34)}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<ClrSysMmbId>
<MmbId>${setMaxLength(cbank.custpage_dd_custrecord_2663_branch_num,35)}</MmbId>
</ClrSysMmbId>
</FinInstnId>
</CdtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtrSchmeId>
<Id>
<PrvtId>
<Othr>
<Id>${cbank.custpage_dd_custrecord_2663_processor_code}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</CdtrSchmeId>
<#list seqPayments[key] as payment>
<#assign ebank = seqEbanks[key][payment_index]>
<#assign entity = seqEntities[key][payment_index]>
<#assign batchPaymentCount = batchPaymentCount + 1>
<#if payment_index == 0>
<DrctDbtTxInf>
<#else>
<DrctDbtTxInf>
</#if>
<PmtId>
<InstrId>${setPadding(pfa.id,"left","0",5)}-${setPadding(payment.tranid,"left","0",5)}</InstrId>
<EndToEndId>${setPadding(pfa.id,"left","0",5)}-${setPadding(payment.tranid,"left","0",5)} </EndToEndId>
</PmtId>
<InstdAmt Ccy='EUR'>${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
<DrctDbtTx>
<MndtRltdInf>
<MndtId>${convertToLatinCharSet(ebank.custrecord_2663_reference)}</MndtId>
<DtOfSgntr>${ebank.custrecord_2663_date_ref_mandate?string("yyyy-MM-dd")}</DtOfSgntr>
<#if ebank.custrecord_2663_customer_code == AMEND_NONE>
<AmdmntInd>false</AmdmntInd>
<#elseif ebank.custrecord_2663_customer_code == AMEND_MANDATE_ID>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlMndtId>${ebank.custrecord_2663_entity_issuer_num}</OrgnlMndtId>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_DEBTOR_ACCT>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlDbtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_acct_no}</IBAN>
</Id>
</OrgnlDbtrAcct>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_DEBTOR_AGENT>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlDbtrAgt>
<FinInstnId>
<Othr>
<Id>SMNDA</Id>
</Othr>
</FinInstnId>
</OrgnlDbtrAgt>
</AmdmntInfDtls>
<#elseif ebank.custrecord_2663_customer_code == AMEND_CREDITOR_ID>
<AmdmntInd>true</AmdmntInd>
<AmdmntInfDtls>
<OrgnlCdtrSchmeId>
<Nm>${setMaxLength(convertToLatinCharSet(ebank.custrecord_2663_entity_acct_name),70)}</Nm>
<Id>
<PrvtId>
<Othr>
<Id>${setMaxLength(convertToLatinCharSet(ebank.custrecord_2663_entity_bank_no),35)}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</OrgnlCdtrSchmeId>
</AmdmntInfDtls>
</#if>
<#if ebank.custrecord_2663_entity_bank_code?has_content>
<ElctrncSgntr>${convertToLatinCharSet(ebank.custrecord_2663_entity_bank_code)}</ElctrncSgntr>
</#if>
</MndtRltdInf>
</DrctDbtTx>
<DbtrAgt>
<FinInstnId>
<BIC>${setMaxLength(convertToLatinCharSet(ebank.custrecord_2663_entity_bic),11)}</BIC>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<Nm>${setMaxLength(convertToLatinCharSet(buildEntityName(entity,false)),70)}</Nm>
<PstlAdr>
<Ctry>${entity.billcountrycode}</Ctry>
<AdrLine>${setMaxLength(convertToLatinCharSet(entity.address1),35)} ${setMaxLength(convertToLatinCharSet(entity.address2),34)}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>${ebank.custrecord_2663_entity_company_id}</Id>
<Issr>${ebank.custrecord_2663_entity_processor_code}</Issr>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(convertToLatinCharSet(ebank.custrecord_2663_entity_iban),70)}</IBAN>
</Id>
</DbtrAcct>
<Purp>
<Cd>COLL</Cd>
</Purp>
<RmtInf>
<Ustrd>${convertToLatinCharSet(buildUnstructuredInfo(payment,ebank))}</Ustrd>
</RmtInf>
<#if batchPaymentCount < seqPayments[key]?size>
</DrctDbtTxInf>
<#else>
</DrctDbtTxInf>
</#if>
</#list>
</PmtInf>
</#if>
</#list>
</CstmrDrctDbtInitn>
</Document><#rt>
#OUTPUT END# |
Italy |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Direct Debit (CBI)">
<refField id="custrecord_2663_entity_company_id" label="Company Id" mandatory="true" />
<refField id="custrecord_2663_entity_processor_code" label="Issuer" mandatory="true" />
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id="custrecord_2663_entity_iban" label="IBAN" mandatory="true" helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id="custrecord_2663_entity_billing_seq_type" label="Billing Sequence Type" mandatory="true" />
<refField id="custrecord_2663_reference" label="Reference Mandate" mandatory="true" helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id="custrecord_2663_date_ref_mandate" label="Date of Reference Mandate" mandatory="true" />
<refField id="custrecord_2663_entity_ref_amended" label="Reference Amended" mandatory="true" />
<refField id="custrecord_2663_entity_issuer_num" label="Original Reference Mandate" mandatory="false" />
<refField id="custrecord_2663_entity_acct_no" label="Original Debtor IBAN" mandatory="false" helptext="Enter the vendor's/employee's/customer's bank account number."/>
<refField id="custrecord_2663_entity_bank_no" label="Original Creditor ID" mandatory="false" helptext="Enter the code used to identify the vendor's/employee's/customer's bank within the banking industry."/>
<refField id="custrecord_2663_entity_acct_name" label="Original Creditor Name" mandatory="false" helptext="Enter the vendor's/employee's/customer's bank account name."/>
<refField id="custrecord_2663_entity_payment_desc" label="Remittance Message" mandatory="true" helptext="Enter text that will be displayed on the vendor's/employee's/customer's bank statement. It is common practice to put your customer code (assigned to you by the vendor) into this field."/>
<refField id="custrecord_2663_entity_bank_code" label="Electronic Signature" mandatory="false" helptext="Enter/Displays the national bank code. This number is used to identify the bank within the country's banking industry. This number should be supplied by the bank."/>
<refField id="custrecord_2663_first_pay_date" label="First Payment Date" displaytype="hidden" />
<refField id="custrecord_2663_final_pay_date" label="Final Payment Date" displaytype="inline" />
<refField id="custrecord_2663_num_payments" label="Payments Made" displaytype="inline" />
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_entity_company_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_processor_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_processor_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_print_company_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_legal_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Ref Mandate -->
<fieldValidator>
<fieldName>custrecord_2663_reference</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Ref Mandate -->
<fieldValidator>
<fieldName>custrecord_2663_entity_issuer_num</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Debtor IBAN -->
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_no</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<!-- Original Creditor ID -->
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_no</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Original Creditor Name -->
<fieldValidator>
<fieldName>custrecord_2663_entity_acct_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Remittance Message -->
<fieldValidator>
<fieldName>custrecord_2663_entity_payment_desc</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">140</param>
</validator>
</validatorList>
</fieldValidator>
<!-- Electronic Signature -->
<fieldValidator>
<fieldName>custrecord_2663_entity_bank_code</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Direct Debit (CBI)" country="IT" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.008.003.02 pain.008.003.02.xsd">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Header Number of Transactions}</NbOfTxs>
<CtrlSum>{Header Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Identification}</Id>
<Issr>{Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{File Reference Note}-{Batch Id}</PmtInfId>
<PmtMtd>DD</PmtMtd>
<BtchBookg>true</BtchBookg>
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
<LclInstrm>
<Cd>{Direct Debit Type}</Cd>
</LclInstrm>
<SeqTp>{Sequence Type}</SeqTp>
<CtgyPurp>
<Cd>CORT</Cd>
</CtgyPurp>
</PmtTpInf>
<ReqdColltnDt>{Requested Collection Date}</ReqdColltnDt>
<Cdtr>
<Nm>{Creditor Name}</Nm>
<PstlAdr>
<Ctry>{Country}</Ctry>
<AdrLine>{Address}</AdrLine>
</PstlAdr>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Bank IBAN}</IBAN>
</Id>
<Ccy>{Bank Currency}</Ccy>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<ClrSysMmbId>
<MmbId>{Member Id}</MmbId>
</ClrSysMmbId>
</FinInstnId>
</CdtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtrSchmeId>
<Id>
<PrvtId>
<Othr>
<Id>{Bank Creditor ID}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</CdtrSchmeId>
<DrctDbtTxInf>
<PmtId>
<InstrId>{Detail Pay File Id}-{Transaction Id}</InstrId>
<EndToEndId>{Detail Pay File Id}-{Check Number} </EndToEndId>
</PmtId>
<InstdAmt Ccy='EUR'>{Amount}</InstdAmt>
<DrctDbtTx>
<MndtRltdInf>
<MndtId>{Reference Mandate}</MndtId>
<DtOfSgntr>{Date of Reference Mandate}</DtOfSgntr>
<AmdmntInd>{Amendment Indicator}</AmdmntInd>
{Amendment Details}
<ElctrncSgntr>{Electronic Signature}</ElctrncSgntr>
</MndtRltdInf>
</DrctDbtTx>
<DbtrAgt>
<FinInstnId>
<BIC>{Entity Bank BIC}</BIC>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<Nm>{Entity Company Name}</Nm>
<PstlAdr>
<Ctry>{Entity Country}</Ctry>
<AdrLine>{Entity Address 1} {Entity Address 2}</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>{Entity Identification}</Id>
<Issr>{Entity Issuer}</Issr>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{Entity IBAN}</IBAN>
</Id>
</DbtrAcct>
<Purp>
<Cd>COLL</Cd>
</Purp>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</DrctDbtTxInf>
</PmtInf>
</CstmrDrctDbtInitn>
</Document>
</xmlStructure>
<xmlSource name="Original Mandate Identification">
<AmdmntInfDtls>
<OrgnlMndtId>{Original Reference Mandate}</OrgnlMndtId>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Debtor Account">
<AmdmntInfDtls>
<OrgnlDbtrAcct>
<Id>
<IBAN>{Debtor IBAN}</IBAN>
</Id>
</OrgnlDbtrAcct>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Debtor Agent">
<AmdmntInfDtls>
<OrgnlDbtrAgt>
<FinInstnId>
<Othr>
<Id>SMNDA</Id>
</Othr>
</FinInstnId>
</OrgnlDbtrAgt>
</AmdmntInfDtls>
</xmlSource>
<xmlSource name="Original Creditor ID">
<AmdmntInfDtls>
<OrgnlCdtrSchmeId>
<Nm>{Original Creditor}</Nm>
<Id>
<PrvtId>
<Othr>
<Id>{Original Creditor ID Number}</Id>
<SchmeNm>
<Prtry>SEPA</Prtry>
</SchmeNm>
</Othr>
</PrvtId>
</Id>
</OrgnlCdtrSchmeId>
</AmdmntInfDtls>
</xmlSource>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo type="body" element="DrctDbtTxInf">detail</recordInfo>
<recordInfo type="batch" element="PmtInf">payment</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Header Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Header Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Issuer">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_issuer_num</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="payment">
<field name="File Reference Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>30</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Batch Id">
<source type="batchId"/>
<length>4</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Payment Number of Transactions">
<source type="totalBatchPayments"/>
<length>15</length>
</field>
<field name="Payment Control Sum">
<source type="totalBatchAmt"/>
<format type="decimal"/>
</field>
<field name="Direct Debit Type">
<source type="directDebitType"></source>
</field>
<field name="Sequence Type">
<source type="entityBillingSequenceType"></source>
</field>
<field name="Requested Collection Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creditor Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Bank IBAN">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="Bank Currency">
<source type="bankCurrency"/>
</field>
<field name="Bank BIC">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
<field name="Bank Creditor ID">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_processor_code</sourceFld>
</source>
</field>
<field name="File Ref Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>30</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Pay File Id">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_code</sourceFld>
</source>
</field>
<field name="Address">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address1</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Member Id">
<source type="bankBranchNumber" />
<length>35</length>
</field>
</record>
<record name="detail">
<field name="Detail Pay File Id">
<source type="paymentFileNum"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Check Number">
<source type="chequeNumber"/>
<length>5</length>
<align>right</align>
<padding>0</padding>
</field>
<field name="Amount">
<source type="batchAmount"></source>
<format type="currency"></format>
</field>
<field name="Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_reference</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Date of Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_date_ref_mandate</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Amendment Indicator">
<source type="entityRefAmendmentIndicator"></source>
</field>
<field name="Electronic Signature">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_code</sourceFld>
</source>
<hideWhenEmpty>true</hideWhenEmpty>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Amendment Details">
<source type="xml">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_customer_code</sourceFld>
</source>
</field>
<field name="Original Reference Mandate">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_issuer_num</sourceFld>
</source>
</field>
<field name="Debtor IBAN">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_no</sourceFld>
</source>
</field>
<field name="Original Creditor">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_acct_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Original Creditor ID Number">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bank_no</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Bank BIC">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
<length>11</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Company Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>entityname</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Country">
<source type="entityBillingCountryCode" />
</field>
<field name="Entity Address 1">
<source type="entityAddress1" />
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Address 2">
<source type="entityAddress2" />
<length>34</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity Identification">
<source type="entityCompanyId" />
</field>
<field name="Entity Issuer">
<source type="entityProcessorCode" />
</field>
<field name="Entity IBAN">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
<length>34</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
51 |
6/24/2021 5:37 am |
3000 |
SEPA Direct Debit (CBI) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
DD |
2 |
162 |
<refFields type="SEPA Direct Debit (CBI)">
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company’s name."/>
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter your company’s tax identification or other number assigned by an entity to identify your company."/>
<refField id="custrecord_2663_issuer_num" label="Issuer" mandatory="true" helptext="Enter the name of the entity that issued your tax Id (company Id)."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company’s International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_branch_num" label="ABI Code" displaytype="disabled" helptext="Enter the ABI (Italian Banking Association) code of your company’s bank. "/>
<refField id="custrecord_2663_country_code" label="Country" displaytype="disabled" helptext="This field displays your country, based on the value in the IBAN field."/>
<refField id="custrecord_2663_bank_address1" label="Address" mandatory="true" helptext="Enter the address of your company’s bank."/>
<refField id="custrecord_2663_processor_code" label="Creditor Id" mandatory="true" helptext="Enter your company’s creditor identification issued by the bank."/>
</refFields> |
|
value_51_4533432_160 |
|
T |
T |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=51 |
51 |
SEPA Direct Debit (CBI) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 52 |
<#-- format specific processing -->
<#function buildEntityBillingAddress entity>
<#assign address = "">
<#if entity.billaddress1?has_content >
<#assign address = entity.billaddress1 >
<#else>
<#if entity.shipaddress1?has_content >
<#assign address = entity.shipaddress1 >
<#else>
<#if entity.address1?has_content >
<#assign address = entity.address1 >
</#if>
</#if>
</#if>
<#return address>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<Id>
<OrgId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id),35)}</Id>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(convertSEPACharSet(pfa.custrecord_2663_ref_note),35)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${setMaxLength(payments?size,15)}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
<PstlAdr>
<Ctry>${cbank.custpage_eft_custrecord_2663_country_check}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_address1),70)}</AdrLine>
<AdrLine>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_bank_address2),70)}</AdrLine>
</PstlAdr>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_eft_custrecord_2663_iban,34)}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<EndToEndId>${payment.memomain} ${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${setMaxLength(formatAmount(getAmount(payment),"decLessThan1"),12)}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity)),70)}</Nm>
<PstlAdr>
<Ctry>${entity.billcountrycode}</Ctry>
<AdrLine>${setMaxLength(convertSEPACharSet(buildEntityBillingAddress(entity)),70)}</AdrLine>
</PstlAdr>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${setMaxLength(ebank.custrecord_2663_entity_iban,34)}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>${getReferenceNote(payment)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Luxembourg |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (Luxembourg)">
<refField id="custrecord_2663_entity_iban" label="IBAN" mandatory="true" helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="num" />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address1</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_address2</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (Luxembourg)" country="LU" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Header Number of Transactions}</NbOfTxs>
<CtrlSum>{Header Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Initiating Party Name}</Nm>
<Id>
<OrgId>
<Othr>
<Id>{Initiating Party Identification}</Id>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment Information Identification}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Debtor Name}</Nm>
<PstlAdr>
<Ctry>{Debtor Country}</Ctry>
<AdrLine>{Debtor Address Line 1}</AdrLine>
<AdrLine>{Debtor Address Line 2}</AdrLine>
</PstlAdr>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{Debtor IBAN Code}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{Debtor Agent BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<EndToEndId>{Memo Main} {Detail Process Date}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Creditor Agent BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Creditor Name}</Nm>
<PstlAdr>
<Ctry>{Creditor Country}</Ctry>
<AdrLine>{Creditor Address Line}</AdrLine>
</PstlAdr>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Creditor IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
<length>35</length>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Header Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Header Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
<length>18</length>
</field>
<field name="Initiating Party Name">
<source type="bankStatementName"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Initiating Party Identification">
<source type="bankCompanyId"/>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment Information Identification">
<source type="paymentFileReferenceNote"/>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="paymentFileProcessDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Debtor Name">
<source type="bankStatementName"/>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Debtor Country">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_country_check</sourceFld>
</source>
</field>
<field name="Debtor Address Line 1">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address1</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
<length>70</length>
</field>
<field name="Debtor Address Line 2">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_address2</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
<length>70</length>
</field>
<field name="Debtor IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="Debtor Agent BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Memo Main">
<source type="memoMain"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Detail Process Date">
<source type="paymentFileProcessDate" />
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
<length>12</length>
</field>
<field name="Creditor Agent BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Creditor Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>printoncheckas</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Creditor Country">
<source type="entityBillingCountryCode" />
</field>
<field name="Creditor Address Line">
<source type="entityBillingAddress1" />
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Creditor IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
52 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (Luxembourg) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (Luxembourg)">
<refField id="custrecord_2663_bank_comp_id" label="Company Id" mandatory="true" helptext="Enter your company's tax identification or other number assigned by an entity to identify your company."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN). "/>
<refField id="custrecord_2663_country_check" label="Country" displaytype="inline" helptext="This field displays your country code, based on the value in the IBAN field."/>
<refField id="custrecord_2663_bank_address1" label="Street Address" mandatory="true" helptext="Enter the address of your company's bank (street address, and building or apartment address)."/>
<refField id="custrecord_2663_bank_address2" label="City/Town and Postal Code" mandatory="true" helptext="Enter the city, town, and postal code of your company's bank."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code, also called SWIFT code, of your company's bank (eight or 11 characters). "/>
</refFields> |
|
value_52_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=52 |
52 |
SEPA Credit Transfer (Luxembourg) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 53 |
<#-- format specific processing -->
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#return referenceNote>
</#function>
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#return value>
</#function>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:PAIN.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${setMaxLength(pfa.id,5)}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${setMaxLength(payments?size?c,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<InitgPty>
<Id>
<PrvtId>
<Othr>
<Id>${setMaxLength(convertSEPACharSet(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_bank_comp_id)),35)}</Id>
</Othr>
</PrvtId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(pfa.id,5)}-${setMaxLength(convertSEPACharSet(convertToLatinCharSet(pfa.custrecord_2663_ref_note)),29)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<NbOfTxs>${setMaxLength(payments?size?c,15)}</NbOfTxs>
<CtrlSum>${formatAmount(computeTotalAmount(payments),"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(convertToLatinCharSet(cbank.custpage_eft_custrecord_2663_statement_name)),70)}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${setMaxLength(cbank.custpage_eft_custrecord_2663_iban,34)}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<#if (payment_index > 0) >
<CdtTrfTxInf>
<#else>
<CdtTrfTxInf>
</#if>
<PmtId>
<InstrId>${setMaxLength(pfa.id,5)}-${setMaxLength(convertSEPACharSet(convertToLatinCharSet(pfa.custrecord_2663_ref_note)),29)}</InstrId>
<EndToEndId>${setMaxLength(pfa.id,5)}-${setMaxLength(payment.tranid,29)}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(convertToLatinCharSet(buildEntityName(entity)?trim)),70)}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>${setMaxLength(convertSEPACharSet(convertToLatinCharSet(getReferenceNote(payment))),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
Ireland |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (Bank of Ireland)">
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_bic' label='BIC' mandatory='true' helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_file_name_prefix</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">40</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bank_comp_id</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">35</param>
</validator>
<validator type="validChars">
<param name="validChars">0-9A-Za-z /\+\-\*\$\&%/':\?\(\)\.\,</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">34</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (Bank of Ireland)" country="IE" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:PAIN.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Id>
<PrvtId>
<Othr>
<Id>{Identification}</Id>
</Othr>
</PrvtId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{File Reference Note}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{File Ref Note}</InstrId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum" />
<length>5</length>
</field>
<field name="Creation Date">
<source type="currentDate" />
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime" />
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments" />
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt" />
<format type="decimal" />
</field>
<field name="Identification">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bank_comp_id</sourceFld>
</source>
<length>35</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum" />
<length>5</length>
</field>
<field name="File Reference Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>29</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Number of Transactions">
<source type="totalPayments" />
<length>15</length>
</field>
<field name="Control Sum">
<source type="totalAmt" />
<format type="decimal" />
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
<length>34</length>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum" />
<length>5</length>
</field>
<field name="File Ref Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<length>29</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Transaction Id">
<source type="tranId" />
<length>29</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Instructed Amount">
<source type="amount" />
<format type="decimal" />
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>printoncheckas</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo" />
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
53 |
6/24/2021 5:37 am |
5000 |
SEPA Credit Transfer (Bank of Ireland) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (Bank of Ireland)">
<refField id="custrecord_2663_bank_comp_id" label="Identification Number" mandatory="true" helptext="Enter your company's tax identification or other number assigned by an entity to identify your company."/>
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company's bank (eight or 11 characters). "/>
</refFields> |
|
value_53_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=53 |
53 |
SEPA Credit Transfer (Bank of Ireland) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|
| 54 |
<#-- format specific processing -->
<#function convertSEPACharSet text>
<#assign value = text>
<#assign value = value?replace('&','+')>
<#assign value = value?replace('*','.')>
<#assign value = value?replace('$','.')>
<#assign value = value?replace('%','.')>
<#assign value = convertToLatinCharSet(value)>
<#return value>
</#function>
<#function getReferenceNote payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign referenceNote = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
<#list paidTransactions as transaction>
<#if transaction.tranid?has_content>
<#if referenceNote?has_content>
<#assign referenceNote = referenceNote + ", " + transaction.tranid>
<#else>
<#assign referenceNote = transaction.tranid>
</#if>
</#if>
</#list>
</#if>
<#if !referenceNote?has_content>
<#if payment.recordtype == "vendorprepayment">
<#assign referenceNote = payment.tranid>
</#if>
</#if>
<#return referenceNote>
</#function>
<#-- cached values -->
<#assign totalAmount = computeTotalAmount(payments)>
<#-- template building -->
#OUTPUT START#
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${pfa.id}</MsgId>
<CreDtTm>${pfa.custrecord_2663_file_creation_timestamp?date?string("yyyy-MM-dd")}T${pfa.custrecord_2663_file_creation_timestamp?time?string("HH:mm:ss")}</CreDtTm>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<InitgPty>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>${setMaxLength(pfa.id+"-"+convertSEPACharSet(pfa.custrecord_2663_ref_note),35)}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>${payments?size?c}</NbOfTxs>
<CtrlSum>${formatAmount(totalAmount,"decLessThan1")}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>${pfa.custrecord_2663_process_date?string("yyyy-MM-dd")}</ReqdExctnDt>
<Dbtr>
<Nm>${setMaxLength(convertSEPACharSet(cbank.custpage_eft_custrecord_2663_statement_name),70)}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>${cbank.custpage_eft_custrecord_2663_iban}</IBAN>
</Id>
<Ccy>${getCurrencySymbol(cbank.custrecord_2663_currency)}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>${cbank.custpage_eft_custrecord_2663_bic}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<#list payments as payment>
<#assign ebank = ebanks[payment_index]>
<#assign entity = entities[payment_index]>
<CdtTrfTxInf>
<PmtId>
<InstrId>${setMaxLength(pfa.id+"-"+convertSEPACharSet(pfa.custrecord_2663_ref_note),35)}</InstrId>
<EndToEndId>${pfa.id}-${convertSEPACharSet(payment.tranid)}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">${formatAmount(getAmount(payment),"decLessThan1")}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>${ebank.custrecord_2663_entity_bic}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>${setMaxLength(convertSEPACharSet(buildEntityName(entity)),70)}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>${ebank.custrecord_2663_entity_iban}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>${setMaxLength(convertSEPACharSet(getReferenceNote(payment)),140)}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</#list>
</PmtInf>
</CstmrCdtTrfInitn>
</Document><#rt>
#OUTPUT END# |
France |
|
Standard Payment File Format Form |
-1162 |
F |
<refFields type="SEPA Credit Transfer (France)">
<refField id="custrecord_2663_entity_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code of the vendor's/employee's/customer's bank account."/>
<refField id='custrecord_2663_entity_iban' label='IBAN' mandatory='true' helptext="Enter the International Bank Account Number of the vendor's/employee's/customer's bank account."/>
</refFields> |
|
<fieldValidatorList>
<fieldValidator>
<fieldName>custrecord_2663_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_statement_name</fieldName>
<validatorList>
<validator type="len">
<param name="maxLength">70</param>
</validator>
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_bic</fieldName>
<validatorList>
<validator type="len">
<param name="validLength">8|11</param>
</validator>
<validator type='custom' />
</validatorList>
</fieldValidator>
<fieldValidator>
<fieldName>custrecord_2663_entity_iban</fieldName>
<validatorList>
<validator type='custom' />
</validatorList>
</fieldValidator>
</fieldValidatorList> |
<fileformat name="SEPA Credit Transfer (France)" country="FR" extension="xml">
<xmlStructure version="1.0" encoding="UTF-8">
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>{Message Identification}</MsgId>
<CreDtTm>{Creation Date}T{Creation Time}</CreDtTm>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<InitgPty>
<Nm>{Name}</Nm>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>{Payment File Number}-{File Reference Note}</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>true</BtchBookg>
<NbOfTxs>{Number of Transactions}</NbOfTxs>
<CtrlSum>{Control Sum}</CtrlSum>
<PmtTpInf>
<InstrPrty>NORM</InstrPrty>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
<ReqdExctnDt>{Requested Execution Date}</ReqdExctnDt>
<Dbtr>
<Nm>{Name}</Nm>
</Dbtr>
<DbtrAcct>
<Id>
<IBAN>{IBAN Code}</IBAN>
</Id>
<Ccy>{Currency}</Ccy>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<BIC>{BIC Code}</BIC>
</FinInstnId>
</DbtrAgt>
<ChrgBr>SLEV</ChrgBr>
<CdtTrfTxInf>
<PmtId>
<InstrId>{Payment File Id}-{File Reference Note Detail}</InstrId>
<EndToEndId>{Payment File Id}-{Transaction Id}</EndToEndId>
</PmtId>
<Amt>
<InstdAmt Ccy="EUR">{Instructed Amount}</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<BIC>{Entity BIC Code}</BIC>
</FinInstnId>
</CdtrAgt>
<Cdtr>
<Nm>{Entity Name}</Nm>
</Cdtr>
<CdtrAcct>
<Id>
<IBAN>{Entity IBAN Code}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Ustrd>{Unstructured Info}</Ustrd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
</xmlStructure>
<recordStructure>
<recordInfo element="GrpHdr">header</recordInfo>
<recordInfo element="PmtInf">batch header</recordInfo>
<recordInfo type="body" element="CdtTrfTxInf">detail</recordInfo>
</recordStructure>
<record name="header">
<field name="Message Identification">
<source type="paymentFileNum"/>
</field>
<field name="Creation Date">
<source type="currentDate"/>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Creation Time">
<source type="currentTime"/>
<format type="time">HH:mm:ss</format>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
<record name="batch header">
<field name="Payment File Number">
<source type="paymentFileNum"/>
</field>
<field name="File Reference Note">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Number of Transactions">
<source type="totalPayments"/>
</field>
<field name="Control Sum">
<source type="totalAmt"/>
<format type="decimal"/>
</field>
<field name="Requested Execution Date">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_process_date</sourceFld>
</source>
<format type="date">YYYY-MM-DD</format>
</field>
<field name="Name">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_statement_name</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="IBAN Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_iban</sourceFld>
</source>
</field>
<field name="Currency">
<source type="bankCurrency"/>
</field>
<field name="BIC Code">
<source type="field">
<sourceRec>Bank</sourceRec>
<sourceFld>custrecord_2663_bic</sourceFld>
</source>
</field>
</record>
<record name="detail">
<field name="Payment File Id">
<source type="paymentFileNum"/>
</field>
<field name="File Reference Note Detail">
<source type="field">
<sourceRec>File</sourceRec>
<sourceFld>custrecord_2663_ref_note</sourceFld>
</source>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Transaction Id">
<source type="tranId"/>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Instructed Amount">
<source type="amount"/>
<format type="decimal"/>
</field>
<field name="Entity BIC Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_bic</sourceFld>
</source>
</field>
<field name="Entity Name">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>printoncheckas</sourceFld>
</source>
<length>70</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
<field name="Entity IBAN Code">
<source type="field">
<sourceRec>Entity</sourceRec>
<sourceFld>custrecord_2663_entity_iban</sourceFld>
</source>
</field>
<field name="Unstructured Info">
<source type="unstructuredInfo"/>
<length>140</length>
<convertToLatinCharSet>true</convertToLatinCharSet>
</field>
</record>
</fileformat> |
F |
F |
F |
F |
54 |
6/25/2022 5:22 pm |
5000 |
SEPA Credit Transfer (France) |
T |
UTF-8 |
1 |
xml |
Mihir Bhatnagar |
7 |
EFT |
1 |
162 |
<refFields type="SEPA Credit Transfer (France)">
<refField id="custrecord_2663_iban" label="IBAN" mandatory="true" helptext="Enter your company's International Bank Account Number (IBAN)."/>
<refField id="custrecord_2663_statement_name" label="Company Name" mandatory="true" helptext="Enter your company's name."/>
<refField id="custrecord_2663_bic" label="BIC" mandatory="true" helptext="Enter the Business Identifier Code (BIC), also called SWIFT code, of your company's bank (eight or 11 characters)."/>
</refFields> |
|
value_54_4533432_160 |
|
F |
F |
T |
customrecord_2663_payment_file_format |
|
rectype=162&e=T&id=54 |
54 |
SEPA Credit Transfer (France) |
|
7 |
Payment File Format |
|
customrecordentry |
162 |
F |
custrecordentry |
|