Sale Invoices
The Sale Invoices list is the central ledger of every transaction that has been processed in Agora. It gives managers and administrators a complete, filterable, searchable record of all sales — past and present — with instant access to print, view, or delete any invoice.
The Invoice List
At the top of the page sits a powerful Filter Bar that allows you to narrow down thousands of invoices in seconds. You can combine multiple filters simultaneously:
- Search — Finds by exact or partial invoice number (e.g., typing
INV-004locates it instantly) - Customer — Filter by a specific registered customer account
- Product — Filter to see all invoices containing a specific product variant
- Date Range — Isolate invoices from any custom date window
- Min / Max Amount — Find invoices within a specific monetary range (e.g., all invoices over PKR 50,000)
- Record Status — Toggle between Active, Deleted Only, or All Records
Table Columns
The invoice table displays every sale in a clean, sortable grid. Each row shows the following columns:
The Paid Amount and Source columns are optional — users can toggle their visibility via the column settings control, keeping the table uncluttered for different workflows.
Real-World Use Cases
- Warranty Verification: Reviewing past sales invoices to verify a customer's purchase history and eligibility for a warranty claim.
- Sales Auditing: Managers auditing daily transaction records to ensure all applied discounts were authorized.
Invoice Detail View
Clicking the View action on any row opens the Invoice Detail Modal — a comprehensive, read-only panel showing the full invoice snapshot:
- Complete line items with quantities, unit prices, and line totals
- All discount breakdowns (item-level, invoice-level, and rounding discounts)
- Payment history with the cash account each payment was assigned to
- Linked accounting journal entries (so accountants can trace every debit and credit)
- Customer information and invoice notes
Permissions & Deletion
Invoice deletion is role-controlled. Only users with the appropriate permission can delete invoices. Deleted invoices are soft-deleted — they remain queryable by switching the Record Status filter to "Deleted Only", providing a complete audit trail.
When an invoice is deleted, the system automatically reverses all associated accounting journal entries, restores inventory quantities, and clears the AR sub-ledger entry — ensuring no ghost balances remain.