# JournalEntries

> One line of a journal entry (financiële mutatie): one debit or credit amount on one ledger account.

Subject: Finance.

One line of a journal entry (financiële mutatie): one debit or credit amount on one ledger account. A journal entry is the lines with the same financial_year and journal_entry_id.

Label in Fledge: Financiele mutaties.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/JournalEntries` |
| Key | `administration_id`, `financial_year`, `journal_entry_id`, `journal_entry_tracking_id` |
| 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/JournalEntries?$filter=administration_id eq 1&$select=financial_year,journal_entry_id,journal_entry_tracking_id,signed_amount,amount_lv,amount_vv&$top=50
GET https://odata-api.fledge.nl/v2-8/JournalEntries(administration_id=1,financial_year={financial_year},journal_entry_id={journal_entry_id},journal_entry_tracking_id={journal_entry_tracking_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `financial_year` (key) | Int32, not null | Boekjaar |
| `journal_entry_id` (key) | Int32, not null | Journaalpost nummer |
| `journal_entry_tracking_id` (key) | Int32, not null | Journaalpost volgnr: Journaalpost volgnummer. The line number within the journal entry (volgnummer). |
| `signed_amount` | Decimal | Absoluut bedrag. Debit positive, credit negative, but the Fledge API leaves it empty; use amount_lv and debet_credit. |
| `amount_lv` | Decimal | Bedrag LV. The amount in the local currency, never negative; debet_credit gives the side. |
| `amount_vv` | Decimal | Bedrag VV. The amount in the foreign currency. |
| `cost_center_id` | Int32 | Kostenplaatsnummer |
| `created_by` | Int32 | Gebr. aanmaak: Gebruikerscode aanmaak |
| `creation_date` | Date | Aanmaakdatum van de record |
| `currency_code_id` | Int32 | Valutanummer |
| `debet_credit` | Boolean | Credit/Debit. True for debit, false for credit. |
| `description` | String | Omschrijving van mutatie |
| `entry_4_weeks` | Int32 | Boekings-4 weken |
| `entry_change_date` | Date | Boekstukdatum van de mutatie. The document date (boekstukdatum), for example the invoice date. |
| `entry_date` | Date | Boeking-aamaakdatum. The booking date. |
| `entry_day_number` | Int32 | Boekings-dagnummer |
| `entry_month` | Int32 | Boekings-maand. The month of the booking date, not of the period; use financial_period_id. |
| `entry_week` | Int32 | Boekings-week |
| `exchange_rate` | Decimal | Koers |
| `financial_period_id` | Int32 | Periode nummer. The financial period the line belongs to. |
| `general_ledger_id` | String | Grootboekrekeningnummer |
| `general_ledger_run_number` | Int32 | GB run-nummer |
| `journal_debit_credit_code` | String | Gbk/Deb/Crd code. The kind of line, a number as text: 1 ledger (a cost or revenue line), 2 customer invoice, 3 customer payment, 4 supplier invoice, 5 supplier payment, 6 VAT, 7 credit restriction. |
| `journal_entry` | String | Boekstuk. The document number (boekstuk), a text; not journal_entry_id. |
| `journal_id` | Int32 | Dagboek nummer |
| `journal_run_number` | Int32 | DB run-nummer |
| `modification_date` | Date | Datum laatste wijziging van de record |
| `modified_by` | Int32 | Gebr. ltst.  wijziging: Gebruikerscode laatste wijziging |
| `project_id` | String | Project/Order nummer: Project/ Ordernummer. A production order number; the Fledge API doesn't fill it. |
| `source` | Int32 | Herkomst. Where the line comes from, a number; for example 11 sales invoice, 12 purchase invoice, 20 telebanking, 41 hours processing. |
| `status` | Int32 | Status. 0 not processed (ongeboekt), 4 processed (geboekt). |
| `type` | Int32 | AFC: Algemeen/Fiscaal/Commercieel. 3 general (algemeen), 1 fiscal, 5 commercial. |
| `vat_section` | String | Rubriek BTW omzet aangifte. The VAT return section (rubriek), for example 1a or 5b, with a digit after it in some rows. |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `CostCenter` → [CostCenters](https://docs.fledge.nl/en/api/reference/CostCenters.md) (one)
- `GeneralLedger` → [GeneralLedgers](https://docs.fledge.nl/en/api/reference/GeneralLedgers.md) (one)
- `ArticleMutationHistoricJournalEntryLinks` → [ArticleMutationHistoricJournalEntryLinks](https://docs.fledge.nl/en/api/reference/ArticleMutationHistoricJournalEntryLinks.md) (many)
- `AssemblyJournalEntryLinks` → [AssemblyJournalEntryLinks](https://docs.fledge.nl/en/api/reference/AssemblyJournalEntryLinks.md) (many)
- `BankStatementLineLinks` → [BankStatementLineLinks](https://docs.fledge.nl/en/api/reference/BankStatementLineLinks.md) (many)
- `CreditorPayments` → [CreditorPayments](https://docs.fledge.nl/en/api/reference/CreditorPayments.md) (many)
- `CreditorUnsettledItems` → [CreditorUnsettledItems](https://docs.fledge.nl/en/api/reference/CreditorUnsettledItems.md) (many)
- `DebtorPayments` → [DebtorPayments](https://docs.fledge.nl/en/api/reference/DebtorPayments.md) (many)
- `DebtorUnsettledItems` → [DebtorUnsettledItems](https://docs.fledge.nl/en/api/reference/DebtorUnsettledItems.md) (many)
- `FinancialInfo` → [FinancialInfos](https://docs.fledge.nl/en/api/reference/FinancialInfos.md) (many)
- `FixedAssetJournalEntryLinks` → [FixedAssetJournalEntryLinks](https://docs.fledge.nl/en/api/reference/FixedAssetJournalEntryLinks.md) (many)
- `FixedAssetPeriodAmounts` → [FixedAssetPeriodAmounts](https://docs.fledge.nl/en/api/reference/FixedAssetPeriodAmounts.md) (many)
- `FixedAssetSubItems` → [FixedAssetSubItems](https://docs.fledge.nl/en/api/reference/FixedAssetSubItems.md) (many)
- `IssueHistoryJournalEntryLinks` → [IssueHistoryJournalEntryLinks](https://docs.fledge.nl/en/api/reference/IssueHistoryJournalEntryLinks.md) (many)
- `PayrollJournalEntryLinks` → [PayrollJournalEntryLinks](https://docs.fledge.nl/en/api/reference/PayrollJournalEntryLinks.md) (many)
- `PostCalculationCostJournalEntryLinks` → [PostCalculationCostJournalEntryLinks](https://docs.fledge.nl/en/api/reference/PostCalculationCostJournalEntryLinks.md) (many)
- `PurchaseOrderJournalEntryLinks` → [PurchaseOrderJournalEntryLinks](https://docs.fledge.nl/en/api/reference/PurchaseOrderJournalEntryLinks.md) (many)
- `SalesOrderJournalEntryLinks` → [SalesOrderJournalEntryLinks](https://docs.fledge.nl/en/api/reference/SalesOrderJournalEntryLinks.md) (many)
- `TimesheetJournalEntryLinks` → [TimesheetJournalEntryLinks](https://docs.fledge.nl/en/api/reference/TimesheetJournalEntryLinks.md) (many)

---

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