One line of a sales quotation: an article, a quantity and a price per unit. Its quote calculation, if any, is in QuoteCalculationHeaders (sales_quotation_header_id, sales_quotation_line_id).

Label in Fledge: Verkoopofferte regels

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
sales_quotation_header_idkeyStringOffertenummer
sales_quotation_line_idkeyInt32Regelnummer
apply_replacement_valueBooleanVervangingswaarde toepassen (j/n)
article_custom_field_set_idInt32Volgnummer vrije veldenset
article_group_idInt32Artikelgroep
article_idStringArtikelcode
chance_of_successInt32Scoringskans

The chance of winning this line (scoringskans), 0 to 100.

changed_byInt32User wijzig
costDecimalKostprijs

The cost price per unit.

created_byInt32User aanmaak
creation_dateDateDatum aanmaak
creditor_idInt32Crediteurnummer
currency_code_idInt32Valutanummer
currency_unitInt32Eenheid valuta
description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
discount_percentageDecimalKortingspercentage 1
drawingStringTekeningnummer
exchange_rateDecimalKoers
gross_price_foreign_currencyDecimalBruto verkoopprijs (vv)
net_price_foreign_currencyDecimalNetto verkoopprijs (vv)

The same in the quotation's currency; 0 on a quotation in the local currency.

functionInt32Funktie
is_optionalInt32Optioneel (j/n)

An optional line; whether it counts in the value isn't decided.

gross_price_local_currencyDecimalBruto verkoopprijs

The gross price per unit in the local currency, before the line's discount.

net_price_local_currencyDecimalNetto verkoopprijs

The price per unit after discount_percentage, without VAT, in the local currency. Line value = quantity times this.

memo_1StringMemo algemeen

The internal memo.

memo_2StringMemo 1

The memo the customer sees.

memo_3StringMemo 2

Since 2026.17 also the Quotation Factory project of a line sent there: EXTERNAL_CALCULATION:3:<project id>. While the line has no QuoteCalculationHeaders row it waits on Quotation Factory and has no price yet.

modification_dateDateDatum wijzig
order_codeStringBestelkode
planning_dateDatePlanningsdatum

The delivery date the customer asked for.

planning_weekInt32Planweek
print_codeBooleanAfdrukken kode
print_memoBooleanAfdrukken memo
print_priceBooleanAfdrukken prijs
print_quantityBooleanAfdrukken aantal
profit_marginDecimalWinstmarge
quantityDecimalAantal

The quantity in the article's price unit; the app shows it per sales unit and converts it back.

quotation_dateDateDatum offerte
quotation_weekInt32Week offerte
referenceStringReferentie verkoopofferteregel
revenue_group_idInt32Omzetgroep
revisionStringRevisie
sequenceInt32Volgorde
vat_code_idInt32BTW nummer

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
ArticleGroupArticleGroupsone
CreatedByUsersone
CreditorCreditorsone
RevenueGroupRevenueGroupsone
SalesQuotationHeaderSalesQuotationHeadersone
UpdatedByUsersone
DocumentLinksDocumentLinksmany
QuoteCalculationHeadersQuoteCalculationHeadersmany
RichTextMemosRichTextMemosmany
SalesOrderConfirmationLinesSalesOrderConfirmationLinesmany
SalesOrderLinesSalesOrderLinesmany
SalesQuotationPrognosesSalesQuotationPrognosesmany
SalesQuotationSpecificationsSalesQuotationSpecificationsmany

Actions

CalculateViaQuotationFactoryProject

POST https://odata-api.fledge.nl/v2-8/SalesQuotationLines(administration_id=1,sales_quotation_header_id='{sales_quotation_header_id}',sales_quotation_line_id={sales_quotation_line_id})/CalculateViaQuotationFactoryProject
  • projectDescription String
  • deliveryTermsCode String
  • paymentTermsCode String
  • address QuotationFactoryAddress
    • street String
    • houseNumber String
    • postalCode String
    • city String
    • country QFCountry
  • vatRatio QuotationFactoryVatRatio
    • value Decimal
    • unit String

Returns String

Licenses: BASIS

Wingman