If a vendor is also a customer, or vice versa, you can have the payment program and the dunning program clear the vendor and customer open items against each other. You can also select the customer line items when you display the vendor line items for this account.
Before you can clear items between a vendor and customer account, you must:
- Create a customer master record for the vendor who is also a customer.
- Enter the customer account number in the Customer field in the control section of the general data in the vendor master record.
- Enter the vendor account number in the Vendor field in the control section of the general data in the customer master record.
- Select Clrg with vend. and Clrg with cust. in the company data in both the customer and vendor master records. In this way, each company code can decide separately whether it wants to clear the customer with the vendor.
The clearing between the customer and vendor can happen by following the below settings
1. The customer number must be entered in the corresponding vendor master record
a. FK02->General Data -> Control
In the 'Account control' tab, in the 'Customer' field, enter the customer number
b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clrg with Cust'
2. The vendor number must be entered in the corresponding customer master record
a. FD02->General Data -> Control
In the 'Account control' tab, in the 'Customer' field, enter the vendor number
b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clearing with vendor'
3. For testing, create a vendor invoice through FB60 and customer invoice through FB70. Note that customer and vendor are properly selected.
4. For clearing the open items. Use the Tcode F-32. On clicking the 'Process open Items', the vendor invoice (KR) and customer invoice (DR) are shown automatically. It will generate the FI document with proper entry.
Note: Partial / Residual payment between customer and vendor is also possible