# CreditorPayments

> Crediteur betalingen

Subject: Receivables and payables.

Crediteur betalingen

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/CreditorPayments?$filter=administration_id eq 1&$select=creditor_id,creditor_payment_id,financial_year,item,item_registration_number,amount_not_paid,amount_not_paid_foreign_currency,amount_paid&$top=50
GET https://odata-api.fledge.nl/v2-8/CreditorPayments(administration_id=1,creditor_id={creditor_id},creditor_payment_id={creditor_payment_id},financial_year={financial_year},item='{item}',item_registration_number={item_registration_number})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `creditor_id` (key) | Int32, not null | Crediteurnummer |
| `item` (key) | String, not null | Boekstuk |
| `item_registration_number` (key) | Int32, not null | Boekstukvolgnr.: Boekstukvolgnummer |
| `financial_year` (key) | Int32, not null | Boekjaar |
| `creditor_payment_id` (key) | Int32, not null | Betalings nr.: Betalingsvolgnummer |
| `amount_not_paid` | Decimal | Bedrag niet betaald |
| `amount_not_paid_foreign_currency` | Decimal | Bedrag niet betaald VV: Bedrag niet betaald vreemde valuta |
| `amount_paid` | Decimal | Bedrag betaald |
| `amount_paid_foreign_currency` | Decimal | Bedrag betaald VV |
| `currency_code_id` | Int32 | Valutanummer |
| `date_payment` | Date | Datum betaling |
| `debit_credit` | Boolean | Debet/Credit |
| `exchange_rate` | Decimal | Koers |
| `financial_period` | Int32 | Periode waarin de bijbehorende financiele mutatie geboekt is. |
| `journal_entry_financial_year` | Int32 | Boekjaar |
| `journal_entry_id` | Int32 | Journaalpost nummer |
| `journal_entry_tracking_id` | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
| `journal_id` | Int32 | Dagboek nummer |
| `payment_days` | Decimal | Betaaldagen |
| `status` | Int32 | Status verwerking (0, 2, 4) |

## Relations

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

---

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