You can use customer reimbursement functionality to transfer customer balance to vendor transactions.
There are 2 pre requisites to be defined before to manage the process.
1. Setup minimum reimbursement amount on sales ledger parameters
2. Select the vendor to be reimbursed on customer form.
Then you can run the reimbursement.
Accounts receivable > Periodic tasks > Reimbursement
There are couple of parameters on the reimbursement that you need to decide on how to run.
Summarize Customer: Select if to group transactions regardless to ledger dimensions.
Include Customers with Outstanding Debit Transactions:Select if you want to select customers who have unsettled debit amounts.
Be careful, if there is no vendor defined on customer , one time vendor account be created.
Note: Once run, vendor transaction is created for the amount of the credit balance. Reimbursement is only if customer has a credit balance.
You can see the reimbursements in the reimbursement report.
*This post is locked for comments