A supplier (leverancier) in one administration: the supplier terms of a relation (Relations). Several field names differ from Debtors for the same thing: city instead of location, country_id instead of country_code_id, payment_term_id instead of payment_condition_id.

Label in Fledge: Crediteuren

URLhttps://odata-api.fledge.nl/v2-8/Creditors
Keyadministration_idcreditor_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISURENPC
Write licensesFINANCIEELINKOOP
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

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/Creditors" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=creditor_id,calculate_vat,city,country_id' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/Creditors');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'creditor_id,calculate_vat,city,country_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/Creditors" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("creditor_id,calculate_vat,city,country_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/Creditors(administration_id=1,creditor_id={creditor_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
creditor_idkeyInt32Crediteurnummer

The supplier number. Unrelated to relation_id.

activeInt32Actief (0 = niet actief, 2 = actief, 4 = open saldo)
  • 0 Not active
  • 2 Active
  • 4 Open balance
agent_idInt32Agent
area_of_country_idInt32Rayon
automatic_collectionBooleanAutomatische incasso (j/n)
bank_account_idStringRekeningnummer (evt. IBAN)
bank_idInt32Banknummer
bank_locationStringVestigingsplaats bank
bicStringBIC: Bank Identification Number (swift-code)
calculate_vatBooleanBtw berekenen ja/nee

Whether VAT is calculated.

chamber_of_commerce_numberStringKvK-nummer: Kamer van koophandel nummer
cityStringWoonplaats

The city, as text.

company_nameStringBedrijfsnaam
country_idInt32Landkode

The country (CountryCodes).

credit_assuranceInt32Verzekeringsnummer
credit_limitInt32Kredietlimiet
creditor_group_idInt32Crediteurrgroep: Crediteurgroep nummer
currency_code_idInt32Valutanummer
date_last_updatedDateTimeOffsetGewijzigd: Datum/tijd laatste wijziging
debtor_discount_group_idInt32Kortinggroepnummer
debtor_numberStringDebiteurnummer van ons bij de klant

Our customer number at this supplier.

delivery_condition_idInt32Levering konditie: Leverings koditie nummer
delivery_method_idInt32Verzendmethode nummer
delivery_relation_address_idInt32Afleveren bij adres van relatie: Adresnummer voor aflevering bij afleverrelatie
delivery_relation_idInt32Afleveren bij relatie: Relatienummer voor aflevering
delivery_warehouse_address_idInt32Afleveren op magazijnadres: Magazijnadres voor aflevering
discount_group_idInt32Crediteur kortingsgroep
g_account_activeBooleanG-rekening actief (j/n)
g_account_bank_idInt32Bank G-rekening: Banknummer G-rekening
g_account_idStringG-rekeningnummer
g_account_percentageDecimalPercentage G-rekening
general_ledger_idStringGrootboekrekeningnummer
id_as_varcharStringCrediteurnummer
invoice_creditorInt32Factuurcrediteur

The supplier whose invoices are booked for this one; its own creditor_id unless set otherwise.

language_idInt32Taalkode
layout_set_idInt32Layout
mailing_code_idInt32Mailingkode
main_creditorInt32Hoofdcrediteur
nr_invoice_avg_paymet_dur_calcInt32Berekeningwijze: Berekeningswijzenummer
order_confirmation_layout_idInt32Orderbevestigingsnummer
order_discountDecimalOrderkorting %: Orderkorting in procenten
partial_deliveries_allowedBooleanDeellev. toegestaan: Deellevering toegestaan ja/nee
payment_authorization_idInt32Machtigingsnummer
payment_term_idInt32Betalingskonditie

The payment term (PaymentConditions, navigation PaymentTerm).

price_agreement_idInt32Prijsafspraak nummer
purchase_blockageBoolean

A blocked supplier (inkoopblokkade). Purchase actions are refused for it.

relation_address_idInt32Adresnummer
relation_idInt32Relatienummer

The relation (Relations) this supplier is.

search_nameStringZoeknaam

A search key, kept apart from the name: it can be shorter, abbreviated or older. To find a record by name, use query's search, which looks in all text fields.

standard_delivery_addressInt32Standaard afleveradres. 0 = administratie afleveradres, 1 = ovad, 2 = prel/pknp

Where goods from this supplier are delivered by default.

  • 0 The administration's delivery address
  • 1 A warehouse address (delivery_warehouse_address_id)
  • 2 A relation's address (delivery_relation_id, delivery_relation_address_id)
statistics_idStringStatistieknummer
vat_numberStringBTW-nummer
vat_shiftedBooleanBTW verlegd (j/n)

Reverse-charged VAT (btw verlegd).

volume_discount_idInt32Kwantumkortingnummer

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
AgentAgentsone
CountryCodeCountryCodesone
CreditInsuranceCreditInsurancesone
CreditorDiscountGroupCreditorDiscountGroupsone
CreditorGroupCreditorGroupsone
DebtorDiscountGroupDebtorDiscountGroupsone
DeliveryConditionDeliveryConditionsone
DistrictDistrictsone
LanguageCodeLanguageCodesone
LayoutSetLayoutSetsone
MailingCodeMailingCodesone
OrderConfirmationLayoutOrderConfirmationLayoutsone
PaymentAuthorizationPaymentAuthorizationsone
PaymentTermPaymentConditionsone
PriceAgreementPriceAgreementsone
RelationRelationsone
RelationAddressRelationAddressesone
ShippingMethodShippingMethodsone
VolumeDiscountVolumeDiscountsone
CreditorBranchesCreditorBranchesmany
DocumentLinksDocumentLinksmany

Actions

nextId

GET https://odata-api.fledge.nl/v2-8/Creditors/nextId(…)

Returns CreditorNextIdResultDto

Licenses: BASIS, FINANCIEEL

Wingman