Factory CMS

Every sale moves stock and books itself at the same moment.

Accounting and stock control for a single factory, in one place. Raise an invoice and the goods leave the store, the customer is billed, the tax is set aside and the cost of what you sold is booked — together, or not at all.

Ledgers ready on day one
10
Voucher types
6
Standard reports
15
Tax invoice INV-0142 40 × Bracket Assembly · Sunrise Engineering Works
Ledger Debit Credit
Accounts Receivable
Sundry Debtors
59,000.00
Sales
Sales Accounts
50,000.00
GST Payable @ 18%
Duties & Taxes
9,000.00
Cost of Goods Sold
Direct Expenses
32,800.00
Stock-in-Hand
Current Assets
32,800.00
Debit 0.00 Credit 0.00 Balanced

Cost of goods sold is taken at weighted average cost, not at the selling price. Change the method to FIFO in settings and the same invoice books a different cost.

What the books do when the goods move

This is where most factory systems drift: the storekeeper updates stock, the accountant updates the books, and by March the two do not agree. Here both sides are written in one database transaction. If either half fails, neither is saved.

Posted automatically — nobody types these entries by hand.
When this happens Stock Debit Credit
Goods received against a purchase order Item quantity goes up by what was received Stock-in-Hand Accounts Payable
Tax invoice raised Item quantity goes down by what was invoiced Receivables and Cost of Goods Sold Sales, GST Payable and Stock
Purchase return sent back to the vendor Item quantity goes down Accounts Payable Stock-in-Hand and GST Input
Sales return taken back from a customer Item quantity goes up Sales Returns, GST Payable and Stock Receivables and Cost of Goods Sold
Stock counted and corrected upward Item quantity goes up Stock-in-Hand Stock Adjustment
Stock counted and corrected downward Item quantity goes down Stock Adjustment Stock-in-Hand

What a Tier 1 factory gets

One factory, one store, up to five people working at once. No bill of materials, no work-in-progress, no second warehouse — those belong to Tier 2, and the database is already shaped to take them without a rebuild.

Module What it covers Status
Sign-in and roles Four roles — owner, accounts, store, sales — with access decided on the server, not just hidden in the menu. Built
Company and settings Financial year, tax rates, document numbering, valuation method. Built
Chart of accounts Ten mandatory ledgers created for you the moment the factory is set up. Built
Voucher entry Payment, receipt, journal, contra, debit note and credit note. Nothing saves unless debit equals credit. Queued
Item master and stock Raw material, finished goods and trading items with reorder levels and movement history. Queued
Purchase Purchase order, goods receipt, vendor bill, purchase return, vendor ledger and ageing. Queued
Sales Quotation, sales order, tax invoice, delivery note, sales return, customer ledger and ageing. Queued
Tax CGST and SGST within the state, IGST outside it, HSN codes on every line, and a period-wise summary. Queued
Reports Fifteen standard reports including trial balance, profit and loss, balance sheet and stock valuation. Queued

Built in this order, for a reason

Each phase ends with something you can open and use. Nothing starts until the phase before it has been tested end to end, because the accounting core is what every later module writes through.

  1. Foundation

    Database, sign-in, company setup, user management, dashboard shell.

    1–1.5 weeks
  2. Chart of accounts and vouchers

    The double-entry engine every other module posts through.

    1.5–2 weeks
  3. Item master and inventory

    Stock movements, valuation, summary, reorder alerts.

    1–1.5 weeks
  4. Purchase

    Purchase order to goods receipt to payment, with the stock and ledger link proven here first.

    1.5 weeks
  5. Sales

    Quotation to invoice, five ledger entries and one stock movement in a single database transaction.

    1.5–2 weeks
  6. Tax

    GST on invoices and bills, plus the summary the accountant files from.

    0.5–1 week
  7. Reports

    Built last, once there is real data in every table to read from.

    1–1.5 weeks
  8. Printing

    Invoice, purchase order, goods receipt and voucher, on your letterhead.

    0.5 week
  9. Demo data and testing

    Three months of realistic transactions, then user testing.

    0.5–1 week

Who signs in

  • Owner — everything, including settings and users
  • Accounts — ledgers, vouchers, parties, reports
  • Store — items, stock movements, goods receipt
  • Sales — quotations, orders, invoices, customers

How it runs

  • Ordinary shared hosting — PHP 8.1+ and MySQL 8
  • React 19 console served at /app, outside wp-admin
  • JSON API under factory-erp/v1
  • Works on a tablet on the shop floor, 768px and up

What is guaranteed

  • Debit equals credit before anything is written
  • Stock can never go negative
  • Posted vouchers are corrected by reversal, never edited
  • Every change is written to an audit log that is never deleted

Set up your factory in about four minutes.

Name the company, pick your financial year, create the owner account. The chart of accounts and the ten mandatory ledgers are waiting on the other side.

Open the console Check system status

https://factorycms.istepexcel.com/wp-json/factory-erp/v1