---
title: "SalesOrderLines (Exact Online)"
description: "Sales Order Lines"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.SalesOrder.SalesOrderLines
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.SalesOrder.SalesOrderLines
updated: 2026-11-01T17:55:09Z
license: https://documentation.invantive.eu/en/
---

# SalesOrderLines: Exact Online Sales Order Lines

`insert` `update` `delete` `per partition` `webhook` `REST`

- Catalog: `ExactOnlineREST`
- Schema: `SalesOrder`
- Primary Keys: `ID`
- Label: Sales Order Lines

The data in this table is partitioned per value of the `Division` column.

Can retrieve data and change data using `insert`, `update` and `delete`.

Changes arrive through the webhook topic `SalesOrders` on `OrderID`.

## API Source

- Endpoint: `/api/v1/{division}/salesorder/SalesOrderLines`
- Metadata: `/api/v1/{division}/salesorder/$metadata`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 5 |
| Full scan rows per minute | 7,200 |
| Point query rows per minute | 300 |
| Write rows per minute | 300 |

The result can be cached on the client.

## Table Columns

The columns of the table `SalesOrderLines` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `AmountDC` | `double` | Amount Division Currency | [x] | writable | Amount in the default currency of the company. |
| `AmountFC` | `double` | Amount Foreign Currency | [x] | writable | Amount in the currency of the transaction. |
| `CostCenter` | `varchar2(8)` | Cost Centre | [ ] | filters on the platform, writable | Reference to Cost Center. |
| `CostCenterDescription` | `varchar2(60)` | Cost Centre Description | [ ] | writable | Description of cost center. |
| `CostPriceFC` | `double` | Cost Price Foreign Currency | [ ] | writable | Item cost price. |
| `CostUnit` | `varchar2(8)` | Cost Unit | [ ] | filters on the platform, writable | Reference to Cost Unit. |
| `CostUnitDescription` | `varchar2(60)` | Cost Unit Description | [ ] | writable | Description of cost unit. |
| `CustomField` | `varchar2` | Custom Field | [ ] | filters on the platform |  |
| `CustomerItemCode` | `varchar2` | Customer Item Code | [ ] |  | Code the customer uses for this item. |
| `DeliveryDate` | `datetime` | Delivery Date | [ ] | filters on the platform, writable | Delivery date of this line. |
| `DeliveryStatus` | `int16` | Delivery Status | [ ] | filters on the platform, writable | Shipping status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Description` | `varchar2` | Description | [ ] | filters on the platform, writable | Description. |
| `Discount` | `double` | Discount | [ ] | writable | Discount given on the default price. Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item. |
| `Division` | `int32` | Division | [x] |  | Division code. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Division Chamber of Commerce Number | [ ] | writable | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Division IBAN Number | [ ] | writable | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2(50)` | Division Company Name | [x] | writable | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Division RSIN Number | [ ] | writable | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Division VAT Number | [ ] | writable | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Division Wage Tax Number | [ ] | writable | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2(128)` | Division Label | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Administration Name | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Subscription Holder Name | [x] | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | Subscription Holder Number | [x] | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Division Short Name | [x] | writable | Short name of the Exact Online division. |
| `ID` | `guid` | ID | [x] | filters on the platform, writable | Primary key. |
| `InvoiceStatus` | `int16` | Invoice Status | [ ] | filters on the platform, writable | Invoice status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Item` | `guid` | Item | [ ] | filters on the platform, writable | Reference to the Item that is sold in this sales order line. |
| `ItemCode` | `varchar2(30)` | Item Code | [ ] | writable | Code of the item. |
| `ItemDescription` | `varchar2(255)` | Item Description | [ ] | writable | Description of Item. |
| `ItemVersion` | `guid` | Item Version | [ ] | filters on the platform, writable | Version of item. |
| `ItemVersionDescription` | `varchar2` | Item Version Description | [ ] | writable | Description of Item Version. |
| `LineNumber` | `int32` | Line Number | [x] | filters on the platform, writable | Line number. |
| `Margin` | `double` | Margin | [ ] | writable | Sales margin of the sales order line. |
| `NetPrice` | `double` | Net Price | [ ] | writable | Net price of the sales order line. |
| `Notes` | `varchar2` | Notes | [ ] | writable | Extra notes. |
| `OrderID` | `guid` | Order ID | [x] | filters on the platform, writable | Reference to Sales Order. All the lines of a sales order have the same OrderID. |
| `OrderNumber` | `int32` | Order Number | [x] | filters on the platform, writable | Number of sales order. |
| `OrderStatus` | `int16` | Order Status | [ ] | filters on the platform, writable | The status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Pricelist` | `guid` | Price List | [ ] | filters on the platform, writable | Reference to Price List. |
| `PricelistDescription` | `varchar2` | Price List Description | [ ] | writable | Description of Price List. |
| `Project` | `guid` | Project | [ ] | filters on the platform, writable | Reference to Project. The project can be different per line. Sometimes also the project in the header is filled although this is not really used. |
| `ProjectDescription` | `varchar2(60)` | Project Description | [ ] | writable | Description of Project. |
| `PurchaseOrder` | `guid` | Purchase Order | [ ] | writable | Reference to Purchase Order. |
| `PurchaseOrderLine` | `guid` | Purchase Order Line | [ ] | writable | Reference to Purchase Order Line. |
| `PurchaseOrderLineNumber` | `int32` | Purchase Order Line Number | [ ] | writable | Line number of referenced Purchase Order Line. |
| `PurchaseOrderNumber` | `int32` | Purchase Order Number | [ ] | writable | Number of referenced Purchase Order. |
| `Quantity` | `double` | Quantity | [ ] | writable | Number of items sold in default units. The quantity shown in the entry screen is Quantity * UnitFactor. |
| `QuantityDelivered` | `double` | Quantity Delivered | [ ] | writable | The number of items delivered. |
| `QuantityInvoiced` | `double` | Quantity Invoiced | [ ] | writable | The number of items invoiced. |
| `ShopOrder` | `guid` | Shop Order | [ ] | filters on the platform, writable | Reference to Shop Order. |
| `TaxSchedule` | `guid` | Tax Schedule | [ ] | writable | Obsolete. |
| `TaxScheduleCode` | `varchar2` | Tax Schedule Code | [ ] | writable | Obsolete. |
| `TaxScheduleDescription` | `varchar2` | Tax Schedule Description | [ ] | writable | Obsolete. |
| `UnitCode` | `varchar2(8)` | Unit Code | [ ] | writable | Code of item unit. |
| `UnitDescription` | `varchar2(60)` | Unit Description | [ ] | writable | Description of Item Unit. |
| `UnitPrice` | `double` | Unit Price | [ ] | writable | Price per unit in the currency of the transaction. |
| `UseDropShipment` | `int16` | Use Drop Shipment | [x] | filters on the platform, writable | Indicates if drop shipment is used (delivery directly to customer, invoice to wholesaler). |
| `VATAmount` | `double` | VAT Amount | [ ] | writable | VAT amount in the currency of the transaction. |
| `VATCode` | `varchar2(3)` | VAT Code | [ ] | filters on the platform, writable | VAT code. |
| `VATCodeDescription` | `varchar2(60)` | VAT Code Description | [ ] | writable | Description of VAT code. |
| `VATPercentage` | `double` | VAT Percentage | [ ] | writable | The VAT percentage of the VAT code. This is the percentage at the moment the sales order is created. It's also used for the default calculation of VAT amounts and VAT base amounts. |

## Keys

| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
| `SalesOrderLines_CostCenter_Costcenters_fk` | `CostCenter` | [Costcenters](ExactOnlineREST.HRM.Costcenters)`.Code` | Key |  |
| `SalesOrderLines_CostUnit_Costunits_fk` | `CostUnit` | [Costunits](ExactOnlineREST.HRM.Costunits)`.Code` | Key |  |
| `SalesOrderLines_ItemVersion_ItemVersions_fk` | `ItemVersion` | [ItemVersions](ExactOnlineREST.Logistics.ItemVersions)`.ID` | Key |  |
| `SalesOrderLines_Item_Items_fk` | `Item` | [Items](ExactOnlineREST.Logistics.Items)`.ID` | Key |  |
| `SalesOrderLines_OrderID_SalesOrders_fk` | `OrderID` | [SalesOrders](ExactOnlineREST.SalesOrder.SalesOrders)`.OrderID` | Key |  |
| `SalesOrderLines_Pricelist_SalesPriceLists_fk` | `Pricelist` | [SalesPriceLists](ExactOnlineREST.Sales.SalesPriceLists)`.ID` | Key |  |
| `SalesOrderLines_Project_Projects_fk` | `Project` | [Projects](ExactOnlineREST.Project.Projects)`.ID` | Key |  |
| `SalesOrderLines_PurchaseOrderLine_PurchaseOrderLines_fk` | `PurchaseOrderLine` | [PurchaseOrderLines](ExactOnlineREST.PurchaseOrder.PurchaseOrderLines)`.ID` | Key |  |
| `SalesOrderLines_PurchaseOrder_PurchaseOrders_fk` | `PurchaseOrder` | [PurchaseOrders](ExactOnlineREST.PurchaseOrder.PurchaseOrders)`.PurchaseOrderID` | Key |  |
| `SalesOrderLines_ShopOrder_ShopOrders_fk` | `ShopOrder` | [ShopOrders](ExactOnlineREST.Manufacturing.ShopOrders)`.ID` | Key |  |
| `SalesOrderLines_VATCode_VATCodes_fk` | `VATCode` | [VATCodes](ExactOnlineREST.VAT.VATCodes)`.Code` | Key |  |

## Referenced By

- [PurchaseOrderLines](ExactOnlineREST.PurchaseOrder.PurchaseOrderLines) `SalesOrderLine` (Key)
- [SalesInvoiceLines](ExactOnlineREST.SalesInvoice.SalesInvoiceLines) `SalesOrderLine` (Key)
- [SalesInvoiceLinesBulk](ExactOnlineREST.SalesInvoice.SalesInvoiceLinesBulk) `SalesOrderLine` (Key)
- [DigitalOrderPickingLines](ExactOnlineREST.SalesOrder.DigitalOrderPickingLines) `SalesOrderLineID` (Key)
- [GoodsDeliveryLines](ExactOnlineREST.SalesOrder.GoodsDeliveryLines) `SalesOrderLineID` (Key)
- [GoodsDeliveryLinesBulk](ExactOnlineREST.SalesOrder.GoodsDeliveryLinesBulk) `SalesOrderLineID` (Key)
- [PlannedSalesReturnLines](ExactOnlineREST.SalesOrder.PlannedSalesReturnLines) `SalesOrderLineID` (Key)



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Exact Online](/en/release-notes/drivers?driver=exact-online)

