This guide will show you step by step on how you how to set up the configuration to retrieve the Direct Debit Reversal Code (DDR Code) when dealing with from a bank statement file and copy it to the invoice for which the payment was reversed.
This configuration only applies to the import of the following types of bank statement files:
- CAMT 53.053
- CAMT 54.054
- PAIN002
- CSV
Steps
- Go to Setup → Bank Reconciliation Setup → Bank Account Configuration.
- Click on the Edit the Bank Account Configuration you will use want to process configure the Statement containing retrieving of the DDR Codes for.
- Scroll down and click on the go to Additional Parameters & Fields → Additional Fields subtab.
- Click on the Additional Fields sublist.Click on New New Bank Statement Additional Fields button.
- The Bank Statement Additional Fieldfields page opens.
- If using your bank statement file has a CAMT 53 .053 or CAMT 54 file .054 format: Populate the XML Path field with the following query:
Copy the below query and paste it to the XML Path field:
Code Block language xml theme Confluence title XPath for DDR Code /*[local-name()='Document']/*[local-name()='BkToCstmrStmt']/*[local-name()='Stmt']/*[local-name()='Ntry']/*[local-name() = 'NtryDtls']/*[local-name()='TxDtls']/*[local-name()='RtrInf']/*[local-name()='Rsn']/*[local-name()='Cd
If using a CSV file format:
']
- From the drop-down under Bank Statement Transaction Field, select Additional Fields.
- From the drop-down under NetSuite Field, select DDR Code.
- Select Body for the Body or Line level field.
- Save the record.
- If your bank statement file has a CSV format:
- Populate the CSV column field with the number of the
- column containing the DDR code in your CSV file.
- From the drop-down under Bank Statement Transaction Field, select Additional Fields.
- From the drop-down under NetSuite Field, select DDR Code.
- Select Body for the Body or Line level field.
- Save the record.
- If using your bank statement file has a CAMT 53 .053 or CAMT 54 file .054 format: Populate the XML Path field with the following query:
Note |
---|
...
In case there are more than one DDR Code field available |
...
under the drop-down of the NetSuite Field, make sure to select the field that populates the NetSuite Field ID with CUSTBODY_FF_DDR_CODE |
...
. |
Optional Steps
This optional step will show how to display the DRR Code filed in the invoice form.
- Go to Customization → Forms → Transaction Forms.
- Edit the invoice form you want the DDR Code field to be displayed in.
- Go to the Screen Fields subtab→ Main subtab.
- Check the Show box for the DDR Code field and select the Field Group.
- Save the record.