...
Navigate to the bill runs screen under Setup / Finance / Billing / Bill Run
Select the bill run that you want to configure automatic payment processing on
Under the Edit Bill Run panel enable Collect Payments and the Collection Type option will appear. Select if you wish to collect payment based on the Account Balance amount or the Invoice Balance amount
Click Save to commit the changes to the bill run
...