Accessing Reports
To access accounting reports:- Navigate to Admin → Reports
- In the “Professional Accounting Report” section
- Click “View Complete Report”
- Apply filters as needed
- Export to Excel if required
Report Types
The system offers three specialized accounting reports:General Report
Shows all inventory movements with complete accounting information:- Purchase entries (with supplier and tax data)
- Sales exits (with customer information)
- Inventory adjustments
- Date range filtering
- Financial KPIs summary
- Monthly accounting reconciliation
- Period-end closing
- Full audit trail
- Tax preparation
Purchase Report
Focused view of all purchase transactions:- Supplier information
- Invoice numbers
- Unit prices and totals
- IVA paid amounts
- Withholding tax applied
- Supporting documents
- IVA deduction calculations
- Supplier payment reconciliation
- Purchase order verification
- DIAN audit support
Valued Inventory Report
Current inventory valuation at average cost:- Product name and category
- Current stock quantity
- Average unit price
- Total inventory value
- Overall inventory valuation
- Financial statement preparation
- Balance sheet support
- Inventory insurance valuation
- Cost of goods sold calculation
Report Filtering
Date Range Filters
Start Date - Beginning of the reporting period. Defaults to first day of current month.
End Date - End of the reporting period. Defaults to last day of current month.
- Select Start Date and End Date
- Click “Filter”
- The report refreshes with data for the selected period
Report Type Selection
Report Type - Select the type of report to generate
general- All inventory movementscompras- Purchase transactions onlyinventario- Valued inventory snapshot
Financial KPIs
The General Report displays key financial indicators:Purchases KPI
- Total Purchases: Sum of all purchase amounts in the period
- IVA Paid: Total IVA paid on purchases (input tax)
- Displayed in green card
Sales KPI
- Total Sales: Sum of all sales amounts in the period
- IVA Collected: Total IVA collected from customers (output tax)
- Displayed in blue card
Profit KPI
- Gross Profit: Sales minus Purchases
- Withholdings: Total withholding tax amounts
- Displayed in yellow card
Excel Export
All reports can be exported to Excel format for external analysis and archiving.Exporting Reports
- Configure the desired filters (date range, report type)
- Click “Export Excel” button
- A professional Excel file is generated and downloaded
- The file includes:
- Report title and date range
- Column headers with formatting
- All data rows with proper formatting
- Totals and summaries (where applicable)
- Colombian currency formatting
Excel File Structure
Exported Excel files include:- Professional styling: Headers with background colors, borders, bold text
- Column auto-sizing: Columns automatically sized to content
- Number formatting: Currency values formatted as Colombian Pesos
- Date formatting: Dates in DD/MM/YYYY format
- Frozen headers: Top row frozen for easy scrolling
Technical Requirements
Excel export requires PhpSpreadsheet library:Installation with Composer (Recommended)
Manual Installation
- Download PhpSpreadsheet from https://github.com/PHPOffice/PhpSpreadsheet
- Extract to
vendor/directory - Ensure
vendor/autoload.phpexists
Excel Export Error Handling
Common issues: Error: Class not foundReport Data Fields
General Report Columns
| Column | Description |
|---|---|
| Fecha | Transaction date |
| Tipo | Movement type (Entry/Exit/Adjustment) |
| Producto | Product name |
| Cantidad | Quantity moved |
| Precio Unit. | Unit price at transaction time |
| IVA | Tax amount |
| Retención | Withholding tax |
| Usuario | User who recorded the transaction |
Purchase Report Columns
| Column | Description |
|---|---|
| Fecha | Purchase date |
| Producto | Product purchased |
| Proveedor | Supplier name |
| Factura | Invoice number |
| Cantidad | Quantity purchased |
| Precio Unit. | Unit purchase price |
| Total | Line total (quantity × price) |
| IVA | IVA paid on purchase |
| Retención | Withholding applied |
Valued Inventory Columns
| Column | Description |
|---|---|
| Producto | Product name |
| Categoría | Product category |
| Stock Actual | Current quantity on hand |
| Precio Promedio | Weighted average cost |
| Valor Total | Total value (stock × avg price) |
Using Reports for Tax Compliance
Monthly IVA Declaration
- Generate General Report for the tax month
- Review IVA Collected and IVA Paid KPIs
- Calculate net IVA:
IVA Collected - IVA Paid - Export to Excel for DIAN filing support
- Attach supporting documents from inventory movements
Withholding Tax Reports
- Generate Purchase Report for the period
- Sum all “Retención” column values
- Verify against payment records
- Export for tax return preparation
Year-End Inventory Valuation
- Generate Valued Inventory Report as of December 31
- Use for financial statement preparation
- Provide to accountant for balance sheet
- Archive for audit purposes
Report Storage and Archiving
Best Practices
- Export monthly reports at month-end and save with descriptive filenames
- Naming convention:
Reporte_[Type]_[YYYY-MM]_[Date].xlsx- Example:
Reporte_Compras_2026-03_2026-03-31.xlsx
- Example:
- Store reports in dated folders for easy retrieval
- Backup regularly to external storage or cloud
- Keep for 5 years as required by Colombian law
Audit Trail
Reports provide a complete audit trail showing:- Who performed each transaction (user field)
- When it occurred (date/time)
- What was transacted (product, quantity, prices)
- Supporting documentation (invoice numbers, files)
- Tax calculations (IVA, withholdings)
Troubleshooting
Empty Reports
Problem: Report shows “No records in selected period” Solutions:- Verify date range includes transaction dates
- Check that inventory movements were recorded
- Ensure movement type matches report type (e.g., “entrada” for Purchase Report)
Missing Accounting Data
Problem: Report shows ”—” for tax or supplier fields Solutions:- These fields are optional on exit movements
- Edit inventory movements to add missing data
- Ensure purchase movements include supplier and invoice information
Incorrect Totals
Problem: KPI totals don’t match expectations Solutions:- Verify all movements are properly classified (entrada/salida)
- Check for duplicate movements
- Ensure price and tax fields are accurately recorded
- Review inventory adjustments that may affect totals