ServiceDocumentLine
productIdstring<uuid>nullablerequired
Product id.
Example:
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5bvariantIdstring<uuid>nullablerequired
Variant id.
Example:
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dskustringnullablerequired
Stock keeping unit.
Example:
SKU-1001namestringnullablerequired
Line name.
Example:
Sample Widgetquantitynumbernullablerequired
Quantity.
Example:
2uomIdstring<uuid>nullablerequired
The unit the quantity is in.
Example:
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5bunitPricenumbernullablerequired
Unit price in the document currency.
Example:
12.5discountPercentnumbernullablerequired
Line discount percent.
Example:
0discountAmountnumbernullablerequired
Line discount amount in the document currency.
Example:
0taxRatenumbernullablerequired
Tax rate percent.
Example:
10taxAmountnumbernullablerequired
Tax on the line in the document currency.
Example:
2.5totalAmountnumbernullablerequired
Line total in the document currency.
Example:
27.5ServiceDocumentLine
{
"productId": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"variantId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"sku": "SKU-1001",
"name": "Sample Widget",
"quantity": 2,
"uomId": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"unitPrice": 12.5,
"discountPercent": 0,
"discountAmount": 0,
"taxRate": 10,
"taxAmount": 2.5,
"totalAmount": 27.5
}