invantive documentation
Invantive Support ForumsLog In / Sign Up

SalesInvoiceLinesBulk: Exact Online Sales Invoice Lines

read only 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 only retrieve data.

Changes arrive through the webhook topic SalesInvoices on InvoiceID.

API Source

  • Endpoint: /api/v1/{division}/bulk/SalesInvoice/SalesInvoiceLines
  • Metadata: /api/v1/{division}/bulk/SalesInvoice/$metadata

Performance Characteristics

Characteristic Value
Average access latency (ms) 5
Full scan rows per minute 20,000
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 SalesInvoiceLinesBulk 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 Amount in the default currency of the company. For almost all lines this can be calculated like: AmountDC = AmountFC * RateFC.
AmountFC double Amount Foreign Currency For normal lines it's the amount excluding VAT.
CostCenter varchar2 Cost Centre filters on the platform Reference to Cost center.
CostCenterDescription varchar2 Cost Centre Description Description of CostCenter.
CostUnit varchar2 Cost Unit filters on the platform Reference to Cost unit.
CostUnitDescription varchar2 Cost Unit Description Description of CostUnit.
CustomField varchar2 Custom Field writable
CustomerItemCode varchar2 Customer Item Code Code the customer uses for this item.
DeliveryDate datetime Delivery Date 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 Description. Can be different for header and lines.
Discount double Discount Discount given on the default price. Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item.
Division int32 Division ID Unique number of the Exact Online division.
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 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 writable Label of the Exact Online division.
DivisionName varchar2(50) Administration Name writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Subscription Holder Name 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 writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Division Short Name writable Short name of the Exact Online division.
Employee guid Employee filters on the platform Link to Employee originating from time and cost transactions.
EmployeeFullName varchar2 Employee Full Name Name of employee.
EndTime datetime End Time EndTime is used to store the last date of a period. EndTime is used in combination with StartTime.
ExtraDutyAmountFC double Extra Duty Amount Foreign Currency 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.
ExtraDutyPercentage double Extra Duty (%) Extra duty percentage.
GLAccount guid General Ledger Account filters on the platform 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.
GLAccountDescription varchar2 GL Account Description Description of GLAccount.
ID guid ID filters on the platform Primary key.
InvoiceID guid Invoice ID filters on the platform The InvoiceID identifies the sales invoice. All the lines of a sales invoice have the same InvoiceID.
Item guid Item filters on the platform Reference to the item that is sold in this sales invoice line.
ItemCode varchar2 Item Code Item code.
ItemDescription varchar2 Item Description Description of Item.
LineNumber int32 Line Number filters on the platform Indicates the sequence of the lines within one invoice.
NetAmountDC double Net Amount Division Currency writable Net amount in division currency of sales invoice line.
NetAmountFC double Net Amount Foreign Currency writable Net amount in foreign currency of sales invoice line.
NetPrice double Net Price Net price of the sales invoice line.
Notes varchar2 Notes Extra notes.
Pricelist guid Price List filters on the platform Price list.
PricelistDescription varchar2 Price List Description Description of Pricelist.
Project guid Project filters on the platform 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.
ProjectDescription varchar2 Project Description Description of Project.
ProjectWBS guid Project WBS WBS linked to the sales invoice.
ProjectWBSDescription varchar2 Project WBS Description Description of WBS.
Quantity double Quantity The number of items sold in default units. The quantity shown in the entry screen is Quantity * UnitFactor.
SalesOrder guid Sales Order Identifies the sales order this invoice line is based on.
SalesOrderLine guid Sales Order Line Identifies the sales order line this sales invoice line is based on.
SalesOrderLineNumber int32 Sales Order Line Number Then line number of the sales order line on which this invoice line is based on.
SalesOrderNumber int32 Sales Order Number The order number of the sales order on which this invoice line is based on.
StartTime datetime Start Time 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 When generating invoices from subscriptions, this field records the link between invoice lines and subscription lines.
SubscriptionDescription varchar2 Subscription Description Description of subscription line.
TaxSchedule guid Tax Schedule filters on the platform Obsolete.
TaxScheduleCode varchar2 Tax Schedule Code Obsolete.
TaxScheduleDescription varchar2 Tax Schedule Description Obsolete.
UnitCode varchar2 Unit Code Code of Unit.
UnitDescription varchar2 Unit Description Description of Unit.
UnitPrice double Unit Price Price per unit.
VATAmountDC double VAT Amount Division Currency VAT amount in the default currency of the company.
VATAmountFC double VAT Amount Foreign Currency VAT amount in the currency of the transaction.
VATCode varchar2 VAT Code filters on the platform The VAT code that is used when the invoice is registered.
VATCodeDescription varchar2 VAT Code Description Description of VATCode.
VATPercentage double VAT Percentage 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
SalesInvoiceLinesBulk_CostCenter_Costcenters_fk CostCenter Costcenters.Code Key
SalesInvoiceLinesBulk_CostUnit_Costunits_fk CostUnit Costunits.Code Key
SalesInvoiceLinesBulk_Employee_Employees_fk Employee Employees.ID Key
SalesInvoiceLinesBulk_GLAccount_GLAccounts_fk GLAccount GLAccounts.ID Key
SalesInvoiceLinesBulk_InvoiceID_SalesInvoices_fk InvoiceID SalesInvoices.InvoiceID Key
SalesInvoiceLinesBulk_Item_Items_fk Item Items.ID Key
SalesInvoiceLinesBulk_Pricelist_SalesPriceLists_fk Pricelist SalesPriceLists.ID Key
SalesInvoiceLinesBulk_ProjectWBS_ProjectWBS_fk ProjectWBS ProjectWBS.ID Key
SalesInvoiceLinesBulk_Project_Projects_fk Project Projects.ID Key
SalesInvoiceLinesBulk_SalesOrderLine_SalesOrderLines_fk SalesOrderLine SalesOrderLines.ID Key
SalesInvoiceLinesBulk_SalesOrder_SalesOrders_fk SalesOrder SalesOrders.OrderID Key
SalesInvoiceLinesBulk_Subscription_Subscriptions_fk Subscription Subscriptions.EntryID Key
SalesInvoiceLinesBulk_VATCode_VATCodes_fk VATCode VATCodes.Code Key

Release Notes

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