---
tags: [reports, service]
module: Reports
---

# [Service]SummaryServices

## Connections
[[_Reports]] · [[[Controller]Controllers]] · [[[Service]UtilityServices]] · [[[Cross]CrossModuleDependencies]]

## Source
`Modules/Reports/Services/`

Operational summary services — pull from Sales, Purchases, and Products modules rather than pure accounting data.

---

## Sales Summary
| Service | Purpose |
|---|---|
| SalesSummaryReportService | Invoice totals by product/category over a date range; cost-center filtered; non-owners must select a cost center |
| SalesSummaryExportingService | Wraps SalesSummaryReportService for PDF/Excel |

**Source data:** Invoice · InvoiceDetails · Product (Sales + Products modules)

---

## Purchases Summary
| Service | Purpose |
|---|---|
| PurchasesSummaryReportService | PurchaseBill totals by product/category; cost-center filtered |
| PurchasesSummaryExportingService | Wraps PurchasesSummaryReportService for PDF/Excel |

**Source data:** PurchaseBill · PurchaseBillDetails · Product (Purchases + Products modules)

---

## Taxes Report
| Service | Purpose |
|---|---|
| NewTaxesReportService | Sales + purchase taxes grouped by tax ID; uses JournalRecord as source of truth for VAT amounts; handles zero-% taxes + integrated orders (e.g. Foodics) |
| TaxesReportExportingService | Wraps NewTaxesReportService for PDF/Excel |
| TaxReportService | Per-customer tax report — invoices + VAT by customer in a period |
| SupplierTaxReportService | Per-supplier tax report — bills + VAT by supplier in a period |

**Source data:** `InvoicesDetailsRepository` · `PurchaseBillsDetailsRepository` · `JournalRecordsRepository` · `TaxesRepository` + details repos for bill returns and expenses

---

## Cost Center
| Service | Purpose |
|---|---|
| CostCenterIndexingService | Account totals broken down by cost center; batch-loads journal totals to avoid N+1; applies user cost-center permissions |

**Optimisation:** Pre-caches translated names; batch query for all journal totals in one round-trip.  
**Source data:** Account · AccountingCategory · AccountingSubCategory · CostCenter · JournalRecord

---

## Asset Details
| Service | Purpose |
|---|---|
| AssetReportService | Fixed-asset accounts with movement detail (additions, disposals, depreciation) |

**Source data:** Account (asset type) · JournalRecord
