InvisOne

Gateway refunds: refunds made at the card gateway

A gateway refund is a refund issued at the card payment gateway rather than in InvisOne. What happens when the receipt is already reconciled, the Record gateway refund action, and how the invoice reopens.

4 min readUpdated 2026-10-04

What is a gateway refund?#

When customers pay an invoice by card online, the money arrives through a payment gateway and is booked as an ordinary receipt. Sometimes the refund is issued at the gateway rather than in InvisOne - a dispute settled, a mistaken charge returned.

The books have to follow, and how they follow depends on whether the receipt has already been reconciled.

What a gateway refund does: it is how the books follow a refund that was issued at the payment gateway. When the receipt can be voided this happens automatically; when it cannot, you record the refund yourself.

The normal case#

If the receipt is not yet reconciled, the gateway's refund is applied automatically. The receipt is voided, and if part of the payment is being kept, a new receipt is posted for the kept amount. The invoice reopens for what was refunded. You do nothing.

When it cannot be applied#

A receipt that has been reconciled cannot be voided - the bank line behind it is confirmed. The same applies where a locked period stands in the way.

The refund is not lost. The online payment is marked as a refund not yet booked, whoever looks after online payments is notified (the notification opens the receipt), and the gateway is answered normally so it does not keep retrying. Nothing is posted until someone books the refund.

Recording it#

Open the receipt. While a refund is waiting, the receipt shows Record gateway refund. It is available only to people holding that permission on receipts.

The dialog shows the gateway's refund reference and asks for:

  1. Amount refunded. Prefilled from the gateway, and capped at what the receipt can still refund - the invoice it settled, plus any excess it kept as the customer's advance.
  2. Date refunded. Not in the future, and not before the receipt date.
  3. Reason. Required.

Then Record refund.

What it posts#

The receipt and its reconciliation stay exactly as they were. The refund is booked as a separate outgoing payment to the customer, posted at once - the money has already left through the gateway, so there is nothing to approve - and drawn from the gateway's clearing account:

AccountDebitCredit
Accounts Receivable (or the customer advance, if the refund draws on an excess the receipt kept)1,200
Gateway clearing account1,200

Where the gateway settles in a different currency than the one charged, the conversion is undone for the refunded part first, at the rate the gateway used, so the clearing account holds what the refund pays out.

The refund carries the gateway's own refund reference, so it can be matched to what you see in the gateway dashboard.

What reopens#

The invoice the receipt settled is owed again for the amount refunded. If only part was refunded, only that part reopens. The online payment record then shows as fully or partly refunded, so when the gateway sends the same event again it finds the refund already booked and does nothing twice.

An excess the receipt kept as customer credit is refunded first, before the invoice is touched.

Voiding the receipt afterwards#

A receipt with a gateway refund booked against it cannot be voided: the refund is a payment of its own that already reopened the invoice, and voiding the receipt underneath would leave the refund reopening an invoice the receipt no longer settles. Void the refund first.

Common questions#

What is a gateway refund? A refund issued at the card payment gateway rather than in InvisOne, for example a dispute settled or a mistaken charge returned. The books have to follow it.

Do I have to do anything when a refund is issued at the gateway? Not if the receipt is not yet reconciled. The refund is applied automatically: the receipt is voided, a new one is posted for any amount kept, and the invoice reopens.

What if the receipt is already reconciled? It cannot be voided, so the refund is marked not yet booked and the person who looks after online payments is notified. Open the receipt and choose Record gateway refund.

What does Record gateway refund post? A separate outgoing payment to the customer, posted at once and drawn from the gateway clearing account. The receipt and its reconciliation stay as they were.

What happens to the invoice? It is owed again for the amount refunded. If only part was refunded, only that part reopens.

What happens next#

If the customer is still owed the money, you are done. If the refund was for a payment they should not have made, the invoice is open again and the customer ledger shows it. A payment that cannot be applied to its invoice in the first place is a different case: depending on the Online payment that cannot be applied business rule, it is kept as a customer advance.