TransactionLines: Exact Online Transaction Lines
This page is partly available in your language; the rest is shown in the original version.
read only per partition webhook REST
- Katalog:
ExactOnlineREST - Schema:
FinancialTransaction - Primärnycklar:
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.
Uppgifterna i denna tabell är uppdelade efter värdena i kolumnen Division.
Kan endast hämta data.
Sammanfattning
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.
Ändringar skickas via webhook-ämnet FinancialTransactions på EntryID.
API-källa
- Slutpunkt:
/api/v1/{division}/financialtransaction/TransactionLines - Metadata:
/api/v1/{division}/financialtransaction/$metadata
Prestandakarakteristika
| Egenskap | Värde |
|---|---|
| Genomsnittlig åtkomstfördröjning (ms) | 5 |
| Antal rader per minut vid fullskanning | 7,200 |
| Antal rader per minut i punktfrågor | 300 |
| Skriv rader per minut | 300 |
Resultatet kan lagras i cache på klientsidan.
Tabellkolumner
Tabellens kolumner TransactionLines visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.
| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|---|---|---|
Account |
guid |
Konto | filtreras på plattformen, skrivbar | Reference to account. | |
Account |
varchar2 |
Kontokod | filtreras på plattformen, skrivbar | Code of the Account. | |
Account |
varchar2 |
Kontonamn | writable | Name of account. | |
Amount |
double |
Belopp Avdelning Valuta | writable | Amount in the default currency of the company. | |
Amount |
double |
Belopp i utländsk valuta | writable | Amount in the currency of the transaction. | |
Amount |
double |
Belopp Momsbas Utländsk valuta | writable | Vat base amount in the currency of the transaction. | |
Amount |
double |
Belopp Moms Utländsk valuta | writable | Vat amount in the currency of the transaction. | |
Asset |
guid |
Tillgång | filtreras på plattformen, skrivbar | Reference to asset. | |
Asset |
varchar2 |
Tillgångskod | writable | Code of Asset. | |
Asset |
varchar2 |
Beskrivning av tillgången | writable | Description of Asset. | |
Cost |
varchar2 |
Kostnadsställe | filtreras på plattformen, skrivbar | Reference to cost center. | |
Cost |
varchar2 |
Beskrivning av kostnadsställe | writable | Description of CostCenter. | |
Cost |
varchar2 |
Kostnadsenhet | filtreras på plattformen, skrivbar | Reference to cost unit. | |
Cost |
varchar2 |
Kostnad Enhet Beskrivning | writable | Description of CostUnit. | |
Created |
datetime |
Skapad | writable | Skapelsedatum. | |
Created |
datetime |
Skapad (UTC) | writable | Skapelsedatum i UTC. | |
Creator |
guid |
Skapare | writable | Användar-ID för skaparen. | |
Creator |
varchar2 |
Skaparens fullständiga namn | writable | Skaparens namn. | |
Currency |
varchar2 |
Valuta | writable | Currency. | |
Custom |
varchar2 |
Anpassat fält | writable | ||
Date |
datetime |
Datum | filtreras på plattformen, skrivbar | Date. | |
Description |
varchar2 |
Beskrivning | filtreras på plattformen, skrivbar | Description. | |
Display |
varchar2 |
Visa dokument (URL) | writable | URL to display documents attached to this transaction using Get My Report. | |
Division |
int32 |
Avdelning | Divisionskod. | ||
Division |
varchar2 |
Avdelningens handelskammarnummer | writable | Handelsregisternummer för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelningens IBAN-nummer | writable | IBAN-nummer för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelning Företagsnamn | writable | Företagsnamn för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelning RSIN-nummer | writable | RSIN-nummer för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelningens momsregistreringsnummer | writable | Momsnummer för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelningsnummer för löneskatt | writable | Löneskattenummer för Exact Online-divisionen. | |
Division |
varchar2 |
Avdelningsetikett | writable | Etikett för Exact Online-divisionen. | |
Division |
varchar2 |
Administrationsnamn | writable | Namn på Exact Online-divisionen. | |
Division |
varchar2 |
Abonnentens namn | writable | Namnet på kundkontot i division 1 som äger Exact Online-abonnemanget som denna division tillhör. | |
Division |
varchar2 |
Abonnentnummer | writable | Numret på kundkontot i division 1 som äger Exact Online-abonnemanget som denna division tillhör. | |
Division |
int64 |
Avdelningens kortnamn | writable | Kortnamn för Exact Online-divisionen. | |
Document |
guid |
Dokument | filtreras på plattformen, skrivbar | Reference to document. | |
Document |
int32 |
Dokumentnummer | writable | Number of the document. | |
Document |
varchar2 |
Dokumentets ämne | writable | Subject of the document. | |
Due |
datetime |
Förfallodatum | writable | Date that payment should be done. | |
Entry |
guid |
Post-ID | filtreras på plattformen, skrivbar | The transaction lines that make up a financial entry share the same EntryID. | |
Entry |
int32 |
Deltagarnummer | filtreras på plattformen, skrivbar | Entry number of the header. | |
Exchange |
double |
Växelkurs | writable | Exchange rate. | |
External |
varchar2 |
Beskrivning av extern länk | writable | ||
External |
varchar2 |
Referens till extern länk | writable | ||
Extra |
double |
Tilläggsavgift i utländsk valuta | writable | Extra duty amount. | |
Extra |
double |
Övertid (%) | writable | Extra duty percentage. | |
Financial |
int16 |
Räkenskapsperiod | filtreras på plattformen, skrivbar | Redovisningsperiod. | |
Financial |
int16 |
Räkenskapsår | filtreras på plattformen, skrivbar | Räkenskapsår. | |
GL |
guid |
Huvudbokskonto | filtreras på plattformen, skrivbar | Huvudbokskonto. | |
GL |
varchar2 |
GL-kontots saldo – sida | writable | Balance side of transactions on this GL account. | |
GL |
varchar2 |
GL-kontots saldotyp | writable | Balance type of transactions on this GL account, being either 'B' for Balance or 'W' for Profit and Loss. | |
GL |
varchar2 |
GL-kontokod | filtreras på plattformen, skrivbar | Code of the G/L account. | |
GL |
varchar2 |
GL-kontobeskrivning | writable | Description of the G/L account. | |
GL |
char |
GL-konto – Omvärdering av valuta | writable | Whether to revalue amounts posted on this GL account. | |
GL |
varchar2 |
GL-kontosökningskod | writable | User-friendly search code for the GL account. | |
GL |
int32 |
GL-kontotyp | writable | Type of GL account.See view GLAccountTypes. | |
GL |
varchar2 |
GL-kontotyp – Beskrivning | writable | Description of the GL account type. | |
GL |
char |
Använd kostnadsställe | writable | Indicator whether to use cost centers for transaction lines on the GL account. | |
GL |
char |
Användningskostnad per enhet | writable | Indicator whether to use cost units for transaction lines on the GL account. | |
GL |
varchar2 |
Mervärdesskattekod för huvudbokskonto | writable | Associated VAT code of the GL account. | |
ID |
guid |
ID | filtreras på plattformen, skrivbar | Primärnyckel. | |
Invoice |
int32 |
Fakturanummer | filtreras på plattformen, skrivbar | Invoice number. | |
Item |
guid |
Artikel | filtreras på plattformen, skrivbar | Reference to item. | |
Item |
varchar2 |
Artikelnummer | writable | Code of Item. | |
Item |
varchar2 |
Produktbeskrivning | writable | Description of Item. | |
Journal |
varchar2 |
Tidskriftskod | filtreras på plattformen, skrivbar | The journal code. | |
Journal |
varchar2 |
Tidskriftsbeskrivning | writable | The journal description. | |
Line |
int32 |
Radnummer | writable | Radnummer. | |
Line |
int16 |
Linjetyp | writable | Line type. | |
Modified |
datetime |
Modifierad | filtreras på plattformen, skrivbar | Datum för senaste ändring. | |
Modified |
datetime |
Ändrat (UTC) | writable | Datum för senaste ändring i UTC. | |
Modifier |
guid |
Modifierare | writable | Användar-ID för den som ändrat. | |
Modifier |
varchar2 |
Ändrat fullständigt namn | writable | Namn på den som ändrat. | |
Notes |
varchar2 |
Anteckningar | writable | Extra remarks. | |
Offset |
guid |
Offset-ID för huvudbokskonto | filtreras på plattformen, skrivbar | OffsetID. | |
Order |
int32 |
Beställningsnummer | filtreras på plattformen, skrivbar | Order number. | |
Payment |
double |
Rabattbelopp vid betalning | writable | Discount amount when paid in time. | |
Payment |
varchar2 |
Betalningsreferens | writable | Payment reference. | |
Project |
guid |
Projekt | filtreras på plattformen, skrivbar | Reference to project. | |
Project |
varchar2 |
Projektkod | filtreras på plattformen, skrivbar | Code of Project. | |
Project |
varchar2 |
Projektbeskrivning | writable | Description of Project. | |
Project |
guid |
Projektets arbetsfördelningsstruktur (WBS) | writable | Project WBS ID. | |
Project |
varchar2 |
Beskrivning av projektets arbetsfördelningsstruktur (WBS) | writable | Project WBS description. | |
Quantity |
double |
Mängd | writable | Quantity. | |
Serial |
varchar2 |
Serienummer | writable | Serial number of item. | |
Shop |
guid |
Inköpsorder | filtreras på plattformen, skrivbar | Reference to shop order. | |
Status |
int16 |
Status | filtreras på plattformen, skrivbar | 20 = Open, 50 = Processed. | |
Subscription |
guid |
Prenumeration | filtreras på plattformen, skrivbar | Reference to subscription line. | |
Subscription |
varchar2 |
Beskrivning av prenumerationen | writable | Description of subscription line. | |
Tracking |
varchar2 |
Spårningsnummer | writable | Tracking number of item. | |
Tracking |
varchar2 |
Beskrivning av spårningsnummer | writable | Tracking number description. | |
Type |
int32 |
Typ | filtreras på plattformen, skrivbar | The transaction type.Possible values: see TransactionLineTypes. | |
VAT |
varchar2 |
Momsnummer | filtreras på plattformen, skrivbar | Momskod. | |
VAT |
varchar2 |
Momsnummer Beskrivning | writable | Description of VAT code. | |
VAT |
double |
Momsprocent | writable | Vat percentage. | |
VAT |
varchar2 |
Moms typ | filtreras på plattformen, skrivbar | VAT type. | |
Your |
varchar2 |
Ditt referensnummer | filtreras på plattformen, skrivbar | Your reference (of customer). |
Nycklar
| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
Transaction |
Account |
Accounts.ID |
Nyckel | |
Transaction |
Asset |
Assets.ID |
Nyckel | |
Transaction |
Cost |
Costcenters.Code |
Nyckel | |
Transaction |
Cost |
Costunits.Code |
Nyckel | |
Transaction |
Creator |
Users. |
Nyckel | |
Transaction |
Currency |
Currencies.Code |
Nyckel | |
Transaction |
Document |
Documents.ID |
Nyckel | |
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 |
Nyckel | |
Transaction |
Item |
Items.ID |
Nyckel | |
Transaction |
Journal |
Journals.Code |
Nyckel | |
Transaction |
Modifier |
Users. |
Nyckel | |
Transaction |
Project |
ProjectWBS.ID |
Nyckel | |
Transaction |
Project |
Projects.ID |
Nyckel | |
Transaction |
Shop |
ShopOrders.ID |
Nyckel | |
Transaction |
Subscription |
Subscriptions. |
Nyckel | |
Transaction |
Type |
TransactionTypes.code |
Nyckel | 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 |
Nyckel |
Refereras till av
- Assets
TransactionEntryID(nyckel) - Documents
FinancialTransactionEntryID(Textual) - DocumentsBulk
FinancialTransactionEntryID(Textuell)
Exempel på Query-frågor
--
-- 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
Anteckningar om utgivning
Vilka ändringar har skett i tabeller, kolumner, attribut och funktioner i drivrutinen för varje version: