## How credits sync New credits sync to NetSuite as **Credit Memos**, applied to the same invoices they're applied to in ChargeOver. That includes credits you add yourself and proration credits ChargeOver makes when a subscription changes. The customer and the invoices sync first if they aren't in NetSuite yet. - **Part of an invoice:** the credit memo is applied for just that amount - **More than one invoice:** it's applied to each of them - **Not applied to anything (an open credit):** the whole credit memo stays open in NetSuite until you apply it in ChargeOver Each NetSuite credit memo gets: - The credit's date, amount, and memo - One line for the whole amount, on a **ChargeOver Credit** item (see [The credit item](#the-credit-item)), with no tax - The credit's currency and exchange rate (see [Currencies and exchange rates](./invoices.mdx#currencies-and-exchange-rates)) - The accounts receivable account of the invoices it's applied to, the same as payments (see [Accounts receivable account](./payments.mdx#accounts-receivable-account)) - The same Class, Department, and Location rules as invoices (see [Classes, Departments, and Locations](./invoices.mdx#classes-departments-and-locations)) - A link to the credit in ChargeOver, if you made the optional **ChargeOver Link** field (see [Optional ChargeOver fields](./custom-fields.mdx#optional-chargeover-fields)) NetSuite numbers credit memos itself. The ChargeOver credit number is part of the **ChargeOver ID** field (for example, `co-abcd1234-credit-73` is credit #73), so you can search for it. ### The credit item Credits aren't for a particular product, so the first time a credit syncs, ChargeOver creates an Other Charge item called **ChargeOver Credit** in NetSuite, and puts every credit on it. Its account is the **Account for credits** under **Items** on the **Configuration** tab of the NetSuite page (like a `Sales Returns & Allowances` account). If you don't pick one, it uses the **Default discount account**, then the **Default income account** (see [Income accounts](./items.mdx#income-accounts)). ![](./items-settings.png) ChargeOver only sets the account when it creates the item. After that, the item is yours to change in NetSuite, like renaming it or moving it to another account. If you delete it in NetSuite, ChargeOver creates a new one the next time a credit syncs. If you make the item inactive in NetSuite instead, credits show an error until you make it active again, or rename it so ChargeOver can create a new one. If your NetSuite account uses Advanced Revenue Management, ChargeOver checks **Direct Revenue Posting** on the item, so credits post straight to its account instead of to deferred revenue. NetSuite only lets you change that box before an item is used, so leave it checked. ### Changing what a credit is applied to If you apply a credit to an invoice, change how much is applied, or unapply it in ChargeOver (with **Change Applied Amounts**), the credit memo in NetSuite changes to match, the same as payments (see [Changing what a payment is applied to](./payments.mdx#changing-what-a-payment-is-applied-to)). ### Voiding a credit When you void a credit in ChargeOver, ChargeOver deletes the credit memo in NetSuite, the same as payments (see [Voiding a payment](./payments.mdx#voiding-a-payment)). The invoices it was applied to are open again in NetSuite. The credit 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 credit in ChargeOver so it sees it's voided. ## How write-offs sync When you write off an invoice in ChargeOver, the write-off syncs to NetSuite as a **Credit Memo** applied to that invoice, so it's closed in NetSuite too. They work just like credits, with their own item and account: - One line for the whole amount, on a **ChargeOver Write-off** item that ChargeOver creates the first time a write-off syncs - Its account is the **Account for write-offs** under **Items** on the **Configuration** tab of the NetSuite page. This list has expense accounts too, so you can pick a `Bad Debt` account. If you don't pick one, write-offs use the same account as credits. - The write-off number is part of the **ChargeOver ID** field (for example, `co-abcd1234-writeoff-77` is write-off #77) Everything else is the same as credits: the date, currency, accounts receivable account, Classes, Departments, and Locations, the item (see [The credit item](#the-credit-item)), changing what it's applied to, voiding, and sync status. ## Credits and write-offs that don't sync These show **Not synced**, with the reason when you hover over it: - **Made by a refund or chargeback that doesn't sync:** when you refund a payment (or record a chargeback) and pick **Create a credit memo** or **Write-off refund amount**, ChargeOver makes a credit or write-off to go with it. It syncs right after the refund (see [What happens to the invoice](./refunds.mdx#what-happens-to-the-invoice)), so if the refund doesn't sync, it doesn't either. - **Older ones:** credits and write-offs dated before the date you picked for **Sync invoices, payments, and credits dated on or after** (see [Older invoices](./invoices.mdx#older-invoices)) - **Excluded customers:** ones for customers on the list of customers excluded from NetSuite, the same as invoices and payments ## Sync status on credits and write-offs Every credit and write-off shows its NetSuite sync status, the same as invoices and payments (see [Sync status](./sync-status-and-troubleshooting.mdx#sync-status)). Click the arrow icon to open the credit memo in NetSuite, or the sync icon to try again after fixing a problem. ## Related - [Payments](./payments.mdx) - [Refunds and chargebacks](./refunds.mdx) - [Invoices](./invoices.mdx) - [Items](./items.mdx) - [Sync status and troubleshooting](./sync-status-and-troubleshooting.mdx)