# LayoutSets

> A named set of document layouts: one each for confirmation, picklist, delivery note, invoice, quotation and the purchase documents.

Subject: Documents.

A named set of document layouts: one each for confirmation, picklist, delivery note, invoice, quotation and the purchase documents.

Label in Fledge: Layouts.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/LayoutSets?$filter=administration_id eq 1&$select=layout_set_id,description,invoice_reminder_layout_id,order_confirmation_layout_id&$top=50
GET https://odata-api.fledge.nl/v2-8/LayoutSets(administration_id=1,layout_set_id={layout_set_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `layout_set_id` (key) | Int32, not null | Layout |
| `description` | String | Omschrijving |
| `invoice_reminder_layout_id` | Int32 | Nummer layout |
| `order_confirmation_layout_id` | Int32 | Orderbevestigingsnummer |
| `picklist_layout_id` | Int32 | Picklistlayout |
| `purchase_delivery_note_layout_id` | Int32 | Layout |
| `purchase_invoice_layout_id` | Int32 | Layout |
| `purchase_order_layout_id` | Int32 | Layout |
| `purchase_quotation_layout_id` | Int32 | Layoutnummer |
| `sales_delivery_note_layout_id` | Int32 | Layout |
| `sales_invoice_layout_id` | Int32 | Faktuur layout nummer |
| `sales_quotation_layout_id` | Int32 | Layoutnummer |

## Relations

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

---

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