---
title: "How to Export All WooCommerce Refunds to CSV or Excel"
url: "https://wpimportexport.com/how-to-export-all-woocommerce-refunds-to-csv-or-excel/"
description: "Export WooCommerce refunds to CSV or Excel. Include partial refunds, order references and line items, and run the export through an AI agent."
type: post
published: 2026-10-14T07:12:14+00:00
modified: 2026-11-08T15:08:20+00:00
categories: ["Export Guides", "Import Export Guides", "WooCommerce", "WordPress Data Guides"]
tags: ["Import Export by RockStarLab", "WooCommerce data", "WooCommerce Import Export"]
docs_topics: ["WooCommerce"]
---

# How to Export All WooCommerce Refunds to CSV or Excel

To export all WooCommerce refunds with Import Export by RockStarLab, open **Export**, select **WooCommerce Refunds**, leave the filters empty, choose your columns and download the result as CSV, XLSX, ODS, JSON or XML. A refund export can include the refund amount, reason, date, currency and the order it belongs to.

The distinction between a refund and a refunded order matters. If you need to review individual refund transactions, selecting orders with a Refunded status does not answer the same question. A refund has its own ID and refers back to a parent order. An order can have more than one refund, and a partial refund does not necessarily leave the entire order with a Refunded status.

## Before you export WooCommerce refunds

Start on the WordPress site that contains the orders and refunds. WooCommerce must be active, and your installation of Import Export by RockStarLab must include the WooCommerce Refunds content type. WooCommerce refund exports require the PRO add-on. If that card is unavailable in your installation, check the installed add-on and license before following the remaining steps.

Decide what the file is for. An accounts report usually needs a manageable set of columns: refund ID, parent order number, date, amount, currency and reason. A migration or a more detailed audit benefits from the additional matching fields and JSON data. You can export every refund without exporting every available field; these are separate choices.

Exporting reads the refund records. It does not issue a new refund or send money through a payment gateway. Keep the original export if you plan to edit a copy in a spreadsheet.

## Step 1: Select WooCommerce Refunds

1. In WordPress, open **Import Export by RockStarLab → Export**.
2. In **Step 1: Select Content Type**, search for **refund**.
3. Select **WooCommerce Refunds**.
4. Click **Next Step**.

![Select WooCommerce Refunds in the export wizard](https://wpimportexport.com/wp-content/uploads/2026/11/type.webp)

_Choose the refund content type to export individual refund records._

## Step 2: Export all refunds or narrow the selection

For a complete refund export, leave **Customize Filters** empty. The **Total Items Available** counter tells you how many records the current selection includes. Use the refresh button beside it after changing filters and wait for the updated count before continuing.

If you are preparing a specific report, click **Add Filter**. Each row has a **Field**, a **Condition** and a **Value**. Conditions depend on the selected field: amounts have numeric comparisons, while reasons support text conditions such as Contains.

### Example 1: Refunds above a particular amount

Choose **Amount → Greater or Equal → 100** to include refunds of 100 or more. Use **Greater Than** if a refund of exactly 100 should be excluded. Enter the number without a currency symbol.

On a store that contains several currencies, add **Currency → Equals → GEL**, or the currency code you need, before comparing amounts. The same numeric amount in two currencies is not the same financial value.

### Example 2: Refunds created during a month

To select refunds created in October 2026, add two rows:

- **Date Created → Greater or Equal → 2026-10-01**
- **Date Created → Less Than → 2026-11-01**

The first condition sets the start of the period. The second uses the beginning of the following month as the exclusive end. This makes the intended reporting window easier to read than a manually entered last-day time.

Filter on the refund creation date when your question is “Which refunds were recorded this month?” The original order may have been placed earlier. Check the exported timestamps against a known refund, especially if another reporting system uses a different time zone.

### Example 3: Refunds with a particular reason

Choose **Reason → Contains → damaged** to find refunds whose recorded reason contains that word. Use consistent wording when entering refund reasons so that recurring reports can group them reliably.

### Example 4: Refunds belonging to a specific order

Select **Parent Order ID (source/local fallback) → Equals** and enter the order’s internal ID. For example, a refund with ID 1913 can belong to order 1912. Do not enter a refund ID into the parent order filter. If a separate plugin changes the order number displayed to customers, that number may differ from the internal order ID.

You can combine a parent order condition with an amount or date condition. For refund filters, each additional row narrows the selection. Remove the rows before continuing if you want the final file to contain all refunds.

![Refund export with no filters and one available refund](https://wpimportexport.com/wp-content/uploads/2026/11/filters.webp)

_Leave filters empty to include every refund._

## Step 3: Choose the fields in the export file

In **Select Fields**, build the **Export File Structure** using the fields on the right. Click or drag individual fields into the structure, or choose **Add all**. Reorder columns to suit the person or system that will use the file.

| Field | Use |
| --- | --- |
| Refund ID | Identify the individual refund and check for repeated rows. |
| Source Refund ID | Retain the source identity when a later import needs to recognize the same refund. |
| Parent Order ID / Source Parent Order ID | Connect the refund to the original order and retain its source reference. |
| Parent Order Key / Parent Order Number | Keep additional order matching and reporting references. |
| Status | Read the refund record’s status. Do not interpret it as the parent order’s current status. |
| Date Created / Date Modified | Report when the refund was created or last changed. |
| Amount / Currency | Read the refund value with its currency. |
| Reason / Refunded By User ID | Review the recorded explanation and user reference. |
| Line Items JSON | Preserve the refund’s item-level detail when it exists. |
| Meta JSON | Keep additional refund metadata for inspection or a compatible migration workflow. |

For a readable report, put the order number, refund ID, date, amount, currency and reason first. For a [WooCommerce data migration](https://wpimportexport.com/how-to-migrate-woocommerce-store-data-to-another-site/), keep the source IDs and order matching references too. An ID from one site is not automatically the same record on another site.

Line Items JSON is a structured value inside a column, not a promise of one spreadsheet row per refunded product. An empty array, `[]`, means the refund contains no exported item breakdown. Inspect the refund in its parent order when you need to reconcile the item details.

![Refund fields in the export file structure](https://wpimportexport.com/wp-content/uploads/2026/11/fields.webp)

_Include order references, amount, currency and line items._

## Optional: Use Functions to transform exported values

Selected columns have an **Assign transformations** control. It opens **Field Transformations**, where you can assign a library function, test it on a sample value and apply it to that column. When several functions are assigned, they run from top to bottom.

A sensible refund-report example is **Trim Whitespace** on Reason. It turns ` Item arrived damaged ` into `Item arrived damaged` without changing the wording. A **Format Price** function can make `49` appear as `49.00` when the receiving report requires two decimal places. Preview the result before using it, and remember that different currencies can use different decimal conventions.

Keep an untransformed export for archival or migration work. Do not add currency symbols to a numeric Amount column if another system expects a number, and do not turn IDs into formatted numbers with thousands separators. Export transformations change the outgoing values; they are not a reason to rewrite the underlying refund records.

The separate **Functions** section lets you work with reusable transformations. See the [guide to transformation functions](https://wpimportexport.com/what-are-transformation-functions-and-how-to-use-them-during-import-or-export/) for more examples.

## Step 4: Choose CSV, Excel or another export format

Choose **CSV** for a simple file that can be opened in spreadsheet applications or passed to another system. Choose **XLSX** when an Excel workbook is the preferred deliverable. **ODS** suits OpenDocument spreadsheet workflows; **JSON** and **XML** are available for systems that expect those formats.

For CSV, select the delimiter the receiving application expects. The interface offers comma, semicolon, tab, pipe and a custom delimiter. Keep **Include Header Row** enabled so each column is identifiable.

Enter the custom file name without its extension. For example, `woocommerce-refunds-{job_id}` retains the job identifier in the filename; the plugin adds the extension for the format you selected.

**Batch size** controls how many records are processed in a batch. It is not a limit on the total number of refunds to export. Choose a value suitable for your hosting environment and validate the final file, particularly on an older plugin release or a large store.

![XLSX format selected for a WooCommerce refund export](https://wpimportexport.com/wp-content/uploads/2026/11/format.webp)

_Choose XLSX for an Excel workbook and keep column headers enabled._

## Step 5: Run the export, download it and check the contents

Click **Start Export**. When the job finishes, the completion screen shows the exported item count, file size and duration. Click **Download Export File**, or enable **Download as ZIP** first if you want a compressed download.

Open the file and check the following before using it:

- The number of data rows matches the expected refund count; do not count the header.
- Refund IDs are present and do not repeat unexpectedly.
- Each refund points to the intended parent order.
- Amounts and currencies match a few refunds opened in WooCommerce.
- Reasons containing punctuation remain in one cell.
- Dates and JSON columns have not been reformatted by the spreadsheet application.

### Read a partial refund alongside its order

An order total of 113 GEL and a partial refund of 10 GEL produce a refund export row with `amount=10`. Use the parent order ID to reconcile it with the order. The refund amount is positive, while a refunded line can have `total=-10`. In an amount-only adjustment, that line may have `quantity=0`. Keep the item total and quantity together when interpreting the record.

The parent order can still have a status other than Refunded. Select the dedicated refund content type whenever you need individual refunds, including partial ones. For the original order totals, export an [order report](https://wpimportexport.com/how-to-export-all-woocommerce-orders-into-csv-or-excel/) and join it using the parent order ID.

![Successful WooCommerce refund export with a download button](https://wpimportexport.com/wp-content/uploads/2026/11/complete.webp)

_Download the file after the export completes._

## Find completed refund exports in Jobs Log

Open **Import Export by RockStarLab → Jobs Log** after an export. Filter the list by **Export** and, when helpful, **Completed**. Find the correct operation by its job ID and creation time.

The log gives you a place to check the job’s status and item counts after leaving the export wizard. Open its details to review the stored configuration and results. Use the download action while the export file remains available. If the job failed, read the details before running it again; repeating the same configuration does not resolve a bad filter or a processing error.

Keep a record of which job produced an important report. A later export may contain refunds that did not exist when the earlier file was generated. For the broader workflow, see [how to use Jobs Log and schedules](https://wpimportexport.com/how-to-use-jobs-log-and-schedule-wp-import-and-export-jobs/).

## Set up a scheduled WooCommerce refund export

Once you have checked a successful export, its saved job can provide the configuration for a schedule. Open **Schedules**, name the schedule, choose the verified refund export as the **Source Job**, then choose a one-time or recurring run. Recurring intervals include hourly, twice daily, daily and weekly. Set the first execution in the time zone shown by the interface and add the schedule.

For example, a daily export with no filters can produce a fresh complete refund snapshot. A weekly report can reuse a deliberately chosen subset. Each scheduled occurrence creates its own job, so use Jobs Log to check the run and retrieve its output.

A saved absolute date filter remains an absolute date filter. Scheduling the October example every week does not automatically change it to “last seven days.” Use a full snapshot if that meets your needs, or update the reporting window deliberately. Do not describe a recurring full export as incremental: the same earlier refunds can legitimately appear in each new file.

WordPress scheduling depends on the site’s background processing and cron setup. Check the first scheduled result and investigate overdue jobs, especially on a low-traffic or local site. Scheduling an export also does not imply that the file is automatically emailed or sent to an external accounting service.

## Export WooCommerce refunds with an AI agent

Connect your agent to the store using the [WordPress Abilities API connection guide](https://wpimportexport.com/how-to-use-the-wordpress-abilities-api-with-ai-agents-exports-imports-content-sync-and-backups/). The agent needs access to the store containing the refunds, with WooCommerce and the PRO add-on active.

> Export all WooCommerce refund records to CSV with Import Export by RockStarLab. Discover the available abilities and read the refund export schema first. Include refund ID, parent order ID and number, creation date, amount, currency, reason and line items. Keep the header row and original values. Wait for completion and give me the download link and any row errors.

The agent uses `rsl-ie-pro/export-start` with `export_type: woo_refund`, `format: csv`, a custom export filename and a unique request ID. It checks `rsl-ie/job-get-result` for completion and obtains the download with `rsl-ie/file-get`. Use the same request ID when retrying the same start request to avoid launching a duplicate job.

> Create an XLSX refund report for October 2026. Read the available field and filter schemas. Use an inclusive start of October 1 and an exclusive end of November 1 on the refund creation date. Include the parent order reference, amount and currency. Show the proposed filters before running the export. After completion, provide the file and explain how to reconcile a partial refund with its parent order.

Open the result and compare a refund with the parent order in WooCommerce, just as you would for an export started through the admin wizard. Review the completed operation in [Jobs Log](https://wpimportexport.com/how-to-use-jobs-log-and-schedule-wp-import-and-export-jobs/). For a recurring report, follow the [scheduled export tutorial](https://wpimportexport.com/how-to-schedule-repeated-exports-in-wordpress/) after verifying the first file.

See also: [Export WooCommerce Orders for Accounting](https://wpimportexport.com/export-woocommerce-orders-for-accounting/).

## Frequently asked questions

### Can I export WooCommerce refunds to Excel?

Yes. Select XLSX at the format step. You can also open a CSV in Excel, but choose the correct delimiter and preserve IDs as text when appropriate.

### Will the export include partial refunds?

The refund content type works with refund records rather than only parent orders marked Refunded. Check the individual refund amount and order reference. Partial refunds appear as individual rows with their own refund IDs and parent order references.

### Why does a refund show Completed instead of Refunded?

The exported Status belongs to the refund record. It should not be treated as the parent order’s status.

### Why are some refund reasons or line items empty?

The export can only include what is recorded on the refund. Inspect the source order and refund. An empty reason or an empty line-items array is not automatically an export failure.

### Can I export only one customer’s refunds?

The refund screen shown here does not provide a billing email filter. Export the order references and match them to an order report, or identify the customer’s relevant order IDs first and filter by parent order. Do not substitute Refunded By User ID; that is a different reference.

### Where can I find more walkthroughs?

The [Import Export video tutorials](https://wpimportexport.com/import-export-video-tutorials-for-wordpress/) cover the broader export, mapping, transformation and scheduling workflows.
