TransactionLines: Exact Online Transaction Lines
read only per partition webhook REST
- Katalog:
ExactOnlineREST - Skjema:
FinancialTransaction - Primærnøkler:
ID - Label: Transaction Lines
The lines of financial entries: the general ledger, read through the regular Exact Online REST API at 60 rows per call.
Dataene i denne tabellen er partisjonert per verdi av Division kolonnen.
Kan kun hente data.
Sammendrag
The same rows are available as TransactionLinesBulk (the bulk API, 1,000 rows per call, read-only) and as TransactionLinesIncremental (a local copy kept current through the sync API). A select on TransactionLines which can return more than 60 rows is read from TransactionLinesBulk by the driver itself, when TransactionLinesBulk filters on the platform on the same columns and has every column the select uses (provider attribute use-bulk-for-select, default true); the rows can then come in another order. TransactionLines is the one of them that can be written to. Exact Online answers a request on this table only when it filters on one of a fixed set of columns; those columns are filtered on the platform. A query that filters only on other columns reads all rows and filters them afterwards. Exact Online accepts a filter on FinancialYear only together with FinancialPeriod, and the other way round; the driver adds the missing one itself. Special line numbers: LineNumber 0 holds the total of an entry on the account of the customer or supplier and LineNumber 9999 its VAT; the lines of a general journal entry can lack a LineNumber. Leave out 0 and 9999 to sum the lines of entries; LineNumber = 0 gives one row per sales or purchase entry, as the obsolete table Transactions did. See https://forums.invantive.com/t/1855.
Endringer kommer inn via webhook-emnet FinancialTransactions på EntryID.
API-kilde
- Endepunkt:
/api/v1/{division}/financialtransaction/TransactionLines - Metadata:
/api/v1/{division}/financialtransaction/$metadata
Ytelsesegenskaper
| Karakteristisk | Verdi |
|---|---|
| Gjennomsnittlig tilgangsforsinkelse (ms) | 5 |
| Antall rader per minutt ved full skanning | 7,200 |
| Antall rader i punkt-Query-forespørsler per minutt | 300 |
| Skriv rader per minutt | 300 |
Resultatet kan lagres i hurtigbufferen på klienten.
Tabellkolonner
Kolonnene i tabellen TransactionLines vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.
| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|---|---|---|
Account |
guid |
Konto | filtre i plattformen, skrivbar | Reference to account. | |
Account |
varchar2 |
Kontokode | filtre i plattformen, skrivbar | Code of the Account. | |
Account |
varchar2 |
Kontonavn | writable | Name of account. | |
Amount |
double |
Beløp Sektor Valuta | writable | Amount in the default currency of the company. | |
Amount |
double |
Beløp i utenlandsk valuta | writable | Amount in the currency of the transaction. | |
Amount |
double |
Beløp MVA-grunnlag Utenlandsk valuta | writable | Vat base amount in the currency of the transaction. | |
Amount |
double |
Beløp MVA Utenlandsk valuta | writable | Vat amount in the currency of the transaction. | |
Asset |
guid |
Ressurs | filtre i plattformen, skrivbar | Reference to asset. | |
Asset |
varchar2 |
Eiendelskode | writable | Code of Asset. | |
Asset |
varchar2 |
Beskrivelse av eiendelen | writable | Description of Asset. | |
Cost |
varchar2 |
Kostnadssenter | filtre i plattformen, skrivbar | Reference to cost center. | |
Cost |
varchar2 |
Beskrivelse av kostnadssenter | writable | Description of CostCenter. | |
Cost |
varchar2 |
Kostnadsenhet | filtre i plattformen, skrivbar | Reference to cost unit. | |
Cost |
varchar2 |
Kostnadsenhet Beskrivelse | writable | Description of CostUnit. | |
Created |
datetime |
Opprettet | writable | Opprettelsesdato. | |
Created |
datetime |
Opprettet (UTC) | writable | Creation date in UTC. | |
Creator |
guid |
Opphavsmann | writable | User ID of creator. | |
Creator |
varchar2 |
Opphavsmannens fulle navn | writable | Name of creator. | |
Currency |
varchar2 |
Valuta | writable | Currency. | |
Custom |
varchar2 |
Egendefinert felt | writable | ||
Date |
datetime |
Dato | filtre i plattformen, skrivbar | Date. | |
Description |
varchar2 |
Beskrivelse | filtre i plattformen, skrivbar | Description. | |
Display |
varchar2 |
Vis dokumenter (URL) | writable | URL to display documents attached to this transaction using Get My Report. | |
Division |
int32 |
Divisjon | Division code. | ||
Division |
varchar2 |
Divisjonens handelskammer-nummer | writable | Chamber of commerce number of the Exact Online division. | |
Division |
varchar2 |
Divisjonens IBAN-nummer | writable | IBAN number of the Exact Online division. | |
Division |
varchar2 |
Divisjon Selskapets navn | writable | Company name of the Exact Online division. | |
Division |
varchar2 |
Divisjon RSIN-nummer | writable | RSIN number of the Exact Online division. | |
Division |
varchar2 |
Avdelingens MVA-nummer | writable | VAT number of the Exact Online division. | |
Division |
varchar2 |
Divisjonsnummer for lønnsskatt | writable | Wage tax number of the Exact Online division. | |
Division |
varchar2 |
Divisjonsbetegnelse | writable | Label of the Exact Online division. | |
Division |
varchar2 |
Administrasjonsnavn | writable | Name of the Exact Online division. | |
Division |
varchar2 |
Navn på abonnent | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
varchar2 |
Abonnentnummer | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
int64 |
Kortnavn på avdeling | writable | Short name of the Exact Online division. | |
Document |
guid |
Dokument | filtre i plattformen, skrivbar | Reference to document. | |
Document |
int32 |
Dokumentnummer | writable | Number of the document. | |
Document |
varchar2 |
Dokumentets emne | writable | Subject of the document. | |
Due |
datetime |
Forfallsdato | writable | Date that payment should be done. | |
Entry |
guid |
Oppførings-ID | filtre i plattformen, skrivbar | The transaction lines that make up a financial entry share the same EntryID. | |
Entry |
int32 |
Oppføringsnummer | filtre i plattformen, skrivbar | Entry number of the header. | |
Exchange |
double |
Valutakurs | writable | Exchange rate. | |
External |
varchar2 |
Beskrivelse av ekstern lenke | writable | ||
External |
varchar2 |
Referanse til ekstern lenke | writable | ||
Extra |
double |
Tilleggsbeløp i utenlandsk valuta | writable | Extra duty amount. | |
Extra |
double |
Ekstra avgift (%) | writable | Extra duty percentage. | |
Financial |
int16 |
Regnskapsperiode | filtre i plattformen, skrivbar | Regnskapsperiode. | |
Financial |
int16 |
Regnskapsår | filtre i plattformen, skrivbar | Regnskapsår. | |
GL |
guid |
Hovedbokskonto | filtre i plattformen, skrivbar | Hovedbokskonto. | |
GL |
varchar2 |
Side for kontosaldo i GL | writable | Balance side of transactions on this GL account. | |
GL |
varchar2 |
GL-kontosaldo-type | writable | Balance type of transactions on this GL account, being either 'B' for Balance or 'W' for Profit and Loss. | |
GL |
varchar2 |
GL-kontokode | filtre i plattformen, skrivbar | Code of the G/L account. | |
GL |
varchar2 |
Beskrivelse av GL-konto | writable | Description of the G/L account. | |
GL |
char |
GL-konto – Valuta-justering | writable | Whether to revalue amounts posted on this GL account. | |
GL |
varchar2 |
GL-kontosøkekode | writable | User-friendly search code for the GL account. | |
GL |
int32 |
GL-kontotype | writable | Type of GL account.See view GLAccountTypes. | |
GL |
varchar2 |
GL-kontotype – Beskrivelse | writable | Description of the GL account type. | |
GL |
char |
Bruk kostnadssenter | writable | Indicator whether to use cost centers for transaction lines on the GL account. | |
GL |
char |
Bruk kostnadsenhet | writable | Indicator whether to use cost units for transaction lines on the GL account. | |
GL |
varchar2 |
MVA-kode for hovedbokskonto | writable | Associated VAT code of the GL account. | |
ID |
guid |
ID | filtre i plattformen, skrivbar | Primary key. | |
Invoice |
int32 |
Fakturanummer | filtre i plattformen, skrivbar | Invoice number. | |
Item |
guid |
Element | filtre i plattformen, skrivbar | Reference to item. | |
Item |
varchar2 |
Varekode | writable | Code of Item. | |
Item |
varchar2 |
Produktbeskrivelse | writable | Description of Item. | |
Journal |
varchar2 |
Tidsskriftkode | filtre i plattformen, skrivbar | The journal code. | |
Journal |
varchar2 |
Beskrivelse av tidsskriftet | writable | The journal description. | |
Line |
int32 |
Linjenummer | writable | Linjenummer. | |
Line |
int16 |
Linjetype | writable | Line type. | |
Modified |
datetime |
Endret | filtre i plattformen, skrivbar | Dato for siste endring. | |
Modified |
datetime |
Endret (UTC) | writable | Last modified date in UTC. | |
Modifier |
guid |
Modifikator | writable | User ID of modifier. | |
Modifier |
varchar2 |
Endret fullt navn | writable | Name of modifier. | |
Notes |
varchar2 |
Notater | writable | Extra remarks. | |
Offset |
guid |
Offset GL-konto-ID | filtre i plattformen, skrivbar | OffsetID. | |
Order |
int32 |
Ordrenummer | filtre i plattformen, skrivbar | Order number. | |
Payment |
double |
Rabattbeløp ved betaling | writable | Discount amount when paid in time. | |
Payment |
varchar2 |
Betalingsreferanse | writable | Payment reference. | |
Project |
guid |
Prosjekt | filtre i plattformen, skrivbar | Reference to project. | |
Project |
varchar2 |
Prosjektkode | filtre i plattformen, skrivbar | Code of Project. | |
Project |
varchar2 |
Prosjektbeskrivelse | writable | Description of Project. | |
Project |
guid |
Prosjektets WBS | writable | Project WBS ID. | |
Project |
varchar2 |
Beskrivelse av prosjektets WBS | writable | Project WBS description. | |
Quantity |
double |
Mengde | writable | Quantity. | |
Serial |
varchar2 |
Serienummer | writable | Serial number of item. | |
Shop |
guid |
Bestillingsnummer | filtre i plattformen, skrivbar | Reference to shop order. | |
Status |
int16 |
Status | filtre i plattformen, skrivbar | 20 = Open, 50 = Processed. | |
Subscription |
guid |
Abonnement | filtre i plattformen, skrivbar | Reference to subscription line. | |
Subscription |
varchar2 |
Beskrivelse av abonnementet | writable | Description of subscription line. | |
Tracking |
varchar2 |
Sporingsnummer | writable | Tracking number of item. | |
Tracking |
varchar2 |
Beskrivelse av sporingsnummer | writable | Tracking number description. | |
Type |
int32 |
Skriv | filtre i plattformen, skrivbar | The transaction type.Possible values: see TransactionLineTypes. | |
VAT |
varchar2 |
MVA-kode | filtre i plattformen, skrivbar | MVA-kode. | |
VAT |
varchar2 |
MVA-kode Beskrivelse | writable | Description of VAT code. | |
VAT |
double |
MVA-sats | writable | Vat percentage. | |
VAT |
varchar2 |
MVA Type | filtre i plattformen, skrivbar | VAT type. | |
Your |
varchar2 |
Din referanse | filtre i plattformen, skrivbar | Your reference (of customer). |
Nøkler
| Nøkkel | Spalte | Betegner | Vennlig | Beskrivelse |
|---|---|---|---|---|
Transaction |
Account |
Accounts.ID |
Nøkkel | |
Transaction |
Asset |
Assets.ID |
Nøkkel | |
Transaction |
Cost |
Costcenters.Code |
Nøkkel | |
Transaction |
Cost |
Costunits.Code |
Nøkkel | |
Transaction |
Creator |
Users. |
Nøkkel | |
Transaction |
Currency |
Currencies.Code |
Nøkkel | |
Transaction |
Document |
Documents.ID |
Nøkkel | |
Transaction |
GL |
GLAccountTypes.code |
Kandidat | Named after the domain; 18 distinct values in the sandbox division on 2026-12-01, all codes of the domain. |
Transaction |
GL |
GLAccounts.ID |
Nøkkel | |
Transaction |
Item |
Items.ID |
Nøkkel | |
Transaction |
Journal |
Journals.Code |
Nøkkel | |
Transaction |
Modifier |
Users. |
Nøkkel | |
Transaction |
Project |
ProjectWBS.ID |
Nøkkel | |
Transaction |
Project |
Projects.ID |
Nøkkel | |
Transaction |
Shop |
ShopOrders.ID |
Nøkkel | |
Transaction |
Subscription |
Subscriptions. |
Nøkkel | |
Transaction |
Type |
TransactionTypes.code |
Nøkkel | The documentation of the column lists the codes: The transaction type.10 = Opening balance 142 = Issue to parent (Exact Online REST reference, 2026-12-01) |
Transaction |
VAT |
VATCodes.Code |
Nøkkel |
Referert av
- Assets
TransactionEntryID(nøkkel) - Documents
FinancialTransactionEntryID(Textual) - DocumentsBulk
FinancialTransactionEntryID(Tekstlig)
Eksempler på Query
--
-- Financial transaction lines from all journals and selected companies. Note that LineNumber 0 reflects the header and 9999 the VAT.
--
-- Table documentation: https://documentation.invantive.eu/2017R2/exact-online-data-model/webhelp/exact-online-connector-exactonlinerest-incremental-transactionlinesincremental.html
--
-- Related forum post: https://forums.invantive.eu/t/recommended-and-popular-exact-online-tables-for-2022/2340
--
select *
from ExactOnlineREST.Incremental.TransactionLinesIncremental@eol
limit 100
Utgivelsesmerknader
Hva som har endret seg fra versjon til versjon når det gjelder tabeller, kolonner, attributter og funksjonalitet i driveren: