Please enable JavaScript to view this site.

Exact Online API Data Model

Navigation: Catalog: ExactOnlineREST > Schemas > Schema: SalesOrder > Tables

SalesOrderLines: Exact Online Sales Order Lines

Contents Previous Home Next More

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.

Webhook Topic: SalesOrders

Webhook Key Field: OrderID

Select Exact Online API URL: /api/v1/{division}/salesorder/SalesOrderLines

Insert Exact Online API URL: /api/v1/{division}/salesorder/SalesOrderLines

Update Exact Online API URL: /api/v1/{division}/salesorder/SalesOrderLines

Delete Exact Online API URL: /api/v1/{division}/salesorder/SalesOrderLines

Exact Online API Metadata URL: /api/v1/{division}/salesorder/$metadata

Field Selection Method: Required

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 or update.

Name

Data Type

Label

Required

Documentation

AmountDC

double

Amount Division Currency

Amount in the default currency of the company.

AmountFC

double

Amount Foreign Currency

Amount in the currency of the transaction.

CostCenter

string(8)

Cost Center

Reference to Cost Center.

CostCenterDescription

string(60)

Cost Center Description

Description of cost center.

CostPriceFC

double

Cost Price Foreign Currency

Item cost price.

CostUnit

string(8)

Cost Unit

Reference to Cost Unit.

CostUnitDescription

string(60)

Cost Unit Description

Description of cost unit.

CustomerItemCode

string

 

Code the customer uses for this item.

DeliveryDate

datetime

Delivery Date

Delivery date of this line.

DeliveryStatus

int16

Delivery Status

Shipping status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled.

Description

string

Description

Description.

Discount

double

Discount

Discount given on the default price. Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item.

Division

int32

Division

Division code.

DivisionCompanyCoCNumber

string(20)

Division Chamber of Commerce Number

Chamber of commerce number of the Exact Online division.

DivisionCompanyIBANNumber

string(50)

Division IBAN Number

IBAN number of the Exact Online division.

DivisionCompanyName

string(50)

Division Company Name

Company name of the Exact Online division.

DivisionCompanyRSINNumber

string(9)

Division RSIN Number

RSIN number of the Exact Online division.

DivisionCompanyVATNumber

string(35)

Division VAT Number

VAT number of the Exact Online division.

DivisionCompanyWageTaxNumber

string(60)

Division Wage Tax Number

Wage tax number of the Exact Online division.

DivisionLabel

string(128)

Division Label

Label of the Exact Online division.

DivisionName

string(50)

Administration Name

Name of the Exact Online division.

DivisionOwnerCompanyName

string(50)

Subscription Holder Name

Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionOwnerCompanyNumber

string(18)

Subscription Holder Number

Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionShortName

int64

Division Short Name

Short name of the Exact Online division.

ID

guid

ID

Primary key.

InvoiceStatus

int16

Invoice Status

Invoice status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled.

Item

guid

Item

Reference to the Item that is sold in this sales order line.

ItemCode

string(30)

Item Code

Code of the item.

ItemDescription

string(60)

Item Description

Description of Item.

ItemVersion

guid

Item Version

Version of item.

ItemVersionDescription

string

Item Version Description

Description of Item Version.

LineNumber

int32

Line Number

Line number.

Margin

double

Margin

Sales margin of the sales order line.

NetPrice

double

Net Price

Net price of the sales order line.

Notes

string

Notes

Extra notes.

OrderID

guid

Order ID

Reference to Sales Order. All the lines of a sales order have the same OrderID.

OrderNumber

int32

Order Number

Number of sales order.

OrderStatus

int16

Order Status

The status of the sales order line. 12=Open, 20=Partial, 21=Complete, 45=Cancelled.

Pricelist

guid

Price List

Reference to Price List.

PricelistDescription

string

Price List Description

Description of Price List.

Project

guid

Project

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

string(60)

Project Description

Description of Project.

PurchaseOrder

guid

Purchase Order

Reference to Purchase Order.

PurchaseOrderLine

guid

Purchase Order Line

Reference to Purchase Order Line.

PurchaseOrderLineNumber

int32

Purchase Order Line Number

Line number of referenced Purchase Order Line.

PurchaseOrderNumber

int32

Purchase Order Number

Number of referenced Purchase Order.

Quantity

double

Quantity

Number of items sold in default units. The quantity shown in the entry screen is Quantity * UnitFactor.

QuantityDelivered

double

Quantity Delivered

The number of items delivered.

QuantityInvoiced

double

Quantity Invoiced

The number of items invoiced.

ShopOrder

guid

Shop Order

Reference to Shop Order.

TaxSchedule

guid

Tax Schedule

Obsolete.

TaxScheduleCode

string

Tax Schedule Code

Obsolete.

TaxScheduleDescription

string

Tax Schedule Description

Obsolete.

UnitCode

string(8)

Unit Code

Code of item unit.

UnitDescription

string(60)

Unit Description

Description of Item Unit.

UnitPrice

double

Unit Price

Price per unit in the currency of the transaction.

UseDropShipment

int16

Use Drop Shipment

Indicates if drop shipment is used (delivery directly to customer, invoice to wholesaler).

VATAmount

double

VAT Amount

VAT amount in the currency of the transaction.

VATCode

string(3)

VAT Code

VAT code.

VATCodeDescription

string(60)

VAT Code Description

Description of VAT code.

VATPercentage

double

VAT Percentage

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.

 

14-04-2021 14:43 Version 20.1.394-BETA+3155