CommercialDocumentLine

A line item in a commercial document (quote, invoice, order, etc.)

10 properties
Schema

Properties

PropertyTypeModeDescriptionRequired
lineNumbernumber

Line number/position in the document

Example: 1

Optional
productProduct

Reference to the product being sold/purchased

Optional
descriptionstring

Description of the item or service

Example: "Premium Laptop - 16GB RAM, 512GB SSD"

Required
quantitynumber

Quantity ordered/delivered/invoiced

Example: 2

Required
unitUnitOfMeasure

Unit of measure (reference to UnitOfMeasure entity)

Optional
unitPriceMonetaryAmount

Price per unit

Required
taxRatenumber

Tax rate percentage applied to this line

Example: 20

Optional
discountPercentagenumber

Discount percentage for this line

Example: 10

Optional
discountAmountMonetaryAmount

Fixed discount amount for this line

Optional
notesstring

Additional notes for this line

Optional

Examples

Example 1

{
  "@type": "CommercialDocumentLine",
  "lineNumber": 1,
  "product": {
    "@type": "Product",
    "name": "Premium Laptop",
    "sku": "LAP-001"
  },
  "description": "Premium Laptop - 16GB RAM, 512GB SSD",
  "quantity": 2,
  "unit": {
    "@type": "UnitOfMeasure",
    "code": "PCE",
    "name": "Piece"
  },
  "unitPrice": {
    "@type": "MonetaryAmount",
    "value": 1299.99,
    "currency": {
      "@type": "Currency",
      "code": "USD",
      "symbol": "$"
    }
  },
  "taxRate": 20,
  "discountPercentage": 10
}

Example 2

{
  "@type": "CommercialDocumentLine",
  "lineNumber": 2,
  "description": "Consulting Services - 10 hours",
  "quantity": 10,
  "unit": {
    "@type": "UnitOfMeasure",
    "code": "HUR",
    "name": "Hour"
  },
  "unitPrice": {
    "@type": "MonetaryAmount",
    "value": 150,
    "currency": {
      "@type": "Currency",
      "code": "USD",
      "symbol": "$"
    }
  },
  "taxRate": 20
}