This guide will show you step by step you how to set up the configuration to retrieve the Direct Debit Reversal Code (DDR Code) from a bank statement file and copy it to the invoice for which the payment was reversed.
This guide configuration only applies for to the import of the following types of bank statement files:
- CAMT.053
- CAMT.054
- PAIN002
- CSV
Steps
- Go to Setup → Bank Reconciliation Setup → Bank Account Configuration.
- Edit the Bank Account Configuration you want to configure the retrieving of the DDR Codes for.
- Scroll down and go to Additional Parameters & Fields → Additional Fields sublist subtab.
- Click on New Bank Statement Additional FieldsFields button.
- The Bank Statement Additional fields page opens.
- If using your bank statement file has a CAMT.053 or CAMT.054 file format:
Populate the XML Path field with the following queryCopy 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']
- 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 - If using your bank statement file has a CAMT.053 or CAMT.054 file format:
- your bank statement file has a CSV
file - format:
- Populate the CSV column field with the number of the column containing the DDR code in
the - format:
- 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.
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.