home

Developer Documentation

Product Release NotesProduct DocumentationDeveloper DocumentationSupplier Documentation
search
search
Product Release NotesProduct DocumentationDeveloper DocumentationSupplier Documentation

Coupa Documentation

search

Developer Documentation

Developer Documentation Contents

close
  • Build on the Coupa Platform

  • expand_more

    The Coupa Core API

    • expand_more

      Resources

      • Reference Data Resources

  • Coupa Core Flat Files (CSV)

  • The CCW API

  • CCW Flat Files (CSV)

  • The CSO API

  • Coupa Supplier Portal REST API

  • Treasury Integrations

  • Risk Assess Integrations

  • CLM Open eSign Framework

  • Coupa Core User Authentication

  • Coupa Core Application IP Addresses

  • Coupa Treasury Application IP Addresses

  • Core API and CSV Download Formats

  1. Developer Documentation
  2. arrow_right
  3. The Coupa Core API
  4. arrow_right
  5. Resources
  6. arrow_right
  7. Reference Data Resources

list_altShow Contents

chevron_left

Developer Documentation

Reference Data Resources

chevron_right

Legal Documents API (/legal_documents)

Use the budget line API to delete and query legal documents that you have associated with your accounts.

The URL to access budget lines is: https://<instance>/api/legal_documents

See Integration Best Practices for more info.

Actions

The Legal Documents API allows you to:

Verb Path Action Description
DELETE /api/contracts/:contract_id/legal_documents/:id destroy Delete legal document
GET /api/contracts/:contract_id/legal_documents index Query legal documents
GET /api/contracts/:contract_id/legal_documents/:id show Show legal document

Elements

The following elements are available for the Legal Documents API:

Element Description Required Field? Unique? Allowable Value Api_In Field? Api_Out Field? Data Type
ccc-exec-summary-timestamp Executive Summary updated at timestamp from ccc used to see if document is latest YYYY-MM-DDTHH:MM:SS+HH:MM yes yes datetime
ccc-file-timestamp Legal document updated at timestamp from ccc used to see if document is latest YYYY-MM-DDTHH:MM:SS+HH:MM yes yes datetime
clm-id CLM ID yes yes string(255)
contract contract yes Contract
contract-template-id CLMS template used to create the legal agreement yes yes int
created-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ yes datetime
created-by User who created yes User
external-file-upload Flag on whether external party paper was used to create the legal agreement yes yes tinyint(1)
id Coupa unique identifier yes integer
locked-by-other-party CLMS contract party holding an edit lock yes yes string(255)
locked-by-user-id CLMS user holding an edit lock yes yes int
negotiation-rounds Negotiation Rounds yes yes integer
reviewer-user-ids CLMS internal reviewers yes yes string
updated-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ yes datetime
updated-by User who updated yes User
url External link to legal document yes yes string(255)
Developer Documentation
Developer
Integration

Last updated: March 2, 2026

chevron_leftchevron_right

Explore Topics

Product Release Notes

Product Documentation

Developer Documentation

Supplier Documentation

logo

LinkedIn

X

Facebook

Glassdoor

YouTube

Instagram

Learn About Coupa

AboutCoupa AIPlatformSolutions

Implement Coupa

Your Coupa JourneyImplementation OverviewImplementation Best Practices

Get Training and Support

Coupa CompassCoupa UniversitySupportCommunity

Privacy Policy Cookie Policy

© 2026 Coupa. All Rights Reserved. Coupa, the Coupa logo, “Make Margins Multiply”, and “Coupa is the margin multiplier company” are trademarks of Coupa Software Inc. All other trademarks are owned by their respective owners.