# Return Received

## What it does

When a returned item arrives back to you from eBay, this flow creates a NetSuite Item Receipt to record the receipt. IDC links the receipt to the matching Return Authorization so all return activity is tracked in one place. Once the Item Receipt is created, you can mark it as complete to update your inventory.

## Direction

**eBay → NetSuite**

## When it runs

This flow runs on a schedule you set. Configure when it runs in [Triggers](/idc/idc-core/apps/triggers.md). For most setups, schedule this flow to run every hour. See [Configure a Flow](/idc/idc-core/apps/configure-flow.md) for a step-by-step walkthrough.

## Settings

| Setting                            | What it does                                                                                                                                                                          |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Line Item Match Field ID           | The custom NetSuite line item field used to link eBay return items to receipt lines (default: eBay Line ID).                                                                          |
| Receipt Window (days)              | How far back to scan for received returns (default: 90 days). eBay's API has no modified-after filter, so this window must be wide enough to catch any return still awaiting receipt. |
| Sync Overlap (hours)               | Hours to re-scan before the last sync to catch returns in flight and ensure none are missed (default: 24 hours).                                                                      |
| Default Receive Location           | NetSuite location to use if the eBay return doesn't map to a configured marketplace location. Leave blank to require explicit mapping.                                                |
| Restock Destination                | NetSuite location where received inventory should be restocked.                                                                                                                       |
| Skip if RMA not in Pending Receipt | When ON (recommended), IDC only creates an Item Receipt for RMAs that are in the "Pending Receipt" status. This prevents creating receipts for returns that aren't ready.             |

## Use cases

* **Return completion workflow:** Enable this flow so Item Receipts are created automatically as returns arrive. Your team confirms the receipt in NetSuite and updates inventory.
* **Multi-location returns:** Set a Default Receive Location and Restock Destination if your returns come back to a central warehouse before being sorted to individual locations.

## Common issues

| Symptom                                       | What to try                                                                                                                                                                                                       |
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Item Receipts not being created               | Verify the matching Return Authorization exists in NetSuite and is in "Pending Receipt" status (if "Skip if RMA not in Pending Receipt" is enabled). Check the [activity log](/idc/idc-core/logs.md) for details. |
| Items going to the wrong location             | Verify the Restock Destination is set correctly. Also check that the marketplace record location mapping is configured.                                                                                           |
| Receipts appearing for already-closed returns | If "Skip if RMA not in Pending Receipt" is OFF, receipts may be created for old returns. Enable this setting to filter them.                                                                                      |


---

# 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.in8sync.com/idc/ebay/flows/return-received.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.
