As of 2023.2, you can create custom invoice payment processing Suitelets using the EP API Plug-in SS2 customscript_17239_ep_api_plugin custom plug-in implementation. For more information read the Netsuite help topic: https://td2869565.app.netsuite.com/app/help/helpcenter.nl?fid=section_0723115254.html