# GeneralLedgerBalances

> The balance of one ledger account in one financial year: a starting balance and debit and credit totals per period.

Subject: Finance.

The balance of one ledger account in one financial year: a starting balance and debit and credit totals per period. The per-period amounts are fields per period number: debit_entries_actual__1 is period 1.

Label in Fledge: Grootboekrekening saldo.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances` |
| Key | `administration_id`, `financial_year`, `general_fiscal_commercial`, `general_ledger_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances?$filter=administration_id eq 1&$select=financial_year,general_fiscal_commercial,general_ledger_id,credit_entries_actual,credit_entries_preliminary,cumulative_debit_actual&$top=50
GET https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances(administration_id=1,financial_year={financial_year},general_fiscal_commercial={general_fiscal_commercial},general_ledger_id='{general_ledger_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `financial_year` (key) | Int32, not null | Boekjaar |
| `general_ledger_id` (key) | String, not null | Grootboekrekeningnummer |
| `general_fiscal_commercial` (key) | Int32, not null | AFC: Algemeen/Fiscaal/Commercieel. 3 general (algemeen, the normal one), 1 fiscal, 5 commercial. |
| `credit_entries_actual` | String | Periode Credit Werkelijk NOOT: korte naam vanwege 4096 byte statement limit!. Credit per period, processed (werkelijk); one field per period, __1 is period 1. |
| `credit_entries_preliminary` | String | Periode Credit Mutatie NOOT: korte naam vanwege 4096 byte statement limit!. Credit per period booked but not processed yet (mutatie); one field per period. |
| `cumulative_debit_actual` | Decimal | Kum. deb. werk.: Kummulatief debet werkelijk. The year total of the processed debit, not a running total. |
| `cumulative_debit_preliminary` | Decimal | Kum. deb. mut.: Kummulatief debet mutatie. The year total of the preliminary debit. |
| `cumulative_credit_actual` | Decimal | Kum. crd. werk.: Kummulatief credit werkelijk. The year total of the processed credit, not a running total. |
| `cumulative_credit_preliminary` | Decimal | Kum. crd. mut.: Kummulatief credit mutatie. The year total of the preliminary credit. |
| `currency_code_id` | Int32 | Valuta |
| `date_creation` | Date | Aanmaakdatum van de record |
| `date_update` | Date | Datum laatste wijziging van de record |
| `debit_entries_actual` | String | Periode Debet Werkelijk NOOT: korte naam vanwege 4096 byte statement limit!. Debit per period, processed (werkelijk); one field per period, __1 is period 1. |
| `debit_entries_preliminary` | String | Periode Debet Mutatie NOOT: korte naam vanwege 4096 byte statement limit!. Debit per period booked but not processed yet (mutatie); one field per period. |
| `is_recorded_actual` | Boolean | Geboekt werk.: Geboekt werkelijk |
| `is_recorded_preliminary` | Boolean | Geboekt mut.: Geboekt mutaties |
| `starting_balance` | Decimal | Begin saldo. The balance at the start of the year (begin saldo). |
| `user_created` | Int32 | user aanmaak |
| `user_updated` | Int32 | User L wijz |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/GeneralLedgerBalances
