# PurchaseMaterials

> Inkoopordermateriaal: Inkoopmateriaal

Subject: Purchase.

Inkoopordermateriaal: Inkoopmateriaal

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PurchaseMaterials?$filter=administration_id eq 1&$select=purchase_material_id,purchase_order_header_id,creation_date,modification_date,order_quantity&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseMaterials(administration_id=1,purchase_material_id={purchase_material_id},purchase_order_header_id='{purchase_order_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchase_material_id` (key) | Int32, not null | Regelnummer |
| `purchase_order_header_id` (key) | String, not null | Ordernummer |
| `allowance` | Int32 | Nummer: Toeslagprijs 1 |
| `article_custom_field_set_id` | Int32 | Volgnummer |
| `article_id` | String | Artikelcode |
| `created_by` | Int32 | Gebruiker aanmaak |
| `creation_date` | Date | Datum aanmaak |
| `creditor_group_id` | Int32 | Crediteurgroep nummer |
| `creditor_id` | Int32 | Crediteurnummer |
| `currency_code_id` | Int32 | Valutanummer |
| `determina_weight` | Boolean | Bepaal gewicht |
| `determine_surface_area` | Boolean | Bepaal oppervlakte |
| `internal_serial_number_1` | Int32 | Intern volgnummer |
| `internal_serial_number_2` | Int32 | Intern volgnummer |
| `internal_serial_number_3` | Int32 | Intern volgnummer |
| `internal_serial_number_4` | Int32 | Nummer: Bewerkingsprijs 4 |
| `internal_serial_number_5` | Int32 | Nummer: Bewerkingsprijs 5 |
| `internal_serial_number_6` | Int32 | Nummer: Bewerkingsprijs 6 |
| `internal_serial_number_base` | Int32 | Intern volgnummer |
| `internal_serial_number_over` | Int32 | Intern volgnummer |
| `material_shape_id` | String | Materiaalvorm code |
| `materials_parts_list_corner_1` | Boolean | Meerdere hoeken |
| `materials_parts_list_corner_2` | Decimal | Hoek 1 |
| `materials_parts_list_multiple_corners` | Decimal | Hoek 2 |
| `materials_parts_list_number_of_saw_cuts` | Int32 | Aantal maal zagen |
| `materials_parts_list_type_miter_saws` | Int32 | Type verstekzagen (liggend, staand) |
| `material_type_id` | String | Materiaalsoort: alfanumerieke code voor het materiaal, 15 karakters  lang |
| `modification_date` | Date | Datum wijzig |
| `order_quantity` | Decimal | Bestel aantal |
| `pre_calculation_material_addition` | Boolean | Toeslag |
| `pre_calculation_material_amount_pre_calculation` | Decimal | Declarabel bedrag |
| `pre_calculation_material_base_article_id` | String | Artikel (torm.part_code, msrt.part_code) |
| `pre_calculation_material_burn_surface_finish` | Boolean | Branden |
| `pre_calculation_material_calculation_method` | Int32 | Rekenmethode |
| `pre_calculation_material_do_miter_saw` | Boolean | Verstekzagen |
| `pre_calculation_material_do_saw` | Boolean | Zagen |
| `pre_calculation_material_gross_price` | Decimal | Prijs bruto |
| `pre_calculation_material_has_miter_saw_price` | Boolean | Toepassen verstekzaagprijs |
| `pre_calculation_material_material_text` | Int32 | Mat/art/tekst: Materiaal/artikel/tekst |
| `pre_calculation_material_net_gross_manual` | Int32 | Netto/Bruto/Handmatig |
| `pre_calculation_material_net_price` | Decimal | Prijs netto |
| `pre_calculation_material_number_of_cuts` | Decimal | Zaagsnede |
| `pre_calculation_material_order_unit_gross` | Decimal | Bestel bruto: Besteleenheid bruto |
| `pre_calculation_material_order_unit_net` | Decimal | Bestel netto |
| `pre_calculation_material_over_price` | Boolean | Overprijs |
| `pre_calculation_material_parameter_1` | Decimal | Par 1: Parameter 1 |
| `pre_calculation_material_parameter_2` | Decimal | Par 2: Parameter 2 |
| `pre_calculation_material_parameter_3` | Decimal | Par 3: Parameter 3 |
| `pre_calculation_material_parameter_4` | Decimal | Par 4: Parameter 4 |
| `pre_calculation_material_parameter_5` | Decimal | Par 5: Parameter 5 |
| `pre_calculation_material_parameter_6` | Decimal | Par 6: Parameter 6 |
| `pre_calculation_material_position_number` | String | Pos-nummer |
| `pre_calculation_material_price` | Decimal | Prijs per stuk |
| `pre_calculation_material_price_system` | Int32 | Prijssysteem |
| `pre_calculation_material_price_unit` | Decimal | Prijs eenheid |
| `pre_calculation_material_radius` | Boolean | Stralen |
| `pre_calculation_material_sandblast_lead_paint` | Boolean | Stralen + menie`: Stralen + menie |
| `pre_calculation_material_sandblast_sigmaweld` | Boolean | Stralen + sigmaweld |
| `pre_calculation_material_storage` | Decimal | Opslag |
| `pre_calculation_material_weight_gross` | Decimal | Gewicht bruto |
| `pre_calculation_material_weight_net` | Decimal | Gewicht netto |
| `purchase_order_line_benchmark` | Decimal | Maatstaf intrastat-aangifte |
| `purchase_order_line_category` | String | Rubriek BTW omzet aangifte |
| `purchase_order_line_currency_unit` | Int32 | Eenheid valuta |
| `purchase_order_line_delivery_date` | Date | Datum levering |
| `purchase_order_line_delivery_week` | Int32 | Week levering |
| `purchase_order_line_description_1` | String | Omschrijving |
| `purchase_order_line_description_2` | String | Omschrijving: Omschrjving |
| `purchase_order_line_description_3` | String | Omschrijving |
| `purchase_order_line_discount` | Decimal | Korting |
| `purchase_order_line_exchange_rate` | Decimal | Koers |
| `purchase_order_line_foreign_currency_price` | Decimal | Bruto prijs vv: Bruto prijs vreemde valuta |
| `purchase_order_line_foreign_currency_price_with_vat` | Decimal | Netto prijs vv: Netto prijs vreemde valuta |
| `purchase_order_line_intrastat_statistic_value` | Decimal | Statistische waarde voor intrastat-aangifte |
| `purchase_order_line_intrastat_weight` | Decimal | Gewicht |
| `purchase_order_line_invoice_value` | Decimal | Factuurwaarde voor intrastat-aangifte |
| `purchase_order_line_memo` | String | Memo |
| `purchase_order_line_order_code` | String | Bestelkode |
| `purchase_order_line_order_date` | Date | Datum order |
| `purchase_order_line_order_price` | Decimal | Bestelprijs |
| `purchase_order_line_order_week` | Int32 | Week order |
| `quantity` | Decimal | Aantal |
| `revenue_group_id` | Int32 | Omzetgroep |
| `sequence` | Int32 | Volgorde |
| `updated_by` | Int32 | Gebruiker wijzig |
| `vat_code_id` | Int32 | BTW nummer |
| `warehouse_address_id` | Int32 | Adresnummer |
| `warehouse_aisle_id` | Int32 | Magazijn |
| `warehouse_shelf_id` | Int32 | Locatie |

## 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)

---

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