invantive documentation
Invantive Support ForumsLog In / Sign Up

Accounts: Exact Online Accounts

insert update delete per partition webhook REST

  • Catalog: ExactOnlineREST
  • Schema: CRM
  • Primary Keys: ID
  • Label: Accounts

Legal counter parties such as customers, suppliers and prospects.

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

Can retrieve data and change data using insert, update and delete.

Summary

Each counter party is registered at most once as an account. Their type can be determined using a number of methods:

  • Customer: the column 'Status' has the value 'C' when the account is a customer. The meaning of the status codes is described in the table 'AccountCustomerStatuses'.
  • Prospect: the column 'Status' has the value 'P' when the account is a prospect.
  • Suspect: the column 'Status' has the value 'S' when the account is a suspect.
  • Reseller: the column 'IsReseller' has the boolean value 'true'.
  • Supplier: the column 'IsSupplier' has the boolean value 'true'.
  • Accountant: the column 'IsAccountant' has the boolean value 'true'.
  • Competitor: the column 'IsCompetitor' has the boolean value 'true'.

Changes arrive through the webhook topic Accounts.

API Source

  • Endpoint: /api/v1/{division}/crm/Accounts
  • Metadata: /api/v1/{division}/crm/$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 Accounts 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
AccountManager guid Account Manager filters on the platform, writable ID of the account manager.
AccountManagerFullName varchar2(240) Account Manager Full Name writable Name of the account manager.
AccountManagerHID int32 Account Manager HID writable Number of the account manager.
Accountant guid Accountant filters on the platform, writable Reference to the accountant of the customer. Conditions: The referred accountant must have value > 0 in the field IsAccountant.
ActivitySector guid Activity Sector writable Reference to Activity sector of the account.
ActivitySubSector guid Activity Subsector writable Reference to Activity sub-sector of the account.
AddressLine1 varchar2(80) Address Line 1 filters on the platform, writable Visit address first line.
AddressLine2 varchar2(80) Address Line 2 filters on the platform, writable Visit address second line.
AddressLine3 varchar2(80) Address Line 3 filters on the platform, writable Visit address third line.
AddressSource int16 Address Source filters on the platform, writable
AutomaticProcessProposedEntry int16 Automatic Process Proposed Entry filters on the platform, writable
BRIN guid BRIN filters on the platform, writable Obsolete.
BSN varchar2 Social Security Number filters on the platform, writable Citizen Service Number for the Netherlands.
Blocked char Blocked filters on the platform, writable Indicates if the account is blocked.
BusinessType guid Business Type writable Reference to the business type of the account.
CanDropShip char Can Drop Ship writable Indicates the default for the possibility to drop ship when an item is linked to a supplier.
ChamberOfCommerce varchar2(60) Chamber of Commerce filters on the platform, writable Chamber of commerce number.
City varchar2(30) City filters on the platform, writable Visit address City.
Classification varchar2 Classification filters on the platform, writable Obsolete.
Classification1 guid Classification 1 filters on the platform, writable Account classification 1.
Classification1Code varchar2 Classification 1 Code writable Code of classification 1. See view Classifications.
Classification1Description varchar2 Classification 1 Description writable Description of classification 1. See view Classifications.
Classification2 guid Classification 2 filters on the platform, writable Account classification 2.
Classification2Code varchar2 Classification 2 Code writable Code of classification 2. See view Classifications.
Classification2Description varchar2 Classification 2 Description writable Description of classification 2. See view Classifications.
Classification3 guid Classification 3 filters on the platform, writable Account classification 3.
Classification3Code varchar2 Classification 3 Code writable Code of classification 3. See view Classifications.
Classification3Description varchar2 Classification 3 Description writable Description of classification 3. See view Classifications.
Classification4 guid Classification 4 filters on the platform, writable Account classification 4.
Classification4Code varchar2 Classification 4 Code writable Code of classification 4. See view Classifications.
Classification4Description varchar2 Classification 4 Description writable Description of classification 4. See view Classifications.
Classification5 guid Classification 5 filters on the platform, writable Account classification 5.
Classification5Code varchar2 Classification 5 Code writable Code of classification 5. See view Classifications.
Classification5Description varchar2 Classification 5 Description writable Description of classification 5. See view Classifications.
Classification6 guid Classification 6 filters on the platform, writable Account classification 6.
Classification6Code varchar2 Classification 6 Code writable Code of classification 6. See view Classifications.
Classification6Description varchar2 Classification 6 Description writable Description of classification 6. See view Classifications.
Classification7 guid Classification 7 filters on the platform, writable Account classification 7.
Classification7Code varchar2 Classification 7 Code writable Code of classification 7. See view Classifications.
Classification7Description varchar2 Classification 7 Description writable Description of classification 7. See view Classifications.
Classification8 guid Classification 8 filters on the platform, writable Account classification 8.
Classification8Code varchar2 Classification 8 Code writable Code of classification 8. See view Classifications.
Classification8Description varchar2 Classification 8 Description writable Description of classification 8. See view Classifications.
ClassificationDescription varchar2 Classification Description writable Obsolete.
Code varchar2(18) Code filters on the platform, writable Unique key, fixed length numeric string with leading spaces, length 18. IMPORTANT: When you use OData $filter on this field you have to make sure the filter parameter contains the leading spaces.
CodeAtSupplier varchar2(20) Code at Supplier filters on the platform, writable Code under which your own company is known at the account.
CompanySize guid Company Size writable Reference to Company size of the account.
ConsolidationScenario int16 Consolidation Scenario writable Consolidation scenario (Time & Billing). Values: 0 = No consolidation, 1 = Item, 2 = Item + Project, 3 = Item + Employee, 4 = Item + Employee + Project, 5 = Project + WBS + Item, 6 = Project + WBS + Item + Employee. Item means in this case including Unit and Price, these also have to be the same to consolidate.
ControlledDate datetime Date Checked writable Date of the latest control of account data with external web service.
CostPaid int16 Cost Paid writable Obsolete.
Costcenter varchar2(8) Cost Centre writable Obsolete.
CostcenterDescription varchar2(60) Cost Centre Description writable Obsolete.
Country varchar2(30) Country filters on the platform, writable Country code.
CountryName varchar2(60) Country Name writable Country name.
Created datetime Created filters on the platform, writable Creation date.
CreatedUtc datetime Created (UTC) writable Creation date in UTC.
Creator guid Creator writable User ID of creator.
CreatorFullName varchar2(240) Creator Full Name writable Name of creator.
CreditLinePurchase double Credit Line for Purchase writable Maximum amount of credit for Purchase. If no value has been defined, there is no credit limit.
CreditLineSales double Credit Line for Sales writable Maximum amount of credit for sales. If no value has been defined, there is no credit limit.
Currency varchar2(30) Currency writable Obsolete.
CustomField varchar2 Custom Field filters on the platform, writable
CustomerSince datetime Customer Since writable Obsolete.
DatevCreditorCode varchar2(30) DATEV Creditor Code writable DATEV creditor code for Germany legislation.
DatevDebtorCode varchar2(30) DATEV Debtor Code writable DATEV debtor code for Germany legislation.
DeliveryAdvice int16 Delivery Advice filters on the platform
DiscountPurchase double Discount for Purchase writable Default discount percentage for purchase. This is stored as a fraction. ie 5.5% is stored as .055.
DiscountSales double Discount for Sales writable Default discount percentage for sales. This is stored as a fraction. ie 5.5% is stored as .055.
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 writable Obsolete.
DunsNumber varchar2(9) DUNS Number writable Obsolete.
EORINumber varchar2 EORI Number writable EORI number (United Kingdom).
Email varchar2(128) Email filters on the platform, writable E-Mail address of the account.
EnableSalesPaymentLink char Enable Sales Payment Link filters on the platform, writable
EndDate datetime End Date filters on the platform, writable Determines in combination with the start date if the account is active. If the current date is > end date the account is inactive.
EstablishedDate datetime Established Date writable RegistrationDate.
Fax varchar2(25) Fax filters on the platform, writable Fax number.
GLAP guid Accounts Payables General Ledger writable Default GL account for Accounts Payable.
GLAR guid Accounts Receivables General Ledger writable Default GL account for Accounts Receivable.
GLAccountPurchase guid GL Account for Purchase writable Default (corporate) GL offset account for purchase (cost).
GLAccountSales guid GL Account for Sales writable Default (corporate) GL offset account for sales (revenue).
GlnNumber varchar2(13) GLN Number writable Global Location Number can be used by companies to identify their locations, giving them complete flexibility to identify any type or level of location required.
HasWithholdingTaxSales char Has Withholding Tax Sales writable Indicates whether a customer has withholding tax on sales.
ID guid ID filters on the platform, writable Primary key.
IgnoreDatevWarningMessage char Ignore DATEV Warning Message writable Suppressed warning message when there is duplication on the DATEV code.
IncotermAddressPurchase varchar2 Incoterm Address Purchase filters on the platform, writable
IncotermAddressSales varchar2 Incoterm Address Sales filters on the platform, writable
IncotermCodePurchase varchar2 Incoterm Code Purchase filters on the platform, writable
IncotermCodeSales varchar2 Incoterm Code Sales filters on the platform, writable
IncotermVersionPurchase int16 Incoterm Version Purchase filters on the platform, writable
IncotermVersionSales int16 Incoterm Version Sales filters on the platform, writable
IntraStatArea varchar2 Intrastat Area writable Intrastat Area.
IntraStatDeliveryTerm varchar2 Intrastat Delivery Term writable Intrastat delivery method.
IntraStatSystem varchar2(5) Intrastat System writable System for Intrastat.
IntraStatTransactionA varchar2(1) Intrastat Transaction A writable Transaction type A for Intrastat.
IntraStatTransactionB varchar2(1) Intrastat Transaction B writable Transaction type B for Intrastat.
IntraStatTransportMethod varchar2(1) Intrastat Transport Method writable Transport method for Intrastat.
InvoiceAccount guid Invoice Account filters on the platform, writable ID of account to be invoiced instead of this account.
InvoiceAccountCode varchar2(18) Invoice Account Code writable Code of InvoiceAccount.
InvoiceAccountName varchar2(50) Invoice Account Name writable Name of InvoiceAccount.
InvoiceAttachmentType int32 Invoice Attachment Type writable Indicates which attachment types should be sent when a sales invoice is printed. Only values in related table with Invoice=1 are allowed.
InvoicingMethod int32 Invoicing Method writable Method of sending for sales invoices. Values: 1: Paper, 2: EMail, 4: Mailbox (electronic exchange).
IsAccountant int16 Is Accountant filters on the platform, writable Indicates whether the account is an accountant. Values: 0 = No accountant, 1 = True, but accountant doesn't want his name to be published in the list of accountants, 2 = True, and accountant is published in the list of accountants.
IsAgency int16 Is Agency writable Indicates whether the accounti is an agency.
IsAnonymised int16 Is Anonymised writable Indicates whether the account is anonymised.
IsBank char Is Bank writable Obsolete.
IsCompetitor int16 Is Competitor writable Indicates whether the account is a competitor.
IsExtraDuty char Is Extra Duty writable Indicates whether a customer is eligible for extra duty.
IsMailing int16 Is Mailing writable Indicates if the account is excluded from mailing marketing information.
IsMember char Is Member writable Obsolete.
IsPilot char Is Pilot writable Indicates whether the account is a pilot account.
IsPurchase char Is Purchase writable Obsolete.
IsReseller char Is Reseller filters on the platform, writable Indicates whether the account is a reseller.
IsSales char Is Sales filters on the platform, writable Indicates whether the account is allowed for sales.
IsSupplier char Is Supplier filters on the platform, writable Indicates whether the account is a supplier.
Language varchar2(30) Language writable Language code.
LanguageDescription varchar2(60) Language Description writable Language description.
Latitude double Latitude writable Latitude (used by Google maps).
LeadPurpose guid Lead Purpose writable Reference to Lead Purpose of an account.
LeadSource guid Lead Source writable Reference to Lead Source of an account.
Logo blob Logo writable Bytes of the logo image.
LogoFileName varchar2 Logo File Name writable The file name (without path, but with extension) of the image.
LogoThumbnailUrl varchar2 Logo Thumbnail (URL) writable Thumbnail url of the logo.
LogoUrl varchar2 Logo (URL) writable Url to retrieve the logo.
Longitude double Longitude writable Longitude (used by Google maps).
MainContact guid Main Contact filters on the platform, writable Reference to main contact person.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
Modifier guid Modifier writable User ID of modifier.
ModifierFullName varchar2(240) Modified Full Name writable Name of modifier.
Name varchar2(50) Name filters on the platform, writable Account name.
OINNumber varchar2(20) OIN Number writable Dutch government identification number.
Parent guid Parent filters on the platform, writable ID of the parent account.
PayAsYouEarn varchar2 Pay-as-you-Earn writable Indicates the loan repayment plan for UK legislation.
PaymentConditionPurchase varchar2(2) Payment Condition Purchase writable Code of default payment condition for purchase.
PaymentConditionPurchaseDescription varchar2(60) Payment Condition Purchase Description writable Description of PaymentConditionPurchase.
PaymentConditionSales varchar2(2) Payment Condition Sales writable Code of default payment condition for sales.
PaymentConditionSalesDescription varchar2(60) Payment Condition Sales Description writable Description of PaymentConditionSales.
PeppolIdentifier varchar2 Peppol Identifier filters on the platform, writable
PeppolIdentifierType int32 Peppol Identifier Type filters on the platform, writable
Phone varchar2(25) Phone filters on the platform, writable Phone number.
PhoneExtension varchar2(15) Phone Extension writable Phone number extention.
Postcode varchar2(20) Postal Code filters on the platform, writable Visit address postcode.
PriceList guid Price List filters on the platform, writable Default sales price list for account.
PurchaseCurrency varchar2(30) Purchase Currency writable Currency of purchase.
PurchaseCurrencyDescription varchar2(60) Purchase Currency Description writable Description of purchase currency.
PurchaseLeadDays int32 Purchase Lead Days writable Indicates number of days required to receive a purchase. Acts as a default.
PurchaseVATCode varchar2(3) Purchase VAT Code writable Default VAT code used for purchase entries.
PurchaseVATCodeDescription varchar2(60) Purchase VAT Code Description writable Description of Purchase VAT code.
RSIN varchar2(30) RSIN Number filters on the platform, writable Fiscal number for NL legislation.
RecepientOfCommissions char Recipient of Commissions writable Define the relation that should be taken in the official document of the rewarding fiscal fiches Belcotax.
Remarks varchar2 Remarks writable Remarks.
Reseller guid Reseller filters on the platform, writable ID of the reseller account. Conditions: the target account must have the property IsReseller turned on.
ResellerCode varchar2(18) Reseller Code writable Code of Reseller.
ResellerName varchar2(50) Reseller Name writable Name of Reseller.
SalesCurrency varchar2(30) Sales Currency writable Currency of Sales used for Time & Billing.
SalesCurrencyDescription varchar2(60) Sales Currency Description writable Description of SalesCurrency.
SalesTaxSchedule guid Sales Tax Schedule writable Obsolete.
SalesTaxScheduleCode varchar2 Sales Tax Schedule Code writable Obsolete.
SalesTaxScheduleDescription varchar2 Sales Tax Schedule Description writable Obsolete.
SalesVATCode varchar2(3) Sales VAT Code writable Default VAT code for a sales entry.
SalesVATCodeDescription varchar2(60) Sales VAT Code Description writable Description of Sales VAT code.
SearchCode varchar2(15) Search Code filters on the platform, writable Search code.
SecurityLevel int32 Security Level writable Security level (0 - 100).
SeparateInvPerProject int16 Separate Invoice per Project writable Separate invoice per project (Time & Billing).
SeparateInvPerSubscription int16 Separate Invoice per Subscription writable Indicates how invoices are generated from subscriptions. 0 = subscriptions belonging to the same customer are combined in a single invoice. 1 = each subscription results in one invoice. In both cases, each individual subscription line results in one invoice line.
ShippingLeadDays int32 Shipping Lead Days writable Indicates the number of days it takes to send goods to the customer. Acts as a default.
ShippingMethod guid Shipping Method writable Default shipping method.
ShowRemarkForSales char Show Remark for Sales writable Indicates whether to display Ordered by account's remarks when creating a new sales order.
Source int16 Source filters on the platform, writable
StartDate datetime Start Date filters on the platform, writable Indicates in combination with the end date if the account is active.
State varchar2(30) State writable State/Province/County code. When changing the Country and the State is filled, the State must be assigned with a valid value from the selected country or set to empty.
StateName varchar2(60) Province Name writable Name of state/province.
Status varchar2(1) Status filters on the platform, writable If the status field is filled this means the account is a customer. The value indicates the customer status. Possible values: A=None, S=Suspect, P=Prospect, C=Customer.
StatusSince datetime Status Since writable Obsolete.
TradeName varchar2(50) Tradename writable Trade name can be registered and shown with the client (for all legislations).
Type varchar2(1) Type filters on the platform, writable Account type: Values: A = Relation, D = Division.
UniqueTaxpayerReference varchar2 Unique Taxpayer Reference writable Unique taxpayer reference for UK legislation.
VATLiability varchar2 VAT Liability writable Indicates the VAT status of an account to be able to identify the relation that should be selected in the VAT debtor listing in Belgium.
VATNumber varchar2(35) VAT Number filters on the platform, writable The number under which the account is known at the Value Added Tax collection agency.
Website varchar2(128) Website writable Website of the account.

Keys

Key Column Refers to Kind Description
Accounts_Accountant_Accounts_fk Accountant Accounts.ID Key
Accounts_BusinessType_BusinessTypes_fk BusinessType BusinessTypes.ID Key
Accounts_Creator_Users_fk Creator Users.UserID Key
Accounts_GLAP_GLAccounts_fk GLAP GLAccounts.ID Key
Accounts_GLAR_GLAccounts_fk GLAR GLAccounts.ID Key
Accounts_GLAccountPurchase_GLAccounts_fk GLAccountPurchase GLAccounts.ID Key
Accounts_GLAccountSales_GLAccounts_fk GLAccountSales GLAccounts.ID Key
Accounts_InvoiceAccount_Accounts_fk InvoiceAccount Accounts.ID Key
Accounts_LeadPurpose_LeadPurposes_fk LeadPurpose LeadPurposes.ID Key
Accounts_LeadSource_LeadSources_fk LeadSource LeadSources.ID Key
Accounts_MainContact_Contacts_fk MainContact Contacts.ID Key
Accounts_Modifier_Users_fk Modifier Users.UserID Key
Accounts_Parent_Accounts_fk Parent Accounts.ID Key
Accounts_PriceList_SalesPriceLists_fk PriceList SalesPriceLists.ID Key
Accounts_Reseller_Accounts_fk Reseller Accounts.ID Key
Accounts_ShippingMethod_ShippingMethods_fk ShippingMethod ShippingMethods.ID Key

Referenced By

Release Notes

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