DigInvoice — User Guide

Back to Login

This guide explains the main workflows in DigInvoice. Use it to sign in, create invoices/purchases, print documents and troubleshoot common issues.

Sign in

Open the login page and enter your username and password. Successful login redirects to the dashboard: Dashboard.

Dashboard

The dashboard (pages/dashboard.php) summarizes recent invoices and sales graphs. Use the sidebar to navigate to modules: Companies, Accounts, Invoices, Purchases, HS Codes and Vouchers.

Companies

Manage company profiles at pages/company.php. Create or update company details used on invoices.

Accounts & Ledgers

View and manage ledgers in pages/accounts.php and pages/ledger.php. Use account statements in pages/account_statement.php.

HS Codes

Maintain HS Codes used for products at pages/hs_codes.php.

Create Invoice (quick steps)
  1. Open New Invoice (pages/new_invoice.php).
  2. Choose company/customer and select products or enter descriptions.
  3. Set quantities, taxes and totals; click Save.
  4. After saving use Generate PDF or Print from the invoice list (pages/invoices.php / actions/generate_invoice_pdf.php).
  5. To submit to FBR use Post FBR features (pages/post_fbr.php).
Purchases

Create and print purchase records via pages/new_purchase.php and pages/purchases.php. Use actions/generate_invoice_pdf.php or print templates for documents.

Vouchers

Manage vouchers at pages/voucher_list.php. Add, edit or delete using the actions in actions/.

Searching & Filters

Use filter pages like actions/filter_invoices.php and search inputs on lists to quickly locate records.

Export & Reports

Export or view charts via pages/sales_graph.php and the export actions — adapt as required for CSV or PDF reporting.

Administration

Admin users manage tenants and admins in the admin/ area (login: admin/pages/login.php; pages in admin/pages/).

Troubleshooting
  • Database connection errors: check `includes/db.php` and `includes/logindb.php` for correct credentials and host.
  • Blank pages or PHP errors: enable error reporting in PHP or check the webserver error log.
  • PDF generation issues: ensure required PHP extensions (like GD or wkhtmltopdf if used) are installed.
Files of interest
  • pages/new_invoice.php — invoice creation
  • pages/invoices.php — invoice list
  • actions/save_invoice.php — save handler
  • actions/generate_invoice_pdf.php — PDF export
  • includes/db.php and includes/logindb.php — DB connections

If you'd like, I can expand any section with screenshots, sample flows, or convert this into a printable PDF/manual. Tell me which sections to expand.