Capability Library · Pack detail

coupa v1.0.0

Coupa core REST API on the customer's own instance: read suppliers, invoices, purchase orders, requisitions and approvals, and perform the documented approve action on a pending approval.

Review state: draft· Not in the distributable release manifest

Release identity

SHA-256 of the pack file bytes: 1d02045a3b2ab655367f655271d14c0e7914d9e5af6e72a98a7749238c0d3dde

Not in the distributable release manifest. The binary carries a digest-bound manifest of the distributable library; a pack whose bytes differ from its manifest entry — endpoint, tier, allowlist, or credential edited, with provider, version, and review block preserved — fails the digest check, loses distributability, and renders MODIFIED rather than as the shipped reviewed artifact. Review state and artifact status are different facts: the first is a documentation-review declaration, the second is the identity of the exact bytes.

Capabilities (6)

coupa.suppliers.read v1.0.0R0

Action
read
Endpoint
GET https://coupa-instance.invalid/api/suppliers
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
pii

Query the suppliers collection: supplier names, numbers, statuses, addresses, primary contact emails, DUNS and tax identifiers — supplier records carry named contacts and can identify individual persons, so the read is registered at the pii class (a deployment whose policy classifies supplier master data differently may change it). The registered path covers the collection read only — single-supplier reads (GET /api/suppliers/{id}) and child resources (remit-to addresses, supplier addresses) are not registered by this pack. The host is a reserved placeholder: substitute the customer's instance host before enabling.

coupa.invoices.read v1.0.0R0

Action
read
Endpoint
GET https://coupa-instance.invalid/api/invoices
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
financial

Query the invoices collection: invoice headers with suppliers, totals, currencies, payment terms, payment channels and statuses, registered at the financial class. The registered path covers the collection read only — single-invoice reads (GET /api/invoices/{id}), invoice lines, image scans and clearance documents are not registered by this pack. The host is a reserved placeholder: substitute the customer's instance host before enabling.

coupa.purchaseorders.read v1.0.0R0

Action
read
Endpoint
GET https://coupa-instance.invalid/api/purchase_orders
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
financial

Query the purchase orders collection: order headers with suppliers, requesters, currencies, totals, payment terms and transmission statuses, registered at the financial class. The registered path covers the collection read only — single-order reads (GET /api/purchase_orders/{id}) and the purchase order lines API are not registered by this pack. The host is a reserved placeholder: substitute the customer's instance host before enabling.

coupa.requisitions.read v1.0.0R0

Action
read
Endpoint
GET https://coupa-instance.invalid/api/requisitions
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
financial

Query the requisitions collection: requisition headers with requesters, departments, currencies, totals and statuses, registered at the financial class. The registered path covers the collection read only — single-requisition reads (GET /api/requisitions/{id}), /api/requisitions/mine and /api/requisitions/current_cart are not registered by this pack. The host is a reserved placeholder: substitute the customer's instance host before enabling.

coupa.approvals.read v1.0.0R0

Action
read
Endpoint
GET https://coupa-instance.invalid/api/approvals
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
financial

Query the approvals collection: approval objects with the approvable document type and id, the approver's identity, position in the chain and status, registered at the financial class because approval objects sit on financial documents and carry approver identities. The registered path covers the collection read only — single-approval reads (GET /api/approvals/{id}) are not registered by this pack. The host is a reserved placeholder: substitute the customer's instance host before enabling.

coupa.approvals.approve v1.0.0R3

Action
approve
Endpoint
PUT https://coupa-instance.invalid/api/approvals/APPROVAL_ID/approve
Connector
http
Custody
customer_vault
Credential ref
secret-ref-coupa-oauth2-access-token
Data class
financial

Perform the documented approve action on one approval (PUT /api/approvals/{id}/approve). Coupa documents that the approval must be pending (not already approved or rejected) for the action to be valid, and that a successful request returns HTTP 200. Registered as approve at the R3 floor — approve is one of the IRREVERSIBLE ACTIONS (delete, send, pay, deploy, approve, share and transfer) and an irreversible action cannot be taken without a person. Effect-level precision: the call records the approver's judgement on the approval object and advances the document's approval chain — request-accepted and approval-recorded. The call itself moves no money, but completing a document's approval chain can trigger the customer's configured downstream procurement and payment workflows: an approved requisition can be converted into purchase orders, and an approved invoice can become payable and be paid, including through Coupa Pay where the customer has configured it. HTTP 200 confirms the approval was recorded; neither that response nor this pack's exclusion of payment endpoints proves those configured workflows cannot schedule payment. APPROVAL_ID is a placeholder the deployment binds to a concrete approval before enabling. The host is a reserved placeholder: substitute the customer's instance host before enabling.

Credential reference

The pack names a reference, never a secret. Installing a pack registers capabilities and makes them governable; registration is not connectivity. The credential is created at the provider and held in the client's own secret manager under the reference the pack names, and deployment testing is still required to show the credential path works and cannot be bypassed.

Reference
secret-ref-coupa-oauth2-access-token
Custody
customer_vault
Injection
header (Authorization)

An OAuth 2.0 access token for the customer's own Coupa instance, held in the client's own secret manager. The stored material must be the complete Authorization header value (scheme included): 'Bearer', one separating space, then the access token — 'Bearer <token>'. The token is obtained with the client credentials grant: an integrations-enabled administrator creates an OAuth2/OIDC client (Setup > Oauth2/OpenID Connect Clients) with grant type Client credentials, and an external deployment process POSTs client_id, client_secret, grant_type=client_credentials and the selected scopes to https://<instance>/oauth2/token and stores the returned access token; the client secret is itself secret material and stays with that external process. The executor injects the stored value verbatim and performs no token lifecycle itself. customer_vault is the only generally-supported production custody model here — identity_federation and customer_broker are refused at startup and inline is lab-only. Expiry and revocation: Coupa documents the access token as lasting 24 hours (expires_in 86399 seconds) and recommends renewing it every 20 hours; if the token lapses the external process must make a new token call — the executor must not attempt renewal itself. The OAuth client can be deactivated, deleted or rescoped by an administrator at any time (Coupa documents activate/deactivate per client on the OpenID Connect Clients page), which stops future token issuance for that client and changes what subsequently issued tokens may do; disabling issuance and changing scopes are different events from invalidating an already-issued token, and Coupa's documentation does not describe client deactivation, deletion or rescoping as invalidating a 24-hour access token already issued before its natural expiry. An expired value fails closed. Least privilege: Coupa scopes take the documented form service.object.right (for example core.accounting.read), and the authoritative list of scopes and their underlying permissions is the Scope management page on the customer's own instance (/oauth2/scopes) — verify membership there before enabling, because published third-party enumerations may lag Coupa's own list. Grant the client only the read scopes for suppliers, invoices, purchase orders, requisitions and approvals, plus the approval write scope for the approve capability, and nothing more. Residual-authority disclosure: third-party integrations that enumerate the Coupa scopes (Rossum's Coupa OAuth scopes documentation, corroborated by ServiceNow's Coupa integration-profile documentation) show the approval write scope core.approval.write covering the Approve, Create, Hold, Reject and Update approval operations together — approve, reject and hold share one write scope — so a client holding the approval write scope necessarily holds provider-side permission for the reject, hold, create and update approval actions this pack deliberately does not register. That residual authority is a provider permission on the client, distinct from what AAES registers (only PUT /api/approvals/{id}/approve is registered); AAES non-registration does not reduce the client's Coupa-side grant. Executor hygiene: the value must live only in executor memory for the lifetime of a call, must never be written to logs, traces or diagnostics, and must not appear in crash dumps; a deployment that cannot meet that bar must not enable the pack.

Resources

  • coupa-suppliers (api, pii): https://coupa-instance.invalid/api/suppliers
  • coupa-invoices (api, financial): https://coupa-instance.invalid/api/invoices
  • coupa-purchaseorders (api, financial): https://coupa-instance.invalid/api/purchase_orders
  • coupa-requisitions (api, financial): https://coupa-instance.invalid/api/requisitions
  • coupa-approvals (api, financial): https://coupa-instance.invalid/api/approvals

Pack notes and exclusions

The endpoint host 'coupa-instance.invalid' is a reserved non-production placeholder (an RFC 2606 reserved TLD): substitute the customer's own Coupa instance host, whose documented form is {customer_name}.coupahost.com ({organization_name}.coupacloud.com for partner and demo instances), before enabling, in every endpoint, in every resource locator and in every egress allowlist entry. The allowlist matches exactly, so endpoints and allowlist must be substituted together, and substitution is a required deployment step — the reserved host being allowlisted does not make an unsubstituted pack safe to enable. This pack registers only endpoints the Coupa Compass documentation for the Coupa core API documents: the index (collection) reads on /api/suppliers, /api/invoices, /api/purchase_orders, /api/requisitions and /api/approvals, and the documented approval action PUT /api/approvals/{id}/approve. All reads are collection reads only: single-record show reads (GET /api/suppliers/{id} and the equivalent for the other resources) exist in the API and are deliberately not registered. Documented exclusions, framed as what this pack does not register: every create, update and delete on suppliers, invoices, purchase orders and requisitions; requisition submission (POST /api/requisitions/submit_for_approval and PUT /api/requisitions/{id}/update_and_submit_for_approval); the approval reject and hold actions (PUT /api/approvals/{id}/reject, PUT /api/approvals/{id}/hold); approval update (PUT /api/approvals/{id}); purchase order transmission and Coupa Pay functions; and every other Coupa API. The approve capability is registered as approve at the R3 floor — approve is one of the IRREVERSIBLE ACTIONS (delete, send, pay, deploy, approve, share and transfer) and an irreversible action cannot be taken without a person. Effect-level precision for the approve call: Coupa documents it as performing the approve action on an approval that must be pending, and a successful call records the approver's judgement and advances the document's approval chain. The call itself moves no money, but completing a document's approval chain can trigger the customer's configured downstream procurement and payment workflows (an approved requisition can become purchase orders; an approved invoice can become payable and be paid, including through Coupa Pay where configured): HTTP 200 confirms the approval was recorded, and this pack not registering payment endpoints does not prove those configured workflows cannot schedule payment. Coupa's older X-COUPA-API-KEY scheme is documented in older Compass pages alongside the OAuth transition guide; this pack registers only the current OAuth 2.0 client-credentials scheme, whose documented injection point is the Authorization header.

Review record

Draft review record dated 2026-09-21 · Reviewer: aaes-eng (an opaque id that resolves internally to the responsible reviewer)

A pack review is not a vendor or examiner attestation. A retrieval date says when a source page was read; it does not by itself establish what the page said then. No pack is vendor-endorsed, and none has been connectivity-tested against a live vendor tenant.