# PurchaseQuotationHeaders

> A purchase quotation (inkoopofferte): a price request to one supplier, with its lines in PurchaseQuotationLines.

Subject: Purchase.

A purchase quotation (inkoopofferte): a price request to one supplier, with its lines in PurchaseQuotationLines. Made in Fledge Remote; the app has no screen for it. See the purchase quotations reference of the purchase orders skill.

Label in Fledge: Inkoopofferteheader.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PurchaseQuotationHeaders?$filter=administration_id eq 1&$select=purchase_quotation_header_id,creditor_groups_id,date_received,date_response_before&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseQuotationHeaders(administration_id=1,purchase_quotation_header_id='{purchase_quotation_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchase_quotation_header_id` (key) | String, not null | Offertenummer: Offerte nummer. Our quotation number; supplier_quotation_number is the supplier's own. |
| `change_date` | Date | Datum wijzig: Datum laatste wijziging |
| `changed_by` | Int32 | User wijzig |
| `created_by` | Int32 | User aanmaak |
| `creation_date` | Date | Datum aanmaak |
| `creditor_groups_id` | Int32 | Crediteurgroep nummer. A creditor group (the lines call it creditor_group_id). |
| `creditor_id` | Int32 | Crediteurnummer |
| `currency_code_id` | Int32 | Valutanummer |
| `currency_unit` | Int32 | Eenheid valuta |
| `date_delivery` | Date | Leveringsdatum |
| `date_received` | Date | Datum ontvangst. The date the supplier's reply was received. |
| `date_response_before` | Date | Antwoord voor. The date the supplier is asked to reply by. |
| `date_valid` | Date | Geldig tot: Datum geldigheid. The date the quoted prices are valid until. |
| `delivery_condition_id` | Int32 | Levering konditie: Leverings koditie nummer |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving 2 |
| `description_3` | String | Omschrijving 3 |
| `discount` | Decimal | Offertekorting. The quotation discount (offertekorting); not in the lines' prices. |
| `exchange_rate` | Decimal | Valutakoers |
| `has_vat` | Boolean | BTW ja/nee |
| `language_code_id` | Int32 | Taalkode |
| `leading_currency` | Int32 | Bepalende valuta |
| `memo` | String | Memo |
| `payment_term_id` | Int32 | Betalingskonditie |
| `purchase_quotation_layout_id` | Int32 | Layoutnummer |
| `purchaser` | Int32 | Inkoper. A Purchasers id; 0 is none. |
| `quotation_date` | Date | Datum offerte |
| `quotation_week` | Int32 | Week offerte |
| `reference` | String | Referentie |
| `relation_address_id` | Int32 | Adresnummer |
| `relation_contact_person_id` | Int32 | Kontaktpers.: Kontakt persoon nummer |
| `relation_id` | Int32 | Relatie |
| `status` | Int32 | Statusnummer. A number from the administration's own list of quotation statuses, which the Fledge API doesn't offer: the numbers have no names and no code sets them. |
| `supplier_quotation_number` | String | Offertenr. leverancier: Offertenummer leverancier |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `Creditor` → [Creditors](https://docs.fledge.nl/en/api/reference/Creditors.md) (one)
- `PurchaseQuotationLayout` → [PurchaseQuotationLayouts](https://docs.fledge.nl/en/api/reference/PurchaseQuotationLayouts.md) (one)
- `CreditorGroup` → [CreditorGroups](https://docs.fledge.nl/en/api/reference/CreditorGroups.md) (one)
- `DeliveryCondition` → [DeliveryConditions](https://docs.fledge.nl/en/api/reference/DeliveryConditions.md) (one)
- `LanguageCode` → [LanguageCodes](https://docs.fledge.nl/en/api/reference/LanguageCodes.md) (one)
- `PaymentTerm` → [PaymentConditions](https://docs.fledge.nl/en/api/reference/PaymentConditions.md) (one)
- `Relation` → [Relations](https://docs.fledge.nl/en/api/reference/Relations.md) (one)
- `RelationAddress` → [RelationAddresses](https://docs.fledge.nl/en/api/reference/RelationAddresses.md) (one)
- `RelationContactPerson` → [RelationContactPeople](https://docs.fledge.nl/en/api/reference/RelationContactPeople.md) (one)
- `DocumentLinks` → [DocumentLinks](https://docs.fledge.nl/en/api/reference/DocumentLinks.md) (many)
- `PurchaseQuotationLines` → [PurchaseQuotationLines](https://docs.fledge.nl/en/api/reference/PurchaseQuotationLines.md) (many)

---

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