---
title: "GeneralLedgerBalancesV2 (Visma.net Financials)"
description: "P\u00E4\u00E4kirjan saldot"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/vismanet/VismaNet.GeneralLedgerBalanceV2.GeneralLedgerBalancesV2
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.GeneralLedgerBalanceV2.GeneralLedgerBalancesV2
updated: 2026-12-05T20:46:43Z
license: https://documentation.invantive.eu/fi/
---

# GeneralLedgerBalancesV2: Visma.net Financials General Ledger Balances

`popular` `read only` `REST`

- Luettelo: `VismaNet`
- Kaavio: `GeneralLedgerBalanceV2`
- Label: General Ledger Balances

Get a range of General Ledger Balances. Complete documentation can be found under 8.21  release notes. Please use a page size lower or equal to the allowed max page size which is returned under metadata. If pagesize is greater than the max page size, it will be limited to max page size.

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/v2/generalLedgerBalance`
- Toiminto: `get /v2/generalLedgerBalance`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Keskimääräinen yhteysviive (ms) | 111 |
| Täysskannausrivit minuutissa | 54,500 |
| Query-rivien määrä minuutissa | 387 |

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `account` | `` | [ ] |  | Account to retrieve balance for |
| `balanceType` | `` | [ ] |  | Balance Type of the ledger to be exported (Values: Actual, Report, Statistical, Budget) |
| `branch` | `` | [ ] |  | Branch to retrieve balance for |
| `excludeYTDAccount` | `` | [ ] |  |  |
| `lastModifiedDateTime` | `` | [ ] |  | This value, generated by the system, indicates the last time the record was modified.Use it to retrieve all records that have been modified since that time, up to the present.Mandatory if 'PeriodId' is not provided.Accepted format: * ```yyyy-MM-dd``` * ```yyyy-MM-dd HH:mm:ss``` * ```yyyy-MM-dd HH:mm:ss.FFF``` * ```yyyy-MM-ddTHH:mm:ss``` * ```yyyy-MM-ddTHH:mm:ss.FFF``` |
| `ledger` | `` | [ ] |  | Ledger to retrieve balance for |
| `periodId` | `` | [ ] |  | Period to retrieve balance for.Mandatory if 'LastModifiedDateTime' not provided.Format: 'yyyyMM' |
| `subaccount` | `` | [ ] |  | Subaccount to retrieve balance for |
| `toggleBalanceSigns` | `` | [ ] |  | Parameter can be used in order to change the balance sign for liability and income accounts |

## Taulukon sarakkeet

Taulukon `GeneralLedgerBalancesV2` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | Yrityskoodi | [x] | writable | Osiokoodi, joka jäsentää tiedot. |
| `COMPANY_NAME` | `varchar2(240)` | Yrityksen nimi | [x] | writable | Osion nimi. |
| `account_description` | `varchar2` | Tilin kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `account.description` | Name of item/description |
| `account_externalCode1` | `varchar2` | Tilin ulkoinen koodi 1 | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode1` | ExternalCode1 is deprecated, please use ExternalCode1Info instead. |
| `account_externalCode1Info_description` | `varchar2` | itgen_vnet_account_externalcode1info_description | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode1Info.description` | Name of item/description |
| `account_externalCode1Info_number` | `varchar2` | itgen_vnet_account_externalcode1info_number | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode1Info.number` | Number of item |
| `account_externalCode2` | `varchar2` | Tilin ulkoinen koodi 2 | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode2` | ExternalCode2 is deprecated, please use ExternalCode2Info instead. |
| `account_externalCode2Info_description` | `varchar2` | itgen_vnet_account_externalcode2info_description | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode2Info.description` | Name of item/description |
| `account_externalCode2Info_number` | `varchar2` | itgen_vnet_account_externalcode2info_number | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode2Info.number` | Number of item |
| `account_glConsolAccountCD` | `varchar2` | itgen_vnet_account_glconsolaccountcd | [ ] | alustan suodattimet, kirjoitettavissa, `account.glConsolAccountCD` |  |
| `account_number` | `varchar2` | Tilinumero | [ ] | alustan suodattimet, kirjoitettavissa, `account.number` | Number of item |
| `account_type` | `varchar2` | Tilityyppi | [ ] | alustan suodattimet, kirjoitettavissa, `account.type` |  |
| `balanceType` | `varchar2` | Saldotyyppi | [ ] | alustan suodattimet, kirjoitettavissa, `balanceType` |  |
| `beginningBalance` | `double` | itgen_vnet_beginningbalance | [ ] | alustan suodattimet, kirjoitettavissa, `beginningBalance` | The total account balance at the start of the selected period. |
| `beginningBalanceInCurrency` | `double` | itgen_vnet_beginningbalanceincurrency | [ ] | alustan suodattimet, kirjoitettavissa, `beginningBalanceInCurrency` | The total account balance in the currency of the selected account at the start of the selected period. |
| `branch_name` | `varchar2` | Toimipisteen nimi | [ ] | alustan suodattimet, kirjoitettavissa, `branch.name` | Click the magnifier. &gt; The name. |
| `branch_number` | `varchar2` | Toimipisteen numero | [ ] | alustan suodattimet, kirjoitettavissa, `branch.number` | Click the magnifier. &gt; The identifier. |
| `currencyId` | `varchar2` | Valuutan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `currencyId` |  |
| `errorInfo` | `varchar2` | Virheilmoitus | [ ] | alustan suodattimet, kirjoitettavissa, `errorInfo` |  |
| `financialPeriod` | `varchar2` | Tilikausi | [ ] | alustan suodattimet, kirjoitettavissa, `financialPeriod` | The financial period to which the transactions recorded in the document should be posted.Format YYYYMM. |
| `lastModifiedDateTime` | `datetime` | Viimeksi muokattu | [ ] | alustan suodattimet, kirjoitettavissa, `lastModifiedDateTime` |  |
| `ledger_description` | `varchar2` | Kirjanpitokirjan kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `ledger.description` | Click on the magnifier. &gt; The description. |
| `ledger_id` | `varchar2` | Tilin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `ledger.id` | Click on the magnifier. &gt; The identifier. |
| `metadata_maxPageSize` | `int64` | Metatietojen enimmäissivukoko | [ ] | alustan suodattimet, kirjoitettavissa, `metadata.maxPageSize` |  |
| `metadata_totalCount` | `int64` | Yhteismäärä | [ ] | alustan suodattimet, kirjoitettavissa, `metadata.totalCount` |  |
| `periodToDateCredit` | `double` | itgen_vnet_periodtodatecredit | [ ] | alustan suodattimet, kirjoitettavissa, `periodToDateCredit` | The total of all credit movements for the selected period. |
| `periodToDateCreditInCurrency` | `double` | itgen_vnet_periodtodatecreditincurrency | [ ] | alustan suodattimet, kirjoitettavissa, `periodToDateCreditInCurrency` | The total of all credit movements in the currency of the selected account for the selected period. |
| `periodToDateDebit` | `double` | itgen_vnet_periodtodatedebit | [ ] | alustan suodattimet, kirjoitettavissa, `periodToDateDebit` | The total of all debit movements for the selected period. |
| `periodToDateDebitInCurrency` | `double` | itgen_vnet_periodtodatedebitincurrency | [ ] | alustan suodattimet, kirjoitettavissa, `periodToDateDebitInCurrency` | The total of all debit movements in the currency of the selected account for the selected period. |
| `subAccountCd` | `varchar2` | itgen_vnet_subaccountcd | [ ] | alustan suodattimet, kirjoitettavissa, `subAccountCd` | [This field has been deprecated and will be removed in future versions.Use 'subaccount.subaccountNumber' instead.] This field has been deprecated and will be removed in future versions.Use 'subaccount.subaccountNumber' instead. |
| `subaccountId` | `varchar2` | itgen_vnet_subaccountid | [ ] | alustan suodattimet, kirjoitettavissa, `subaccountId` | [This field has been deprecated and will be removed in future versions.Use 'subaccount.subaccountId' instead.] This field has been deprecated and will be removed in future versions.Use 'subaccount.subaccountId' instead. |
| `subaccount_subaccountId` | `int32` | Alitilin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `subaccount.subaccountId` | The internal SubID identifier of the subaccount. |
| `subaccount_subaccountNumber` | `varchar2` | Alitilin numero | [ ] | alustan suodattimet, kirjoitettavissa, `subaccount.subaccountNumber` | The subaccount number / code.Format 9-XX. |
| `yearClosed` | `char` | itgen_vnet_yearclosed | [ ] | alustan suodattimet, kirjoitettavissa, `yearClosed` | True when the last period of a financial year is  closed in all modules. |
| `yearToDateBalance` | `double` | itgen_vnet_yeartodatebalance | [ ] | alustan suodattimet, kirjoitettavissa, `yearToDateBalance` | The total account balance at the end of the selected period. |
| `yearToDateBalanceInCurrency` | `double` | itgen_vnet_yeartodatebalanceincurrency | [ ] | alustan suodattimet, kirjoitettavissa, `yearToDateBalanceInCurrency` | The total account balance in the currency of the selected account at the end of the selected period. |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

- [Visma.net Financials](/fi/release-notes/drivers/visma-net-financials)
