In the Gateway Invoice, there is a function where you can cancel the an open invoice. A Gateway Invoice record that has the invoice status of open can process a cancellation and when you click the Cancel Invoice button a message will pop up confirming the process is successfully cancelled.
...
If the Gateway Invoice status is not open, then you cannot process a cancellation, and a message will pop up when you click the Cancel Invoice button.
...