!--a11y-->
Automatic Clearing 
After the bank has processed your payment orders, it sends you a Multiple Debit Advice (DEBMUL) message with details of the payment (see Payment by Payment Order, step 4).
When the Electronic Bank Statement program reads the DEBMUL message, it tries to identify which vendor items you have paid. If it is successful, it clears the vendor item against the payment item and generates an accounting document to record the payment.
The most common way
of matching payments to invoices is the payment order number (see
Payment Orders).
You can also use a number from the invoice: the payment reference
number, the document number, or the reference document number.
Create a new transaction type, NO, in Customizing for Financial Accounting (FI), by choosing Bank Accounting ® Business Transactions ® Payment Transactions ® Electronic Bank Statement ® Make Global Settings for Electronic Bank Statement.

You can use the same transaction type that you use for notification of incoming payments, if you use that solution as well (see Automatic Clearing).
In the same IMG activity, assign the external transaction types (or “bank operations,” as they are known in the DEBMUL specifications) to the appropriate algorithm, depending on which number you use for clearing:
|
Number |
Algorithm |
|
Payment reference number |
28 |
|
Payment order number |
29 |

Assume you use the payment order number to clear banker’s drafts (Giro utbetalinger). The bank uses the abbreviation BKD to denote payments made by banker’s draft, in accordance with the DEBMUL specifications. Therefore, in the IMG activity, you create an entry for the external transaction type BKD and assign it to algorithm 29.
When you execute the Electronic Bank Statement program, it matches the payment items to the vendor items using the number that you have specified in Customizing. When it has finished, it displays a list of the payment items that it was unable to clear so that you can clear them manually.
