# AccountStatementLines

> One transaction line of an imported bank statement (bankafschrift).

Subject: Finance.

One transaction line of an imported bank statement (bankafschrift). The statement header can't be read; the company's own account is in own_iban_number. Written by the legacy ERP.

Label in Fledge: Bankafschrift regel.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/AccountStatementLines?$filter=administration_id eq 1&$select=account_statement_header_id,account_statement_line_id,is_debit_or_credit,sequence_number,amount&$top=50
GET https://odata-api.fledge.nl/v2-8/AccountStatementLines(account_statement_header_id={account_statement_header_id},account_statement_line_id={account_statement_line_id},administration_id=1)
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `account_statement_header_id` (key) | Int32, not null | Bankafschrift |
| `account_statement_line_id` (key) | Int32, not null | Regelnummer |
| `is_debit_or_credit` | Boolean | Credit/Debit. The debit or credit flag; which value is money in isn't documented. |
| `exchange_rate` | Decimal | Koers |
| `description_1` | String | Omschrijving 1 |
| `description_2` | String | Omschrijving 2 |
| `description_3` | String | Omschrijving 3 |
| `sequence_number` | String | Volgnummer. A text, not the key; the key is account_statement_line_id. |
| `batch_id` | String | Batch indentificatie |
| `amount` | Decimal | Bedrag. The amount in currency_code; whether money in or out isn't documented, see is_debit_or_credit. |
| `payment_reference` | String | Betalingskenmerk |
| `booking_date` | Date | Boekdatum. The booking date (boekdatum). |
| `date_last_updated` | DateTimeOffset | Datum laatste wijziging |
| `own_bic` | String | BIC: Bank Identification Number (swift-code) |
| `own_iban_number` | String | IBAN-nr.: IBAN-nummer (Int. Bank Account Number). The company's own bank account. |
| `initiating_party_name` | String | Naam initierende partij |
| `original_amount` | Decimal | Oorspronkelijk bedrag: Oorspronkelijke opdracht bedrag |
| `original_currency_code` | String | Oorspronkelijke valutacode |
| `currency_code` | String | Valutacode |
| `return_reason` | String | Reden Retour |
| `interest_date` | Date | Rentedatum. The value date (rentedatum). |
| `balance_after_transaction` | Decimal | Bedrag na transactie. The account balance after this line. |
| `sepa_end_to_end_id` | String | Transactiereferentie / End to End Referentie |
| `sepa_creditor_id` | String | Incassant ID |
| `sepa_mandate_id` | String | Machtigingskenmerk / Mandaat identificatie |
| `counterparty_bic` | String | Tegenrekening BIC: Tegenrekening Bank Identification Number (swift-code) |
| `counterparty_iban_number` | String | Tegenrekening IBAN-nr.: Tegenrekening IBAN-nummer (Int. Bank Account Number). The other party's bank account (tegenrekening). |
| `counterparty_name` | String | Naam tegenpartij. The other party's name. |
| `transaction_code` | String | Transactie code |
| `ultimate_party_name` | String | Naam uiteindelijke partij |
| `modified_by` | Int32 | User laatste wijziging |
| `is_processed` | Boolean | Afgewerkt (ja/nee). The line is handled (afgewerkt). |

---

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