> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Authorise and revoke write-back

> What Elastly can write to your provider, the extra permissions it needs, how to preview and authorise a write target, and how to revoke it at any time.

Write-back sends approved prices from Elastly to your provider. Connecting grants read access only, so nothing is written until you authorise a write target on the connection page. Each target is authorised separately after a preview of what changes, every write is read back from the provider, and revoking stops new writes at once. This page lists the write targets, the permissions they need and how to authorise and revoke them.

## Who can authorise

Authorising and revoking a write target needs **Edit** access to **Integrations**. During a trial the workspace is read-only: the **Writes** card reads "Read-only during trial." and offers **Pick a plan**.

## Write targets

| Provider | Target | What is written | Written on | Never touched |
| - | - | - | - | - |
| NetSuite | **Estimate lines** | When you push a quote, Elastly sets each line’s rate and records its price and decision. | Estimates you push from an Elastly quote | Item price levels, items, customers, sales orders, invoices |

The NetSuite **Writes** card also lists **Item prices at one price level**. Turning it on shows "Price level writes are not available yet."

Pushing a quote is described in [Pricing](/docs/pricing/overview.md).

## Prepare NetSuite

**1. Add the write-back permissions**

Add **Transactions › Estimate** at **Edit** to the **Elastly Integration** role, with the line default permissions listed in [Write-back permissions](/docs/integrations/netsuite/permissions.md#write-back-permissions). The setup guide lists them in the step **Add quote write-back to the role**.

**2. Install the Elastly columns**

Open **More actions** on the connection page and select **Download pricing bundle**. The file `elastly-pricing-bundle.zip` is a SuiteCloud Development Framework project that adds two transaction line custom fields, `custcol_elastly_rate` (the Elastly price) and `custcol_elastly_decision_id` (the Elastly decision). Have it deployed to your account.

> [!NOTE]
>
> The Elastly columns are optional. When the account lacks one, the push still succeeds and the missing value is recorded.

## Authorise a target

**1. Turn the target on**

On the connection page, find the **Writes** card and turn on the target. The card shows how many targets are authorised.

**2. Grant access if asked**

If the role cannot write yet, **Allow writes in NetSuite** opens with the permissions to add, each marked **Granted**, **Missing**, **To add** or **Checking**. Add them in NetSuite, or select **Download role** to get `elastly-write-back-role.xml`. Then select **Check and apply**.

**3. Review the preview**

The **Authorise writes** sheet shows what Elastly writes, the custom columns, the records it writes on and what it never touches, with example records showing the value before and after. Each push is a quote you have already reviewed, so this review happens once.

**4. Choose line defaults**

If your account requires values such as location, department or class on every line, the sheet lists them under **Defaults**. Choose a value for each. Where a line takes its value from the customer’s sales rep, this value applies when the sales rep has none.

**5. Authorise**

Select **Authorise**. The footer reads "One-time · revoke anytime".

## Revoke a target

Turn the target off on the **Writes** card and confirm **Revoke**. Writes already in progress finish; new writes stop now.

| Target | What revoking does |
| - | - |
| **Estimate lines** | Pushes from Elastly quotes to NetSuite stop until someone authorises again. Estimates already pushed keep their rate and Elastly columns. Reads and syncs keep running. |

## When authorising fails

| Message | What to do |
| - | - |
| "Write access could not be previewed. Try again or contact support." | Turn the target on again. If it repeats, contact support. |
| "The write preview has expired. A new preview is being prepared." | Wait for the new preview to open. |
| "Writes are read-only during trial" | Pick a plan to enable write-back. |
| The permission rows stay **Missing** after **Check and apply** | Add the listed permissions to the role in NetSuite and check again. |

> [card] [NetSuite permissions](/docs/integrations/netsuite/permissions.md)
>
> The write-back permissions in full.

> [card] [Pricing](/docs/pricing/overview.md)
>
> Approve quotes and push them to NetSuite.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.