> For the complete documentation index, see [llms.txt](https://docs.silkline.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silkline.ai/configuration/integrations/coupa.md).

# Coupa

Connect Silkline to Coupa using an OpenID Connect (OIDC) client to sync suppliers, parts, purchase orders, receipts, and budgets — including writing orders, parts, and suppliers back to Coupa — with t

## Overview

Silkline connects to Coupa using an **OpenID Connect (OIDC) client** with the client-credentials grant. Silkline reads suppliers, parts, purchase orders, receipts, and budgets from Coupa on a recurring basis. To connect the integration, you will need to provide the following information:

* `Instance URL` — your Coupa tenant URL (e.g. `https://<tenant>.coupahost.com`)
* `Client ID`
* `Client Secret`

This guide walks you through creating the OIDC client and granting it the scopes Silkline needs.

## Directionality

Silkline **pulls** these records from Coupa — Coupa is the system of record, and Silkline reflects its suppliers, parts, purchase orders, receipts, and budgets.

When **Push** is enabled for your organization, the sync also runs in the other direction:

* An awarded purchase request creates a **draft requisition** in Coupa; see [Purchase Request Push](#purchase-request-push).
* Changes to a purchase order in Silkline are written to the matching Coupa purchase order; see [Purchase Order Mapping (write)](#purchase-order-mapping-write).
* Parts and suppliers created or edited in Silkline are written to Coupa as items and suppliers; see [Part Mapping (write)](#part-mapping-write) and [Supplier Mapping (write)](#supplier-mapping-write).

After each order write, Silkline runs a **sync check** comparing the Coupa purchase order against the Silkline order; see [Sync checks and data sync protection](#sync-checks-and-data-sync-protection).

## Prerequisites

You will need **Administrator** access to your Coupa instance, or the help of someone who can create an OIDC client and grant API scopes.

## Instructions

{% stepper %}
{% step %}

#### Find your Instance URL

Your Instance URL is the base address of your Coupa tenant, for example `https://<tenant>.coupahost.com`.

{% hint style="info" %}
Use the host only — do not include a path. If you sign in at `https://acme.coupahost.com/sessions/new`, your Instance URL is `https://acme.coupahost.com`.
{% endhint %}
{% endstep %}

{% step %}

#### Create an OIDC client

Follow Coupa's [Set up an OpenID Connect client](https://docs.coupa.com/en/developer-documentation/the-coupa-core-api/oauth-2.0-and-oidc/set-up-an-openid-connect-client) guide. In short:

1. In Coupa, navigate to **Setup → OAuth2/OpenID Connect Clients**
2. Click **Create**
3. In the **Grant type** dropdown, select **Client Credentials**
4. Select the [required scopes](#required-scopes) listed below
5. Save the client

{% hint style="info" %}
Coupa scopes take the form `service.object.right` (for example `core.supplier.read`). You can review the full list of scopes and their underlying permissions on the **Scope management** page at `/oauth2/scopes` in your Coupa instance.
{% endhint %}
{% endstep %}

{% step %}

#### Copy your Client ID and Client Secret

After saving the client, copy the `Client ID` and `Client Secret` and store them securely.

{% hint style="warning" %}
Treat the `Client Secret` as sensitive and store it securely when you create the client. Coupa provides a Show/Hide toggle so you can reveal it again later, but record it now — you will need it in the next step.
{% endhint %}
{% endstep %}

{% step %}

#### Configure the Integration in Silkline

1. Follow the [Managing Integrations](https://docs.silkline.ai/configuration/integrations/managing-integrations.md) guide to create your Coupa integration in Silkline
2. When configuring the integration, provide:
   * **Coupa Instance URL**: from Step 1
   * **Client ID**: from Step 3
   * **Client Secret**: from Step 3

{% hint style="info" %}
If you push purchase requests, you will also set the per-organization defaults described in [Purchase request defaults](#purchase-request-defaults).
{% endhint %}
{% endstep %}
{% endstepper %}

## Required scopes

Grant the following Coupa Core API scopes to the OIDC client created above. Silkline reads these objects from Coupa, and — with **Push** enabled — pushes purchase requests to Coupa as requisitions and pushes purchase orders, parts (items), and suppliers to their Coupa counterparts.

| Scope                           | Description                                                                                                                 |
| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `core.user.read`                | Read user records                                                                                                           |
| `core.user.write`               | Create and update user records                                                                                              |
| `core.supplier.read`            | Read supplier records                                                                                                       |
| `core.supplier.write`           | Create and update supplier records                                                                                          |
| `core.purchase_order.read`      | Read purchase orders                                                                                                        |
| `core.purchase_order.write`     | Create and update purchase orders                                                                                           |
| `core.item.read`                | Read part (item) records                                                                                                    |
| `core.item.write`               | Create and update part (item) records                                                                                       |
| `core.address.read_write`       | Read address records (ship-to locations)                                                                                    |
| `core.uom.read`                 | Resolve the unit-of-measure association on parts (required for the Unit of Measure mapping and for pushing purchase orders) |
| `core.requisition.read`         | Read requisitions, so a purchase order can be linked back to the request it originated from                                 |
| `core.requisition.write`        | Create and update requisitions                                                                                              |
| `core.inventory.receiving.read` | Read receiving transactions (receipts recorded against purchase orders)                                                     |
| `core.accounting.read`          | Read the accounting / GL references on purchase orders and their lines                                                      |
| `core.budget.read`              | Read budget records (budget lines)                                                                                          |
| `core.commodity.read`           | Read commodity references                                                                                                   |
| `core.approval.read`            | Read the approval status on purchase orders                                                                                 |

{% hint style="info" %}
Most Coupa scopes expose separate `.read` and `.write` rights, and some (such as `core.address`) expose a single combined `.read_write` right — there are no separate `.create`, `.update`, or `.delete` scopes. Granting a `.write` or `.read_write` scope lets Silkline create and update those records through the same OIDC client.
{% endhint %}

{% hint style="info" %}
Parts are served from Coupa's reference-data **Items API** (`/api/items`), so the part scope is `core.item.read`, not an inventory scope. The only inventory scope Silkline needs is `core.inventory.receiving.read`, which reads receipts recorded against purchase orders. `core.uom.read` is required to populate the **Unit of Measure** mapping, since the part's `uom` association is not returned without it. If your read path touches supplier-specific catalogs, `core.catalog.read` is an alternative that covers Items plus Supplier Items.
{% endhint %}

{% hint style="info" %}
After you save the integration, its settings page shows a **Permission Status** panel listing each scope Silkline needs as granted or missing. Use it to confirm the OIDC client carries everything required before you rely on the sync. If a scope shows as missing, add it to the client in Coupa and reload the page. Write scopes only appear here when **Push** is enabled.
{% endhint %}

## Purchase request settings

When purchase request push is enabled, Silkline creates a draft requisition in Coupa from an awarded purchase request. Configure these per-organization settings so Silkline can pre-fill Coupa fields that are missing from the request. The requester completes any remaining required fields in Coupa before submitting the draft.

| Setting                                | What it is                                                                                                                                                                                                                                                                                                                                                                                                    | Where to find it                                                                                          |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| **Default Requester**                  | The Coupa user the draft requisition is created under when the Silkline requester has no matching Coupa user. The draft lands in this user's queue.                                                                                                                                                                                                                                                           | **Setup → Users** — open the user and use its id                                                          |
| **Default Ship-To Address**            | The Coupa address used on the requisition header when the request has no Location. A requisition with no ship-to parks in the buyer queue instead of routing for approval, so setting this is strongly advised.                                                                                                                                                                                               | **Setup → Addresses** (or **Locations**) — use the address id                                             |
| **Default Unit of Measure**            | The Coupa UoM `code` (e.g. `EA`) used when a line's unit of measure has no Coupa match.                                                                                                                                                                                                                                                                                                                       | **Setup → Units of Measure** — use the UoM `code`                                                         |
| **Buyer custom field**                 | The requisition header custom field that receives the request's Buyer, written as the matching Coupa user. A Coupa requisition has no built-in buyer field, so name the custom field your tenant uses for it.                                                                                                                                                                                                 | The custom field's **API name** — not its display label. Use a custom field that references a Coupa user. |
| **Supplier quote number custom field** | The requisition header custom field that receives the awarded quote's number when every awarded line on the request shares the same one. That is the supplier's quote number, or, when the quote has none, the Silkline quote number prefixed with `SL` (Silkline quote 200 is written as `SL200`). A Coupa requisition has no built-in quote number field, so name the custom field your tenant uses for it. | The custom field's **API name** — not its display label. Use a text custom field.                         |

To put a fixed value on every requisition — a contract answer, a commodity, an account — link a configurable field to the Coupa custom field and give it a default value. See [Custom Fields](#custom-fields). Requests pick the default up as they are created, and anyone raising a request can still change it.

{% hint style="info" %}
These settings are a starting point, not a substitute for review. Because Silkline creates the requisition as a **draft**, the requester can adjust any pre-filled value and complete anything Silkline could not supply before submitting it in Coupa.
{% endhint %}

## Purchase Request Push

When purchase request push is enabled, Silkline turns an awarded purchase request into a Coupa **draft requisition** and keeps it in sync. There is no separate submit step in Silkline — awarding a quote line is what starts the sync.

The workflow, end to end:

1. **Award quote lines on the request.** Once a request is **Open** and has at least one awarded quote line (a request line with a selected quote), Silkline automatically creates a **draft requisition** in Coupa under the mapped requester.
2. **Silkline keeps the draft in sync.** As you change awards, lines, or the request's configurable fields — including mapped custom and account fields — Silkline mirrors those changes into the same draft, as long as it is still a draft in Coupa. Source documents ride along and stay in sync: each awarded quote's documents attach to the **requisition line** that quote won, so a Coupa reviewer reads a line's pricing evidence next to the line itself, and the request's internal files attach to the **requisition header**, where they cover the request as a whole. The header also carries a link back to the request in Silkline, and each line a link back to its awarded quote. Adding or removing a document, or awarding a line to a different quote, updates the attachments to match. Internal files and links are attached for Coupa approvers to review and are never shared with the supplier.
3. **Review and complete it in Coupa.** A Coupa user opens the draft, adjusts any pre-filled value, and completes any required fields Silkline could not supply (see [Purchase request defaults](#purchase-request-defaults) and the mapping below). Each draft is titled `Silkline Request {number}` and carries a link attachment to the request, so a reviewer can open the originating request in one click.
4. **Submit it in Coupa.** The Coupa user submits the requisition for approval **in Coupa** — Silkline never submits it for you. Once submitted, the requisition is locked and Silkline stops mirroring edits (see below).

{% hint style="info" %}
**Coming soon.** Automatic order linkback is on the roadmap: when Coupa issues a purchase order from the requisition, Silkline will link that order back to the originating request and complete the request automatically. Until then, the resulting purchase order is pulled from Coupa like any other (see [What Gets Synchronized](#what-gets-synchronized)).
{% endhint %}

{% hint style="info" %}
Request lines **without** an awarded quote are left off the requisition and flagged on the request so you can award them. A request that is On Hold, Cancelled, or Complete does not sync.
{% endhint %}

{% hint style="warning" %}
A request only syncs when its awarded lines share **one currency** and every awarded supplier is already mapped to a Coupa supplier. If either check fails, the request shows a sync error describing what to fix. Mapping the **requester** to a Coupa user matters most — an unmapped requester with no configured default stops the sync, and a draft created under the wrong user can go unnoticed.
{% endhint %}

{% hint style="warning" %}
After the requisition is submitted for approvals in Coupa, it is locked and Silkline stops mirroring edits. The request's sync control shows a message asking the requester to withdraw or reject the requisition back to draft in Coupa; once it returns to draft, later edits sync again automatically.
{% endhint %}

### Purchase Request Mapping (write)

Silkline maps an awarded purchase request to a Coupa requisition as shown below. The **Filled by** column tells you what Silkline pre-fills on the draft versus what the requester completes in Coupa before submitting. Field names are the Coupa API field names.

**Header:**

| Silkline (Request)              | Coupa Requisition Field                | Filled by            | Notes                                                                                                                                                                                                                                                                                                              |
| ------------------------------- | -------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Requester                       | `requested-by`                         | Silkline             | Mapped to the Coupa user; falls back to the **Default Requester**                                                                                                                                                                                                                                                  |
| Buyer                           | **Buyer custom field**                 | Silkline / Requester | Written as the Coupa user the buyer maps to, into the custom field named in **Buyer custom field**. Left for the requester to fill when no buyer custom field is configured, the request has no buyer, or the buyer has no matching Coupa user.                                                                    |
| Supplier quote number           | **Supplier quote number custom field** | Silkline / Requester | The quote number shared by every awarded line's quote: the supplier's quote number, or `SL` followed by the Silkline quote number when the supplier's is blank. Left for the requester to fill when no supplier quote number custom field is configured, or when the awarded lines' quotes have different numbers. |
| Awarded quotes' currency        | `currency`                             | Silkline             | All awarded lines must share one currency                                                                                                                                                                                                                                                                          |
| Rationale                       | `justification`                        | Silkline             | The request's Rationale. When Rationale is linked to a Coupa custom field, that field carries it and this one is written empty.                                                                                                                                                                                    |
| Notes                           | `buyer-note`                           | Silkline             | The request's notes                                                                                                                                                                                                                                                                                                |
| Need date                       | `need-by-date`                         | Silkline             | The request's need date. When Request Need Date is linked to a Coupa custom field, this native header field is omitted.                                                                                                                                                                                            |
| Title                           | `req_title`                            | Silkline             | `Silkline Request {number}`                                                                                                                                                                                                                                                                                        |
| Request internal files          | Header attachments                     | Silkline             | The request's internal files are attached for review; they are visible to Coupa approvers only and never shared with the supplier. Each is named `Request-{request number}-{file name}`, with a unique suffix so two documents sharing a name stay distinct.                                                       |
| Link to the request in Silkline | Header attachments                     | Silkline             | A link attachment opening the originating request in Silkline                                                                                                                                                                                                                                                      |
| Ship-to address                 | `ship-to-address`                      | Silkline / Requester | The request's Location, as the Coupa address it was synced from. A request with no Location uses the **Default Ship-To Address** if one is configured, otherwise the requester sets it in Coupa. A Location that did not come from Coupa fails the sync.                                                           |
| Header custom fields            | `custom-fields`                        | Silkline / Requester | Mapped Configurable Fields and linked Request core fields. A field left empty on the request is written as an empty value, clearing it in Coupa.                                                                                                                                                                   |

Each awarded request line becomes one requisition line:

| Silkline (Request line / awarded quote) | Coupa Requisition Line Field | Filled by            | Notes                                                                                                                                                                                                                                                                                                           |
| --------------------------------------- | ---------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Line number                             | `line-num`                   | Silkline             |                                                                                                                                                                                                                                                                                                                 |
| Awarded part or description             | `item` **or** `description`  | Silkline             | Sends the mapped Coupa `item` when the awarded part is mapped; otherwise sends a description — request line, then quote line                                                                                                                                                                                    |
| Awarded supplier                        | `supplier`                   | Silkline             | Must be mapped to a Coupa supplier                                                                                                                                                                                                                                                                              |
| Awarded quantity / unit price           | `quantity` / `unit-price`    | Silkline             | From the selected quote line. Linked Request Line Quantity is also mirrored to its custom field, but Coupa's required native `quantity` is always retained.                                                                                                                                                     |
| Unit of measure                         | `uom`                        | Silkline             | Matched to a Coupa UoM `code`; falls back to the **Default Unit of Measure**, then `EA`                                                                                                                                                                                                                         |
| Need date                               | `need-by-date`               | Silkline             | The line's need date, else the request's. Linking Request Need Date removes only the request-derived fallback; explicit line dates remain. Linking Request Line Need Date omits this native field.                                                                                                              |
| Supplier part number                    | `source-part-num`            | Silkline             | Prefers the awarded quote line's supplier part number, then the request line's. A blank value counts as unset.                                                                                                                                                                                                  |
| Awarded quote documents                 | Line attachments             | Silkline             | The documents linked to the quote awarded to this line. A quote awarded to several lines is attached to each of them. Visible to Coupa approvers only and never shared with the supplier. Each is named `Quote-{quote number}-{file name}`, with a unique suffix so two documents sharing a name stay distinct. |
| Link to the awarded quote in Silkline   | Line attachments             | Silkline             | A link attachment opening the awarded quote in Silkline, in the context of the request it was awarded on. Re-awarding the line replaces it.                                                                                                                                                                     |
| Line custom fields                      | `custom-fields`              | Silkline / Requester | Mapped Configurable Fields and linked Request Line core fields. A field left empty on the line is written as an empty value, clearing it in Coupa.                                                                                                                                                              |

{% hint style="info" %}
The draft is a **best-effort** starting point. Anything Silkline cannot supply — for example a commodity, a budget reference, a ship-to address (when no default is set), or a contract answer — is left for the requester to complete in Coupa before submitting. A requisition missing a required field parks in **Pending Buyer Action** rather than routing for approval.
{% endhint %}

## What Gets Synchronized

Silkline syncs the following data with Coupa:

| Coupa Object          | Silkline                       | Direction        |
| --------------------- | ------------------------------ | ---------------- |
| Item                  | Part                           | Coupa ⇄ Silkline |
| Supplier Item         | Supplier part numbers on parts | Coupa → Silkline |
| Commodity             | Category                       | Coupa → Silkline |
| Purchase Order        | Order                          | Coupa ⇄ Silkline |
| Receiving Transaction | Received quantities on orders  | Coupa → Silkline |
| Supplier              | Supplier                       | Coupa ⇄ Silkline |
| User                  | Organization user              | Coupa → Silkline |
| Address               | Location                       | Coupa → Silkline |
| Budget Line           | Budget                         | Coupa → Silkline |
| Requisition (draft)   | Purchase request (awarded)     | Silkline → Coupa |

Reads run on a recurring schedule. The Silkline → Coupa direction requires **Push** to be enabled: pushing purchase requests is described in [Purchase Request Push](#purchase-request-push), and the purchase order, part, and supplier write mappings appear alongside their read mappings in [Detailed Data Mappings](#detailed-data-mappings).

## Search and import

Alongside the scheduled reads, you can search Coupa for a specific record and import it on demand. On the integration page, open **Search & Import**, choose a tab, and type to search:

* **Purchase Orders** — by PO number
* **Suppliers** — by name
* **Parts** — by number or name

Only record types that are enabled for Pull on this integration appear as tabs.

Each result shows whether it is already in Silkline. Select the records you want and import them; each imported record is created or updated in Silkline just as a scheduled read would.

## Detailed Data Mappings

The tables below show how standard Coupa fields map to Silkline fields for the read direction (Coupa → Silkline). Field names are the Coupa API field names. For fields not listed here, see [Custom Fields](#custom-fields).

### Part Mapping (read)

Coupa **Items** are read into Silkline **Parts**.

| Coupa Item Field | Silkline Part Field | Notes                                                                                                           |
| ---------------- | ------------------- | --------------------------------------------------------------------------------------------------------------- |
| `id`             | External ID         | Coupa's unique item identifier                                                                                  |
| `name`           | Name                | Item name                                                                                                       |
| `item-number`    | Part Number         | SKU or part number                                                                                              |
| `description`    | Description         | Item description                                                                                                |
| `uom`            | Unit of Measure     | Association to the Unit of Measure object; Silkline reads its `code` (EA, KG, LB, etc.)                         |
| —                | External URL        | A deep link back to the part (item) in Coupa                                                                    |
| `commodity`      | Category            | The item's commodity is matched to a Silkline Category by name (see [Category Mapping](#category-mapping-read)) |
| `active`         | Archived            | An inactive item (`active = false`) is marked archived in Silkline                                              |
| `created-at`     | Created At          | Creation date and time                                                                                          |
| `updated-at`     | Updated At          | Last updated date and time                                                                                      |

{% hint style="info" %}
`uom` is a UoM association, not a flat field — Silkline reads its `code`, which requires the `core.uom.read` scope. Coupa exposes many other standard Item fields (for example `consumption-uom`, `pack-uom`, `storage-uom`, `net-weight`, `pack-qty`, `reorder-point`, `external-image-url`, and lot-tracking fields) that Silkline does not currently sync.
{% endhint %}

### Part Number Mapping (read)

Silkline keeps a **canonical part number catalog** for each part — manufacturer part numbers (MPN) and supplier part numbers (SPN) — so a part can be matched by either. Coupa stores these two in **different places**, and Silkline reads both.

| Coupa source  | Coupa Field                                      | Silkline Part Number     | Notes                                                                                                                                                |
| ------------- | ------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Item          | `manufacturer-name` + `manufacturer-part-number` | Manufacturer part number | Read from the item itself; carries no supplier. Written only when the item has a manufacturer part number.                                           |
| Supplier Item | `supplier-part-num` + `supplier`                 | Supplier part number     | Read from Coupa **Supplier Items** (a supplier's catalog entry for the item). One part number per supplier; the supplier must be mapped in Silkline. |

{% hint style="info" %}
A Coupa **Supplier Item** carries the supplier's part number but **not** a manufacturer part number — the only thing tying a supplier's part number to the manufacturer's is the item they both belong to. Silkline reads supplier items from Coupa's supplier catalog; a supplier item whose supplier is not mapped to a Silkline supplier, or that has no supplier part number, is skipped.
{% endhint %}

{% hint style="info" %}
Reading supplier part numbers pulls from Coupa's supplier catalog (Supplier Items). If manufacturer part numbers sync but supplier part numbers do not, confirm the OIDC client can read that catalog — see the catalog scope note under [Required scopes](#required-scopes) — using the **Permission Status** panel.
{% endhint %}

### Part Mapping (write)

With **Push** enabled, a part created or edited in Silkline is pushed to Coupa as an **Item**. A part already linked to a Coupa item updates that item; a part with no Coupa link creates one.

| Silkline Part Field      | Coupa Item Field                                 | Notes                                                               |
| ------------------------ | ------------------------------------------------ | ------------------------------------------------------------------- |
| Name                     | `name`                                           | Required — a part without a name fails the write                    |
| Part Number              | `item-number`                                    |                                                                     |
| Description              | `description`                                    |                                                                     |
| Unit of Measure          | `uom`                                            | Sent as the UoM `code`; omitted when the part has none              |
| Archived                 | `active`                                         | An archived part is written as inactive                             |
| Manufacturer part number | `manufacturer-name` + `manufacturer-part-number` | From the part's manufacturer part number in the part number catalog |

{% hint style="info" %}
Silkline writes only the fields it owns. Coupa items carry many inventory and packaging settings that belong to your catalog configuration; Silkline leaves those untouched rather than overwriting them with defaults. Supplier part numbers are pulled from Coupa's supplier catalog but are not pushed.
{% endhint %}

### Category Mapping (read)

Coupa **Commodities** are read into Silkline **Categories**. The commodity hierarchy is preserved: a commodity's parent becomes the parent Category.

| Coupa Commodity Field | Silkline Category Field | Notes                                                         |
| --------------------- | ----------------------- | ------------------------------------------------------------- |
| `id`                  | External ID             | Coupa's unique commodity identifier                           |
| `name`                | Code and Name           | The commodity name is used as both the category code and name |
| `description`         | Description             | Commodity description                                         |
| `parent`              | Parent Category         | The parent commodity is matched to its Silkline Category      |

A category is matched to an existing Silkline Category by name, so commodities that share a name with a category you already manage link to it rather than creating a duplicate. When a Part is read from Coupa, its commodity determines the Part's Category.

### Purchase Order Mapping (read)

Coupa **Purchase Orders** are read into Silkline **Orders**.

| Coupa PO Field                    | Silkline Order Field  | Notes                                                                                                 |
| --------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------- |
| `id`                              | External ID           | Coupa's unique purchase order identifier                                                              |
| `po-number`                       | External Order Number | Purchase order number shown to users                                                                  |
| `version`                         | Revision              | Coupa's supplier-facing PO version; increments when a change is resent to the supplier                |
| `status`                          | Order State           | Mapped as shown below                                                                                 |
| `currency.code`                   | Currency              | Mapped to Silkline's supported currency codes                                                         |
| `supplier.id`                     | Supplier              | Links to the matching Silkline supplier                                                               |
| `payment-term.code`               | Payment Terms         | Payment terms code (for example `NET30`), unless the field is linked; see [Order terms](#order-terms) |
| `shipping-term.code`              | Delivery Terms        | Shipping term code (for example `FOB`), unless a field is linked; see [Order terms](#order-terms)     |
| `ship-to-address`                 | Ship To Address       | Composed into an address block; the attention line and ship-to user appear beneath it                 |
| `ship-to-address.id`              | Ship To Location      | Links to the matching Silkline location; the location is pulled automatically if not yet present      |
| `created-by`                      | Created By            | Links to the matching Silkline organization user                                                      |
| `updated-by`                      | Updated By            | Links to the matching Silkline organization user                                                      |
| `requisition-header.requested-by` | Assigned To           | The person who raised the requisition the purchase order came from                                    |
| `attachments`                     | Internal Files        | File attachments become organization-only Order files; URL and text attachments are skipped           |
| —                                 | External URL          | A deep link back to the purchase order in Coupa                                                       |
| `created-at`                      | Created At            | Creation date and time                                                                                |
| `updated-at`                      | Updated At            | Last updated date and time                                                                            |

{% hint style="info" %}
`currency` and `supplier` are object references (associations) in the Coupa API payload, not flat fields. The dotted notation above (`currency.code`, `supplier.id`) shows the nested value Silkline reads from each association.
{% endhint %}

{% hint style="info" %}
`created-by`, `updated-by`, `requisition-header.requested-by`, and the ship-to user are user associations. During a pull, Silkline automatically pulls a referenced regular user when needed so the link resolves. The ship-to location is resolved the same way — if the address has not yet been pulled as a Silkline location, Silkline pulls it automatically.
{% endhint %}

{% hint style="info" %}
Coupa records the requester on the requisition, not on the purchase order. A purchase order raised from a requisition carries that requisition as `requisition-header`, and its `requested-by` user becomes Assigned To. A purchase order entered directly against a supplier has no requisition, so Assigned To stays empty.
{% endhint %}

{% hint style="warning" %}
When `requested-by` cannot be resolved to a Silkline organization user, the order reports a sync error instead of importing without Assigned To. Health checks report the same error when the existing association is missing. Coupa accounts flagged as supplier, API, support, or MSP users are intentionally not imported, so requisitions and configured defaults must use a regular Coupa user.
{% endhint %}

Coupa purchase order status values are mapped to Silkline order states:

| Coupa Status           | Silkline Status |
| ---------------------- | --------------- |
| `draft`                | Draft           |
| `issued`               | Open            |
| `exported`             | Open            |
| `cancelled`            | Canceled        |
| `closed`               | Closed          |
| `expensed`             | Closed          |
| `buyer_hold`           | Review          |
| `currency_hold`        | Review          |
| `supplier_hold`        | Review          |
| `supplier_window_hold` | Review          |

Any other status leaves the order state unset.

### Line Item Mapping (read)

Coupa order lines are read into Silkline **Order Items**.

| Coupa Order Line Field | Silkline Order Item Field | Notes                                                                                                    |
| ---------------------- | ------------------------- | -------------------------------------------------------------------------------------------------------- |
| `id`                   | External ID               | Coupa's unique order line identifier                                                                     |
| `line-num`             | Line Number               | Falls back to the line's position when not set                                                           |
| `item`                 | Part                      | Links to the matching Silkline part                                                                      |
| `description`          | Description               | Line description                                                                                         |
| `quantity`             | Units                     | Number of units ordered                                                                                  |
| `price`                | Unit Cost                 | Price per unit                                                                                           |
| `received`             | Units Received            | Quantity received against the line                                                                       |
| `uom`                  | Purchase Unit of Measure  | Association to the Unit of Measure object; Silkline reads its `code` (EA, KG, etc.)                      |
| `source-part-num`      | Supplier Part Number      | The supplier's part number for the line                                                                  |
| `need-by-date`         | Need Date or ETA          | Requested delivery date for the line; reads into ETA instead when **Treat PO Need-By Date as ETA** is on |

{% hint style="info" %}
If a line's item has not yet been pulled as a Silkline part, the line is still imported but is not linked to a part. Adjustments and tax lines are not currently read from Coupa.
{% endhint %}

#### Need-by date as ETA

A Coupa purchase order line carries one date, **Need-by Date**, and Coupa has no separate supplier-ETA field. Some teams use that date as the expected arrival date rather than the buyer's requested date.

**Treat PO Need-By Date as ETA** in the integration settings switches which Silkline field a purchase order line's need-by date corresponds to. It is off by default.

| Setting | Reading a Coupa purchase order                                                    | Sending a Silkline order to Coupa                                                                                           |
| ------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Off     | The line's need-by date becomes the order item's **Need Date**                    | The order item's **Need Date** is sent as the line's need-by date                                                           |
| On      | The line's need-by date becomes the order item's **ETA** instead of its Need Date | The order item's **ETA** is sent as the line's need-by date. A line with no confirmed ETA leaves the need-by date untouched |

With the setting on, a supplier-confirmed ETA reaches Coupa the same way any other order change does: Silkline sends the whole purchase order shortly after the line changes.

{% hint style="warning" %}
This setting only affects purchase orders. A requisition's need-by date is always the need date, in both the header and the lines.
{% endhint %}

### Purchase Order Mapping (write)

With **Push** enabled, changes to a purchase order in Silkline are pushed to the matching Coupa purchase order shortly after the change. An order not yet linked to a Coupa purchase order is created in Coupa; creating one requires a mapped supplier, a currency, a PO number, and at least one line.

The header write carries the order's terms as described in [Order terms](#order-terms), and the order's fields linked to Coupa custom fields as described in [Linked purchase-order core fields](#linked-purchase-order-core-fields); a term or linked field with no value on the order is left out of the write, so Coupa keeps its value. When the order shows as confirmed in Silkline (the checkmark next to **Send Order** on the order, and next to the order number in the orders list), writing it to an existing Coupa purchase order also checks that purchase order's supplier **Acknowledged** box. Silkline never clears the box, so an acknowledgment already recorded in Coupa stays in place.

Each order line is written as follows:

| Silkline Order Item Field | Coupa Order Line Field      | Notes                                                                                                                                                    |
| ------------------------- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Line Number               | `line-num` / `sub-line-num` |                                                                                                                                                          |
| Part **or** Description   | `item` **or** `description` | A line whose part is mapped to a Coupa item carries that catalog `item`; otherwise the line is free text — description, then part name, then part number |
| Units / Unit Cost         | `quantity` / `price`        | The purchasing quantity, cost, and unit are used when all three are set; otherwise the base units and unit cost                                          |
| Unit of Measure           | `uom`                       | Matched to an active Coupa unit by code, then by name, ignoring case, and sent as that unit's `code`; the sync fails on a unit with no match             |
| Need Date or ETA          | `need-by-date`              | The need date; the confirmed ETA instead when **Treat PO Need-By Date as ETA** is on (see [Need-by date as ETA](#need-by-date-as-eta))                   |
| Supplier Part Number      | `source-part-num`           |                                                                                                                                                          |
| Account (Billing) field   | `account`                   | The linked Account (Billing) Configurable Field — see [Account (billing) fields](#account-billing-fields). Required on new lines                         |

{% hint style="info" %}
A Coupa line carries either a catalog item or free text, never both. When a line's part is mapped to a Coupa item, the item is what Coupa receives, and the line stays a catalog line in Coupa. A line whose part is not mapped — or that has no part — is written as a free-text line.
{% endhint %}

{% hint style="warning" %}
A **new** line needs a part or a description, a quantity greater than zero, a non-negative price, a unit of measure, a currency on the order, and an Account (Billing) value. A write missing any of these reports a sync error naming the field instead of sending an incomplete line.
{% endhint %}

### Supplier Mapping (read)

Coupa **Suppliers** are read into Silkline **Suppliers**.

| Coupa Supplier Field         | Silkline Supplier Field      | Notes                                                           |
| ---------------------------- | ---------------------------- | --------------------------------------------------------------- |
| `id`                         | External ID                  | Coupa's unique supplier identifier                              |
| `name`                       | Name                         | Supplier's business name                                        |
| `number`                     | Key                          | Distinguishes suppliers that share a name                       |
| `corporate-url`              | Primary Domain               | Reduced to the website's domain; falls back to `website`        |
| `primary-contact.phone-work` | Primary Phone                | Falls back to `phone-mobile`; left as-is when Coupa has neither |
| `status`                     | Approval Status and Archived | Mapped as shown below                                           |
| `created-at`                 | Created At                   | Creation date and time                                          |
| `updated-at`                 | Updated At                   | Last updated date and time                                      |

A recognized Coupa status sets the supplier's Silkline approval status:

| Coupa Status | Silkline Approval Status | Archived |
| ------------ | ------------------------ | -------- |
| `active`     | Approved                 | No       |
| `onboarding` | Evaluation               | No       |
| `evaluating` | Evaluation               | No       |
| `draft`      | Evaluation               | No       |
| `inactive`   | Prohibited               | Yes      |

Any other status leaves the supplier's approval status untouched and the supplier unarchived.

{% hint style="info" %}
For recognized statuses, Coupa replaces an approval status set by hand in Silkline on the next supplier sync. Only approved suppliers can be marked preferred, so the preferred flag is cleared whenever the resulting approval status is Evaluation, Restricted, or Prohibited. An unrecognized or absent status preserves the existing approval status.
{% endhint %}

A supplier's addresses map to Silkline supplier addresses. Coupa's primary address becomes the Silkline primary address, and the supplier's other addresses are added alongside it.

| Coupa Address Field | Silkline Address Field | Notes             |
| ------------------- | ---------------------- | ----------------- |
| `street1`           | Address Line 1         | Street address    |
| `street2`           | Address Line 2         | Street address    |
| `city`              | Locality               | City              |
| `state`             | Administrative Area    | State / province  |
| `postal-code`       | Postal Code            | Postal / ZIP code |
| `country.code`      | Country Code           | ISO country code  |

A supplier's contacts map to Silkline supplier contacts. Coupa's primary contact is read first, followed by the supplier's other active contacts.

| Coupa Contact Field | Silkline Contact Field | Notes                                                          |
| ------------------- | ---------------------- | -------------------------------------------------------------- |
| `name-given`        | First Name             | Contact's first name                                           |
| `name-family`       | Last Name              | Contact's last name                                            |
| `email`             | Email                  | The primary contact falls back to the supplier's `po-email`    |
| `phone-work`        | Phone Number           | Falls back to `phone-mobile` when no usable work number exists |

{% hint style="info" %}
A contact removed in Coupa stays on the Silkline supplier, since contacts can also be added directly in Silkline. Changing the primary Coupa contact can leave duplicate contact rows because those records are not pruned automatically. Remove contacts in Silkline when you no longer want them.
{% endhint %}

### Supplier Mapping (write)

With **Push** enabled, a supplier created or edited in Silkline is pushed to Coupa. A supplier already linked to a Coupa supplier updates it; a supplier with no Coupa link creates one.

| Silkline Supplier Field | Coupa Supplier Field               | Notes                                                                                       |
| ----------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------- |
| Name                    | `name`                             | Required                                                                                    |
| Archived                | `status`                           | An archived supplier is written as `inactive`, otherwise `active`                           |
| Primary Domain          | `corporate-url` and `online-store` | Required — a supplier without a primary domain fails the write                              |
| Primary address         | `primary-address`                  | Address line 1, city, postal code, and country code are all required                        |
| First contact           | `primary-contact`                  | The supplier's earliest contact provides the first name, last name, and email, when present |

{% hint style="warning" %}
Coupa requires a primary address and a supplier URL on every write. Silkline requires these fields on the supplier rather than sending placeholders — a placeholder written into your vendor master feeds payment and is painful to correct. A write missing one of them reports a sync error naming the field.
{% endhint %}

### Organization User Mapping (read)

Coupa **Users** are read into Silkline **Organization Users**.

| Coupa User Field    | Silkline User Field                  | Notes                                                  |
| ------------------- | ------------------------------------ | ------------------------------------------------------ |
| `id`                | External ID                          | Coupa's unique user identifier                         |
| `login`             | Username                             | Falls back to `email` when no login is set             |
| `email`             | Contact Email                        | Required — users without an email are skipped          |
| `firstname`         | Contact First Name                   | User's first name                                      |
| `lastname`          | Contact Last Name                    | User's last name                                       |
| `phone-work`        | Contact Phone Number                 | Falls back to `phone-mobile`                           |
| `business-function` | Organization Title and Contact Title | The user's job function                                |
| `manager`           | Reports To                           | Optional; see below                                    |
| `active`            | Archived                             | An inactive user (`active = false`) is marked archived |

Manager sync is off by default. Enable **Sync Manager as Reports-To** in the integration settings to link the matching Silkline user. An unmapped manager is pulled automatically, and a manager set manually in Silkline is not overwritten.

### Location Mapping (read)

Coupa **Addresses** are read into Silkline **Locations**. An order's ship-to address links to the matching location (see the Purchase Order mapping above).

| Coupa Address Field                                            | Silkline Location Field | Notes                                                             |
| -------------------------------------------------------------- | ----------------------- | ----------------------------------------------------------------- |
| `id`                                                           | External ID             | Coupa's unique address identifier                                 |
| `name`                                                         | Name                    | Address nickname; falls back to the composed address when not set |
| `street1`–`street4`, `city`, `state`, `postal-code`, `country` | Address                 | Composed into a single address block                              |
| `active`                                                       | Archived                | An inactive address (`active = false`) is marked archived         |
| `created-at`                                                   | Created At              | Creation date and time                                            |
| `updated-at`                                                   | Updated At              | Last updated date and time                                        |

### Budget Mapping (read)

Coupa **Budget Lines** are read into Silkline **Budgets**. Coupa models a budget as a set of budget lines, and each line becomes one Silkline budget.

| Coupa Budget Line Field | Silkline Budget Field | Notes                                                          |
| ----------------------- | --------------------- | -------------------------------------------------------------- |
| `id`                    | External ID           | Coupa's unique budget line identifier                          |
| `description`           | Name                  | Falls back as described below when the line has no description |
| `amount`                | Amount                | The budgeted amount                                            |
| `currency.code`         | Currency              | Mapped to Silkline's supported currency codes                  |
| `description`           | Description           | Falls back to `notes` when the line has no description         |
| `owner`                 | Owner                 | Links to the matching Silkline organization user               |
| `created-at`            | Created At            | Creation date and time                                         |
| `updated-at`            | Updated At            | Last updated date and time                                     |

{% hint style="info" %}
A budget's **Name** comes from the line's `description`. When that is empty, Silkline builds a name by joining the line's populated segment values in order; if no segments are set either, it uses `Budget {id}`.
{% endhint %}

{% hint style="info" %}
`owner` and `currency` are object references (associations) in the Coupa API payload, not flat fields. `currency.code` shows the nested value Silkline reads. If the referenced owner has not yet been pulled as a Silkline organization user, Silkline pulls it automatically so the link resolves; a budget line with no owner leaves the Silkline budget's owner unchanged. Budget **line adjustments** are not read from Coupa.
{% endhint %}

## Custom Fields

The mappings above cover Coupa's **standard** fields. Coupa also supports **custom fields** on records, and an administrator can map them into Silkline directly — no separate scoping effort is required.

Silkline reads a Coupa custom field into a **Configurable Field**. Create the Configurable Field for the record you want to extend, then link it to your Coupa integration and enter the Coupa custom field's **API name**. See [Configurable Fields](https://docs.silkline.ai/for-customers/profile-and-settings/organization-settings/configurable-fields) for how to create a field and open its integration sidebar.

{% hint style="info" %}
To find a field's **API name**, open its configuration in Coupa or ask your Coupa administrator — enter that API name, not the field's display label.
{% endhint %}

Once linked, each scheduled read populates the Configurable Field's value from the matching custom field on every record Silkline pulls.

Within a resource, each Coupa custom-field API name can be linked only once. Silkline rejects duplicate links because they would produce ambiguous reads and writes.

### Linked purchase-request core fields

A Request or Request Line **core field override** can also be linked to a Coupa custom field. When pushing a requisition, Silkline projects the core field's current value into that custom field:

| Silkline core field | Requisition scope | Value written to the Coupa custom field                             |
| ------------------- | ----------------- | ------------------------------------------------------------------- |
| Need Date           | Header            | The Request Need Date                                               |
| Instructions        | Header            | The Request Instructions                                            |
| Rationale           | Header            | The Request Rationale                                               |
| Notes for Suppliers | Header            | The Request Notes for Suppliers                                     |
| Need Date           | Line              | The line Need Date, or the Request Need Date when the line has none |
| Quantity            | Line              | The awarded outbound quantity                                       |

The linked core value has precedence over an existing Configurable Field value or configured header/line default with the same Coupa API name. Clearing a clearable core field is also authoritative: Silkline sends an explicit custom-field clear instead of allowing an older value or default to remain. Awarded Quantity is required to push a requisition, so a missing Quantity fails the write instead of sending a clear.

Linking a core field also controls whether Silkline writes its usual native Coupa field:

* **Rationale:** the custom field receives the Rationale, and native `justification` is written empty.
* **Notes for Suppliers:** the custom field receives the notes, and native `buyer-note` is written empty.
* **Request Need Date:** the custom field receives the header date. Native header `need-by-date` is omitted, and the Request date is no longer used as a native line fallback. A line's own explicit date is still written.
* **Request Line Need Date:** the custom field receives the effective line date, and that line's native `need-by-date` is omitted.
* **Request Line Quantity:** the custom field receives the awarded quantity, while Coupa's required native `quantity` remains in the line payload.

Fields that are not linked continue to use the standard header and line mappings documented in [Purchase Request Mapping (write)](#purchase-request-mapping-write).

### Linked purchase-order core fields

An Order Rationale, Order Item Need Date, or Order Item ETA **core field override** can be linked to a Coupa custom field. Each purchase order read copies the custom field's value into the core field, and an empty custom field clears it.

Writing an order to Coupa sends every Configurable Field and core field linked to a Coupa custom field on the order header, Rationale as plain text. A field with no value is left out of the write, so Coupa keeps its value. Requisition writeback differs: a linked field left empty on a request is written as an empty value, which clears it in Coupa (see [Purchase Request Mapping (write)](#purchase-request-mapping-write)). Silkline does not write linked Order Item fields, so change them in Coupa: a change made in Silkline is replaced on the next purchase order read.

{% hint style="warning" %}
Address, Bill To Address, and Unit of Measure cannot be linked to a Coupa custom field; a sync with such a link fails. Link Unit of Measure through its own Coupa link type instead. Payment Terms, Delivery Terms, and Delivery Mode are read and written on orders only; see [Order terms](#order-terms).
{% endhint %}

### Order terms

An order's **Payment Terms**, **Delivery Terms**, and **Delivery Mode** core field overrides each follow their field's Coupa link, both when a purchase order is read and when an order is written to Coupa:

| Field's Coupa link                                                                                                          | Coupa purchase order field                                                                                                                                          |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Payment Term** or **Shipping Term** (see [Payment term and shipping term fields](#payment-term-and-shipping-term-fields)) | The header's `payment-term` or `shipping-term`                                                                                                                      |
| A Coupa custom field, with its Lookup ID for a lookup (for example Incoterms)                                               | That custom field                                                                                                                                                   |
| No link                                                                                                                     | Payment Terms: `payment-term` by code, and Delivery Terms: `shipping-term` by code, unless another term is linked to that header term. Delivery Mode is not synced. |

For example, to keep Coupa's shipping method in **Delivery Mode** and the Incoterm in **Delivery Terms**, link the Delivery Mode field to **Shipping Term** and the Delivery Terms field to the Coupa Incoterms custom field with its Lookup ID.

A term linked to a Payment Term, Shipping Term or lookup custom field holds one of the field's selectable options. Such a term that holds anything else, such as a plain code, fails the write until the order is pulled from Coupa again with **Pull from Coupa**.

### Select and lookup fields

For a Coupa custom field whose value is chosen from a managed list (a lookup or select field), also enter the **Coupa Lookup ID** of the list that backs it, alongside the API name. Silkline imports that lookup's values as the Configurable Field's selectable options, and then keeps the selection in sync both ways: a lookup value read from a Coupa record sets the Configurable Field, and a Configurable Field selected on a purchase request is pushed to Coupa as that lookup value.

Leave the Lookup ID blank for plain text or number custom fields.

Not every Coupa select field is backed by a Lookup. Some use a **fixed list of values defined directly on the custom field**, with no Lookup behind them. Coupa does not make those values available to integrations, so Silkline cannot import them as selectable options or check a value before writing it back — on a record, such a field looks like plain text. Leave the Lookup ID blank for these fields too; a mapped Configurable Field still reads and writes the value as text.

{% hint style="warning" %}
When Silkline writes a purchase request back to Coupa, the value for a field like this must match one of the field's allowed values **exactly**, including capitalization and spacing. If it does not, Coupa rejects the draft requisition with a validation error listing the accepted values. To have Silkline sync and validate the options automatically instead, ask your Coupa administrator to back the field with a **Lookup** and supply its Coupa Lookup ID above.
{% endhint %}

{% hint style="info" %}
Enter the Coupa custom field's **API name** — not its display label. Custom-field values are read for **parts, purchase orders (including their line items), and suppliers**. Text, number, and similar plain values are read directly; select and lookup values are pulled and pushed once you supply the field's Coupa Lookup ID.
{% endhint %}

### Account (billing) fields

A purchase order line in Coupa carries an **account** — the chart-of-accounts entry that says how the line is billed. To bring it into Silkline, create a **labeled-select** Configurable Field and, on its integration link, choose **Account (Billing)** instead of a custom field. Attach the field to the order line to read the account in, and to the request line to write it back.

Silkline imports your Coupa accounts as the field's selectable options, each labeled with the account's Coupa name. A single field covers every legal entity, since the first segment of the name identifies the entity. Inactive accounts are imported as archived options so historical lines still resolve.

To let users pick an account one segment at a time, set the field's **Segment Delimiter** (for example `|`) and pull the field again. Each option is then labeled with the names of the account's segments, in order, separated by the delimiter — for example `Acme Inc | 6000 Expense : Software | Engineering | None | HQ`. A blank segment that comes before a filled one shows as `—`, so each segment keeps its position.

The mapping runs both ways:

* **Reading a purchase order**, each line's account sets the linked field on the matching order line.
* **Writing a purchase request** to Coupa, the account selected on a request line is written to the matching requisition line.

### Commodity fields

Create one **labeled-select** Configurable Field, choose **Commodity** on its Coupa integration link, and attach the same field to the **Part** and the **request line**. Silkline imports Coupa commodities as selectable options; inactive commodities remain available as archived options for historical data.

* **Reading a Part** from Coupa, the item's commodity sets the commodity field on the Part.
* **Creating a request**, selecting that Part pre-fills the request line's editable commodity field.
* **Writing a purchase request** to Coupa, the commodity on the request line is written to the matching requisition line.

### Payment term and shipping term fields

A purchase order in Coupa carries a **payment term** and a **shipping term** on its header. To bring either into Silkline, create a **labeled-select** Configurable Field and, on its integration link, choose **Payment Term** or **Shipping Term** instead of a custom field. Attach the field to the order to read the term in, and to the request line to write it back. Silkline imports your Coupa payment or shipping terms as the field's selectable options, each labeled by its code; inactive terms remain available as archived options for historical data.

* **Reading a purchase order**, the order's payment or shipping term sets the linked field on the order. When the field is an order's Payment Terms, Delivery Terms, or Delivery Mode, writing the order to Coupa also sends the selected term; see [Order terms](#order-terms).
* **Writing a purchase request** to Coupa, the term selected on a request line is written to the matching requisition line.

### Unit of measure fields

Create a **labeled-select** Configurable Field, choose **Unit of Measure** on its Coupa integration link, and attach it to the order line. Silkline imports Coupa units of measure as selectable options, each labeled by its code and name; inactive units remain available as archived options for historical data.

* **Reading a purchase order**, each line's unit of measure sets the linked field on the matching order line.

A requisition line's unit of measure is fixed by the awarded quote — its quantity and unit price are expressed in that unit — so a Unit of Measure field is read in for reference and reporting but is never pushed to Coupa.

## Sync checks and data sync protection

After Silkline writes a purchase order to Coupa, it runs a **sync check**: the order is read back from Coupa and compared, field by field, against the Silkline order. The result drives a protection called the **sync lock**:

* **No differences** — the two systems agree, and scheduled reads from Coupa continue to update the order normally.
* **Differences remain** — Coupa did not accept every change (or holds values Silkline does not carry). The order is **locked**: scheduled reads stop overwriting it, so the Silkline version is preserved until you resolve the mismatch.

An order's sync sidebar gives you both surfaces:

* The **Sync Check** tab runs the comparison on demand and lists exactly which fields differ between Coupa and Silkline.
* The **Data Sync Protection** card shows whether the order is locked and lets you clear the lock. Clearing it lets the next read from Coupa update the order again — use it once the mismatch is resolved, or when Coupa's version is the one you want.

{% hint style="info" %}
A locked order shows a lock badge on the order and in order tables. The sync check compares only fields that can round-trip: values Coupa derives on its own — audit timestamps, revision counters, and fields Silkline only reads — are excluded, so a lock indicates a real difference in the data Silkline writes.
{% endhint %}

## Frequently Asked Questions

### Why didn't my edit sync?

Silkline only mirrors edits while the requisition is still a **draft** in Coupa. Once it has been submitted for approvals, it is locked and further edits on the request stop syncing. To resume syncing, have the requester **withdraw or reject the requisition back to draft** in Coupa; the next edit then syncs automatically.

### Where's my requisition?

Silkline creates it as a **draft** under the **mapped requester** — or the **Default Requester** when the Silkline requester has no matching Coupa user. Check that user's drafts in Coupa. If it landed under the wrong user, confirm the requester mapping and the **Default Requester** default. From the Silkline request, the sync control links directly to the draft requisition in Coupa — open it there to review, complete, or submit it.

### Why is my requisition in Pending Buyer Action?

A requisition parks in **Pending Buyer Action** when it is missing information Coupa requires — most often a **ship-to address**. Open the draft in Coupa, complete the missing fields, and submit it. Setting a **Default Ship-To Address** default avoids the most common case; see [Purchase request defaults](#purchase-request-defaults).

### Why did my request fail with "location is not linked to a Coupa address"?

The request's Location did not come from Coupa, so Silkline has no Coupa address to ship to. Choose a Location that syncs from Coupa, or clear the Location so the requisition uses the **Default Ship-To Address**.

### How often does the data sync?

Silkline reads from Coupa on a recurring schedule, so parts, purchase orders, receipts, suppliers, users, and budgets stay up to date automatically. New and changed records are picked up on the next scheduled run.

### Which system is the source of truth?

Coupa is the system of record for the records Silkline pulls — suppliers, parts, purchase orders, receipts, and budgets — and scheduled reads keep Silkline matching Coupa. With **Push** enabled, edits made in Silkline to orders, parts, and suppliers are pushed to Coupa as well, and the [sync check](#sync-checks-and-data-sync-protection) protects an order from being overwritten by a read while the two systems disagree.

### How are custom fields handled?

Coupa's standard fields are mapped automatically. For **custom fields**, an administrator maps each one to a Silkline Configurable Field by its Coupa API name, and Silkline then populates that field's value on each scheduled read — see [Custom Fields](#custom-fields).
