Ledger Entry Report
GET
Get Ledger Entry Report
Retrieve a paginated list of ledger entries with optional filtering by supplier, customer, fund, and date range. Tracks all financial transactions including sales, purchases, and payments.
GET
/reports/ledger-entry-report
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| supplier_id | integer | Optional | Filter by supplier ID (must exist and be active) |
| customer_id | integer | Optional | Filter by customer ID (must exist and be active) |
| fund_id | integer | Optional | Filter by fund ID (must exist and be active) |
| from_date | string (Y-m-d) | Optional | Start date for filtering ledger entries (must be before or equal to to_date) |
| to_date | string (Y-m-d) | Optional | End date for filtering ledger entries (must be after or equal to from_date) |
| page | integer | Optional | Page number for pagination |
| per_page | integer | Optional | Number of items per page (default: 15) |
Reference Types
The reference_type field indicates the source of the ledger entry:
Sale
Sale Payment
Customer Payment
Purchase
Purchase Payment
Supplier Payment
Transaction Direction
The transaction_direction field indicates whether money is coming in or going out:
Debit
Money received / incoming
Credit
Money paid / outgoing
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Paginated list of ledger entries report