One assembly of a quote calculation, with its stored totals. The root (level 1) holds the figures of the whole calculation, sub assemblies included. All totals are per piece of the assembly; set-up and other costs are batch amounts.

Label in Fledge: Calculatie schraps

URLhttps://odata-api.fledge.nl/v2-8/QuoteCalculationAssemblies
Keyadministration_idquote_calculation_assembly_idquote_calculation_header_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISVERKOOPPRODUCTIE
Write licensesVERKOOPPRODUCTIEBEHEER
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/QuoteCalculationAssemblies" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=quote_calculation_assembly_id,quote_calculation_header_id,correction_cost,input_price,invoice_quantity' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/QuoteCalculationAssemblies');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'quote_calculation_assembly_id,quote_calculation_header_id,correction_cost,input_price,invoice_quantity');
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/QuoteCalculationAssemblies" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("quote_calculation_assembly_id,quote_calculation_header_id,correction_cost,input_price,invoice_quantity"),
    "$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/QuoteCalculationAssemblies(administration_id=1,quote_calculation_assembly_id={quote_calculation_assembly_id},quote_calculation_header_id='{quote_calculation_header_id}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
quote_calculation_header_idkeyStringOffertenummer
quote_calculation_assembly_idkeyInt32Volgnummer
article_custom_field_set_idInt32Volgnummer
calculation_type_idInt32Soort offerte
correction_costDecimalEenmalig: Korrektiekosten

Other costs (korrektiekosten) for the whole batch.

correction_cost_subDecimalKorrektie sub
delivery_dateDateDatum
delivery_weekInt32Week
description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
drawing_numberStringTekening nummer: Tekeningnummer
input_priceDecimalIngaveprijs

The price offered per piece (ingaveprijs).

invoice_quantityDecimalOfferte aantal

The quantity quoted; must equal the quotation line's quantity to carry the price over.

is_completedBooleanAfgehandeld (ja/nee)
memoStringMemo
net_gross_manualInt32Netto/Bruto/Handmatig
phaseInt32Fase
production_order_unit_idInt32Eenheid
revisionStringRevisie
sequenceInt32Volgorde
setup_costDecimalInstelkosten

Set-up cost for the whole batch, without margin.

setup_cost_from_subDecimalInstelkosten ber.: Instelkosten berekend uit sub
storage_buy_make_parts_percentageDecimalOpslag koopdeel: Opslag koopdelen
storage_materials_percentageDecimalOpslag materiaal: Opslag percentage materiaal
storage_operation_percentageDecimalOpslag bewerkingen: Opslag percentage bewerkingen
storage_outsourcing_percentageDecimalOpslag uitbesteding: Opslag percentage uitbesteding
storage_total_buy_partDecimalTotaal koopdeel opsl.: Totaal koopdeel opslag
storage_total_materialsDecimalTotaal materiaal opsl.: Totaal materiaal opslag
storage_total_operationsDecimalTotaal bewerkingen opsl.: Totaal bewerkingen opslag
storage_total_outsourcingDecimalTotaal uitbesteding opsl.: Totaal uitbesteding opslag
total_buy_partDecimalTotaal koopdeel
total_buy_part_from_subDecimalTotaal koopdeel sub.: Totaal koopdeel berekend uit sub

Semi-finished products per piece, without margin.

total_buy_part_not_produced_in_lower_levelDecimalTotaalbedrag KM-delen zelf: Totaalbedrag aan KM-delen die niet in onderliggende schrap geproduceerd worden.
total_calculatedDecimalTotaal berekend

The cost price per piece without profit margins.

total_inputDecimalTotaal ingave

The sum of the entry prices per piece, with the per-piece share of set-up and other costs. Usually equal to input_price, which can be entered by hand; input_price is the price offered.

total_input_buy_partDecimalTotaal koopdeel ingave
total_material_inputDecimalTotaal materiaal ingave: Totaal marteriaal ingave
total_materialsDecimalTotaal materiaal
total_materials_subDecimalTotaal materiaal sub.

Materials per piece, without margin.

total_operationsDecimalTotaal bewerking
total_operations_inputDecimalTotaal bewerkingen ingave
total_operations_subDecimalTotaal bewerkingen sub.

Operations per piece, without margin.

total_operation_timeInt32Totaal bew. tijd: Totale bewerkings tijd

Seconds of this assembly's own operations, per piece.

total_outsourcingDecimalTotaal uitbesteding
total_outsourcing_inputDecimalTotaal uitbesteding ingave
total_outsourcing_subDecimalTotaal uitbesteding sub.: Totaal uitbesteding sub

Outsourcing per piece, without margin.

total_priceDecimalTotaal prijs

Not filled.

total_setup_timeInt32Totaal Insteltijd: Totale Insteltijd

Seconds of this assembly's own set-up, for the batch.

total_storageDecimalTotaal opslag

The cost price per piece with the profit margins.

unit_priceDecimalEenheids prijs

Not filled.

areaDecimalOppervlakte
article_idStringArtikelcode
levelInt32Niveau

1 is the root assembly. The legacy ERP gives every other assembly 2, whatever its depth. A calculation started by copying in an app before 2026.17 has no level 1 at all: every assembly, the root too, is 2. So find the root as the lowest level, then the lowest quote_calculation_assembly_id; never use level as the depth or to find a parent. Values above 2 exist but are wrong data, written by the new calculation screen. The tree is in the reference table only.

quantityDecimalAantal

The quantity of this assembly for the whole quotation line; not multiplied down the tree.

weightDecimalGewicht

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
ArticleArticlesone
ArticleCustomFieldSetArticleCustomFieldSetsone
CalculationTypeCalculationTypesone
ProductionOrderUnitProductionOrderUnitsone
QuoteCalculationHeaderQuoteCalculationHeadersone
DocumentLinksDocumentLinksmany
QuoteCalculationAssemblyReferenceQuoteCalculationAssemblyReferencesmany
QuoteCalculationBuyMakePartsQuoteCalculationBuyMakePartsmany
QuoteCalculationMainOperationsQuoteCalculationMainOperationsmany
QuoteCalculationMaterialsQuoteCalculationMaterialsmany
QuoteCalculationOutsourcedItemsQuoteCalculationOutsourcedItemsmany
QuoteCalculationSubOperationLinksQuoteCalculationSubOperationLinksmany
QuoteCalculationSubOperationsQuoteCalculationSubOperationsmany
Wingman