---
title: "🔒 List General Ledger Entries With Aggregated Line Item"
method: GET
path: "/api/v1/generalLedgerAggLineItemView"
tags: ["General Ledger"]
---

# 🔒 List General Ledger Entries With Aggregated Line Item

`GET /api/v1/generalLedgerAggLineItemView`

This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.

List general ledger entries with aggregated line item

## Query parameters

- `filter` object[]
  - `key` 'search' | 'id' | 'invoice' | 'date' | 'status' | 'customerName' | 'customerNumber' | 'country' | 'projectId' | 'projectName' | 'projectAbbr' | 'paymentMethod' | 'paymentStatus' | 'debit' | 'balance' | 'currency' | 'shippingMethod' | 'amountNet' | 'salesOrder' | 'dunningLevel' | 'updatedAt'
  - `op` 'equals' | 'notEquals' | 'in' | 'notIn' | 'exactlyIn' | 'allIn' | 'allNotIn' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'greaterThan' | 'lessThan' | 'is' | 'lessThanOrEquals' | 'greaterThanOrEquals'
  - `value` union
    - string — Used for the operations 'equals', 'notEquals', 'contains', 'notContains', 'startsWith', 'endsWith' and 'is'.
    - string[] — Used for the operations 'in', 'notIn', 'exactlyIn', 'allIn' and 'allNotIn'.
- `page` object
  - `number` string, required — Page number should be an integer greater than or equal to 1
  - `size` string, required — Page size should usually be an integer between 10 and 50.
- `order` object[]
  - `field` 'id' | 'invoice' | 'date' | 'customerName' | 'customerNumber' | 'country' | 'project' | 'paymentMethod' | 'debit' | 'currency' | 'paymentStatus' | 'balance' | 'status' | 'shippingMethod' | 'amountNet' | 'dunningDate'
  - `dir` 'asc' | 'desc'

## Response `200`

Successful operation

- object
  - `data` object[]
    - `id` string — General ledger ID

## Other responses

- `400` — XGL Problem
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `406` — Requested resource representation does not exist.
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.
- `500` — XGL Problem

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
