# PurchaseOrderInstructionLines

> Bestelopdrachtregels

Subject: Purchase.

Bestelopdrachtregels

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/PurchaseOrderInstructionLines` |
| Key | `administration_id`, `purchase_order_header_id`, `purchase_order_instruction_header_id`, `purchase_order_instruction_line_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | INKOOP, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PurchaseOrderInstructionLines?$filter=administration_id eq 1&$select=purchase_order_header_id,purchase_order_instruction_header_id,purchase_order_instruction_line_id,amount_returned,custom_field_price,delivery_date&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseOrderInstructionLines(administration_id=1,purchase_order_header_id='{purchase_order_header_id}',purchase_order_instruction_header_id={purchase_order_instruction_header_id},purchase_order_instruction_line_id={purchase_order_instruction_line_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchase_order_instruction_header_id` (key) | Int32, not null | Volgnummer |
| `purchase_order_instruction_line_id` (key) | Int32, not null | Regelnummer |
| `purchase_order_header_id` (key) | String, not null | Ordernummer |
| `amount_returned` | Decimal | Aantal teruggemeld |
| `article_id` | String | Artikel |
| `custom_field_price` | Decimal | Netto prijs vv: Netto prijs vreemde valuta |
| `delivery_date` | Date | Leverdatum |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving |
| `description_3` | String | Omschrijving |
| `discount` | Decimal | Korting |
| `drawing_number` | String | Tekeningnummer |
| `foreign_currency_price` | Decimal | Bruto prijs vv: Bruto prijs vreemde valuta |
| `function` | Int32 | Funktie van de regel |
| `gross_price` | Decimal | Bruto prijs |
| `manufacturer_code` | String | Fabrikantcode |
| `material_shape_id` | String | Materiaalvorm code |
| `memo` | String | Memo |
| `order_code` | String | Bestelkode |
| `order_price` | Decimal | Bestelprijs |
| `order_unit_description` | String | Omschrijving besteleenheid |
| `order_unit_operator` | String | Operator besteleenheid |
| `order_unit_ratio` | Decimal | Factor besteleenheid |
| `parameter_1` | Decimal | Par 1: Parameter 1 |
| `parameter_2` | Decimal | Par 2: Parameter 2 |
| `parameter_3` | Decimal | Par 3: Parameter 3 |
| `parameter_4` | Decimal | Par 4: Parameter 4 |
| `parameter_5` | Decimal | Par 5: Parameter 5 |
| `parameter_6` | Decimal | Par 6: Parameter 6 |
| `price` | Decimal | Netto prijs |
| `purchase_order_line_confirmed_delivery_date` | Date | Bevestigde leverdatum |
| `purchase_order_line_delivery_date_confirmed_at` | Date | Leverdatum bevestigd op |
| `purchase_order_line_id` | Int32 | Regelnummer |
| `purchase_order_line_is_confirmed` | Boolean | Bevestigd ja/nee |
| `purchase_order_line_shift_reason` | String | Reden verschuiving |
| `quantity` | Decimal | Aantal |
| `revision` | String | Revisie |
| `special` | Boolean | Fixed lengte |
| `special_quantity` | Decimal | Aantal |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `PurchaseOrderHeader` → [PurchaseOrderHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderHeaders.md) (one)
- `PurchaseOrderInstructionHeader` → [PurchaseOrderInstructionHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderInstructionHeaders.md) (one)
- `PurchaseOrderLine` → [PurchaseOrderLines](https://docs.fledge.nl/en/api/reference/PurchaseOrderLines.md) (one)

---

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