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_idfinancial_yeargeneral_fiscal_commercialgeneral_ledger_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEELBEHEER |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=financial_year,general_fiscal_commercial,general_ledger_id,credit_entries_actual,credit_entries_preliminary,cumulative_debit_actual' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'financial_year,general_fiscal_commercial,general_ledger_id,credit_entries_actual,credit_entries_preliminary,cumulative_debit_actual');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/GeneralLedgerBalances" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("financial_year,general_fiscal_commercial,general_ledger_id,credit_entries_actual,credit_entries_preliminary,cumulative_debit_actual"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
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_idkey | Int32 | Administratienummer |
financial_yearkey | Int32 | Boekjaar |
general_ledger_idkey | String | Grootboekrekeningnummer |
general_fiscal_commercialkey | Int32 | 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
Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |