# Bank G/L Entry Lines _(Realtime-enabled)_

`GET` `POST` `PATCH` `DELETE` _(Table: EONE Transaction Line)_

```
eOne/core/v1.0/bankGLEntryLines
```

The distribution lines of a [bank / G/L entry](https://eonesolutions.github.io/eone-bc-integration/core-bankGLEntries.md). Each line books one amount to a G/L account (`glAccountNumber`), with its own [dimensions](https://eonesolutions.github.io/eone-bc-integration/dimensions.md). A **nested collection** addressed under a parent: `bankGLEntries({id})/bankGLEntryLines`.

> **Note:** The parent supplies the document key via the sub-page link and `lineNumber` is stamped for you. `description` falls back to the header description when left blank. There are no resolver fields. The account is given directly as `glAccountNumber`.

## The lines are the distribution, not the counterparty

Send one line per account you want the amount booked to. The offsetting entry is not a line: it comes from the header's `balancingAccountType` and `balancingAccountNumber`, and `process` writes it as a single balancing journal line after the distribution lines. So a bank fee split across two departments is two lines here and one credit to the bank account, not three lines.

A positive `amount` debits the account and the balancing account takes the credit. Send a negative amount to reverse that, which is how interest received and other credits to a G/L account are booked.

## Renamed from expenseLines

Earlier versions published this collection as `expenseLines`, because bank/G/L entries reused the expense line page. That made the collection answer to the Expenses feature switch while its header answered to another, so the endpoint was refused on every line POST unless a company happened to have both features on. The lines now have their own page and their own route, on the same **Bank / G/L entries** switch as the header.

Two consequences for an existing map: the nested route becomes `bankGLEntries({id})/bankGLEntryLines`, and the parent-reference columns are `bankGLEntryId` and `bankGLEntryIntegrationId` rather than `expenseId` and `expenseIntegrationId`. The expense-report fields that came with the borrowed page (`expenseDate`, `merchantName`, `receiptNo`) are gone; none of them ever affected how a bank/G/L entry posted.

## Bank G/L Entry Lines fields

_API column → BC field._

**Legend**

- _(req)_ required on create
- _(res)_ resolver
- _(cur)_ currency-translated
- _(ro)_ read-only
- _(ext)_ added to this endpoint by another extension (BC field name shown; its API column name is not known here)

| API | BC field | Notes |
| --- | --- | --- |
| `id` | SystemId | BC record GUID. _(ro)_ |
| `bcCompanyId` | bcCompanyId | The company this row belongs to - the same GUID that appears in the request URL. Present on every endpoint so a store pooling several companies can keep them apart without relying on which URL it called. _(ro)_ |
| `bcCompanyName` | bcCompanyName | The name of the company this row belongs to. _(ro)_ |
| `lineNumber` | Line No. | Stamped automatically on insert. _(ro)_ |
| `bankGLEntryId` | Transaction Id | GUID of the parent bank / G/L entry. _(ro)_ |
| `bankGLEntryIntegrationId` | EONE Txn Integration Id | The parent entry's Integration Id (your external key), for mapping back to the header without a lookup. Filterable. _(ro)_ |
| `accountType` | Account Type | The kind of account this line posts to: G/L Account (the default), Bank Account, Customer, Vendor, Employee or Fixed Asset. |
| `accountNumber` | Account No. | The account this line distributes to - a G/L account unless accountType says otherwise. |
| `amount` | Amount | The amount booked to the account. Positive debits it and the header's balancing account takes the credit; send a negative amount to reverse that. |
| `taxAmount` | Tax Amount | Tax on this line, as your source system calculated it. Sent as a positive magnitude; Business Central posts it as its own journal line on the same side as this one and never recalculates it. Whether it sits on top of amount or inside it is the header's pricesIncludeTax. Leave it out for a line that carries no tax - a donation, a fee, an intra-group transfer. See Journal Wrappers. |
| `taxAccountNumber` | Tax Account No. | G/L account the tax on this line posts to. Optional - falls back to the Default Tax Account on this endpoint's setup row. Set it per line when one document carries tax for several jurisdictions that file to different accounts. |
| `description` | Description | Line description; falls back to the header description if blank. |
| `comment` | Comment | Free-text note (e.g. what the fee or accrual covers); carried onto the journal line description. |
| `shortcutDimension1Code` | Shortcut Dimension 1 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension2Code` | Shortcut Dimension 2 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension3Code` | Shortcut Dimension 3 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension4Code` | Shortcut Dimension 4 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension5Code` | Shortcut Dimension 5 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension6Code` | Shortcut Dimension 6 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension7Code` | Shortcut Dimension 7 Code | Dimension for this distribution line. See Dimensions. |
| `shortcutDimension8Code` | Shortcut Dimension 8 Code | Dimension for this distribution line. See Dimensions. |
| `integrationId` | EONE Integration Id | Your external key for the line - the id of the distribution it came from in your source system. |
| `lastModifiedDateTime` | SystemModifiedAt | _(ro)_ |

## Related pages

Nested under [Bank / G/L Journal (post)](https://eonesolutions.github.io/eone-bc-integration/core-bankGLEntries.md).
