A payment condition (betalingsconditie): days until due, early-payment discount and the credit restriction.

Label in Fledge: Betalingscondities

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
payment_condition_idkeyInt32Betalingskonditie
credit_limit_general_ledgerStringKB Grootboekrekening: Krediet beperking Grootboekrekeningnummer

The ledger account the credit restriction is booked on.

credit_limit_in_percentageDecimalKrediet beperking in procenten

The credit restriction (kredietbeperking) in percent; not a credit limit.

credit_limit_in_condition_in_daysInt32Krediet beperk. termijn: Krediet beperking termijn in dagen

The term of the credit restriction in days.

description_1StringOmschrijving
description_2StringOmschrijving
payment_discount_in_percentageDecimalBetalingskorting in procenten

The early-payment discount (betalingskorting) in percent.

payment_discount_term_in_daysInt32Betalingskorting termijn in dagen

Days after the invoice date within which the discount applies.

payment_spread_typeInt32Betalings spreiding nummer

How the due date is worked out, not instalments.

  • 0 Invoice date plus the days
  • 1 Invoice date plus the days, then the end of that month
  • 2 Invoice date plus the days, then the 15th or the end of the month
  • 3 End of the invoice month, then plus the days
condition_expiration_in_daysInt32Verval termijn: Vervat termijn in dagen

Days until the invoice is due (vervaltermijn).

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
Wingman