One open item (open post) of a supplier: a booked purchase invoice or credit note we still have to pay, with the invoice amount, what is paid and what is open. Made when the invoice is booked, by the legacy ERP or, since 2026.17, by the app through the legacy backend: when a purchase invoice of purchase orders is processed, or directly for an invoice of costs only entered by hand. An invoice from purchase orders has journal_registration = PurchaseOrderInvoiceHeaders.purchase_order_invoice_header_id in the same financial_year; the navigation PurchaseOrderInvoiceHeader joins on the supplier's invoice number instead and mostly finds nothing.

Label in Fledge: Crediteur open posten

URLhttps://odata-api.fledge.nl/v2-8/CreditorUnsettledItems
Keyadministration_idcreditor_idfinancial_yearjournal_registrationjournal_registration_number
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesINKOOP
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/CreditorUnsettledItems" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=creditor_id,financial_year,journal_registration,journal_registration_number,amount_on_invoice,amount_open,amount_paid' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/CreditorUnsettledItems');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'creditor_id,financial_year,journal_registration,journal_registration_number,amount_on_invoice,amount_open,amount_paid');
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/CreditorUnsettledItems" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("creditor_id,financial_year,journal_registration,journal_registration_number,amount_on_invoice,amount_open,amount_paid"),
    "$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/CreditorUnsettledItems(administration_id=1,creditor_id={creditor_id},financial_year={financial_year},journal_registration='{journal_registration}',journal_registration_number={journal_registration_number})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
creditor_idkeyInt32Crediteurnummer
financial_yearkeyInt32Boekjaar
journal_registrationkeyStringBoekstuk

The booking document number (boekstuk); item on customer items and on payments.

journal_registration_numberkeyInt32Boekstukvolgnr.: Boekstukvolgnummer
account_numberStringrekeningnummer
amount_in_transitDecimalBedrag betaling onderweg
amount_in_transit_foreign_currencyDecimalBetaling onderweg VV: Bedrag betaling onderweg vreemde valuta
amount_not_paidDecimalBedrag niet betaald
amount_not_paid_in_transitDecimalNiet Betaald onderweg: Bedrag niet betaling onderweg
amount_on_gaccountDecimalBedrag G-rekening
amount_on_invoiceDecimalFactuurbedrag

The invoice amount, with VAT.

amount_on_invoice_foreign_currencyDecimalFactuurbedrag VV: Factuurbedrag vreemde valuta
amount_openDecimalBedrag open

What is still open, with VAT.

amount_paidDecimalBedrag betaald

What is paid so far.

amount_paid_foreign_currencyDecimalBedrag betaald VV: Bedrag betaald vreemde valuta
amount_plannedDecimalBedrag planning
amount_revaluationDecimalBedrag herwaardering
amount_vatDecimalBedrag BTW 1: Bedrag aan BTW 1
approval_timeDateTimeOffsetGefiatteerd: Datumtijd fiattering
approval_userInt32User gefiatteerd
bank_idInt32Banknummer
bank_locationStringPlaats bank: Plaats van de bank
booking_proposal_numberStringBoekingsvoorstelnummer
calculation_method_idInt32Berekeningwijze: Berekeningswijzenummer
commentInt32Opmerking
cost_price_valueDecimalBedrag kostpr. waarde: Kostprijswaarde

The invoice amount without VAT.

creditor_group_idInt32Crediteurgroep nummer
credit_restrictionDecimalKredietbeperking
date_completedDateDatum afgewerkt

The date the item was settled; 2999-12-31 while it isn't.

date_dueDateVervaldatum

The due date (vervaldatum).

date_interestDateDatum rente t/m
date_invoiceDateFactuurdatum
date_last_mutationDateDatum laatste mut.: Datum laatste mutatie

The date of the last change, not the payment date.

date_plannedDatePlandatum betaling
descriptionStringOmschrijving
disputedInt32Dispuut
due_weekInt32Verval-week: Weeknummer vervaldatum
foreign_currency_code_idInt32Valutanummer
has_automatic_debitBooleanAutomatische incasso (j/n)
invoice_approval_statusInt32Fiatteringsstatus

The approval (fiattering) of the invoice, with approval_user and approval_time: -1 denied, 0 booked and not yet approved, 2 on hold, 4 approved (as the app reads it).

invoice_idStringFactuurnr.leverancier: Factuurnummer leverancier

The purchase invoice number.

invoice_statusInt32Status
is_completedBooleanAfgewerkt/niet afgewerkt

True when the item is settled (afgewerkt).

is_credit_restriction_paymentBooleanJa/Nee: Krediet beperking betalen j/n
is_debit_or_creditBooleanDebet/Credit

False for a normal invoice, true for a credit note.

journal_idInt32Dagboek nummer
journal_item_idInt32Journaalpost nummer

The journal_entry_id of its journal entry (JournalEntries) in the same financial_year.

journal_item_registration_numberInt32Journaalpost volgnr: Journaalpost volgnummer
number_of_admonishmentsInt32Aantal maningen
number_of_paymentsInt32Aantal betalingen
payment_approval_statusInt32Fiatteringsstatus

The approval of the payment, with payment_approval_user and payment_approval_time.

payment_approval_timeDateTimeOffsetGefiatteerd: Datumtijd fiattering
payment_approval_userInt32User gefiatteerd
payment_daysDecimalBetaaldagen
payment_discountDecimalBetalingskorting
payment_discount_due_dateDateVervaldatum
payment_in_transit_telebankingDecimalBetaling onderweg
payment_in_transit_telebanking_foreign_currencyDecimalBetaling onderweg VV: Betaling onderweg vreemde valuta
payment_referenceStringBetalingsreferentie
payment_restriction_due_dateDateVervaldatum
payment_term_invoiceInt32Betalingskonditie F.: Betalingskonditie F

The payment term (PaymentConditions.payment_condition_id) this invoice got; expand PaymentTermInvoice for its days and discount. It can differ from the supplier's current default, Creditors.payment_term_id.

payment_term_overrideInt32Betalingskonditie B.: Betalingskonditie B

A second, optional payment term (Betalingskonditie B); 0 or empty is none, and PaymentTermOverride is then null. What it is used for isn't known.

planned_week_numberInt32Plan-week: Weeknummer plandatum
popc_grek_percentageDecimalPercentage G-rekening
rateDecimalKoers
vat_declaration_periodInt32Tijdvakcode BTW-aangifte
vat_revenue_declaration_yearInt32Jaar BTW-aangifte
week_numberInt32Factuur-week: Weeknummer factuurdatum

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.

NavigationEntity set
AdministrationAdministrationsone
BankBanksone
CreditorCreditorsone
CreditorGroupCreditorGroupsone
JournalJournalsone
JournalEntryJournalEntriesone
PaymentTermInvoicePaymentConditionsone
PaymentTermOverridePaymentConditionsone
PurchaseOrderInvoiceHeaderPurchaseOrderInvoiceHeadersone
DocumentLinksDocumentLinksmany
Wingman