General setup
Before using the features, some preliminary setup is required, starting from the CBI Bank Setup page.
The app can be configured quickly with the Create Default Import Export Setup action. Running it automatically creates the default configurations for the export and import of the supported formats: Direct Debit (DD), Credit Transfer (CT) and foreign bank transfer.

The setup page is made up of FastTabs that group the fields by feature. Each field is described below.

General:
- Import Code: the import format for CBI bank statements. It is created automatically by the Create Default Import Export Setup action. This field is required to use the advanced import features.
- Import Statement Date: specifies whether the Value Date or the Transaction Date is used in the grouping criteria when payment reconciliations are created.
- Cumulative Transfer Details: if enabled, the details of the paid documents (external document number) are included in cumulative vendor bank transfers. If it is not enabled, the standard text Fatture Diverse (Various invoices) is exported.
- Cumulative Transfer Documents: if enabled, the references (external document number and invoice date) of the documents included in the vendor bank transfer are structured in dedicated nodes. It is supported only in version 04.01 of the CBI format.
- Additional Reconc. Postings: shows the features in the Payment Reconciliation Journal page that let you post and apply single statement lines, without having to reconcile all the lines before posting.
Payment Notice:
- Payment Notice Type: specifies where the payment notice letter can be sent from when a bank transfer is made: the Issued Vendor Bill card or the Posted Vendor Bill card. If the field is left blank, the option to send the payment notice is not shown on either page.
CBI reason codes
The list of CBI reason codes can be opened from the setup page above with the CBI Reason Codes action.

In the CBI Reason Codes page, the reason codes can be created automatically with the Create Default Reason Codes action:

Once the CBI reason codes are created, you can configure how the reconciliation lines are filled in for each reason code:
- Code: the CBI reason code.
- Description: the description of the reason code.
- Transaction Record Type: specifies whether the description used for the automatic mapping of the balancing account is taken from record 62 or record 63 of the RH file. If the field is left blank, the description is taken from record 62 (the default).
- Account Type: the type of balancing account to use in the payment reconciliation journal lines.
- Account No.: the number of the account to use.
- Description Field Source: specifies whether the description is taken from the customer reference or the bank reference.
- Reason Code in Description: specifies whether the reason code is also added at the beginning of the transaction text, so that it can be used in the text-to-account mapping.
- Reason Party: specifies whether the related party data is read from the first record 63.
- Dimension Code: the system can also be configured to try to map a dimension from the description in the RH file. This field specifies the Business Central dimension code to map.
- Dimension Start Position: the start position, within the RH file description, of the dimension value to map.
- Dimension Length: the number of characters the system reads from the file to map the dimension value.
- Dimension Field Delimiter: the delimiter, if any, of the dimension field in the RH file.
- Reconciliation Account Type: specifies whether to reconcile only one account type (for example customer or vendor accounts), which speeds up the procedure. If the field is left blank, all accounts are reconciled (generally recommended).
- Match by Related Party Id: specifies whether to try an exact match on the tax ID of the related party in the RH file, which according to the CBI format can contain the fiscal code or VAT registration number.
- First Record Type 63 Descr.: if enabled, lets you specify which record 63 in the RH file the system must consider (for statements that contain several record 63 lines).
- Record 63 Description Field: if set to the code of a structured field (for example REMI), the transaction text is taken from the content of that field (/REMI/) in the record 63 lines of the transaction.
You can also set up different balancing accounts depending on the specific bank in the RH file, with detailed setup by bank and reason code.
To do so, select a CBI reason code and run the Bank CBI Reasons Setup action to specify different accounts for specific bank accounts:

A page opens where you can enter the bank account and the specific balancing accounts:

Documents are applied automatically first according to the rules described above (CBI Reason Codes page). If no match is found, the system applies the standard logic.
Sending payment notices to vendors
You can enable automatic payment notices to vendors paid through vendor bill lists. Sending is configured by payment method, so first enable the Payment Notice field on the payment methods you want to use.

To send payment notices to vendors, some additional email settings are also required. More information is available in the documentation of the dedicated app: Email Management
In the Email Management page, first create a new configuration for sending payment notices:

The Email Management card contains the following fields:
- Code: the code associated with the email.
- Description: a description of the configuration.
- CC Recipient, BCC Recipient: use these fields to add CC or BCC recipients to the email sent to vendors.
- Email Scenario: select the Vendor Bill value in this field.
- Subject: the subject of the emails (for example "Payment Notice").
- Default Language: the default language of the emails. It can be left blank.
To set up the email text, use the Import action to link an HTML email template to the record you have just created.

Dynamic fields in the email template
You can also set up the fields to fill in dynamically in the email. To do so, use the Template Fields action, available from the Email Management page:

The Email Template Fields page opens:

On this page you can configure the dynamic values with the following fields:
- Table Id: the number of the table the dynamic value is taken from (for example the vendor table).
- Table Name: the name of the table the dynamic value is taken from. It is filled in automatically when the Table Id field is filled in.
- Field Id: the number of the field, in the selected table, the dynamic value is taken from (for example, to use the vendor name, select the number of the field that contains the vendor name).
- Field Placeholder: the reference to the position of the field in the email template (for example %1, %2, etc.).
Dishonored import
To import dishonored bills, first configure the G/L account to post to when a dishonored bill is processed. This is configured in the bill posting group of the bank, by setting the account for each payment method:
