Exact Online Data Model for Invantive SQL Cashflow
Financial Transactions Assets Assets: rast, #ID SalesInvoices Sales: rsie, #InvoiceID
ReceivablesList rrlt
PaymentSources dompse, #code
PaymentDiscountTypes dompdc, #code
PurchaseInvoices Purchase: pie, #ID
Accounts TransactionStatuses domtss, #code
VAT
Accounts Accounts: ract, #ID
PaymentDiscountType
Subscriptions Subscription: rscn, #EntryID
Finance
Transactions rtxn, #EntryNumber
TransactionTypes domtte, #code
TaxScheduleComponents rtst
Countries AccountManager
Warehouses Logistics: rwhe, #ID
SystemUsers System: rsur, #ID
TaxSchedules rtse, #ID
TaxSchedule
Person IdentificationUser
Addresses rads, #ID
Account
AddressTypes domade, #code
PayablesList rplt
Documents Documents: rdct, #ID
Journals Financial: rjnl, #ID
Accounts Accounts: ract, #ID
GLAccount PurchaseVATCode SalesVATCode
AccountBankAccountID
Payments rcpyt
TransactionLines rtle, #ID
PaymentConditions rcpn, #ID
CashflowBalance rcbe
Sales
Items Logistics: ritm, #ID
OffsetID
GLAccounts Financial: rgat, #ID
PaymentStatuses dompss, #code
VATCodes rvce, #ID
PaymentConditions Cashflow: rcpn, #ID
SalesVATCode
GLToClaim
PaymentConditionPurchase EUSalesListing
Costcenters Payroll: rccr, #Code
Costcenters Payroll: rccr, #Code
PaymentConditionSales
Cross-Division Access
IntrastatType
Documents Documents: rdct, #ID
VATCalculations domvcn, #code
PaymentSelector
IntrastatTypes domite, #code
TaxReturnType
IdentificationDocument
Transactions Transaction: rtxn, #EntryNr
Assets
Contacts Accounts: rctt, #ID TransactionLines Transaction: rtle, #ID
SystemUsers System: rsur, #ID
AssetGroups ragp, #ID
GLAccountDepreciationBS GLAccountRevaluationBS
Global Cross-Platform Database
Type
TaxReturnTypes domtre, #code
VATCodeID
GLAccountAssets
AccountConsolidationScenarios domaco, #code
VatDocType
GLAccounts Financial: rgat, #ID
Accounts ract, #ID
VatTransactionTypes domvxe, #code
GLAccountDepreciationPL
AccountClassifications racn, #ID
AccountClassificationNames race, #ID
AccountContact
TransactionStatuses Transaction: domtss, #code
Accounts Accounts: ract, #ID
ReceivableSelector
TransactionLines Transaction: rtle, #ID
Receivables rcrve
BankAccounts Accounts: rbat, #ID
GLAR
GLAccountPurchase
BankAccounts rbat, #ID
Banks Mailbox: rcbk, #ID
DepreciationIntervals domdil, #code
Parent
ShippingMethods Sales: rsmd, #ID
Financial Setup
PrimaryMethod
Source
DepreciationMethodTypes domdpe, #code
Currencies rcry, #Code
- Transactions and TransactionLines include Cash Entries, General Journal Entries and Bank Entries.
Target
- For Transactions, Documents and DocumentAttachments there are also “Bulk” variants that offer 3 times better throughput at the cost of reduced serverside filtering.
FinancialPeriods rfpd, #FinPeriod
Year
JournalTypes domjte, #code
Activities
Opportunities CRM: ropy, #ID
Complaints (subtype of Tasks) rcpt, #ID
Documents Documents: rdct, #ID
System
Employees Payroll: reye, #ID
IdentificationDocument
Contacts Accounts: rctt, #ID CustomerCooperations rwcn
Item_1 Item_2
Items Logistics: ritm, #ID
SalesInvoices Sales: rsie, #InvoiceID
ServiceRequestStatuses domsqs, #code
CommunicationNotes (subtype of Tasks) rcne, #ID
CommunicationNoteStatuses domcns, #code
Contacts Accounts: rctt, #ID
InvolvedUsers riur
SystemUsers System: rsur, #ID
Accounts Accounts: ract, #ID Tasks rtsk, #ID
Customer
AccountInvolvedAccounts rait
SolutionLinks rslk
Accounts Accounts: ract, #ID
DocumentAttachmentFiles rdae
Opportunities CRM: ropy, #ID
Projects Project: rpjt, #ID
SolutionTypes domstp, #code DocumentTypeFolders rdtr InternalSolutionDivision
SystemDivisions System: rsdn, #Code
DocumentTypes rdte, #ID
DocumentFolders rdfr, #ID
BalanceSides dombse, #code
GLAccounts rgat, #ID
Currencies Financial: rcry, #Code
SystemUsers rsur, #ID
Person
Contacts Accounts: rctt, #ID
Manager
UserRolesPerDivision ruen
SystemDivisions rsdn, #Code
DivisionStatuses domdss, #code
GLAccountTypes domgae, #code Settings rstg
DivisionClassValues rdcv
Customers (Accounts in division 1) Accounts: ract, #ID
YearEndReflectionGLAccount
AccountantInfo raio
DivisionClasses rdcs, #ID
DivisionClassNames rdce, #ID
GLSchemes rgse, #ID
AvailableFeatures rafe
ExactInfo reio
WebhookSubscriptions rwsn
Costunits Payroll: rcut, #Code
Activities.RequestAttachments rrat
YearEndCostGLAccount
GLClassifications rgcn, #ID
$ Product Support
BalanceTypes dombte, #code
ReportingBalance rrbe
Invantive SQL runs on: Windows , iOS , Android , macOS and Linux
invantive control for excel
invantive composition for word
invantive query tool
invantive data replicator
online sql editor
invantive business for outlook
invantive data access point
invantive data hub
invantive bridge for power bi
invantive bridge for developers
invantive business for windows
invantive business drive
TransactionTypes Transaction: domtte, #code
TransactionStatuses Transaction: domtss, #code
Costcenters Payroll: rccr, #Code
StandardTaskTypes domste, #code
Budgets
Contacts Accounts: rctt, #ID
GLAccounts Financial: rgat, #ID
Mailboxes
Opportunities CRM: ropy, #ID
Banks rcbk, #ID
BankLinks rclk MailMessagesReceived rmmc, #ID
ForDivision
BudgetScenarios rbso, #ID Customer
BankAccounts Accounts: rbat, #ID
Parent
SolutionLinkStatuses domsls, #code
WebhookTopics domwtc, #code
Parent
SystemUsers System: rsur, #ID TaskStatuses domtks, #code
DocumentTypeCategories rdty, #ID
GLAccountClassificationMappings rgag
Projects Project: rpjt, #ID Documents Documents: rdct, #ID
ShopOrders Manufacturing: rspr, #ID ExcludedDivisions raen
Employees Payroll: reye, #ID
The full Invantive SQL grammar is available at: www.invantive.com/products/invantive-sql/grammar Besides Exact Online, over 50 other platforms are supported. The list is avalable at: www.invantive.com/products/invantive-sql/providerlist
PrivateGLAccount
DocumentCategories rdcy, #ID
AccountOwners raor
Me rsme
CurrentDivision
TaskTypes rtte, #ID
Accounts Accounts: ract, #ID Documents rdct, #ID
UserRoles rure
PaymentInTransitAccount
VATNonDeductibleGLAccount
SalesOrders Sales: rsod, #OrderNumber InvolvedUserRoles riue, #ID
BankAccounts Accounts: rbat, #ID
Legislations domlln, #code
VatSystems domvsm, #code
ServiceRequests (subtype of Tasks) rsrt, #ID
Transactions Transaction: rtxn, #EntryNumber
Projects Project: rpjt, #ID
Documents Documents: rdct, #ID
Banks Mailbox: rcbk, #ID
Journals rjnl, #ID
Pointers IdentificationUser
Returns rrtn
PaymentServiceProviders dompsp, #code
ComplaintStatuses domcss, #code
- Invantive SQL supports over 700 tables on Exact Online, through REST, XML, Domains and Views.
ExchangeRates rere
Period
EventStatuses domess, #code
Notes
PriceLists Sales: rspl, #ID
JournalStatusList rjst
Events (subtype of Tasks) revt, #ID
- systempartitions: list of all divisions, - systemtables: list of all tables, - sessionios: actual API calls made, including URL.
Parent
DepreciationMethods rdmd, #ID
AssetFrom
Documents
Metadata and execution data on Exact Online API access can be retrieved from the Invantive SQL data dictionary, such as:
Reseller
InvoiceAccount
Costunits Payroll: rcut, #Code
Accountancy
* exactonlinerest..items@eolnl exactonlinerest..items@eolfr ... products@salesforceorg1 ...
Data Dictionary
Accountant
Costcenters Payroll: rccr, #Code
DirectDebitMandatePaymentTypes domdmy, #code
select from join on join on
GLAP
GLAccounts Financial: rgat, #ID
Transactions Transaction: rtxn, #EntryNr DirectDebitMandateTypes domdma, #code
InvoicingMethods domimd, #code
Invantive SQL allows global access for Exact Online and other cloud platforms by each SQL statement using a distributed database connection. Such a distributed database requires changes in the settings.xml file and allows the use of aliases per Exact Online country or other cloud platforms. For instance, this query operates on data in France, the Netherlands and Salesforce:
GLAccountSales
AssetStatuses domass, #code
Assets rast, #ID
DirectDebitMandates rdde, #ID
ReceivableStatuses domrss, #code
VatDocTypes domvde, #code
EngineTypes domete, #code
BankAccount
ReceivableSources domrse, #code
VatPercentages rvpe
BankAccountTypes dombae, #code
InvestmentAccount
AccountBankAccountID
Invantive SQL statements operate on one or more divisions in a country. The syntax 'use NUMBER, NUMBER, ...' selects some specific divisions to work with. The syntax 'use all' selects all divisions and 'use select code from systemdivisions limit 10' selects 10 randomly chosen divisions.
AccountTypes domate, #code
VATTransactionType
PaymentMethods dompmd, #code
A user can see all (internal and external) accessible divisions in SystemDivisions. HRMDivisions shows only the divisions of the customer of the user’s last selected division in Exact Online. Use HRMDivisions only in very specific use cases. In AllAdministrationClassifications a user can find the classifications of all accessible divisions.
GLToPay
EuSalesListings domesg, #code
Each division is assigned to a customer identified by a number. A real-life organization can have multiple customer numbers in one or multiple countries. A customer number can have multiple divisions. A customer number can have one or more users that can access some or all divisions of that customer. Accountancy customers can have divisions of their own, so-called “internal divisions”. Accountancy customers can also have access to the divisions of other Exact Online customers, so-called “external divisions”.
PurchaseVATCode
GLAccounts Financial: rgat, #ID
GLDiscountSales
Projects Project: rpjt, #ID
GLAccounts Financial: rgat, #ID
VATCalculation
TransactionTypes Transaction: domtte, #code
Person
VATCodes VAT: rvce, #ID
Account
GLDiscountPurchase
Documents Documents: rdct, #ID
AccountMainContact
Costunits Payroll: rcut, #Code
Purchase
Accounts Accounts: ract, #ID
AddressStates rase, #State
VatTypes domvte, #code
Divisions Each country is partitioned into smaller pieces, called "divisions". Each division has a country-wide unique number. The division number never changes and is in general different from the number assigned by the customer. Division 1 is for Exact Online itself and contains for instance the customers and the custom applications (”apps”) metadata. All other divisions are used for accounting and are known as "Administratie" (Dutch), "Dossier" (Flemish), "Mandant" (German), "Company" (UK), etc.
Contacts rctt, #ID
MainContact
Each Exact Online country is separated from other Exact Online countries. A separate Exact Online country as a whole can be in the same data center as other countries, or geographically located somewhere else. The list of user interface languages available varies per country; e.g. in Belgium there are four: French, Flemish, English and German.
BankStatuses dombks, #code
Items Logistics: ritm, #ID Costunits Payroll: rcut, #Code
Recipient
Recipient
Budgets rbgt
Sender
OriginalMessage
SystemDivisions System: rsdn, #Code
Mailboxes rmbx, #ID Recipient
ForDivision
Sender
MailMessageAttachments rmmt
MailMessagesSent rmms, #ID
Accounts Accounts: ract, #ID
Costcenters Payroll: rccr, #Code
And through OEM and white label products such as Auxil Excel Add-in voor Exact Online.
Legend Topic
Group of related tables
Transactional Data
Technical Data
Countrywide Setup
Setup Data
Defined in other topic
Hard-coded Values
Only very specific aggregation APIs have been included which are known to be useful in many occasions such as ReportingBalance. All other tables contain detail data. Only the REST API table has been included when a data set is available both as XML as well as REST table. The XML table might however contain columns not available in the REST table. The XML tables have similar or identical names to the REST API tables; try first to prefix the REST API table name with “XML.”. Whenever possible, relationships are based on GUIDs. Historically, Exact Online also has used relationships based upon numbers and codes. These relationships are used here when a relationship is not available through the APIs using a GUID. A label is shown on a relationship only when required for correct interpretation.
OriginalMessage Sender
Colofon
Recipient Sender Recipient Sender
When you find any errors or have remarks on this poster, please send them to support@invantive.com. Data model copyright by holder of intellectual rights Exact Online. Design and editing by Invantive BV. Request a free copy through support@invantive.com. Digital versions available through https://download.invantive.com/exact-online. Released November 2017.
www.invantive.com info@invantive.com +31 88 00 26 500
Also made possible by: