Evidence Summary
- Receipt reversal route
/vendas/re/view/OTk5OTAwMDE1- List route
/vendas/re- Workflow run
cancel-receipt-reversal-re-20260520T000325Z- Cancelled reversal
999900015 / RE 9999/15- Source credit note
999900062 / NC 9999/62- Evidence file
raw/playwright/workflows/latest-cancel-receipt-reversal-re.json
When to Use This
Use Cancel on a receipt reversal when the refund/reversal settlement itself must be annulled. In the verified run, OfficeGest kept the RE searchable, changed it from F / Closed to ANU / Canceled, and reopened the credit note that the RE had settled.
Cancellation is irreversible in the OfficeGest confirmation dialog. After cancellation, the source credit note becomes pending again and needs another valid reversal/refund if the customer credit is still to be settled.
Step-by-Step
- Open Sales / Receipt Reversal [RE] and open the reversal view. The verified run used
RE 9999/15. - Confirm the reversal and source credit note are correct. Before cancellation,
RE 9999/15wasF/ Closed and sourceNC 9999/62wasLIQ/ Finished withValorPago=1.97. - Click the red Cancel action in the reversal action bar.
- In Reason for Cancellation, select a cancellation reason. The verified run used reason id
1, visible as Erro de faturacao. - Click the red Cancel button inside the reason modal.
- Confirm the warning dialog: Are you sure you want to cancel? This irreversible operation.
- Search the RE list for the reversal number. The verified row returned
estado=ANU, visible state Canceled, total1.97. - Search the NC list for the source credit note. The verified source returned to
ABR/ Open,ValorPago=0, and pending value1.97.
Verified Cancellation Values
| Field | Value |
|---|---|
| Reversal internal number | 999900015 |
| Visible reversal number | RE 9999/15 |
| Customer | [910] 100 Ouvidos Lda, VAT 509031862 |
| Cancellation reason | id_motivo_anulacao=1, Erro de faturacao |
| RE before cancellation | F / Closed, total 1.97. |
| RE after cancellation | ANU / Canceled, total 1.97. |
| Source NC before cancellation | NC 9999/62, LIQ / Finished, ValorPago=1.97, pending value 0.00. |
| Source NC after cancellation | NC 9999/62, ABR / Open, ValorPago=0, pending value 1.97. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
changeEstadoRecibo | Moves the source credit note into the reversal documents grid before saving the RE. |
payment&option=add | Adds the RE cash payment row. |
saveDocumentRecibo | Saves the closed RE and settles the source credit note. |
podeAnularDoc | Checks whether the RE can be cancelled. |
deleteDocument | Submits the RE cancellation with tipoop=RE and the selected cancellation reason. |
DT_List_Documentos&table=RecibosEst | Verifies the RE list before and after cancellation. |
DT_List_Documentos&table=NCred | Verifies the source NC before and after cancellation. |
Raw evidence: raw/playwright/workflows/cancel-receipt-reversal-re-20260520T000325Z.json. Screenshots: assets/screenshots/cancel-receipt-reversal-re-20260520T000325Z-01-create-page.png through assets/screenshots/cancel-receipt-reversal-re-20260520T000325Z-07-reversal-list.png.