# DebtorGroups

> Debiteurgroepen

Subject: Relations.

Debiteurgroepen

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

## Example requests

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

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `debtor_group_id` (key) | Int32, not null | Debiteurgroep nummer |
| `description` | String | Omschrijving |
| `general_account_id` | String | Grootboekrekeningnummer |

## Relations

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

---

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