# Subflow: Refund

## Manage Subscriptions subflow: Refund

This articles explains how the Refund feature work in Limio for Salesforce, the pre-configuration required in Limio, Limio for Salesforce and Zuora, and how refunds are generated in Zuora.

It's important to note that the refund feature in Limio for Salesforce works differently for regular subscriptions (for example $10 a month) and gift subscription (e.g. one-off $120 to offer an annual subscription to a friend). Learn more about gift [here](https://docs.limio.com/integrations/zuora-integration/manage-your-pricing/how-to-sell-gift-products-with-limio-and-zuora).

## **Pre-configuration of the feature**

### In Limio for Salesforce ![](blob:https://limioapp.atlassian.net/25e84346-04f0-4208-aa80-ed0faf7d4a7a#media-blob-url=true\&id=fdc71ce4-6f7b-4c43-bf4e-0b411afe4775\&collection=contentId-2264432641\&contextId=2264432641\&height=775\&width=1671\&alt=)

There are two use cases for refunding:

* **Standard subscriptions:** The catalog needs to be preloaded with “*The offer type: Refund"*.
* **Gifts:** The matching offer will be pre-populated with the same offer originally used.

<figure><img src="/files/OpkKiZGVdLZS2ngZ3mH9" alt=""><figcaption></figcaption></figure>

### In Zuora and Limio

| Note: With Limio for Zuora, a refund journey will generate a Credit Memo in Zuora. Credit Memo in Zuora are invoicing items, and as such, requires a Limio Offer (which links to a Zuora Product and Rate Plan). Learn more in [Zuora documentation](https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/Invoice_Settlement/B_Credit_and_Debit_Memos/C_Management_of_Credit_and_Debit_Memos/A_Create_Credit_and_Debit_Memos). |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

For regular subscription (i.e. not a gift), you must define a generic, worldwide refund Offer in Limio, that matches a Zuora generic product and zero-priced one-off rate plan.

The Limio Offer only needs to reference the Zuora generic product and one-off rate plan.

<figure><img src="/files/GaRhEaSH18Ozf4P7Uu1S" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/wFsv4c4X7GoACOysHZlw" alt=""><figcaption></figcaption></figure>

For gift, you do not need to create any new Limio Offer, as the refund Offer used will be the original gift Offer.

Then make sure all the offer types are defined correctly:

* **Standard subscriptions:** The refund Offer should have the offer type: Refund.
* **Gifts:** All gift offers should have the Offer type: Gift.

## **Using the feature**

To begin a Refund journey in LFS, select the relevant subscription and Refund action

<figure><img src="/files/2A2LAv0vgqPs74wWqqJF" alt=""><figcaption></figcaption></figure>

In the relevant screen action, select the following

* an offer
* a refund amount

<figure><img src="/files/2LH5yBhAk8itQGvAj25u" alt=""><figcaption></figcaption></figure>

### Offer

There are two types of refunds:

* **Standard subscriptions:** If the selected subscription to refund includes a regular offer, a user needs to select a *Compensation offer* from the Offer Catalog.
* **Gifts:** If the selected subscription to refund is a gift offer, a user needs to select the same offer the subscription was originally created with. To prevent the user from making a mistake and having to perform unnecessary clicks, the same offer originally used is pre-set already in the UI, if a match is found for it.

### **Refund amount validation**

The refund amount field validates the number entered to check that it is less than or equal to the price of the *currently active Limio Offer of the subscription being refunded*.

<figure><img src="/files/71XzpCAUSHro2shzWuWJ" alt=""><figcaption></figcaption></figure>

The empty field triggers a validation rule as well.

In case of a gift subscription refund, after having selected the original offer from the Offer Catalog, the refund amount field gets pre-populated with the offer’s original price.

### **Payment Method**

Next, the user needs to select a payment method. The user can provide a new credit card, or select a previously created payment method from the Customer Wallet (if such a payment method exists).

It is possible to perform a refund only once for the gift subscription and multiple times against a regular one.

## **Integration with Zuora finance objects**

Out-of-the-box, Limio will generate a Credit Memo in Zuora, referencing the Zuora Rate Plan Charges derived from the Limio Offer selected.

If possible, we request Zuora to also create a 'Electronic Non-Referenced Refund' for the credit memo.

See an example of a Credit Memo and Refund generated against this Credit Memo below.

<figure><img src="/files/WRGA1VlTvNCMn1im3rN0" alt=""><figcaption></figcaption></figure>

**Known limitation:**

* Credit Memos requires the Invoice Settlement feature activated on Zuora.
* If the initial payment method is a credit card, Limio will generate an **Electronic Non-Referenced Refund** in Zuora via a [Credit Memo.](https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/Invoice_Settlement/B_Credit_and_Debit_Memos/C_Management_of_Credit_and_Debit_Memos/Refund_credit_memos)
  * Note that Electronic Non-Referenced Refund are only supported by some gateways. Find the full list [here](https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/G_Credit_Balances/D_Canceling_and_Refunding_Credit_Balances). You can also check individual payment gateway, for example [Worldpay](https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/M_Payment_Gateways/Supported_Payment_Gateways/Worldpay_Payment_Gateway).
* Other payment methods, such as Direct Debit (called 'Bank Transfer' in Zuora), do not support Electronic Non-Referenced Refund. They require an **External Non-Referenced Refund.** For example, Limio will not be able to create an Electronic Non-Referenced Refund for Direct Debit UK performed via the [GoCardless gateway](https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/M_Payment_Gateways/Supported_Payment_Gateways/GoCardless_Gateway) against the Limio-generated Credit Memo. For refunds against those payment methods, you will need to create a Zuora Workflow to handle the logic within Zuora to create an External Non-Referenced Refund on the back of the Limio-generated Credit Memo.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/integrations/using-limio-for-salesforce/manage-subscriptions-flow/subflow-refund.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
