Microsiga Protheus® does not perform the opposite process, that is, cancel the RPS manually deleted on the local government website.
When you issue the return file of local government with the electronic invoices generated, you can add the cancelled documents to the file. If this option is selected during import through the Electronic Invoice Import routine, the information about electronic invoice of cancelled documents is also updated.