If an invoice gets subsequently paid in cash, the document can be signed via the Subsequent Cash Payment action on the Posted Sales Invoice or Posted Service Invoice pages.
For more information, see Working with the App, Documents.
The action sets the Cash Register Document field in the document to Subsequent and forwards it to the service resp. signs the document.
Important
No posting is made in the system. The document is therefore not automatically applied/closed.