Reporting & PDF Templates
Generate operational reports, analyze business data, and design branded PDF documents using Typst.
Routes:
/reporting /reporting/config /reporting/config/new Reporting & PDF Templates
The Reporting module combines interactive operational data explorers with high-precision PDF document generation powered by the modern Typst layout engine.
Reporting & Typst PDF Architecture
flowchart LR
A[Operational Data] --> B[Data Hook Bindings]
B --> C[Typst Document Template]
C --> D[Live Real-Time Preview]
D --> E[Export Pixel-Perfect PDF]
1. Interactive Reports Explorer
View, filter, sort, and aggregate live data across:
- Sales: Product sales velocity, customer rankings, margin analysis.
- Inventory: Stock valuation by warehouse, slow-moving items, stocktake variances.
- Finance: Monthly P&L, Balance Sheet, Aged Receivables & Payables.
2. Typst Document Engine
All printable documents (Quotes, Invoices, Pick Slips, Shipping Labels, Statements, Packing Lists, Purchase Debit Notes) use Typst templates. Typst offers high rendering speed, modern syntax, and pixel-perfect typographic control.
Step-by-Step Workflows
1. Running an Operational Report
- Go to Reporting → Reports (
/reporting). - Select a report from the catalog (e.g. Sales Margin by Product).
- Set your date filters and grouping parameters.
- Click Run Report to view on screen or Export to CSV/Excel.
2. Customizing a PDF Template
- Go to Reporting → Configuration (
/reporting/config). - Click New Template (
/reporting/config/new) or select an existing template to customize (e.g.Sales Invoice). - Edit the Typst markup (adjust company logo size, font family, footer legal notices).
- The live preview pane renders changes in real time.
- Click Save Template.
Field Reference
| Field | Description |
|---|---|
| Report Title | Name of the analytical report. |
| Template Key | Identifier for the Typst document (e.g. invoice_standard). |
| Export Formats | PDF, Excel, CSV. |
Field Reference & Data Dictionary
Key database fields, input parameters, and definitions associated with this workflow screen:
| Field / Parameter | Display Name | Description & Rules |
|---|---|---|
| report_type | Report Category | Sales Performance, Inventory Valuation, Debtors Aging, Tax Summaries. |
| date_range | Date Range | Filter window for reporting metrics. |
| typst_template | Typst PDF Template | Declarative document markup defining layout, typography, logos, and tables. |