HomeCase studiesDouble-Entry Small Business Accounting SaaS with Laravel,...

Case study · Melbourne, Australia

Double-Entry Small Business Accounting SaaS with Laravel, Vue, and Tax-Ready MySQL Ledgers

Cloud Bookkeeping & Tax Ledger SaaS

Small business owners outgrow spreadsheets quickly, yet bloated enterprise ERPs bury routine invoicing, bank reconciliation, and quarterly tax filings under confusing menus. Built for companies and bookkeepers in Melbourne, we engineered a cloud accounting SaaS on Laravel, Vue, and MySQL anchored by a strict immutable double-entry ledger. Automated bank-feed rules, split-transaction coding in a responsive Vue workspace, and tax-period closing locks deliver accountant-grade financial integrity without slowing down daily cash-flow management.

Industry
Cloud Bookkeeping & Tax Ledger SaaS
Solution
A multi-tenant double-entry bookkeeping and tax-compliance SaaS built with Laravel, Vue, and MySQL featuring bank-feed matching, invoicing, and GST reporting workflows.
Platforms
Web & API
Stack
Laravel · Vue · MySQL · TypeScript · Redis · Tailwind CSS
Location
Melbourne, Australia · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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.

01 — Questions

asked about this kind of project

How does MySQL guarantee that journal entries never fall out of balance under concurrent edits?

Every financial mutation executes inside a strict MySQL database transaction through a centralized Laravel posting service. Before committing, the service asserts that total debits equal total credits in integer/fixed-point cents and verifies that the posting date falls outside any locked tax period.

Why enforce immutable reversing journals instead of letting business owners edit or delete past invoices?

Once a GST period or monthly reconciliation closes, mutating historical rows breaks prior Business Activity Statement (BAS) figures and trial balances. Approved edits generate linked reversing entries and fresh replacement journals, preserving a crystal-clear audit trail for accountants.

Why pair Laravel with Vue 3 instead of server-rendered Blade templates for bookkeeping screens?

Bank reconciliation and multi-line invoice coding demand instant split calculations, keyboard navigation, and inline tax-code filtering across hundreds of statement rows. Vue 3 with TypeScript delivers desktop-spreadsheet responsiveness while Laravel focuses on clean API validation and ledger invariants.

How are duplicate transactions prevented when bank feeds overlap with manual CSV uploads?

Each imported statement line computes a deterministic fingerprint combining bank account ID, posted date, exact amount, and normalized reference metadata alongside provider transaction IDs. MySQL unique constraints and fuzzy-match hints catch overlaps before duplicate entries hit cash accounts.

How does the system handle multi-tenant isolation across thousands of separate small business books?

Every business entity operates under strict tenant scoping enforced via Laravel middleware, policy classes, and composite MySQL indexes keyed by organization_id. External accountants switch cleanly between client ledgers using scoped role grants without cross-tenant data leakage.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.