invantive documentation
Invantive Support ForumsLog In / Sign Up

SalesInvoicesBulk: Exact Online Sales Invoices

read only per partition webhook REST

  • Catalog: ExactOnlineREST
  • Schema: SalesInvoice
  • Primary Keys: InvoiceID
  • Label: Sales Invoices

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

Can only retrieve data.

Changes arrive through the webhook topic SalesInvoices.

API Source

  • Endpoint: /api/v1/{division}/bulk/SalesInvoice/SalesInvoices
  • 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 SalesInvoicesBulk 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 For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.
AmountDiscount double Amount Discount Discount amount in the default currency of the company.
AmountDiscountExclVat double Amount Discount excluding VAT Discount amount exclude VAT in the default currency of the company.
AmountFC double Amount Foreign Currency For the header this is the sum of all lines, including VAT.
AmountFCExclVat double Amount Foreign Currency excluding VAT For the header this is the sum of all lines, excluding VAT.
Created datetime Created filters on the platform Creation date.
CreatedUtc datetime Created (UTC) writable Creation date in UTC.
Creator guid Creator User ID of creator.
CreatorFullName varchar2 Creator Full Name Name of creator.
Currency varchar2 Currency Currency for the invoice. Default this is the currency of the administration.
DeliverTo guid Deliver to filters on the platform Delivery account for invoice.
DeliverToAddress guid Deliver To Address filters on the platform Address of delivery as per invoice delivery account.
DeliverToContactPerson guid Deliver to Contact Person filters on the platform Delivery account person for invoice.
DeliverToContactPersonFullName varchar2 Deliver To Contact Person Full Name Name of delivery account's contact person as per invoice.
DeliverToName varchar2 Deliver to Name Name of the delivery account's customer as per invoice.
Description varchar2 Description Description. Can be different for header and lines.
Discount double Discount Discount percentage.
DiscountType int16 Discount Type Discount Type.
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.
Document guid Document filters on the platform Document that is manually linked to the invoice.
DocumentNumber int32 Document Number Number of the document.
DocumentSubject varchar2 Document Subject Subject of the document.
DueDate datetime Due Date The due date for payments. This date is calculated based on the EntryDate and the Paymentcondition.
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.
GAccountAmountFC double G-account Amount Foreign Currency A positive value of the amount indicates that the amount is to be paid by the customer to your G bank account.In case of a credit invoice the amount should have negative value when retrieved or posted to Exact.
IncotermAddress varchar2 Incoterm Address
IncotermCode varchar2 Incoterm Code
IncotermVersion int16 Incoterm Version
InvoiceDate datetime Invoice Date filters on the platform Official date for the invoice. When the invoice is entered it's equal to the field 'EntryDate'. During the printing process the invoice date can be entered.
InvoiceID guid Invoice ID filters on the platform Primary key.
InvoiceNumber int32 Invoice Number filters on the platform Assigned at entry or at printing depending on setting. The number assigned is based on the freenumbers as defined for the Journal. When printing the field InvoiceNumber is copied to the fields EntryNumber and InvoiceNumber of the sales entry.
InvoiceTo guid Invoice to filters on the platform Reference to the Customer who will receive the invoice.
InvoiceToContactPerson guid Invoice to Contact Person filters on the platform Reference to the Contact person of the customer who will receive the invoice.
InvoiceToContactPersonFullName varchar2 Invoice To Contact Person Full Name Name of the contact person of the customer who will receive the invoice.
InvoiceToName varchar2 Invoice to Name Name of the customer who will receive the invoice.
IsExtraDuty char Is Extra Duty Indicates whether the invoice has extra duty.
Journal varchar2 Journal filters on the platform The journal code. Every invoice should be linked to a sales journal.
JournalDescription varchar2 Journal Description Description of Journal.
Modified datetime Modified Last modified date.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
Modifier guid Modifier User ID of modifier.
ModifierFullName varchar2 Modified Full Name Name of modifier.
NetAmountDC double Net Amount Division Currency writable Net amount in division currency of sales invoice.
NetAmountFC double Net Amount Foreign Currency writable Net amount in foreign currency of sales invoice.
OrderDate datetime Order Date Order date.
OrderNumber int32 Order Number filters on the platform Number to identify the order. By default the number is based on a setting for the first free number, but you can post your own number.
OrderedBy guid Ordered by filters on the platform Customer who ordered the invoice.
OrderedByContactPerson guid Ordered by Contact Person filters on the platform Contact person of customer who ordered the invoice.
OrderedByContactPersonFullName varchar2 Ordered by Contact Person Full Name Name of contact person of customer who ordered the invoice.
OrderedByName varchar2 Ordered by Name Name of customer who ordered the invoice.
PaymentCondition varchar2 Payment Condition The payment condition used for due date and discount calculation.
PaymentConditionDescription varchar2 Payment Condition Description Description of PaymentCondition.
PaymentReference varchar2 Payment Reference Payment reference for sales invoice.
Remarks varchar2 Remarks Extra remarks.
SalesChannel guid Sales Channel
SalesChannelCode varchar2 Sales Channel Code
SalesChannelDescription varchar2 Sales Channel Description
Salesperson guid Sales Person filters on the platform Sales representative.
SalespersonFullName varchar2 Sales Person Full Name Name of sales representative.
SelectionCode guid Selection Code filters on the platform, writable ID of selection code. Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing.
SelectionCodeCode varchar2 Selection Code writable Code of selection code.
SelectionCodeDescription varchar2 itgen_eol_selectioncodedescription writable Description of selection code.
ShippingMethod guid Shipping Method
ShippingMethodCode varchar2 Shipping Method Code
ShippingMethodDescription varchar2 Shipping Method Description
StarterSalesInvoiceStatus int16 Sales Invoice Status (Starter) Starter Sales invoice status (for starter functionality).
StarterSalesInvoiceStatusDescription varchar2 itgen_eol_startersalesinvoicestatusdescription Description of StarterSalesInvoiceStatus.
Status int16 Status filters on the platform The status of the entry. 10 = draft. During the creation of an invoice draft records occur in the draft modus if during an invoice a new page with lines is triggered. If the user leaves the invoice in an abnormal way the draft invoices can be recovered. Draft invoices are not included in financial reports, balances etc. 20 = open. Open invoices can be changed. New invoices get the status open by default. 50 = processed. Processed invoices can't be changed anymore. Processing is done via printing. Processed invoices can't be reopened.
StatusDescription varchar2 Status Description Description of Status.
TaxSchedule guid Tax Schedule filters on the platform Obsolete.
TaxScheduleCode varchar2 Tax Schedule Code Obsolete.
TaxScheduleDescription varchar2 Tax Schedule Description Obsolete.
Type int32 Type filters on the platform Indicates the type of invoice Values: 8020 - Sales invoices, 8021 - Sales credit note, 8023 - Direct sales invoice, 8024 - Direct credit note.
TypeDescription varchar2 Type Description Description of the type.
VATAmountDC double VAT Amount Division Currency Total VAT amount in the default currency of the company.
VATAmountFC double VAT Amount Foreign Currency Total VAT amount in the currency of the transaction.
Warehouse guid Warehouse filters on the platform Mandatory for direct sales invoice/credit note, cannot be set for normal sales invoice/credit note.
WithholdingTaxAmountFC double Withholding Tax Amount (Foreign Currency) Withholding tax amount applied to sales invoice.
WithholdingTaxBaseAmount double Withholding Tax Base Amount Withholding tax base amount to calculate withholding amount.
WithholdingTaxPercentage double Withholding Tax (%) Withholding tax percentage applied to sales invoice.
YourRef varchar2(60) Your Reference The invoice number of the customer.

Keys

Key Column Refers to Kind Description
SalesInvoicesBulk_Creator_Users_fk Creator Users.UserID Key
SalesInvoicesBulk_Currency_Currencies_fk Currency Currencies.Code Key
SalesInvoicesBulk_DeliverToAddress_Addresses_fk DeliverToAddress Addresses.ID Key
SalesInvoicesBulk_DeliverToContactPerson_Contacts_fk DeliverToContactPerson Contacts.ID Key
SalesInvoicesBulk_DeliverTo_Accounts_fk DeliverTo Accounts.ID Key
SalesInvoicesBulk_Document_Documents_fk Document Documents.ID Key
SalesInvoicesBulk_InvoiceToContactPerson_Contacts_fk InvoiceToContactPerson Contacts.ID Key
SalesInvoicesBulk_InvoiceTo_Accounts_fk InvoiceTo Accounts.ID Key
SalesInvoicesBulk_Journal_Journals_fk Journal Journals.Code Key
SalesInvoicesBulk_Modifier_Users_fk Modifier Users.UserID Key
SalesInvoicesBulk_OrderedByContactPerson_Contacts_fk OrderedByContactPerson Contacts.ID Key
SalesInvoicesBulk_OrderedBy_Accounts_fk OrderedBy Accounts.ID Key
SalesInvoicesBulk_Salesperson_Users_fk Salesperson Users.UserID Key
SalesInvoicesBulk_SelectionCode_SelectionCodes_fk SelectionCode SelectionCodes.ID Key
SalesInvoicesBulk_Warehouse_Warehouses_fk Warehouse Warehouses.ID Key

Release Notes

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