A ledger account blocked for one kind of booking: a booking of that kind on the account is refused.

Label in Fledge: Rekeningblokkade

URLhttps://odata-api.fledge.nl/v2-8/AccountBlockages
Keyadministration_idcontextgeneral_ledger_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesFINANCIEEL
Write licensesFINANCIEELBEHEER
ScopesFLEDGE_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/AccountBlockages" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=context,general_ledger_id' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/AccountBlockages');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'context,general_ledger_id');
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/AccountBlockages" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("context,general_ledger_id"),
    "$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/AccountBlockages(administration_id=1,context='{context}',general_ledger_id='{general_ledger_id}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
general_ledger_idkeyStringGrootboekrekeningnummer
contextkeyStringContext waarvoor de blokkade van toepassing is

The kind of booking, by its legacy name, such as Verkoopfactuur (sales invoice), Inkoopfactuur-handm. (manual purchase invoice) or Urenverwerking (hours processing).

Wingman