# ReportingBalanceByClassification: Exact Online Reporting Balance by Classification
- Catalog: `ExactOnlineREST`
- Schema: `Financial`
- Primary Keys: `ID`
- Label: Reporting Balance by Classification
The data in this table is partitioned per value of the `Division` column.
This is a read-only table function. The Exact Online API may not support changing the data or the Invantive UniversalSQL driver for Exact Online does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Exact Online API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `ReportingBalanceByClassification`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `division` | `int32` | ☐ | | ID of the division to retrieve data for. |
| `glScheme` | `guid` | ☑ | | |
| `reportingYear` | `int32` | ☑ | | |
## Columns of Table Function
The columns of the table function `ReportingBalanceByClassification` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `Amount` | `double` | Amount | ☐ | The sum of the amounts of all transactions in the grouping. |
| `AmountCredit` | `double` | Amount Credit | ☐ | The sum of the amounts of all credit transactions in the grouping. |
| `AmountDebit` | `double` | Amount Debit | ☐ | The sum of the amounts of all debit transactions in the grouping. |
| `BalanceType` | `varchar2`(1) | Balance Type | ☐ | Balance type of the G/L account: B = Balance Sheet, W = Profit & Loss. |
| `ClassificationCode` | `varchar2`(30) | Classification Code | ☐ | Classification code. |
| `ClassificationDescription` | `varchar2`(240) | Classification Description | ☐ | Classification description. |
| `CostCenterCode` | `varchar2`(8) | Cost Centre Code | ☐ | The code of the cost center. |
| `CostCenterDescription` | `varchar2`(60) | Cost Centre Description | ☐ | The description of the cost center. |
| `CostUnitCode` | `varchar2`(8) | Cost Unit Code | ☐ | The code of the cost unit. |
| `CostUnitDescription` | `varchar2`(60) | Cost Unit Description | ☐ | The description of the cost unit. |
| `Count` | `int32` | Count | ☐ | The number of transactions in the grouping. |
| `Division` | `int32` | Division | ☐ | Division code. |
| `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. |
| `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. |
| `GLAccount` | `guid` | General Ledger Account | ☐ | G/L account. |
| `GLAccountCode` | `varchar2`(30) | GL Account Code | ☐ | Code of the G/L account. |
| `GLAccountDescription` | `varchar2`(60) | GL Account Description | ☐ | Description of the G/L account. |
| `GLScheme` | `guid` | GL Scheme | ☑ | G/L scheme. |
| `ID` | `int64` | ID | ☑ | Record ID. |
| `ReportingPeriod` | `int32` | Reporting Period | ☐ | The reporting period of the transactions in the grouping. |
| `ReportingYear` | `int32` | Reporting Year | ☐ | The reporting year of the transactions in the grouping. |
| `Status` | `int32` | Status | ☐ | Status: 20 = Open, 50 = Processed. To get 'after entry' results, both Open and Processed amounts have to be included. This is by default, so it requires no extra filtering. |
| `Type` | `int32` | Type | ☐ | The type of the transactions in the grouping. |