CommercialDocumentLine
A line item in a commercial document (quote, invoice, order, etc.)
10 properties
Schema
Properties
| Property | Type | Mode | Description | Required |
|---|---|---|---|---|
| lineNumber | number | Line number/position in the document Example: | Optional | |
| product | Product | Reference to the product being sold/purchased | Optional | |
| description | string | Description of the item or service Example: | Required | |
| quantity | number | Quantity ordered/delivered/invoiced Example: | Required | |
| unit | UnitOfMeasure | Unit of measure (reference to UnitOfMeasure entity) | Optional | |
| unitPrice | MonetaryAmount | Price per unit | Required | |
| taxRate | number | Tax rate percentage applied to this line Example: | Optional | |
| discountPercentage | number | Discount percentage for this line Example: | Optional | |
| discountAmount | MonetaryAmount | Fixed discount amount for this line | Optional | |
| notes | string | 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
}