Coupa · Schema

InvoiceLine

A line item on an invoice

BSMBusiness Spend ManagementCloud PlatformEnterpriseFinancial ManagementInvoicingProcurementSupply Chain

Properties

Name Type Description
id integer Coupa unique identifier
line-num integer Line number
description string Line item description
quantity number Quantity invoiced
price number Unit price
total number Line total
uom object Unit of measure
tax-amount number Tax amount at line level
tax-code string Tax classification code
tax-rate number Tax rate percentage
order-line-id integer Reference to the backing purchase order line
account object Chart of accounts reference
commodity object Commodity classification
currency object
created-at string
updated-at string
View JSON Schema on GitHub

JSON Schema

coupa-invoiceline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvoiceLine",
  "title": "InvoiceLine",
  "type": "object",
  "description": "A line item on an invoice",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Coupa unique identifier",
      "readOnly": true
    },
    "line-num": {
      "type": "integer",
      "description": "Line number"
    },
    "description": {
      "type": "string",
      "description": "Line item description",
      "maxLength": 255
    },
    "quantity": {
      "type": "number",
      "format": "decimal",
      "description": "Quantity invoiced"
    },
    "price": {
      "type": "number",
      "format": "decimal",
      "description": "Unit price"
    },
    "total": {
      "type": "number",
      "format": "decimal",
      "description": "Line total",
      "readOnly": true
    },
    "uom": {
      "type": "object",
      "description": "Unit of measure",
      "properties": {
        "id": {
          "type": "integer"
        },
        "code": {
          "type": "string"
        }
      }
    },
    "tax-amount": {
      "type": "number",
      "format": "decimal",
      "description": "Tax amount at line level"
    },
    "tax-code": {
      "type": "string",
      "description": "Tax classification code"
    },
    "tax-rate": {
      "type": "number",
      "format": "float",
      "description": "Tax rate percentage"
    },
    "order-line-id": {
      "type": "integer",
      "description": "Reference to the backing purchase order line"
    },
    "account": {
      "type": "object",
      "description": "Chart of accounts reference",
      "properties": {
        "id": {
          "type": "integer"
        },
        "code": {
          "type": "string"
        }
      }
    },
    "commodity": {
      "type": "object",
      "description": "Commodity classification",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "currency": {
      "$ref": "#/components/schemas/CurrencyReference"
    },
    "created-at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated-at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  }
}