Label in Fledge: Loonjournaalpost regels

URLhttps://odata-api.fledge.nl/v2-8/PayrollJournalEntryLines
Keyadministration_idpayroll_journal_entry_header_idpayroll_journal_entry_line_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesFINANCIEEL
Write licensesFINANCIEEL
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/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

FieldTypeDescription
administration_idkeyInt32Administratienummer
payroll_journal_entry_header_idkeyInt32Loonjournaalpost
payroll_journal_entry_line_idkeyInt32Regelnummer
has_been_processedBooleanAfgewerkt (ja/nee)
credit_amountDecimalBedrag credit
debit_amountDecimalBedrag debet
financial_yearInt32Boekjaar
journal_entryStringBoekstuk
client_numberStringClient nr
cost_center_idInt32Kostenplaatsnummer / Verdelingseenheid
dateDateDatum
modification_dateDateTimeOffsetDatum laatste wijziging
financial_period_idInt32Periode nummer
general_ledger_idStringGrootboekrekeningnummer
general_ledger_descriptionStringGrootboek omschrijving
payroll_yearInt32Jaar verloning
journal_idInt32Dagboek nummer
descriptionStringOmschrijving
payroll_run_periodInt32Periode run: Periode nummer run
modified_byInt32User laatste wijziging
sequence_numberInt32Volgnummer
Wingman