Yes a little advanced but inside HTML Viewer Widget we can access few SambaPOS functions.
Enabling widget’s Scriptable
setting will enable this feature.
Example
HTML File
Displays in HTML Viewer
Clicking Click Me
button executes automation command.
Rule Setup
I hope you’ll be able to connect pieces.
PS: @QMcKay sorry for publishing your wifi password. still working on your setup