invantive-dokumentationen del af invantive cloud
Invantive Support ForumsLog ind / Tilmeld dig

TransactionLines: Exact Online Transaction Lines

read only per partition webhook REST

  • Katalog: ExactOnlineREST
  • Skema: FinancialTransaction
  • Primærnøgler: 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 tabel er partitioneret efter værdien af kolonnen Division.

Kan kun hente data.

Resumé

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.

Ændringer modtages via webhook-emnet FinancialTransactions på EntryID.

API-kilde

  • Endepunkt: /api/v1/{division}/financialtransaction/TransactionLines
  • Metadata: /api/v1/{division}/financialtransaction/$metadata

Ydeevneegenskaber

Karakteristika Værdi
Gennemsnitlig adgangsforsinkelse (ms) 5
Antal rækker pr. minut ved fuld scanning 7,200
Antal Query-rækker pr. minut 300
Skriv rækker pr. minut 300

Resultatet kan gemmes i cachen på klienten.

Tabelkolonner

Tabellens kolonner TransactionLines er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

Navn Datatype Etiket Krævet Mærker Dokumentation
Account guid Konto filtre på platformen, skrivbar Reference to account.
AccountCode varchar2(18) Kontokode filtre på platformen, skrivbar Code of the Account.
AccountName varchar2(50) Kontonavn writable Name of account.
AmountDC double Beløb Opdeling Valuta writable Amount in the default currency of the company.
AmountFC double Beløb i fremmed valuta writable Amount in the currency of the transaction.
AmountVATBaseFC double Beløb Momsgrundlag Udenlandsk valuta writable Vat base amount in the currency of the transaction.
AmountVATFC double Beløb Moms Udenlandsk Valuta writable Vat amount in the currency of the transaction.
Asset guid Aktiv filtre på platformen, skrivbar Reference to asset.
AssetCode varchar2(30) Aktivkode writable Code of Asset.
AssetDescription varchar2(60) Beskrivelse af aktivet writable Description of Asset.
CostCenter varchar2(8) Omkostningscenter filtre på platformen, skrivbar Reference to cost center.
CostCenterDescription varchar2(60) Beskrivelse af omkostningssted writable Description of CostCenter.
CostUnit varchar2(8) Omkostningsenhed filtre på platformen, skrivbar Reference to cost unit.
CostUnitDescription varchar2(60) Omkostningsenhed – Beskrivelse writable Description of CostUnit.
Created datetime Oprettet writable Oprettelsesdato.
CreatedUtc datetime Oprettet (UTC) writable Creation date in UTC.
Creator guid Skaber writable User ID of creator.
CreatorFullName varchar2(240) Skaberens fulde navn writable Name of creator.
Currency varchar2(30) Valuta writable Currency.
CustomField varchar2 Brugerdefineret felt writable
Date datetime Dato filtre på platformen, skrivbar Date.
Description varchar2(60) Beskrivelse filtre på platformen, skrivbar Description.
DisplayDocumentsUrl varchar2 Vis dokumenter (URL) writable URL to display documents attached to this transaction using Get My Report.
Division int32 Afdeling Division code.
DivisionCompanyCoCNumber varchar2(60) Afdelingsnummer i Handelskammeret writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Afdelingens IBAN-nummer writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) Afdeling Virksomhedsnavn writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Afdeling RSIN-nummer writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Afdelingens momsregistreringsnummer writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Afdelingsnummer for lønskat writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Afdelingsbetegnelse writable Label of the Exact Online division.
DivisionName varchar2(50) Administrationsnavn writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Abonnentens navn writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Abonnentnummer writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Afdelingens korte navn writable Short name of the Exact Online division.
Document guid Dokument filtre på platformen, skrivbar Reference to document.
DocumentNumber int32 Dokumentnummer writable Number of the document.
DocumentSubject varchar2(256) Dokumentets emne writable Subject of the document.
DueDate datetime Forfaldsdato writable Date that payment should be done.
EntryID guid Indtastnings-ID filtre på platformen, skrivbar The transaction lines that make up a financial entry share the same EntryID.
EntryNumber int32 Løbsnummer filtre på platformen, skrivbar Entry number of the header.
ExchangeRate double Valutakurs writable Exchange rate.
ExternalLinkDescription varchar2 Beskrivelse af eksternt link writable
ExternalLinkReference varchar2 Reference til eksternt link writable
ExtraDutyAmountFC double Ekstra afgiftsbeløb i udenlandsk valuta writable Extra duty amount.
ExtraDutyPercentage double Ekstra afgift (%) writable Extra duty percentage.
FinancialPeriod int16 Regnskabsår filtre på platformen, skrivbar Regnskabsperiode.
FinancialYear int16 Regnskabsår filtre på platformen, skrivbar Regnskabsår.
GLAccount guid Hovedbogskonto filtre på platformen, skrivbar General ledger account.
GLAccountBalanceSide varchar2(1) GL-kontosaldo – side writable Balance side of transactions on this GL account.
GLAccountBalanceType varchar2(1) GL-kontosaldo-type writable Balance type of transactions on this GL account, being either 'B' for Balance or 'W' for Profit and Loss.
GLAccountCode varchar2(30) GL-kontonummer filtre på platformen, skrivbar Code of the G/L account.
GLAccountDescription varchar2(60) GL-kontobeskrivelse writable Description of the G/L account.
GLAccountRevalueCurrency char GL-konto – Valuta-justering writable Whether to revalue amounts posted on this GL account.
GLAccountSearchCode varchar2(9) GL-kontosøgningskode writable User-friendly search code for the GL account.
GLAccountType int32 GL-kontotype writable Type of GL account.See view GLAccountTypes.
GLAccountTypeDescription varchar2 GL-kontotype – beskrivelse writable Description of the GL account type.
GLAccountUseCostCenter char Brug omkostningscenter writable Indicator whether to use cost centers for transaction lines on the GL account.
GLAccountUseCostUnit char Brugsomkostningsenhed writable Indicator whether to use cost units for transaction lines on the GL account.
GLAccountVatCode varchar2(3) Moms-kode for hovedbogskonto writable Associated VAT code of the GL account.
ID guid ID filtre på platformen, skrivbar Primary key.
InvoiceNumber int32 Fakturanummer filtre på platformen, skrivbar Invoice number.
Item guid Vare filtre på platformen, skrivbar Reference to item.
ItemCode varchar2(30) Varenummer writable Code of Item.
ItemDescription varchar2(255) Varebeskrivelse writable Description of Item.
JournalCode varchar2(20) Tidsskriftkode filtre på platformen, skrivbar The journal code.
JournalDescription varchar2(60) Tidsskriftbeskrivelse writable The journal description.
LineNumber int32 Linjenummer writable Line number.
LineType int16 Linjetype writable Line type.
Modified datetime Ændret filtre på platformen, skrivbar Dato for seneste ændring.
ModifiedUtc datetime Ændret (UTC) writable Last modified date in UTC.
Modifier guid Modifikator writable User ID of modifier.
ModifierFullName varchar2(240) Ændret fuldt navn writable Name of modifier.
Notes varchar2 Noter writable Extra remarks.
OffsetID guid Offset-GL-konto-ID filtre på platformen, skrivbar OffsetID.
OrderNumber int32 Ordrenummer filtre på platformen, skrivbar Order number.
PaymentDiscountAmount double Beløb for betalingsrabat writable Discount amount when paid in time.
PaymentReference varchar2(60) Betalingsreferencer writable Payment reference.
Project guid Projekt filtre på platformen, skrivbar Reference to project.
ProjectCode varchar2(20) Projektkode filtre på platformen, skrivbar Code of Project.
ProjectDescription varchar2(60) Projektbeskrivelse writable Description of Project.
ProjectWBS guid Projektets WBS writable Project WBS ID.
ProjectWBSDescription varchar2 Beskrivelse af projektets WBS writable Project WBS description.
Quantity double Antal writable Quantity.
SerialNumber varchar2(30) Serienummer writable Serial number of item.
ShopOrder guid Indkøbsordre filtre på platformen, skrivbar Reference to shop order.
Status int16 Status filtre på platformen, skrivbar 20 = Open, 50 = Processed.
Subscription guid Abonnement filtre på platformen, skrivbar Reference to subscription line.
SubscriptionDescription varchar2(60) Beskrivelse af abonnementet writable Description of subscription line.
TrackingNumber varchar2(100) Sporingsnummer writable Tracking number of item.
TrackingNumberDescription varchar2(240) Beskrivelse af sporingsnummer writable Tracking number description.
Type int32 Type filtre på platformen, skrivbar The transaction type.Possible values: see TransactionLineTypes.
VATCode varchar2(3) Momsnummer filtre på platformen, skrivbar Momskode.
VATCodeDescription varchar2(60) Moms-kode Beskrivelse writable Description of VAT code.
VATPercentage double Momsprocent writable Vat percentage.
VATType varchar2(1) Moms-type filtre på platformen, skrivbar VAT type.
YourRef varchar2(60) Din henvisning filtre på platformen, skrivbar Your reference (of customer).

Nøgler

Nøgle Kolonne Henviser til Art Beskrivelse
TransactionLines_Account_Accounts_fk Account Accounts.ID Nøgle
TransactionLines_Asset_Assets_fk Asset Assets.ID Nøgle
TransactionLines_CostCenter_Costcenters_fk CostCenter Costcenters.Code Nøgle
TransactionLines_CostUnit_Costunits_fk CostUnit Costunits.Code Nøgle
TransactionLines_Creator_Users_fk Creator Users.UserID Nøgle
TransactionLines_Currency_Currencies_fk Currency Currencies.Code Nøgle
TransactionLines_Document_Documents_fk Document Documents.ID Nøgle
TransactionLines_GLAccountType_GLAccountTypes_cv GLAccountType GLAccountTypes.code Kandidat Named after the domain; 18 distinct values in the sandbox division on 2026-12-01, all codes of the domain.
TransactionLines_GLAccount_GLAccounts_fk GLAccount GLAccounts.ID Nøgle
TransactionLines_Item_Items_fk Item Items.ID Nøgle
TransactionLines_JournalCode_Journals_fk JournalCode Journals.Code Nøgle
TransactionLines_Modifier_Users_fk Modifier Users.UserID Nøgle
TransactionLines_ProjectWBS_ProjectWBS_fk ProjectWBS ProjectWBS.ID Nøgle
TransactionLines_Project_Projects_fk Project Projects.ID Nøgle
TransactionLines_ShopOrder_ShopOrders_fk ShopOrder ShopOrders.ID Nøgle
TransactionLines_Subscription_Subscriptions_fk Subscription Subscriptions.EntryID Nøgle
TransactionLines_Type_TransactionTypes_cv Type TransactionTypes.code Nøgle 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)
TransactionLines_VATCode_VATCodes_fk VATCode VATCodes.Code Nøgle

Henvist til af

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

Udgivelsesnoter

Hvilke ændringer der er sket i hver udgivelse med hensyn til driverens tabeller, kolonner, attributter og funktioner: