Delivered remotely for a business based in Melbourne, Australia. Names withheld by agreement.
Project Overview
Small businesses rarely fail from a lack of ambition; they stumble when cash-flow visibility lags weeks behind bank activity and quarterly tax obligations arrive as a surprise. Yet most founders in Melbourne hesitate to adopt heavyweight enterprise accounting suites, leaving bookkeepers to stitch together fragile spreadsheets, PDF invoices, and manual bank CSV exports.
We engineered a small business accounting SaaS using Laravel, Vue, and MySQL that treats double-entry rigor and everyday usability as complementary goals. Beneath a fast, approachable Vue interface sits a disciplined MySQL general ledger where every invoice, bill, payroll clearing entry, and bank transfer reconciles to the cent and locks cleanly when BAS periods close.
Everyday Bookkeeping Bottlenecks
Growing service firms, trades, and retail operators repeatedly run into four structural gaps in entry-level accounting tools:
- Silent balance drift: Tools that allow direct row edits or unvalidated float calculations eventually produce balance sheets that no longer tie back to bank statements.
- Painful bank reconciliation: Slow, multi-click coding screens turn weekly statement matching into an hours-long chore for business owners.
- Messy tax-code attribution: Mixing GST-inclusive, GST-free, and capital-purchase lines without line-level tax tracking forces accountants to rebuild quarterly BAS worksheets manually.
- Broken multi-user handoffs: When a founder edits an invoice while an external bookkeeper reconciles the prior quarter, unguarded overwrites corrupt tax filings.
Architectural Strategy
Our foundational engineering decision was ledger immutability enforced at the service and database boundary. Vue components never write raw accounting lines directly; instead, domain actions—issuing a sales invoice, recording a supplier credit note, or matching a bank deposit—invoke explicit Laravel domain services that translate business documents into balanced debit/credit journal batches inside MySQL transactions.
Once a ledger period is marked closed by an advisor, row-level guards reject backdated edits outright, guiding users toward dated adjustment entries. Meanwhile, Redis-backed Laravel Horizon workers offload bank-feed ingestion, receipt OCR parsing, and PDF report generation so interactive bookkeeping screens stay snappy.
Core Capabilities
- True Double-Entry General Ledger: Automatically posts balanced journal entries across customizable charts of accounts for sales, payables, inventory adjustments, and GST clearing.
- Rapid Bank-Feed Reconciliation: Suggests matches against open invoices, recurring bills, and configurable rule patterns—allowing one-click approval or inline multi-account splits in Vue.
- Australian GST & BAS Ready Reporting: Computes G1 total sales, 1A GST on sales, and 1B GST on purchases directly from posted tax-ledger lines alongside P&L, Balance Sheet, and Trial Balance views.
- Invoicing, Bills & Receipt Capture: Generates branded PDF invoices, tracks overdue receivables, and attaches S3-backed receipt images directly to expense vouchers.
- Advisor Period Locking & Audit Trails: Lets external accountants freeze reconciled months and inspect timestamped user activity across every document revision.
Technical Architecture
The frontend runs as a TypeScript-backed Vue 3 SPA communicating over Sanctum-authenticated Laravel JSON APIs. When a bookkeeper categorizes a batch of bank statement lines in Vue, optimistic UI states reflect immediately while Laravel validates tax codes, checks period-lock boundaries, and executes an atomic MySQL transaction across journal_entries, journal_lines, and reconciliation_matches.
Flow: Open-Banking Feeds & Receipt Uploads → Laravel Horizon Workers (Redis) → Normalization & Rule Suggester → Vue 3 Reconciliation Workspace → Laravel Double-Entry Posting Service → MySQL Atomic Ledger (DECIMAL(19,4)) → Financial & BAS Report Builder
Heavy operations—such as emailing batch customer statements, extracting vendor totals from PDF receipts stored in AWS S3, or exporting multi-year general ledger CSVs—run asynchronously via Horizon queues with live toast status updates pushed back to the Vue workspace.
Technology Stack
| Category | Technology detail |
|---|---|
| Frontend Application | Vue 3 with TypeScript Composition API for keyboard-driven ledger and reconciliation grids |
| Backend Framework | Laravel handling multi-tenant APIs, double-entry posting services, and tax calculations |
| Relational Ledger | MySQL storing balanced journal headers, decimal-exact lines, and locked fiscal periods |
| Queue & Caching | Redis powering Laravel Horizon workers for bank-feed imports, OCR, and report exports |
| Styling & Components | Tailwind CSS driving clean invoice previews, balance sheets, and responsive mobile views |
| Document Storage | AWS S3 storing encrypted supplier bills, receipt scans, and generated PDF statements |
| Bank Connectivity | Open-banking / CDR-aligned webhook and polling adapters normalizing bank statement feeds |
| Precision Controls | MySQL DECIMAL(19,4) columns paired with transactional DB assertions enforcing zero-sum journals |
| Audit Trail | Append-only reversing-entry workflow preserving full edit provenance for tax inspections |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Computing Trial Balance and P&L live over years of journal lines slows down under growth | Maintained Redis-cached period rollups per account alongside indexed MySQL summary tables updated on commit, adding slight write-path complexity for sub-second financial reporting. |
| Allowing owners to fix typos on posted invoices threatens tax-period integrity | Permitted direct edits only on draft or unclosed, unreconciled items; locked items require automated reversing credit/debit notes, trading a slightly stricter UX for clean accountant auditability. |
| Bank-feed descriptions vary wildly across banks and merchant terminals | Built a deterministic rule matcher (regex + amount range + payee history) in Laravel backed by Redis-cached organization rules rather than brittle hard-coded parsers. |
| Concurrent webhook retries from payment gateways risk double-posting invoice payments | Enforced idempotency keys on external payment and bank-feed ingestion tables in MySQL, ensuring retried webhooks settle cleanly as no-ops. |
Security, Multi-Tenancy & Data Integrity
Financial ledgers demand both strict tenant boundaries and tamper-evident bookkeeping logs. Laravel tenant-scoping middleware and model policies ensure every query filters strictly by organization_id, preventing cross-business exposure even when a single accountant manages dozens of client books under one login.
Uploaded receipts and supplier bills reside in private AWS S3 buckets served exclusively through short-lived signed URLs after role verification. All numeric amounts persist in MySQL DECIMAL(19,4) columns, eliminating rounding drift across tax calculations and foreign-currency invoice conversions.
Reporting Performance & Queue Resilience
End-of-quarter tax deadlines concentrate user activity into sharp peaks across bank reconciliations and BAS report exports. Separating Redis-queued Laravel Horizon workers by priority keeps interactive UI requests isolated from background bank-feed polling and PDF rendering jobs.
Composite MySQL indexes on (organization_id, account_id, posted_at) keep ledger drill-downs and aging reports responsive without requiring a separate analytical warehouse, simplifying backup, point-in-time recovery, and operational maintenance for the engineering team.
Operational Outcomes
Pairing Laravel's disciplined transactional backend with a fast Vue bookkeeping workspace gave small businesses and their advisors dependable financial clarity:
- Trusted trial balances: Zero-sum MySQL ledger invariants ensure balance sheets, tax summaries, and bank reconciliations stay mathematically aligned.
- Frictionless weekly bookkeeping: Keyboard-friendly bank matching and smart coding rules turn cluttered statement feeds into clean categorized ledgers quickly.
- Smooth accountant collaboration: Period-locking controls and reversing-entry audit trails let business owners work daily in the app without disrupting quarterly tax filings.
- Predictable operations: Unified relational storage in MySQL and cleanly queued Horizon jobs keep the platform straightforward to monitor, back up, and scale.