# Permanences

> Permanence

Subject: Finance.

Permanence

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Permanences?$filter=administration_id eq 1&$select=permanence_id,total_amount,general_processed_amount,commercial_processed_amount&$top=50
GET https://odata-api.fledge.nl/v2-8/Permanences(administration_id=1,permanence_id='{permanence_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `permanence_id` (key) | String, not null | Permanence nr.: Permanence nummer |
| `general_period_count` | Int32 | Aantal periodes algemeen |
| `commercial_period_count` | Int32 | Aantal periodes comm.: Aantal periodes commercieel |
| `fiscal_period_count` | Int32 | Aantal periodes fisc.: Aantal periodes fiscaal |
| `general_commercial_fiscal` | Boolean | Algemeen/Comm.-Fiscaal: Algemeen of commercieel en fiscaal (verouderd) |
| `total_amount` | Decimal | Bedrag totaal |
| `general_processed_amount` | Decimal | Bedrag verwerkt |
| `commercial_processed_amount` | Decimal | Bedrag verwerkt comm.: Bedrag verwerkt commercieel |
| `fiscal_processed_amount` | Decimal | Bedrag verwerkt fisc.: Bedrag verwerkt fiscaal |
| `financial_year` | Int32 | Boekjaar |
| `journal_entry` | String | Boekstuk code |
| `journal_entry_date` | Date | Boekstukdatum van de perm. |
| `cost_center_id` | Int32 | Kostenplaats nr |
| `cost_type_id` | Int32 | Kostensoort nr |
| `created_by` | Int32 | Gebr. aanmaak: Gebruikerscode aanmaak |
| `creation_date` | Date | Aanmaakdatum van de record |
| `credit_debit` | Boolean | Credit/Debit: Debet/Credit |
| `creditor_id` | Int32 | Crediteurnummer |
| `debtor_id` | Int32 | Debiteurnummer |
| `general_ledger_id_1` | String | Grootboekrekening 1 |
| `general_ledger_id_2` | String | Grootboekrekening 2 |
| `journal_entry_id` | Int32 | Journaalpost nummer |
| `journal_entry_tracking_id` | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
| `modification_date` | Date | Datum laatste wijziging van de record |
| `modified_by` | Int32 | Gebr. ltst.  wijziging: Gebruikerscode laatste wijziging |
| `description` | String | Omschrijving |
| `permanence_group_id` | String | Groep permanence |
| `permanence_type_id` | String | Soort permanence |
| `general_remaining_period_count` | Int32 | Restant periodes algemeen |
| `commercial_remaining_period_count` | Int32 | Restant periodes comm.: Restant periodes commercieel |
| `fiscal_remaining_period_count` | Int32 | Restant periodes fisc.: Restant periodes fiscaal |
| `status` | Boolean | Status actueel/verwerkt |
| `search_name` | String | Zoeknaam |

---

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