## How refunds sync When you refund a payment in ChargeOver, the refund syncs to NetSuite as a **Customer Refund** that comes out of that payment. The payment syncs first if it isn't in NetSuite yet. ChargeOver reopens the invoice by the amount you refunded. NetSuite can't apply a negative amount to an invoice, so ChargeOver takes that much of the payment off the invoice in NetSuite instead, and the customer refund uses it. The invoice ends up with the same balance in both. Each NetSuite customer refund gets: - The refund's date, amount, and memo - The payment's customer, accounts receivable account, and payment method - The refund's currency and exchange rate (see [Currencies and exchange rates](./invoices.mdx#currencies-and-exchange-rates)) - The same Class, Department, and Location rules as payments (see [Classes, Departments, and Locations](./invoices.mdx#classes-departments-and-locations)) NetSuite numbers refunds itself. The ChargeOver refund number is part of the **ChargeOver ID** field (for example, `co-abcd1234-refund-82` is refund #82), so you can search for it. ### Where the money comes from By default, a refund comes out of the same account the payment was deposited to (a bank account, or Undeposited Funds). To use a different one, pick it for **Refund from** under **Payments** on the **Configuration** tab of the NetSuite page. ![](./payments-settings.png) ### What happens to the invoice When you refund a payment, ChargeOver asks what to do with the invoice's balance. NetSuite follows what you pick: - **Create a credit memo:** the credit syncs as its own credit memo, applied to the invoice (see [Credits and write-offs](./credits.mdx)). In NetSuite you see the customer refund and the credit memo. - **Leave invoice open:** just the customer refund. The invoice is open again in NetSuite for the refunded amount, the same as in ChargeOver. - **Write-off refund amount:** the write-off syncs as its own credit memo on the write-off item (see [How write-offs sync](./credits.mdx#how-write-offs-sync)). ### Voiding a refund When you void a refund in ChargeOver, ChargeOver deletes the customer refund in NetSuite and puts the payment back on its invoices. The refund shows **Not synced** afterward, with why when you hover over it. If NetSuite won't delete it (like when it's in a closed accounting period), void it in NetSuite yourself, then click the sync icon on the refund in ChargeOver so it sees it's voided. ## Chargebacks A chargeback syncs to NetSuite the same way as a refund: a **Customer Refund** out of the payment the customer disputed, from the same account (see [Where the money comes from](#where-the-money-comes-from)). The money really landed and then left, so this keeps your bank reconciliation right, even when the payment is already in a bank deposit. What you pick for the invoice (credit, leave it open, or write it off) syncs the same as for a refund, and voiding a chargeback works like [voiding a refund](#voiding-a-refund). The ChargeOver chargeback number is part of the **ChargeOver ID** field (for example, `co-abcd1234-chargeback-88` is chargeback #88). ### Won chargebacks When you mark a chargeback won, ChargeOver records the money coming back in as a new payment, applied to the same invoices as the original payment. It syncs to NetSuite as a new **Customer Payment**, the same as any other payment (see [Payments](./payments.mdx)). ### Pre-arbitration If the customer disputes a won chargeback again, ChargeOver records a pre-arbitration. That syncs like a chargeback, out of the payment for the won chargeback. A won pre-arbitration syncs as a new payment, like a won chargeback. ## Refunds and chargebacks that don't sync These show **Not synced**, with the reason when you hover over it: - **The payment doesn't sync:** for example, it's dated before the date you picked for **Sync invoices, payments, and credits dated on or after** (see [Older invoices](./invoices.mdx#older-invoices)). A credit or write-off made by that refund doesn't sync either. - **Parent customer payments:** refunds and chargebacks of a payment that was split between a parent customer's child customers (see [Parent and child customers](./payments.mdx#parent-and-child-customers)) - **Excluded customers:** ones for customers on the list of customers excluded from NetSuite, the same as invoices and payments ## Sync status on refunds and chargebacks Every refund and chargeback shows its NetSuite sync status, the same as payments (see [Sync status](./sync-status-and-troubleshooting.mdx#sync-status)). Click the arrow icon to open the customer refund in NetSuite, or the sync icon to try again after fixing a problem. ## Related - [Payments](./payments.mdx) - [Credits and write-offs](./credits.mdx) - [Sync status and troubleshooting](./sync-status-and-troubleshooting.mdx)