# PurchaseOrderReceiptHeaders

> A goods receipt (ontvangstbon, pakbon): goods received from one supplier at one moment, possibly for several purchase orders.

Subject: Purchase.

A goods receipt (ontvangstbon, pakbon): goods received from one supplier at one moment, possibly for several purchase orders. Its lines are PurchaseOrderReceiptLines.

Label in Fledge: Inkooporder pakbon header.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PurchaseOrderReceiptHeaders?$filter=administration_id eq 1&$select=purchase_order_receipt_header_id,creditor_id,date_created,date_signoff&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseOrderReceiptHeaders(administration_id=1,purchase_order_receipt_header_id='{purchase_order_receipt_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchase_order_receipt_header_id` (key) | String, not null | Pakbon |
| `company_name_1` | String | Bedrijfsnaam |
| `company_name_2` | String | Bedrijfsnaam |
| `company_name_3` | String | Bedrijfsnaam |
| `created_by` | Int32 | User aanmaak |
| `creditor_id` | Int32 | Leverancier. The supplier. |
| `date_created` | Date | Datum aanmaak. When the receipt was booked. |
| `date_signoff` | Date | Datum dagtekening. The date the goods were received. |
| `email` | String | E-mail |
| `fax_number` | String | Telefax |
| `has_been_processed` | Boolean | Is de hele pakbon verwerkt of niet. Not kept up to date by the Fledge API. |
| `place_signoff` | String | Plaats dagtekening |
| `purchase_delivery_note_layout_id` | Int32 | Layout |
| `receipt_number_supplier` | String | Pakbonnr.lev.: Pakbonnummer van leverancier. The supplier's own delivery note (packing slip) number. |
| `telephone_number` | String | Telefoon |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `PurchaseOrderReceiptLines` → [PurchaseOrderReceiptLines](https://docs.fledge.nl/en/api/reference/PurchaseOrderReceiptLines.md) (many)

---

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