Create a new button in the customer invoice to quick confrim with action of confirimng invoice and register payment in on click.
This apps helps you set pos oder type
TThis Application helps to enable auto sale workflow process of Sale Order includes | Auto validate picking | Auto create invoice |.