Countersign
Countersign · E-commerce + ERP for shops

Your online store and back office, on one ledger.

Two warehouses, three showrooms, an online store, three currencies, one payroll. Whenever stock or money moves, the matching journal entry is posted in the same instant, so the stock count, the receivables and the P&L never disagree.

  • Every document posts a balanced journal entry
  • Stores, warehouses and the web shop on the same stock
  • Payroll, reports and access control included

No sign-up. The admin demo is view-only.

One click on Post. Five ledger lines, zero re-typing.

10
ERP modules
5
locations
3
currencies
1
ledger behind it all
How it fits together

Two front doors. One set of rules behind them.

Shoppers and staff never touch the database directly. Both apps call the same API, so a price, a permission or a stock rule is defined once and holds everywhere.

Selling · order to cash

An invoice that does the bookkeeping as it posts.

Scroll through the life of one B2B invoice at the Deira showroom, from draft to a partial return.

  1. Step 1 of 4

    Start an invoice

    Pick the customer and the store knows the rest: their currency, credit limit, payment terms, salesman, and whether they get business prices.

  2. Step 2 of 4

    Post it

    One click takes the stock out at average cost and writes receivable, revenue, VAT and cost of sales. If any part fails, none of it happens.

  3. Step 3 of 4

    Collect the money

    A receipt is allocated against open invoices. The invoice knows what's paid, returned and still outstanding.

  4. Step 4 of 4

    Take something back

    A return becomes a credit note: the stock goes back on the shelf and the revenue and VAT are reversed.

Buying · procure to pay

Purchasing where nobody signs off their own order.

A $13,695 order to a supplier in Guangzhou, over the $10,000 approval limit. Watch who clicks what.

  1. Step 1 of 5

    Order from a supplier

    Purchasing raises the order at the warehouse. Above the approval limit it can't go anywhere on its own.

  2. Step 2 of 5

    Someone else approves

    The person who created an order can never approve it. A second person signs it off, and the log says who.

  3. Step 3 of 5

    Receive the goods

    Stock comes in at the agreed price, line by line, partial deliveries included. The cost waits in Goods Received Not Invoiced.

  4. Step 4 of 5

    Match the invoice

    Order, receipt and invoice are checked against each other. Any price or rate difference goes to a variance account, not into thin air.

  5. Step 5 of 5

    Pay the supplier

    The payment clears the invoice at its own rate; if the currency moved, the gain or loss books itself.

Stock and locations

Warehouses buy. Showrooms sell. Stock moves on the record.

Every location keeps its own stock, documents, currency and permissions. Transfers, adjustments and opening stock are documents too, with a journal behind each.

Main WarehouseWH · buysJebel Ali WarehouseWH-DXB · buysHead OfficeHQ · sells · USDDeiraST-DXB · sells · AEDRiyadhST-RYD · sells · SARtransfers keep every location's books balanced through a clearing account
Crystal chandelier · on hand
Main Warehouse310Jebel Ali Warehouse120Head Office14Deira Showroom6Riyadh Showroom9

Scroll: 40 move from the main warehouse to Deira. Cost travels with them at the weighted average, and each side posts its own journal.

Accounting and currencies

Nobody types the P&L. It adds itself up.

Chart of accounts, fiscal periods, manual vouchers when you need them. Posted journals are never edited: cancelling posts a reversal, so the trail is always complete.

Profit and loss · 1 Jan to 19 Nov · all locations · USD
Sales512,400Sales returns(8,950)Cost of goods sold(298,120)Gross profit205,330Salaries and wages(96,400)Rent and utilities(31,200)Exchange gain / loss1,180Net profit78,910
Multi-currency · scroll to move the rate
Supplier invoice · EUR 10,000Base USD
Booked on 1 Mar at 0.920010,869.57Paid on 1 Apr at 0.920010,869.57Exchange loss → 49500.00

Documents carry their own currency and dated rate; the ledger, stock and reports stay in one base currency. Receivable and payable lines keep the foreign amount too, so a customer statement in AED still reads in AED.

Payroll

The month's attendance becomes the month's payroll.

Mark days, approve leave, then run pay. Absences, overtime, bonuses, loan instalments and commission land on the payslip; approval posts it, payout clears it.

Attendance register · November · Deira Showroom Present Half day Absent Leave Rest day
Ravi Kumar
Aisha Rahman
Faisal Al Harbi
Lina Saleh
  1. 01DraftPayslips worked out from salary, attendance, overtime and extras.
  2. 02Pending approvalAttendance and leave for the month lock.
  3. 03PostedSalaries posted: expense accounts against payable.
  4. 04PaidBank file exported, payable cleared.
Payslip · Faisal Al Harbi · AEDBasic6,000.00Housing allowance1,500.00Overtime 6h259.62Unpaid absence 1 day−200.00Loan instalment−500.00Net pay7,059.62
The online store

A shop that can see the warehouse.

Follow one order through Online store, from the phone to the showroom that ships it.

  1. Step 1 of 5

    Shoppers browse

    The delivery country picks the store that serves them, so prices, currency and stock are that store's. Nothing is shown that can't be delivered.

  2. Step 2 of 5

    Choose and add to cart

    Variants like finish and size each have their own stock and photos. A signed-in cart follows the shopper to every device.

  3. Step 3 of 5

    Check out

    Saved addresses, cash on delivery, or pay on account for approved business buyers. The server prices everything again; the browser is never trusted.

  4. Step 4 of 5

    It lands in the ERP

    The order appears in that store's web orders, with the stock already held for it so nobody else can buy the last one.

  5. Step 5 of 5

    Ship it

    Shipping posts the sales invoice and its journal; delivery records the cash. The shopper sees every step in their account.

Business buyers

Trade customers get trade terms.

A company applies from its account; staff approve it with a credit limit and payment terms. From then on the buyer can switch to business mode: wholesale prices from a minimum quantity, quick order by SKU, and paying on account until the limit is reached.

Everything else

And the parts nobody demos, but everybody needs.

Item tree

Category, subcategory, group. Custom fields are inherited down the tree and become filters in the store.

Variants

Colour, size, finish: each variant is its own stock item with its own SKU, price and photos.

Reports

Trial balance, P&L, balance sheet, account statements, customer and supplier aging, sales by customer, item, month and salesman, stock by location.

Exports

Every list and report to CSV, Excel or PDF. Invoices, credit notes and vouchers print as PDFs.

Roles per location

Roles decide what someone may do; location access decides where, read-only or with write.

Audit log

Who created, posted, approved or cancelled what, and when.

Dashboard

Today's sales, receivables, stock value and drafts for your location; head office compares every location side by side.

Self-service payslips

Every employee with a sign-in sees their own payslips, and only theirs.

Try it, no sign-up

Two doors into the same business.

Both panels run on the same sample data. Place an order in the store, then find it waiting in the admin panel.

The back office

Open the admin panel.

Signed in as a guest who can see everything and change nothing: dashboards, documents at all five locations, the ledger, reports, payroll.

The shop floor

Place a real order.

Signed in as a demo customer with an address ready. Check out, then open the admin panel and find your order in Web orders.

Pricing

One price. Your code, on your servers.

You pay once and own your copy. We hand over the complete source code, deployed on your own hosting.

Countersign licence
$999one-time payment

Hosting is yours to choose and pay for; we deploy Countersign there.

Included
  • Complete source code: ERP admin panel, online store and API
  • Deployed by us on your own server or hosting account
  • Every module shown on this page: selling, buying, stock, accounting, multi-currency, payroll, reports, B2B
  • Your data stays on your infrastructure
Not included
  • Hosting, servers and databases
  • Domains and SSL
  • Anything else not listed above
Under the hood

Built to be relied on.

Posting
one database transaction
Totals
recalculated on the server
Money
exact decimals, never floats
Journals
immutable; cancel = reversal
Access
checked on every request
Frontend
Next.js, React
Backend
Node.js, Express
Database
PostgreSQL, Prisma
Auth
Better Auth sessions
Images
S3 storage
Deploy
Docker
Countersign is built by

Fourangled

We build the systems trading businesses run on.

ERP, online stores and the integrations between them, designed around how your money and stock actually move. This demo runs on a year of sample trading for a lighting importer with two warehouses and three showrooms.