Cancel, delete and return
Who it is for: a cashier, an accountant. Result: you know what the warnings mean. Conditions: a return receipt is issued for a flagged return invoice.
Warnings
Cancelling or deleting a Sales Invoice that has a PRRO Document, and a return of such an invoice, show an orange message with the document and its status. The action goes on after the warning. Frappe refuses only the deletion of an invoice that a PRRO Document refers to.
An accepted receipt
An accepted receipt stays registered. A sale is taken back with a return invoice that is fiscalized: Returns and the return receipt. The app warns that the receipt stays registered and tells to make a return invoice and fiscalize it (a return receipt).
A document with no final outcome
When the document is not final yet, the app advises to check it: the receipt may still be registered.
A return invoice
A return invoice with the flag "Fiscalize (PRRO)" is fiscalized with the button "Fiscalize" and gives a return receipt. When the flag is cleared, the app warns that no return receipt will be issued and the sale stays registered. When the returned invoice has no accepted receipt, the app warns that no return receipt can be issued. Cancelling a return invoice with an accepted return receipt only shows a warning: the receipt stays registered. A cash return is rounded by the same rule: Cash rounding.
Related: Returns and the return receipt.