Label in Fledge: Loonjournaalpost regels
| URL | https://odata-api.fledge.nl/v2-8/PayrollJournalEntryLines |
|---|---|
| Key | administration_idpayroll_journal_entry_header_idpayroll_journal_entry_line_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEEL |
| 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/PayrollJournalEntryLines" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=payroll_journal_entry_header_id,payroll_journal_entry_line_id,credit_amount,debit_amount,date' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/PayrollJournalEntryLines');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'payroll_journal_entry_header_id,payroll_journal_entry_line_id,credit_amount,debit_amount,date');
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/PayrollJournalEntryLines" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("payroll_journal_entry_header_id,payroll_journal_entry_line_id,credit_amount,debit_amount,date"),
"$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/PayrollJournalEntryLines(administration_id=1,payroll_journal_entry_header_id={payroll_journal_entry_header_id},payroll_journal_entry_line_id={payroll_journal_entry_line_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
payroll_journal_entry_header_idkey | Int32 | Loonjournaalpost |
payroll_journal_entry_line_idkey | Int32 | Regelnummer |
has_been_processed | Boolean | Afgewerkt (ja/nee) |
credit_amount | Decimal | Bedrag credit |
debit_amount | Decimal | Bedrag debet |
financial_year | Int32 | Boekjaar |
journal_entry | String | Boekstuk |
client_number | String | Client nr |
cost_center_id | Int32 | Kostenplaatsnummer / Verdelingseenheid |
date | Date | Datum |
modification_date | DateTimeOffset | Datum laatste wijziging |
financial_period_id | Int32 | Periode nummer |
general_ledger_id | String | Grootboekrekeningnummer |
general_ledger_description | String | Grootboek omschrijving |
payroll_year | Int32 | Jaar verloning |
journal_id | Int32 | Dagboek nummer |
description | String | Omschrijving |
payroll_run_period | Int32 | Periode run: Periode nummer run |
modified_by | Int32 | User laatste wijziging |
sequence_number | Int32 | Volgnummer |