invantive documentation
Invantive Support ForumsLog In / Sign Up

SalesEntries: Exact Online Sales Entries

popular insert update delete per partition webhook REST

  • Catalog: ExactOnlineREST
  • Schema: SalesEntry
  • Primary Keys: EntryID
  • Label: Sales Entries

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 SalesEntries.

API Source

  • Endpoint: /api/v1/{division}/salesentry/SalesEntries
  • Metadata: /api/v1/{division}/salesentry/$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 SalesEntries 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 filters on the platform, writable Amount in the default currency of the company. For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.
AmountFC double Amount Foreign Currency filters on the platform, writable Amount in the currency of the transaction. For the header this is the sum of all lines, including VAT.
BatchNumber int32 Batch Number filters on the platform, writable The number of the batch of entries. Normally a batch consists of multiple entries. Batchnumbers are filled for invoices created by: - Fixed entries - Prolongation (only available with module hosting).
Created datetime Created filters on the platform, writable Creation date.
CreatedUtc datetime Created (UTC) writable Creation date in UTC.
Creator guid Creator filters on the platform, writable User ID of creator.
CreatorFullName varchar2(240) Creator Full Name filters on the platform, writable Name of creator.
Currency varchar2(30) Currency filters on the platform, writable Currency for the invoice. By default this is the currency of the administration.
CustomField varchar2 Custom Field writable
Customer guid Customer filters on the platform, writable Reference to customer (account).
CustomerName varchar2(50) Customer Name filters on the platform, writable Name of customer.
Description varchar2 Description filters on the platform, writable Description. Can be different for header and lines.
Division int32 Division 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 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, writable Document that is manually linked to the invoice.
DocumentNumber int32 Document Number filters on the platform, writable Number of the document.
DocumentSubject varchar2(256) Document Subject filters on the platform, writable Subject of the document.
DueDate datetime Due Date filters on the platform, writable The due date for payments. This date is calculated based on the EntryDate and the Paymentcondition.
EntryDate datetime Entry Date filters on the platform, writable The date when the invoice is entered.
EntryID guid Entry ID filters on the platform, writable The unique ID of the entry. Via this ID all transaction lines of a single entry can be retrieved.
EntryNumber int32 Entry Number filters on the platform, writable Entry number.
ExternalLinkDescription varchar2 External Link Description filters on the platform, writable Description of ExternalLink.
ExternalLinkReference varchar2 External Link Reference filters on the platform, writable Reference of ExternalLink.
GAccountAmountFC double G-account Amount Foreign Currency filters on the platform, writable 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.
InvoiceNumber int32 Invoice Number filters on the platform, writable 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.
IsExtraDuty char Is Extra Duty filters on the platform, writable Indicates whether the invoice has extra duty.
Journal varchar2(20) Journal filters on the platform, writable The journal code. Every invoice should be linked to a sales journal.
JournalDescription varchar2(60) Journal Description filters on the platform, writable Description of Journal.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
Modifier guid Modifier filters on the platform, writable User ID of modifier.
ModifierFullName varchar2(240) Modified Full Name filters on the platform, writable Name of modifier.
NetAmountDC double Net Amount Division Currency writable Net amount in division currency of sales entry.
NetAmountFC double Net Amount Foreign Currency writable Net amount in foreign currency of sales entry.
OrderNumber int32 Order Number filters on the platform, writable Number to indentify the invoice. Order numbers are not unique. Default the number is based on a setting for the first free number.
PaymentCondition varchar2(2) Payment Condition filters on the platform, writable The payment condition used for due date and discount calculation.
PaymentConditionDescription varchar2(60) Payment Condition Description filters on the platform, writable Description of PaymentCondition.
PaymentConditionPaymentMethod varchar2 itgen_eol_paymentconditionpaymentmethod filters on the platform
PaymentReference varchar2(60) Payment Reference filters on the platform, writable The payment reference used for bank imports, VAT return and Tax reference.
ProcessNumber int32 Process Number filters on the platform, writable
Rate double Rate filters on the platform, writable Foreign currency rate.
ReportingPeriod int16 Reporting Period filters on the platform, writable The period of the transaction lines. The period should exist in the period date table.
ReportingYear int16 Reporting Year filters on the platform, writable The financial year to which the entry belongs. The financial year should exist in the period date table.
Reversal char Reversal filters on the platform, writable Indicates if amounts are reversed.
Status int16 Status filters on the platform, writable Status: 5 = Rejected, 20 = Open, 50 = Processed.
StatusDescription varchar2 Status Description writable Description of Status.
Type int32 Type filters on the platform, writable Type: 20 = Sales entry, 21 = Sales credit note.
TypeDescription varchar2(240) Type Description writable Description of Type.
VATAmountDC double VAT Amount Division Currency filters on the platform, writable Vat amount in the default currency of the company.
VATAmountFC double VAT Amount Foreign Currency filters on the platform, writable Vat amount in the currency of the transaction.
WithholdingTaxAmountDC double itgen_eol_withholdingtaxamountdc filters on the platform, writable Withholding tax amount.
WithholdingTaxBaseAmount double Withholding Tax Base Amount filters on the platform, writable Withholding tax base amount to calculate withholding amount.
WithholdingTaxPercentage double Withholding Tax (%) filters on the platform, writable Withholding tax percentage.
YourRef varchar2(60) Your Reference filters on the platform, writable The invoice number of the customer.

Keys

Key Column Refers to Kind Description
SalesEntries_Creator_Users_fk Creator Users.UserID Key
SalesEntries_Currency_Currencies_fk Currency Currencies.Code Key
SalesEntries_Customer_Accounts_fk Customer Accounts.ID Key
SalesEntries_Document_Documents_fk Document Documents.ID Key
SalesEntries_Journal_Journals_fk Journal Journals.Code Key
SalesEntries_Modifier_Users_fk Modifier Users.UserID Key

Release Notes

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