# SalesOrderSpecifications

> A specification row of a sales order line status.

Subject: Sales orders.

A specification row of a sales order line status. A sales invoice line with line_function 9 is an extra charge from such a row.

Label in Fledge: Verkooporder specificatie.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/SalesOrderSpecifications` |
| Key | `administration_id`, `sales_order_header_id`, `sales_order_line_id`, `sales_order_line_status_id`, `specification_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, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/SalesOrderSpecifications?$filter=administration_id eq 1&$select=sales_order_header_id,sales_order_line_id,sales_order_line_status_id,specification_id,amount_invoiced,quantity_ordered,amount&$top=50
GET https://odata-api.fledge.nl/v2-8/SalesOrderSpecifications(administration_id=1,sales_order_header_id='{sales_order_header_id}',sales_order_line_id={sales_order_line_id},sales_order_line_status_id={sales_order_line_status_id},specification_id={specification_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `sales_order_header_id` (key) | String, not null | Verkoopordernummer |
| `sales_order_line_id` (key) | Int32, not null | Regelnummer |
| `sales_order_line_status_id` (key) | Int32, not null | Volgnummer |
| `specification_id` (key) | Int32, not null | Volgnummer |
| `quantity_ordered` | Decimal | Aantal besteld |
| `article_id` | String | Artikelcode |
| `amount` | Decimal | Bedrag (berekend) |
| `fallback_account_id` | Int32 | Uitwijkrekening |
| `financial_year` | Int32 | Boekjaar |
| `amount_invoiced` | Decimal | Ingave bedrag. Despite its name, the amount entered by hand (ingave bedrag), not an invoiced amount. On quotations the same column is SalesQuotationSpecifications.amount_manually_entered. |
| `main_operation_id` | Int32 | Hoofdbewerkings nummer |
| `material_number` | Int32 | Mat.nummer: Materiaal nummer |
| `memo` | String | Memo |
| `description` | String | Omschrijving |
| `production_order_assembly_id` | Int32 | Schrapnummer |
| `production_order_header_id` | String | Order nummer |
| `sales_invoice_header_id` | String | Factuur nummer |
| `sales_invoice_line_id` | Int32 | Factuurregelnummer |
| `sub_operation_id` | Int32 | Subbewerkingsnummer |
| `type` | Int32 | Type (instelkosten/uitwijkrekening/artikel) |
| `sequence_number_2` | Int32 | Volgnummer |
| `sequence` | Int32 | Volgorde |

---

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