TransactionLines: Exact Online Transaction Lines
read only per partition webhook REST
- カタログ:
ExactOnlineREST - スキーマ:
FinancialTransaction - 主キー:
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.
この表のデータは、Division 列の値ごとにパーティション分けされています。
データの取得のみ可能です。
概要
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.
Changes arrive through the webhook topic FinancialTransactions on EntryID.
APIソース
- エンドポイント:
/api/v1/{division}/financialtransaction/TransactionLines - メタデータ:
/api/v1/{division}/financialtransaction/$metadata
性能特性
| 特徴 | 値 |
|---|---|
| 平均アクセス遅延(ms) | 5 |
| 全件スキャンの毎分行数 | 7,200 |
| ポイントクエリの毎分行数 | 300 |
| 書き込みの毎分行数 | 300 |
結果はクライアント側でキャッシュすることができます。
表の列
テーブル TransactionLines の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
Account |
guid |
アカウント | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to account. | |
Account |
varchar2 |
勘定科目コード | プラットフォーム上でフィルタ可能、書き込み可能 | Code of the Account. | |
Account |
varchar2 |
アカウント名 | writable | Name of account. | |
Amount |
double |
金額 区分 通貨 | writable | Amount in the default currency of the company. | |
Amount |
double |
金額 外貨 | writable | Amount in the currency of the transaction. | |
Amount |
double |
金額 付加価値税 課税標準 外貨 | writable | Vat base amount in the currency of the transaction. | |
Amount |
double |
金額 付加価値税 外貨 | writable | Vat amount in the currency of the transaction. | |
Asset |
guid |
資産 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to asset. | |
Asset |
varchar2 |
アセットコード | writable | Code of Asset. | |
Asset |
varchar2 |
資産の説明 | writable | Description of Asset. | |
Cost |
varchar2 |
コストセンター | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to cost center. | |
Cost |
varchar2 |
コストセンターの説明 | writable | Description of CostCenter. | |
Cost |
varchar2 |
原価単位 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to cost unit. | |
Cost |
varchar2 |
原価単位の説明 | writable | Description of CostUnit. | |
Created |
datetime |
作成されました | writable | 作成日。 | |
Created |
datetime |
Created | writable | UTCでの作成日。 | |
Creator |
guid |
クリエイター | writable | 作成者のユーザーID。 | |
Creator |
varchar2 |
クリエイターの氏名(フルネーム) | writable | 作成者の名前。 | |
Currency |
varchar2 |
通貨 | writable | Currency. | |
Custom |
varchar2 |
カスタムフィールド | writable | ||
Date |
datetime |
日付 | プラットフォーム上でフィルタ可能、書き込み可能 | Date. | |
Description |
varchar2 |
説明 | プラットフォーム上でフィルタ可能、書き込み可能 | Description. | |
Display |
varchar2 |
ドキュメントを表示(URL) | writable | URL to display documents attached to this transaction using Get My Report. | |
Division |
int32 |
部門 | 部門コード。 | ||
Division |
varchar2 |
部門商工会議所番号 | writable | Exact Online部門の商工会議所番号。 | |
Division |
varchar2 |
部門 IBAN番号 | writable | Exact Online部門のIBAN番号。 | |
Division |
varchar2 |
部門名・会社名 | writable | Exact Online部門の会社名。 | |
Division |
varchar2 |
部門 RSIN番号 | writable | Exact Online部門のRSIN番号。 | |
Division |
varchar2 |
部門のVAT番号 | writable | Exact Online部門の付加価値税番号。 | |
Division |
varchar2 |
部門別給与税番号 | writable | Exact Online部門の源泉徴収税番号。 | |
Division |
varchar2 |
部門ラベル | writable | Exact Online部門のラベル。 | |
Division |
varchar2 |
管理名 | writable | Exact Online部門の名前。 | |
Division |
varchar2 |
契約者名 | writable | この部門が属するExact Onlineサブスクリプションを所有する、部門1の顧客アカウント名。 | |
Division |
varchar2 |
契約者番号 | writable | この部門が属するExact Onlineサブスクリプションを所有する、部門1の顧客アカウント番号。 | |
Division |
int64 |
部門の略称 | writable | Exact Online部門の短い名前。 | |
Document |
guid |
書類 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to document. | |
Document |
int32 |
文書番号 | writable | Number of the document. | |
Document |
varchar2 |
文書の件名 | writable | Subject of the document. | |
Due |
datetime |
期日 | writable | Date that payment should be done. | |
Entry |
guid |
エントリーID | プラットフォーム上でフィルタ可能、書き込み可能 | The transaction lines that make up a financial entry share the same EntryID. | |
Entry |
int32 |
エントリー番号 | プラットフォーム上でフィルタ可能、書き込み可能 | Entry number of the header. | |
Exchange |
double |
為替レート | writable | Exchange rate. | |
External |
varchar2 |
外部リンクの説明 | writable | ||
External |
varchar2 |
外部リンクの参照 | writable | ||
Extra |
double |
追加勤務手当額 外貨 | writable | Extra duty amount. | |
Extra |
double |
追加勤務率(%) | writable | Extra duty percentage. | |
Financial |
int16 |
会計期間 | プラットフォーム上でフィルタ可能、書き込み可能 | 会計期間。 | |
Financial |
int16 |
会計年度 | プラットフォーム上でフィルタ可能、書き込み可能 | 会計年度。 | |
GL |
guid |
総勘定元帳勘定 | プラットフォーム上でフィルタ可能、書き込み可能 | 総勘定元帳勘定。 | |
GL |
varchar2 |
GL勘定残高表 | writable | Balance side of transactions on this GL account. | |
GL |
varchar2 |
GL勘定残高の種類 | writable | Balance type of transactions on this GL account, being either 'B' for Balance or 'W' for Profit and Loss. | |
GL |
varchar2 |
GL勘定科目コード | プラットフォーム上でフィルタ可能、書き込み可能 | Code of the G/L account. | |
GL |
varchar2 |
GL勘定科目の説明 | writable | Description of the G/L account. | |
GL |
char |
GL勘定の通貨再評価 | writable | Whether to revalue amounts posted on this GL account. | |
GL |
varchar2 |
GL勘定検索コード | writable | User-friendly search code for the GL account. | |
GL |
int32 |
GL勘定科目タイプ | writable | Type of GL account.See view GLAccountTypes. | |
GL |
varchar2 |
GL勘定科目の種類と説明 | writable | Description of the GL account type. | |
GL |
char |
コストセンターを使用する | writable | Indicator whether to use cost centers for transaction lines on the GL account. | |
GL |
char |
原価単位を使用する | writable | Indicator whether to use cost units for transaction lines on the GL account. | |
GL |
varchar2 |
総勘定元帳勘定科目のVATコード | writable | Associated VAT code of the GL account. | |
ID |
guid |
ID | プラットフォーム上でフィルタ可能、書き込み可能 | 主キー。 | |
Invoice |
int32 |
請求書番号 | プラットフォーム上でフィルタ可能、書き込み可能 | Invoice number. | |
Item |
guid |
項目 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to item. | |
Item |
varchar2 |
商品コード | writable | Code of Item. | |
Item |
varchar2 |
商品説明 | writable | Description of Item. | |
Journal |
varchar2 |
ジャーナルコード | プラットフォーム上でフィルタ可能、書き込み可能 | The journal code. | |
Journal |
varchar2 |
ジャーナルの概要 | writable | The journal description. | |
Line |
int32 |
行番号 | writable | 明細番号。 | |
Line |
int16 |
線の種類 | writable | Line type. | |
Modified |
datetime |
修正済み | プラットフォーム上でフィルタ可能、書き込み可能 | 最終更新日。 | |
Modified |
datetime |
更新日(UTC) | writable | UTCでの最終更新日。 | |
Modifier |
guid |
修飾子 | writable | 変更者のユーザーID。 | |
Modifier |
varchar2 |
変更後の氏名 | writable | 更新者の名前。 | |
Notes |
varchar2 |
備考 | writable | Extra remarks. | |
Offset |
guid |
オフセット総勘定科目ID | プラットフォーム上でフィルタ可能、書き込み可能 | OffsetID. | |
Order |
int32 |
注文番号 | プラットフォーム上でフィルタ可能、書き込み可能 | Order number. | |
Payment |
double |
支払割引額 | writable | Discount amount when paid in time. | |
Payment |
varchar2 |
支払参照番号 | writable | Payment reference. | |
Project |
guid |
プロジェクト | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to project. | |
Project |
varchar2 |
プロジェクトコード | プラットフォーム上でフィルタ可能、書き込み可能 | Code of Project. | |
Project |
varchar2 |
プロジェクトの概要 | writable | Description of Project. | |
Project |
guid |
プロジェクトWBS | writable | Project WBS ID. | |
Project |
varchar2 |
プロジェクトWBSの説明 | writable | Project WBS description. | |
Quantity |
double |
数量 | writable | Quantity. | |
Serial |
varchar2 |
シリアル番号 | writable | Serial number of item. | |
Shop |
guid |
発注書 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to shop order. | |
Status |
int16 |
ステータス | プラットフォーム上でフィルタ可能、書き込み可能 | 20 = Open, 50 = Processed. | |
Subscription |
guid |
定期購読 | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to subscription line. | |
Subscription |
varchar2 |
サブスクリプションの説明 | writable | Description of subscription line. | |
Tracking |
varchar2 |
追跡番号 | writable | Tracking number of item. | |
Tracking |
varchar2 |
追跡番号の説明 | writable | Tracking number description. | |
Type |
int32 |
タイプ | プラットフォーム上でフィルタ可能、書き込み可能 | The transaction type.Possible values: see TransactionLineTypes. | |
VAT |
varchar2 |
VATコード | プラットフォーム上でフィルタ可能、書き込み可能 | VATコード。 | |
VAT |
varchar2 |
VATコードの説明 | writable | Description of VAT code. | |
VAT |
double |
VATの税率 | writable | Vat percentage. | |
VAT |
varchar2 |
VATの種類 | プラットフォーム上でフィルタ可能、書き込み可能 | VAT type. | |
Your |
varchar2 |
ご参照用 | プラットフォーム上でフィルタ可能、書き込み可能 | Your reference (of customer). |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Transaction |
Account |
Accounts.ID |
キー | |
Transaction |
Asset |
Assets.ID |
キー | |
Transaction |
Cost |
Costcenters.Code |
キー | |
Transaction |
Cost |
Costunits.Code |
キー | |
Transaction |
Creator |
Users. |
キー | |
Transaction |
Currency |
Currencies.Code |
キー | |
Transaction |
Document |
Documents.ID |
キー | |
Transaction |
GL |
GLAccountTypes.code |
候補者 | Named after the domain; 18 distinct values in the sandbox division on 2026-12-01, all codes of the domain. |
Transaction |
GL |
GLAccounts.ID |
キー | |
Transaction |
Item |
Items.ID |
キー | |
Transaction |
Journal |
Journals.Code |
キー | |
Transaction |
Modifier |
Users. |
キー | |
Transaction |
Project |
ProjectWBS.ID |
キー | |
Transaction |
Project |
Projects.ID |
キー | |
Transaction |
Shop |
ShopOrders.ID |
キー | |
Transaction |
Subscription |
Subscriptions. |
キー | |
Transaction |
Type |
TransactionTypes.code |
キー | 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 |
キー |
参照元
- Assets
TransactionEntryID(キー) - Documents
FinancialTransactionEntryID(Textual) - DocumentsBulk
FinancialTransactionEntryID(テキスト型)
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
リリース情報
各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか: