Coupa · Schema

OrderLine

A line item on a purchase order

BSMBusiness Spend ManagementCloud PlatformEnterpriseFinancial ManagementInvoicingProcurementSupply Chain

Properties

Name Type Description
id integer Coupa unique identifier
line-num integer Line number
description string Item description
quantity number Quantity ordered
price number Unit price
total number Line total (quantity x price)
uom object Unit of measure
need-by-date string Date the item is needed by
source-part-num string Supplier part number
commodity object Commodity classification
account object Chart of accounts reference
status string Line status
currency object
supplier-aux-part-num string Supplier auxiliary part number
receiving-warehouse object Receiving warehouse reference
created-at string Timestamp when the line was created
updated-at string Timestamp when the line was last updated
View JSON Schema on GitHub

JSON Schema

coupa-orderline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderLine",
  "title": "OrderLine",
  "type": "object",
  "description": "A line item on a purchase order",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Coupa unique identifier",
      "readOnly": true
    },
    "line-num": {
      "type": "integer",
      "description": "Line number"
    },
    "description": {
      "type": "string",
      "description": "Item description",
      "maxLength": 255
    },
    "quantity": {
      "type": "number",
      "format": "decimal",
      "description": "Quantity ordered"
    },
    "price": {
      "type": "number",
      "format": "decimal",
      "description": "Unit price"
    },
    "total": {
      "type": "number",
      "format": "decimal",
      "description": "Line total (quantity x price)",
      "readOnly": true
    },
    "uom": {
      "type": "object",
      "description": "Unit of measure",
      "properties": {
        "id": {
          "type": "integer"
        },
        "code": {
          "type": "string"
        }
      }
    },
    "need-by-date": {
      "type": "string",
      "format": "date-time",
      "description": "Date the item is needed by"
    },
    "source-part-num": {
      "type": "string",
      "description": "Supplier part number",
      "maxLength": 255
    },
    "commodity": {
      "type": "object",
      "description": "Commodity classification",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "account": {
      "type": "object",
      "description": "Chart of accounts reference",
      "properties": {
        "id": {
          "type": "integer"
        },
        "code": {
          "type": "string"
        }
      }
    },
    "status": {
      "type": "string",
      "description": "Line status",
      "readOnly": true
    },
    "currency": {
      "$ref": "#/components/schemas/CurrencyReference"
    },
    "supplier-aux-part-num": {
      "type": "string",
      "description": "Supplier auxiliary part number"
    },
    "receiving-warehouse": {
      "type": "object",
      "description": "Receiving warehouse reference",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "created-at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the line was created",
      "readOnly": true
    },
    "updated-at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the line was last updated",
      "readOnly": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/coupa-orderline"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.