SalesInvoiceLines: Exact Online Sales Invoice Lines
insert update delete per partition webhook REST
- Catalog:
ExactOnlineREST - Schema:
SalesInvoice - Primary Keys:
ID - Label: Sales Invoice 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 SalesInvoices on InvoiceID.
API Source
- Endpoint:
/api/v1/{division}/salesinvoice/SalesInvoiceLines - Metadata:
/api/v1/{division}/salesinvoice/$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 SalesInvoiceLines 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 |
|---|---|---|---|---|---|
Amount |
double |
Amount Division Currency | writable | Amount in the default currency of the company. For almost all lines this can be calculated like: AmountDC = AmountFC * RateFC. | |
Amount |
double |
Amount Foreign Currency | writable | For normal lines it's the amount excluding VAT. | |
Cost |
varchar2 |
Cost Centre | filters on the platform, writable | Reference to Cost center. | |
Cost |
varchar2 |
Cost Centre Description | writable | Description of CostCenter. | |
Cost |
varchar2 |
Cost Unit | filters on the platform, writable | Reference to Cost unit. | |
Cost |
varchar2 |
Cost Unit Description | writable | Description of CostUnit. | |
Custom |
varchar2 |
Custom Field | writable | ||
Customer |
varchar2 |
Customer Item Code | Code the customer uses for this item. | ||
Delivery |
datetime |
Delivery Date | writable | Delivery date of an item in a sales invoice. This is used for VAT on prepayments, only if sales order is not used in the license. | |
Description |
varchar2 |
Description | filters on the platform, writable | Description. Can be different for header and lines. | |
Discount |
double |
Discount | writable | Discount given on the default price. Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item. | |
Division |
int32 |
Division | Division code. | ||
Division |
varchar2 |
Division Chamber of Commerce Number | writable | Chamber of commerce number of the Exact Online division. | |
Division |
varchar2 |
Division IBAN Number | writable | IBAN number of the Exact Online division. | |
Division |
varchar2 |
Division Company Name | writable | Company name of the Exact Online division. | |
Division |
varchar2 |
Division RSIN Number | writable | RSIN number of the Exact Online division. | |
Division |
varchar2 |
Division VAT Number | writable | VAT number of the Exact Online division. | |
Division |
varchar2 |
Division Wage Tax Number | writable | Wage tax number of the Exact Online division. | |
Division |
varchar2 |
Division Label | writable | Label of the Exact Online division. | |
Division |
varchar2 |
Administration Name | writable | Name of the Exact Online division. | |
Division |
varchar2 |
Subscription Holder Name | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
varchar2 |
Subscription Holder Number | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
int64 |
Division Short Name | writable | Short name of the Exact Online division. | |
Employee |
guid |
Employee | filters on the platform, writable | Link to Employee originating from time and cost transactions. | |
Employee |
varchar2 |
Employee Full Name | writable | Name of employee. | |
End |
datetime |
End Time | writable | EndTime is used to store the last date of a period. EndTime is used in combination with StartTime. | |
Extra |
double |
Extra Duty Amount Foreign Currency | writable | Extra duty amount in the currency of the transaction. Both extra duty amount and VAT amount need to be specified in order to differ this property from automatically calculated. | |
Extra |
double |
Extra Duty (%) | writable | Extra duty percentage. | |
GL |
guid |
General Ledger Account | filters on the platform, writable | The GL Account of the sales invoice line. This field is mandatory. This field is generated based on the revenue account of the item (or the related item group). G/L Account is also used to determine whether the costcenter / costunit is mandatory. | |
GL |
varchar2 |
GL Account Description | writable | Description of the G/L account. | |
ID |
guid |
ID | filters on the platform, writable | Primary key. | |
Invoice |
guid |
Invoice ID | filters on the platform, writable | The InvoiceID identifies the sales invoice. All the lines of a sales invoice have the same InvoiceID. | |
Item |
guid |
Item | filters on the platform, writable | Reference to the item that is sold in this sales invoice line. | |
Item |
varchar2 |
Item Code | writable | Item code. | |
Item |
varchar2 |
Item Description | writable | Description of Item. | |
Line |
int32 |
Line Number | filters on the platform, writable | Indicates the sequence of the lines within one invoice. | |
Net |
double |
Net Amount Division Currency | writable | Net amount in division currency of sales invoice line. | |
Net |
double |
Net Amount Foreign Currency | writable | Net amount in foreign currency of sales invoice line. | |
Net |
double |
Net Price | writable | Net price of the sales invoice line. | |
Notes |
varchar2 |
Notes | writable | Extra notes. | |
Pricelist |
guid |
Price List | filters on the platform, writable | Price list. | |
Pricelist |
varchar2 |
Price List Description | writable | Description of Pricelist. | |
Project |
guid |
Project | filters on the platform, writable | The project to which the sales transaction line is linked. The project can be different per line. Sometimes also the project in the header is filled although this is not really used. | |
Project |
varchar2 |
Project Description | writable | Description of Project. | |
Project |
guid |
Project WBS | writable | WBS linked to the sales invoice. | |
Project |
varchar2 |
Project WBS Description | writable | Description of WBS. | |
Quantity |
double |
Quantity | writable | The number of items sold in default units. The quantity shown in the entry screen is Quantity * UnitFactor. | |
Sales |
guid |
Sales Order | filters on the platform, writable | Identifies the sales order this invoice line is based on. | |
Sales |
guid |
Sales Order Line | filters on the platform, writable | Identifies the sales order line this sales invoice line is based on. | |
Sales |
int32 |
Sales Order Line Number | writable | Then line number of the sales order line on which this invoice line is based on. | |
Sales |
int32 |
Sales Order Number | writable | The order number of the sales order on which this invoice line is based on. | |
Start |
datetime |
Start Time | writable | StartTime is used to store the first date of a period. StartTime is used in combination with EndTime. | |
Subscription |
guid |
Subscription | filters on the platform, writable | When generating invoices from subscriptions, this field records the link between invoice lines and subscription lines. | |
Subscription |
varchar2 |
Subscription Description | writable | Description of subscription line. | |
Tax |
guid |
Tax Schedule | filters on the platform, writable | Obsolete. | |
Tax |
varchar2 |
Tax Schedule Code | writable | Obsolete. | |
Tax |
varchar2 |
Tax Schedule Description | writable | Obsolete. | |
Unit |
varchar2 |
Unit Code | writable | Code of Unit. | |
Unit |
varchar2 |
Unit Description | writable | Description of Unit. | |
Unit |
double |
Unit Price | writable | Price per unit. | |
VAT |
double |
VAT Amount Division Currency | writable | VAT amount in the default currency of the company. | |
VAT |
double |
VAT Amount Foreign Currency | writable | VAT amount in the currency of the transaction. | |
VAT |
varchar2 |
VAT Code | filters on the platform, writable | The VAT code that is used when the invoice is registered. | |
VAT |
varchar2 |
VAT Code Description | writable | Description of VAT code. | |
VAT |
double |
VAT Percentage | writable | The vat percentage of the VAT code. This is the percentage at the moment the invoice is created. It's also used for the default calculation of VAT amounts and VAT base amounts. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Sales |
Cost |
Costcenters.Code |
Key | |
Sales |
Cost |
Costunits.Code |
Key | |
Sales |
Employee |
Employees.ID |
Key | |
Sales |
GL |
GLAccounts.ID |
Key | |
Sales |
Invoice |
SalesInvoices. |
Key | |
Sales |
Item |
Items.ID |
Key | |
Sales |
Pricelist |
SalesPriceLists.ID |
Key | |
Sales |
Project |
ProjectWBS.ID |
Key | |
Sales |
Project |
Projects.ID |
Key | |
Sales |
Sales |
SalesOrderLines.ID |
Key | |
Sales |
Sales |
SalesOrders. |
Key | |
Sales |
Subscription |
Subscriptions. |
Key | |
Sales |
VAT |
VATCodes.Code |
Key |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: