# SalesQuotationLines

> One line of a sales quotation: an article, a quantity and a price per unit.

Subject: Sales quotations.

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.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/SalesQuotationLines` |
| Key | `administration_id`, `sales_quotation_header_id`, `sales_quotation_line_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | VERKOOP |
| Scopes | FLEDGE_PORTAL |

> **Watch out:** gross_price_local_currency is the gross price before discount. For values use net_price_local_currency times quantity.

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/SalesQuotationLines?$filter=administration_id eq 1&$select=sales_quotation_header_id,sales_quotation_line_id,chance_of_success,cost,net_price_foreign_currency&$top=50
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

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `sales_quotation_header_id` (key) | String, not null | Offertenummer |
| `sales_quotation_line_id` (key) | Int32, not null | Regelnummer |
| `apply_replacement_value` | Boolean | Vervangingswaarde toepassen (j/n) |
| `article_custom_field_set_id` | Int32 | Volgnummer vrije veldenset |
| `article_group_id` | Int32 | Artikelgroep |
| `article_id` | String | Artikelcode |
| `chance_of_success` | Int32 | Scoringskans. The chance of winning this line (scoringskans), 0 to 100. |
| `changed_by` | Int32 | User wijzig |
| `cost` | Decimal | Kostprijs. The cost price per unit. |
| `created_by` | Int32 | User aanmaak |
| `creation_date` | Date | Datum aanmaak |
| `creditor_id` | Int32 | Crediteurnummer |
| `currency_code_id` | Int32 | Valutanummer |
| `currency_unit` | Int32 | Eenheid valuta |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving |
| `description_3` | String | Omschrijving |
| `discount_percentage` | Decimal | Kortingspercentage 1 |
| `drawing` | String | Tekeningnummer |
| `exchange_rate` | Decimal | Koers |
| `gross_price_foreign_currency` | Decimal | Bruto verkoopprijs (vv) |
| `net_price_foreign_currency` | Decimal | Netto verkoopprijs (vv). The same in the quotation's currency; 0 on a quotation in the local currency. |
| `function` | Int32 | Funktie |
| `is_optional` | Int32 | Optioneel (j/n). An optional line; whether it counts in the value isn't decided. |
| `gross_price_local_currency` | Decimal | Bruto verkoopprijs. The gross price per unit in the local currency, before the line's discount. |
| `net_price_local_currency` | Decimal | Netto verkoopprijs. The price per unit after discount_percentage, without VAT, in the local currency. Line value = quantity times this. |
| `memo_1` | String | Memo algemeen. The internal memo. |
| `memo_2` | String | Memo 1. The memo the customer sees. |
| `memo_3` | String | Memo 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_date` | Date | Datum wijzig |
| `order_code` | String | Bestelkode |
| `planning_date` | Date | Planningsdatum. The delivery date the customer asked for. |
| `planning_week` | Int32 | Planweek |
| `print_code` | Boolean | Afdrukken kode |
| `print_memo` | Boolean | Afdrukken memo |
| `print_price` | Boolean | Afdrukken prijs |
| `print_quantity` | Boolean | Afdrukken aantal |
| `profit_margin` | Decimal | Winstmarge |
| `quantity` | Decimal | Aantal. The quantity in the article's price unit; the app shows it per sales unit and converts it back. |
| `quotation_date` | Date | Datum offerte |
| `quotation_week` | Int32 | Week offerte |
| `reference` | String | Referentie verkoopofferteregel |
| `revenue_group_id` | Int32 | Omzetgroep |
| `revision` | String | Revisie |
| `sequence` | Int32 | Volgorde |
| `vat_code_id` | Int32 | BTW nummer |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `Article` → [Articles](https://docs.fledge.nl/en/api/reference/Articles.md) (one)
- `ArticleGroup` → [ArticleGroups](https://docs.fledge.nl/en/api/reference/ArticleGroups.md) (one)
- `CreatedBy` → [Users](https://docs.fledge.nl/en/api/reference/Users.md) (one)
- `Creditor` → [Creditors](https://docs.fledge.nl/en/api/reference/Creditors.md) (one)
- `RevenueGroup` → [RevenueGroups](https://docs.fledge.nl/en/api/reference/RevenueGroups.md) (one)
- `SalesQuotationHeader` → [SalesQuotationHeaders](https://docs.fledge.nl/en/api/reference/SalesQuotationHeaders.md) (one)
- `UpdatedBy` → [Users](https://docs.fledge.nl/en/api/reference/Users.md) (one)
- `DocumentLinks` → [DocumentLinks](https://docs.fledge.nl/en/api/reference/DocumentLinks.md) (many)
- `QuoteCalculationHeaders` → [QuoteCalculationHeaders](https://docs.fledge.nl/en/api/reference/QuoteCalculationHeaders.md) (many)
- `RichTextMemos` → [RichTextMemos](https://docs.fledge.nl/en/api/reference/RichTextMemos.md) (many)
- `SalesOrderConfirmationLines` → [SalesOrderConfirmationLines](https://docs.fledge.nl/en/api/reference/SalesOrderConfirmationLines.md) (many)
- `SalesOrderLines` → [SalesOrderLines](https://docs.fledge.nl/en/api/reference/SalesOrderLines.md) (many)
- `SalesQuotationPrognoses` → [SalesQuotationPrognoses](https://docs.fledge.nl/en/api/reference/SalesQuotationPrognoses.md) (many)
- `SalesQuotationSpecifications` → [SalesQuotationSpecifications](https://docs.fledge.nl/en/api/reference/SalesQuotationSpecifications.md) (many)

## Actions

- `POST SalesQuotationLines(administration_id=1,sales_quotation_header_id='{sales_quotation_header_id}',sales_quotation_line_id={sales_quotation_line_id})/CalculateViaQuotationFactoryProject` — body: `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

---

Source: https://docs.fledge.nl/en/api/reference/SalesQuotationLines
