Unify Integrations
Logo
Coupa

Coupa

Logo

4 mins READ

Coupa is a cloud-based platform for Business Spend Management (BSM) that helps organizations streamline procurement, invoicing, expense management, and supply chain operations. It enables businesses to optimize costs, improve efficiency, and gain real-time visibility into spending across departments.

Integrating your application with Coupa brings a range of transformative capabilities to your organization’s spend management.

Authentication

Before integrating Coupa, ensure you have the following information

  • Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like “MyAppCoupaIntegration”.

  • Authentication Type: Select one of Direct OAuth, Authorization Code Grant or Client Credentials.

  • Instance / Domain url: Enter your Coupa instance address, in the format {your-instance-name}.coupahost.com for customer instances or {your-instance-name}.coupacloud.com for partner and demo instances.

  • Scopes: Select the scopes this connection will have access to. Selecting scopes your Coupa account lacks causes errors. For Authorization Code Grant, offline_access is added automatically.

Direct OAuth

Select the scopes you need, then sign in to Coupa when prompted.

Authorization Code Grant and Client Credentials

For these two types, create an OAuth client in Coupa and enter its credentials in the connection form:

  1. Log in to your Coupa instance, for example https://{your-instance-name}.coupahost.com.

  2. Go to Setup, then Integrations, then OAuth2/OpenID Connect Clients.

  3. Click Create to configure a new OAuth client, and choose the grant type that matches the authentication type you use in UnifyApps.

  4. For Authorization Code Grant, copy the Callback URL shown in the UnifyApps connection form and add it to the OAuth client as its redirect URI.

  5. Select all the scopes you plan to give UnifyApps, for example core.common.read.

  6. Click Save.

  7. Coupa shows the client's Identifier and Secret. In the connection form, enter the Identifier as Client ID and the Secret as Client secret, and select the same scopes under Scopes.

Scopes

These are common scopes you can select in the connection form's Scopes picker:

Scope Code

Description

core.common.read

Basic read access for Coupa data

core.common.write

Basic edit access for Coupa data

core.accounting.read

Access to view accounting data, such as account types (charts of accounts) and accounts

core.accounting.write

Access to create and update accounting data, such as account types and accounts

core.budget.read

Access to view budget lines

core.budget.write

Access to create and update budget lines

core.item.read

Access to view items

core.item.write

Access to create and update items

core.supplier.read

Access to view suppliers

core.supplier.write

Access to create and update suppliers

core.supplier_information_sites.read

Access to view supplier information sites

core.supplier_information_sites.write

Access to create and update supplier information sites

core.approval.read

Access to view approvals

core.approval.write

Access to create and update approvals

core.purchase_order.read

Access to view purchase orders

core.purchase_order.write

Access to create and update purchase orders

core.invoice.read

Access to view invoices

core.invoice.write

Access to update invoices

core.requisition.read

Access to view requisitions

core.requisition.write

Access to create and update requisitions

core.comment.read

Access to view comments

core.comment.write

Access to add comments

core.user.read

Access to view users

core.user.write

Access to create and update users

Actions

Actions

Description

Abandon invoice

Abandons an invoice by ID in Coupa

Add comment to invoice

Adds a comment to the specified invoice in Coupa

Add comment to purchase order

Adds a comment to the specified purchase order in Coupa

Add comment to requisition

Adds a comment to the specified requisition in Coupa

Cancel purchase order

Cancels purchase order in Coupa

Clone account type

Clones a chart of accounts in Coupa

Close purchase order

Closes purchase order in Coupa

Create account type

Creates a chart of accounts in Coupa

Create budget line

Creates a budget line in Coupa

Create item

Creates an item in Coupa

Create purchase order

Creates a new purchase order in Coupa

Create requisition

Creates a requisition in Coupa

Create supplier

Creates a supplier in Coupa

Create task

Creates a task in Coupa

Create user reassignment

Creates a user reassignment in Coupa

Delete requisition

Deletes a requisition by ID in Coupa

Delete task

Deletes a task in Coupa

Dispute invoice

Marks an invoice as disputed in Coupa

Get account type by id

Retrieves a chart of accounts by id in Coupa

Get budget line by id

Retrieves a budget line by id in Coupa

Get invoice

Retrieves a invoice by ID from Coupa

Get invoice attachment

Retrieves a specific attachment of an invoice in Coupa

Get invoice image scan

Retrieves invoice image scan from Coupa

Get invoice using filter

Retrieves a invoice by ID using filter from Coupa

Get item by id

Retrieves an item by id in Coupa

Get legal invoice PDF

Retrieves legal invoice PDF from Coupa

Get purchase order by ID

Retrieves a purchase order by its ID from Coupa

Get requisition

Retrieves a requisition by ID from Coupa

Get supplier information

Gets supplier information by ID in Coupa

Get supplier information site

Retrieve supplier information sites by supplier id in Coupa

Get task by id

Retrieves task by id in Coupa

Get user reassignment by ID

Gets the details of a user reassignment in Coupa

Grant approval

Performs approve action on an approval in Coupa

List accounts

Lists all accounts in Coupa

List all invoices

Lists all invoices in Coupa

List invoice attachments

Lists all attachments of an invoice in Coupa

List invoice comments

Lists all invoice comments in Coupa

List purchase order comments

Lists all purchase order comments in Coupa

List purchase orders

Lists purchase orders in Coupa

List requisition comments

Lists all requisition comments in Coupa

List requisitions

Lists all requisitions in Coupa

List suppliers

Lists suppliers in Coupa

Reject approval

Perform reject action on an approval in Coupa

Update account

Updates an account in Coupa

Update and submit requisition for approval

Updates and submits a requisition for in Coupa

Update budget line

Updates a budget line record in Coupa

Update invoice

Updates an invoice in Coupa

Update item

Updates an item in Coupa

Update purchase order

Updates a purchase order in Coupa

Update requisition

Updates a requisition by ID in Coupa

Update task

Updates task in Coupa

Void invoice

Voids an invoice by ID in Coupa

Withdraw dispute of invoice

Withdraws a disputed invoice in Coupa

Triggers

Triggers

Description

New invoice

This trigger fires when a new invoice is created in Coupa

New invoice comment

This trigger fires when a new comment is added to a Coupa invoice

New requisition

This trigger fires when a new requisition is created in Coupa

New/Update account_type

Polls periodically for new or updated account_type in Coupa

New/Update budget_line

Polls periodically for new or updated budget_line in Coupa

New/Update item

Polls periodically for new or updated item in Coupa

New/Update purchase order

Polls periodically for new or updated purchase order in Coupa

New/Update supplier

Polls periodically for new or updated supplier in Coupa

New/Update task

Polls periodically for new or updated task in Coupa

On invoice updated

Polls periodically when invoice is updated in Coupa

On new comment

Polls periodically when a new comment is added in Coupa

On requisition updated

Polls periodically requisition update in Coupa