Official documentation

SKILSURFACE LEDGER Documentation: Installation & User Guide

Everything you need to install, set up and use SKILSURFACE LEDGER 6.3.5 — the free, open-source ledger, invoice and quotation software for PHP and MySQL.

Version 6.3.5PHP 8.1+ · MySQLBootstrap 5No ComposerMulti-company2FAPWA

1. Introduction

SKILSURFACE LEDGER keeps a running account for every customer: what they owe you, what they have paid, discounts and adjustments, and their current balance — always up to date. It is written in plain PHP with Bootstrap 5, so it installs on any normal shared hosting (cPanel, Plesk or DirectAdmin) using a browser-based installer.

LedgerCustomer profiles, opening balances, charges, cash and bank receipts, adjustments and automatic running balances.
ReportsCustomer statements, an all-customer outstanding summary, last payment details, date filters, search and sorting.
DocumentsBranded invoices and quotations with validity dates, terms, conversion and payment receipts.
TeamSuper Admin, business admins and employees with custom roles, permissions and assigned customers.
OutputExcel import and export, PDF downloads, A4 or custom paper, adjustable fonts, margins and columns.
SafetyTwo-factor sign-in, session control, reversals instead of deletes, full audit history, backup and restore.

2. Server requirements

Item Requirement Notes
PHP 8.1 or newer (8.2 / 8.3 recommended) Choose it in cPanel → MultiPHP Manager or Select PHP Version.
Database MySQL 5.7+ or MariaDB 10.3+ One empty database and a user with ALL PRIVILEGES on it.
Required extensions pdo_mysql, mbstring, fileinfo, openssl Enabled by default on most hosts.
Optional extensions zip, gd zip is needed for real .xlsx files; without it, Excel export falls back to CSV.
Web server Apache, LiteSpeed or Nginx Included .htaccess files protect private folders on Apache/LiteSpeed. For Nginx, see Troubleshooting.
HTTPS Strongly recommended Free SSL works. Required for the installable app and secure cookies.
Browser Latest Chrome, Edge, Firefox or Safari Works on phones and tablets.

3. Installation with install.php

3.1 Upload the files (cPanel example)

  1. Log in to cPanel and open File Manager. Go to public_html (or a sub-folder such as public_html/ledger).
  2. Click Upload and upload skilsurface-ledger-6.3.5.zip.
  3. Right-click the ZIP and choose Extract. Move the contents of the extracted skilsurface-ledger folder to where you want the app — for example directly into public_html so it opens at your main domain.
  4. Make these folders writable (permission 755): config/, uploads/, storage/, storage/backups/ and storage/logs/.
  5. Open cPanel → MySQL Databases. Create a database, create a user with a strong password, and use Add User To Database with ALL PRIVILEGES.

3.2 Run the installer

  1. Open https://yourdomain.com/install.php in your browser.
  2. Server requirements — every required item must show OK. Optional items can be missing.
  3. MySQL database — enter the host (usually localhost), port 3306, database name, user and password.
  4. Business — enter your company name, currency and time zone. Tick Load sample data to try the system with demo customers, entries, an invoice and a quotation.
  5. Super Admin account — your name, login email and a password of at least 10 characters with letters and numbers.
  6. Click Install. The installer creates all tables, default roles, entry types and packages, writes the configuration file and locks itself.

3.3 After installing

Delete install.php from your server. It is already locked and cannot run again, but removing it is best practice.

  • Enable HTTPS and uncomment the “force HTTPS” lines in the root .htaccess file.
  • Sign in at your domain and open Settings to upload your logo and add your company details.
  • If you loaded sample data, delete the demo customers (only customers without entries can be deleted) or reinstall into a fresh database.

4. First sign-in and tour

Sign in with your Super Admin email and password. The layout has three parts:

  • Sidebar (a ☰ menu on phones): Super Admin, Dashboard, Customers, Ledger, Reports, Invoices, Quotations, Employees, Settings, Audit History, Backup & Restore and Subscription. Each user sees only the menus they have permission for.
  • Top bar: the business name (the Super Admin also sees a business switcher), the version, an online indicator and your user menu (profile, two-factor, sign out).
  • Footer: a Documentation link and developer contact details.

5. Dashboard and date filter

Card Meaning
Total Customers Customers you can access.
Total to Collect Sum of all positive closing dues — what customers owe you.
Customer Credits Sum of negative balances — advances and overpayments.
Receipts / Charges (period) Payments received and charges posted in the selected period.
Receipts Today Payments received today.

Date filter

The same filter appears on the Dashboard, Ledger, Reports, Invoices, Quotations and Audit pages. Use the quick buttons — All dates, Current month, Last 3, 6 or 12 months — or choose a custom start and end date. On the Ledger page you can also pick times.

The Customer Dues table searches as you type, filters by status (Due, Cleared, Credit) and sorts when you click a column heading.

6. Customers

  1. Go to Customers → Add Customer.
  2. Enter the name. The account code (C001, C002…) is generated automatically, or you can type your own.
  3. Enter the opening balance: positive means the customer owes you; negative means they have an advance. Set the opening date.
  4. Optionally add a contact person, phone, email, address, credit limit (you’ll be warned when a charge exceeds it) and notes.
  5. Admins can tick Assigned employees so those employees can see this customer.
  6. Click Save or Save & open ledger.

A customer that already has ledger entries cannot be deleted. Set it to Inactive instead so its history is kept.

7. Customer ledger (account statement)

Choose a customer at the top of the Ledger page to see summary cards and the statement:

Date Particulars Ref. Total payable Received Adjustment Due Type
01 Oct Opening balance OPEN — — — 25,000 —
03 Oct Credit sale INV-001 15,000 — — 40,000 Credit Sale
06 Oct Payment received REC-001 — 10,000 — 30,000 Bank
20 Oct Discount adjustment ADJ-001 — — 2,000 28,000 Discount

7.1 Running balance formula

Due = Previous balance + Total payable − Received − Adjustment

When you filter a period, the first row shows the balance brought forward, so every statement reconciles. Below the table you’ll see the last payment date, amount and method.

7.2 Adding entries

  • Add Payable — a credit sale or service charge. Increases the due.
  • Add Received — a cash, bank, cheque or online payment. Decreases the due. Use Save & print receipt to print a receipt immediately.
  • Add Adjustment — discounts or write-offs. A positive amount reduces the due; a negative amount increases it.
  • On phones, tap the round + button in the bottom bar.

References are generated automatically (CHG-0001, REC-0001, ADJ-0001) unless you type your own. Duplicate references are rejected.

7.3 Entry types

Add your own types in Settings → Entry types — for example JazzCash, Easypaisa or Online Transfer. Each type can be limited to receipts, charges, adjustments or all entries. Defaults are Cash, Bank, Cheque, Online Transfer, Credit Sale, Service Charge, Discount and Write-off.

7.4 Reversals

Posted entries are never edited or deleted. Click the ↺ button on a row, give a reason, and the system posts an equal and opposite reversal entry. The original is shown crossed out and both stay in the ledger and audit history. Only users with the Ledger → Reverse permission can do this.

8. Payment receipts

Every receipt in the ledger has a receipt icon. The printable receipt shows the receipt number, date and time, customer, amount, amount in words, payment method, particulars, the balance after payment, a RECEIVED stamp and a signature line. Reversed receipts are stamped VOID.

9. All-customer outstanding summary

Reports lists every customer for the selected period with the last paid date, opening balance, total payable, received, adjustments, closing due and status (Due, Cleared or Credit).

Closing due = Opening balance + Total payable − Received − Adjustment

Below the table you’ll find totals and the Total amount to collect. Export to Excel, download a PDF or print a multi-page report with grand totals and page numbers.

10. Invoices

Independent module. Invoices and Quotations can be switched on or off in Settings → Modules. They are saved as standalone documents and don’t change customer balances unless you enable automatic posting.

  1. Go to Invoices → New Invoice. A number such as INV-0001 is generated (you can edit it).
  2. Pick a customer to fill in billing details, or type them: name, attention, email, phone, billing and shipping address.
  3. Add line items (code, description, quantity, rate). Totals update live. Add a discount (fixed or %) and tax/GST %.
  4. Edit payment terms and notes (defaults come from Settings), then Save.
  5. From the invoice page: Issue, then Mark as paid or Cancel; Duplicate; PDF; Print. Drafts can be edited or deleted; issued invoices are locked.

Optional ledger posting: enable Settings → Modules → automatically post issued invoices to the customer ledger. Issuing a linked invoice then posts a charge, and cancelling it reverses the charge. This is off by default.

11. Quotations

Create quotations with a quote date, a valid until date, client details, scope of work, line items, discount, tax, terms (each line becomes a bullet in the PDF) and notes. Statuses are draftsentacceptedrejectedexpiredconverted. Expired quotations are flagged automatically, and quotations never change customer balances.

12. Converting a quotation to an invoice

Open a quotation and click Convert to Invoice. A new draft invoice is created with the same client and items, and the quotation is marked converted with a link to the invoice. This needs the Quotations → Convert and Invoices → Create permissions and the Invoice module.

13. Employees and permissions

Go to Employees → Add Employee and enter the name, login email, password (minimum 8 characters with letters and numbers), account type, role, status and assigned customers.

Account type Access
Super Admin Everything: every business, packages and backups. Created by the installer.
Business Admin Full access to one business: all customers, modules, settings and employees.
Employee Only what their role allows, and only assigned customers unless the role allows all customers.

You can also reset an employee’s password or 2FA, sign out all their sessions, or disable the account. Permissions are checked on the server for every request.

14. Custom roles

Go to Employees → Roles & permissions. Accountant, Cashier, Viewer and Manager are created by default, and you can add your own:

Module Available actions
Customers View, Create, Edit, Delete, Import Excel, Export
Ledger View, Create entries, Reverse, Import Excel, Export, Print / PDF
Reports View, Export, Print / PDF
Invoices View, Create, Edit, Issue, Delete, Export, Print / PDF
Quotations View, Create, Edit, Convert, Delete, Export, Print / PDF
Administrative Manage employees and roles, business settings, view audit history

Turn on Access all business customers for roles that should see every customer.

15. Client accounts and modules

You can run many client companies from one installation. Each company is completely separate, with its own customers, ledger, documents, employees, roles, settings, logo, currency and time zone. Every request is filtered by company on the server, so one client can never see another’s data.

Module What the company gets
Ledger Customer balances, payable/received/adjustment entries, statements, receipts, outstanding reports, entry types and Android app sync.
Invoice Branded invoices, PDF and print, Excel export, optional ledger posting (with the Ledger module).
Quotation Quotations with validity dates, statuses and conversion to invoices (needs the Invoice module).

Create a client account

  1. Go to Super Admin → New client account.
  2. Enter the company name and contact, then choose a package or any combination of modules.
  3. Set the subscription status and end date (default: 14-day trial).
  4. Enter the owner’s name, login email and password (Generate creates a strong one) and share it privately.
  5. Save. The owner signs in and sees only the allocated modules.

You can change modules later; data from a removed module is kept and returns if the module is added again. Suspending a company signs out all its users immediately.

16. Packages and subscriptions

Super Admin → Packages lists six standard packages: Ledger, Invoice, Quotation, Invoice + Quotation, Invoice + Ledger and Full Suite. The prices are examples — set your own modules, price, currency, billing cycle, customer and user limits (0 = unlimited) and description.

  • Limits are enforced when adding customers, employees or importing.
  • Expired subscriptions make a company read-only; viewing, printing and exporting still work.
  • Client admins can see their package and renewal date under My Package.

17. Public packages and features pages

Visitors can open index.php?p=packages and index.php?p=features. The Request an account form (?p=request) sends requests to Super Admin → Requests, where you can create the account with one click. The form is protected by a security token, a spam trap, a minimum fill time and rate limits.

18. Settings reference

Tab Options
Company & Branding Name, tagline, address, phone, email, website, tax ID/NTN, logo (PNG/JPG/WEBP/GIF, up to 2 MB), brand and document colours.
Currency & Time Zone Currency, decimal places, time zone and date format.
Invoice & Quotation Default terms, footer messages, header note, bank details, signature label, Prepared by / Checked by.
Modules Your package, Invoice/Quotation on or off, and optional ledger posting.
Numbering Prefix and next number for accounts, invoices, quotations, receipts, charges and adjustments.
Print & PDF Paper size, orientation, margins, fonts, font sizes and visible columns.

19. Currency and time zone

Each business uses one currency. Pakistan (PKR), UK (GBP), USA (USD) and EU (EUR) are listed first, followed by Gulf, Asian, European, African and American currencies — 39 in total. Each has sensible default decimals (PKR 0, USD 2, KWD 3) that you can change. The time zone controls the date and time of new entries.

20. Printing and PDF

Every printable page — statements, outstanding summary, invoices, quotations and receipts — opens a preview with a toolbar:

  • Print — real page breaks, repeating table headers and page numbers.
  • Download PDF — a one-click PDF generated in your browser.
  • ⚙ Layout — paper (A4, A5, A3, Letter, Legal or custom), orientation, margins, fonts and columns. Admins can save the layout as the default or reset to standard.
  • Currency and Figures — separate font sizes for the currency code and the amounts.
Standard A4 setting Value
Margins (mm) Top 12 · Right 5 · Bottom 14 · Left 5
Fonts (pt) Body 11 · Title 26 · Company 12 · Headings 10 · Table 7 · Footer 7 · Currency 7 · Figures 8

For thermal or half-sheet printers, choose Custom paper and enter the width and height in millimetres.

21. Excel import and export

Export

Customers, statements, the outstanding summary, invoices, quotations and the audit history export to .xlsx with headings and totals. Values that start with = + − or @ are escaped to protect against spreadsheet formula injection.

Import

  1. Open Customers → Import Excel or Ledger → Import Excel and click Download template.
  2. Fill in the template and upload it as .xlsx or .csv (up to 5 MB and 5,000 rows).
  3. Review the preview — each row is marked OK, Duplicate or Error with the reason.
  4. Click Confirm import. Errors are skipped and duplicates are skipped unless you choose to include them. The import is all-or-nothing.
File Columns Duplicate rule
Customers code, name, contact_person, phone, email, address, opening_balance, opening_date Same code, or same name and phone.
Ledger customer_code, date, kind (charge / receipt / adjustment), amount, particulars, reference, type Same customer, day, kind, amount and reference.

22. Security features

  • Passwords are hashed with Argon2id (bcrypt where unavailable). New passwords need 10–128 characters with letters and numbers.
  • Brute-force protection pauses sign-in after repeated failures without locking real users out, with separate limits for 2FA codes and sensitive actions.
  • Generic errors: failed sign-ins always show “Invalid email or password”. Technical details go only to a private log.
  • SQL injection: every query uses prepared statements.
  • XSS and CSRF: all output is escaped, a strict Content-Security-Policy is set, and every form carries a secret token.
  • Sessions: secure, HttpOnly cookies, a 2-hour idle and 12-hour absolute timeout, and “sign out all sessions”.
  • Data isolation: module, role, company and customer assignment are checked on the server for every request.
  • Uploads: logos are checked, re-encoded and renamed; the uploads folder cannot run scripts.
  • No destructive edits: ledger entries are reversed, not deleted, and every action is logged.

A separate security audit document is included in the docs folder of the download.

23. Two-factor authentication (2FA)

  1. Open your user menu → My profile & 2FA → Set up two-factor.
  2. Scan the QR code with Google Authenticator, Microsoft Authenticator or Authy.
  3. Enter the 6-digit code and click Verify & enable.

Sign-in will then ask for a code after your password. If a phone is lost, an admin can reset 2FA for that user.

24. Audit history

Audit History records sign-ins (including failed attempts), customer changes with before and after values, entries, reversals, invoices, quotations, imports, exports, prints, settings, employee and role changes, backups and restores — with the user, date, time and IP address. Filter it and export it to Excel.

25. Backup and restore

  • Create backup now saves a full SQL backup in a private folder. Download it and keep a copy off the server.
  • Restore a saved backup or upload a .sql file created by the app. Your password is required, and a safety backup is created first.

Restoring replaces all current data for all businesses with the backup.

26. Install as a web app (PWA)

On HTTPS, open the site on your phone. On Android/Chrome use Install app or Add to Home screen; on iPhone/Safari use Share → Add to Home Screen. Desktop Chrome and Edge show an install icon in the address bar. Balances are always loaded live from the server.

27. Android mobile app (offline)

The SKILSURFACE LEDGER Android app (provided as a separate APK file) connects to your website and keeps a copy of your ledger on the phone, so you can view customers, balances and statements without internet.

  1. Make sure your website runs on https and includes api.php.
  2. Install the APK on your Android phone (allow “Install unknown apps” if asked).
  3. Enter your website address, email and password, plus your 2FA code if enabled.
  4. The app downloads everything you are allowed to see, with a progress bar.
Button What it does
Load Data in App Downloads only new or changed data from the website.
Update Database Sends entries you added on the phone to the website. The number shows how many are waiting.

Entries added offline are marked NOT SYNCED until sent, and each is saved only once even if the connection drops. The phone stores a secure key, not your password; keys expire after 90 days, and signing out removes all data from the phone.

28. config.php options

return [
  'db' => ['host' => 'localhost', 'port' => 3306, 'name' => 'db', 'user' => 'user', 'pass' => '…'],
  'app_key'          => '…random…',    // generated by the installer
  'timezone'         => 'Asia/Karachi',
  'idle_timeout'     => 7200,           // seconds of inactivity before sign-out
  'absolute_timeout' => 43200,          // always sign out after 12 hours
  'force_https'      => false,
  'debug'            => false,
];

When the hosting allows it, the installer stores the real configuration outside the web folder and leaves a pointer in config/config.php. Database details can also be set with environment variables (DB_HOST, DB_NAME, DB_USER, DB_PASS, APP_KEY). Errors are logged to storage/logs/php-error.log.

29. File structure

index.php            Front controller (all pages)
install.php          Web installer (delete after installing)
api.php              Secure connection for the Android app
manifest.json, sw.js Web app files; offline.html
app/                 Application code (blocked from the web)
  pages/  views/     Screens, layout and print templates
  schema.sql         Database tables
assets/              Styles, scripts, icons and fonts (no CDN needed)
config/              Configuration and install lock (blocked)
uploads/             Company logos (scripts cannot run)
storage/backups      SQL backups (blocked)
storage/logs         Error log (blocked)
docs/                Documentation and security audit

30. Troubleshooting and FAQ

The design is missing (plain links, no sidebar)

All design files are stored in assets/vendor on your own server. Make sure the whole assets folder was uploaded, then press Ctrl+Shift+R to clear the cached page.

The installer says a folder is not writable

In File Manager, select the folder → Permissions → 755 (some hosts need 775).

“Database error: Access denied”

Check that the database name and user include your cPanel prefix (for example myuser_ledger) and that the user has ALL PRIVILEGES on the database.

“This database already contains tables”

Use a new empty database, or restore your backup after installing.

Excel export downloads a CSV

Ask your host to enable the PHP zip extension.

I forgot my password

An admin can reset it in Employees. For the Super Admin, contact your developer or hosting support to reset it in the database.

“Your session expired” when saving a form

The page was open longer than the idle timeout. Reload and try again.

Using Nginx

Block the private folders and disable PHP in uploads:

location ~ ^/(app|config|storage)/ { deny all; }
location ~* ^/uploads/.*\.php$ { deny all; }

The PDF looks different from the printout

The PDF is created in your browser. For a pixel-perfect copy, use Print → Save as PDF.

31. Changelog

6.3.5 — Client accounts, module packages and security hardening

  • Ledger, Invoice and Quotation modules can be allocated alone, in any combination or as a Full Suite, enforced everywhere on the server.
  • New client account screen with package picker, password generator and owner password reset.
  • Public Packages and Features pages and a protected Request an account form.
  • Dashboards adapt to each company’s package.
  • Security: Argon2id passwords, smarter rate limits, generic errors, absolute session timeout, secure cookies, private configuration and re-encoded logo uploads.
  • Speed: 18 new database indexes and automatic database upgrades.

6.3.4

  • Android app: separate Load Data and Update Database buttons, incremental sync, batched sending and a progress bar.

Earlier 6.3 releases

  • Super Admin dashboard, multiple businesses and subscription limits.
  • Custom roles, permission matrix, customer assignment and session control.
  • Two-factor authentication, date filters, custom entry types.
  • Independent Invoice and Quotation modules, payment receipts with amount in words.
  • Excel import with preview and validation, live print layout and PDF.
  • Backup and restore, installable web app and phone-friendly layout.

32. Support and important note

Important note

Free and open source — with optional installation help

SKILSURFACE LEDGER is built by SkillSurface and shared free of charge as open-source software. You can download it, install it on your own hosting and use it for your business without paying any licence fee.

Install it yourself

Free

Follow this documentation step by step. If you can use cPanel File Manager and create a MySQL database, you can install it yourself.

Let us install it for you

Rs. 5,000 one-time installation fee

We upload the files, create the database, run the installer, set up your Super Admin account and company details, and check everything works. Hosting, domain, custom changes and data entry are not included.