DEV3 Technologies home

DEV3 Spendmast – Procurement & Spend Management SaaS (POs, Approvals, Expenses, Supplier Portal) with Gemini AI

Self-hosted procure-to-pay SaaS on Next.js 16 and MongoDB: purchase requests, approval rules, budgets, purchase orders, receiving, 3-way invoice match, payment runs, expenses, simulated cards, RFQs and a supplier portal. Gemini AI admin tools, demo data.
by DEV3 TechnologiesVerified AuthorUpdated 25 Nov 2026

Black Friday: up to 30% off

This item is 30% off: $69.30 instead of $99

Ends in
--
Days
--
Hrs
--
Min
--
Sec

Video tour. Pick a section below to browse 38 screenshots in 18 sections.

App & phone tours

Tap play to watch each app. Nothing downloads until you do.

  • Mobile web0:04

Spendmast is a procure-to-pay and spend management platform you run as the operator, built by DEV3 Technologies on Next.js 16, React 19, TypeScript, Tailwind 4 and MongoDB. Each tenant is one company (or a group of legal entities): staff raise purchase requests, approvers decide them, procurement turns them into purchase orders, receivers book the goods in, finance matches supplier invoices and pays them, and every cent is checked against a budget on the way. The demo data is fictional: a kettle maker, a school group and a clinic group, with a supplier portal for their vendors.

Web only (no mobile app source). The look is a calm ledger: dense finance tables, right-aligned figures in IBM Plex Mono, one teal accent, light and dark themes.

Buying, from request to cash

  • Purchase requests: a guided form with catalogue items or free text, coding by department, project and GL account, attachments, duplicate detection and a live approval route preview before you submit.
  • Approval rules: sequential and parallel steps, any-of and all-of, amount, department, category and project conditions, delegation with dates, escalation, no self-approval, and a simulator that shows who would approve a sample request. Approve from the inbox or from an email link.
  • Budgets with encumbrance: per department, project, GL account and period. A request checks the budget, an approved order commits it, an invoice moves committed money to actual, and transfers between budgets are themselves approved.
  • Purchase orders: versions and change orders, blanket orders with call-offs, supplier acknowledgement, PDF and email, and closing that releases what was not used.
  • Receiving: partial receipts, rejected quantities and returns, with the order's open quantity kept exact when two people receive at once.
  • Supplier invoices and 3-way match: quantity, price and total tolerances, an exceptions queue, duplicate detection, credit notes, tax and multi-currency with stored FX rates.
  • Payments: payment runs with holds, a two-person rule above a limit, early-payment discounts, and a simulated bank file export (CSV and XML). Bank detail changes on a supplier go through a cooling-off period and a second approver.

Suppliers, sourcing and contracts

  • Supplier onboarding and 360 view: documents with expiry, scorecards, risk flags and a full timeline.
  • Supplier portal: magic-link sign-in with its own session. Suppliers acknowledge orders, bid on RFQs, submit invoices, watch payment status and keep their profile and documents up to date.
  • Catalogue and price lists: items with units, categories and supplier price lists with effective dates.
  • RFQs: sealed bids, questions and answers, side-by-side comparison and an award that creates the purchase orders (split awards included).
  • Contracts: a register with spend against the cap, renewal alerts and a cap gate on orders and change orders.

People, cards and expenses

  • Expenses: receipts, mileage and per diem calculated on the server, policy versions with checks at submit and at approval, expense reports and reimbursement batches.
  • Company cards (simulated issuer): virtual cards with limits and merchant-category locks, authorisations, receipt and coding reminders, reconciliation to the general ledger and statements. The issuer sits behind an interface; real issuing is yours to add.

Reports, AI and the platform

  • Reports: spend cube, budget vs actual, maverick (non-PO) spend, cycle time, approval SLA, AP aging and cash forecast, expenses, cards, supplier scorecards and a journal export. Plain-English filters ("non-PO spend over 5,000 last quarter by department") are validated field by field before they run.
  • Gemini AI admin tools on every module: turn a free-text need into request lines, write an approval brief, explain a budget variance, extract invoice fields from pasted text for you to confirm, explain a match exception, draft an RFQ scope or a renewal notice. They use your own key; in the demo a labelled sample driver answers.
  • Platform: multi-tenant with plans and limits, 8 organisation roles with server-side permissions, an audit log on every change, saved views, CSV import and export on lists, bulk actions, a REST API under /api/v1 with keys and webhooks, notification preferences, a setup wizard and a public site.

Safe by design

  • Money is stored in integer minor units. Budgets are a ledger of postings, and every reservation, receipt, invoice claim and release is a conditional update, so two people acting at once cannot overspend a budget, double-receive or double-pay.
  • Every tenant query goes through a guard that fails closed. Supplier portal access is scoped to one supplier in one tenant.
  • 681 app tests and 81 core tests pass, including race tests, 403 tests for every role and regression tests for each finding of three independent reviews, which were all fixed before release.
  • First-load JavaScript is about 205 KB gzipped.

Good to know

  • Payments are simulated. The product exports payment files; it does not send money to a bank. Card issuing is simulated behind an interface.
  • No live accounting connectors. You get CSV and journal exports and webhooks.
  • AI needs your own key. Without one the AI buttons use the labelled sample driver in the demo.
  • Email is stored in the admin Outbox until you set an SMTP driver.
  • You need Node.js 20.9+, MongoDB 6+ as a (single-node) replica set, HTTPS and a cron or systemd timer for the daily job.

What you get

The application source with the core under packages/next-core, a setup wizard, demo data, .env.example, scripts (seed, daily jobs, billing renewal), tests, the buyer documentation, START-HERE.txt and the licence. Setup wizard and demo data included.

How it's built

Architecture, stack, key decisions and the quality gates DEV3 Spendmast passed before release.

The engineering behind Spendmast: a budget ledger with conditional reservations, receiving and invoice claims that never double count, an approval engine with frozen routes and a supplier portal scoped to one supplier, with the known limits written down.

The problem it solves

Procure-to-pay looks like forms until two approvers, two receivers and two invoice clerks act on the same order at once. Each must end with a budget that was never overspent, goods received once and an invoice paid once, for many companies that share one install.

Architecture and approach

Spendmast is a Next.js 16 application on MongoDB. Every tenant-owned model passes through a guard that requires a tenant id on each query and throws when a filter has none; the tests list the models so a new one cannot skip it. Money is integer minor units per currency, and a budget is a ledger of postings: an approved order encumbers it, an invoice moves the amount to actual, and every posting carries a key so a retry cannot post twice.

Approvals

When a request is submitted, its route is computed from the rules and frozen on the instance. Approve and reject on the same step race through one conditional update, so exactly one wins. Separation of duties is checked on every act, including on behalf of someone else, and a simulator shows the route for a sample request without creating anything.

Receiving and matching

Order lines carry received, invoiced and released counters that change only through conditional updates. A receipt, a change order and an invoice approval can run at the same time and none of them loses the others' counters. Invoice matching compares quantity, price and total against tolerances and puts anything outside them in an exceptions queue.

Payments and suppliers

A payment run claims each invoice before it lists it, an exported run cannot be cancelled, and a supplier's bank change waits for a cooling-off period and a second approver. The supplier portal uses single-use magic links and its own session; every read and write is scoped by tenant and supplier.

Quality gates and results

The release passed seven gates (static checks, 681 app tests and 81 core tests, build with a JavaScript budget, seed, a headless smoke run with happy paths, an install from the zip and a secret scan) and three independent reviews of the money logic whose findings were fixed before release. The known limits are written in the listing: simulated payments and card issuing, no live accounting connectors, AI that needs your own key.

Tech stack

Area Technologies
Application Next.js 16, React 19, REST API
Data MongoDB (replica set), Mongoose
Frontend Tailwind CSS 4, IBM Plex fonts
Quality Vitest, Headless smoke run

Inside the build

Home: A live approval inbox on the page, the procure-to-pay flow and the plans. Home — A live approval inbox on the page, the procure-to-pay flow and the plans.

Features: Requests, approvals, orders, receiving, matching, payments, budgets and cards. Features — Requests, approvals, orders, receiving, matching, payments, budgets and cards.

Guides & articles

Practical guides and engineering write-ups for DEV3 Spendmast.

Procurement software on Next.js: 6 things to check before you pick one

Last updated
Procurement software on Next.js: 6 things to check before you pick one: DEV3 Spendmast

Procurement tools look alike in a feature list until you ask the awkward questions: what stops a budget being overspent when two approvals land together, what happens when an invoice does not match the order, and what a supplier can see. Here are six things to check, with DEV3 Spendmast as the worked example.

The finance home with open approvals, budgets and invoices

A walk through requests, approvals, orders, invoices and budgets

1. Does the budget count commitments, not only spend?

Money is gone when an order is approved, not when the invoice arrives. Spendmast keeps a ledger per budget line: an approved order encumbers it, an invoice moves it to actual, and each posting is keyed so a retry cannot post twice.

Budgets with committed and actual amounts

2. Can you write your approval policy as rules?

Look for amount, department, category and project conditions, parallel steps, delegation and a way to test a rule before it goes live. Spendmast has a rule builder with a simulator that shows who would approve a sample request.

The approval rule builder with the simulator

3. Does the invoice match the order and the receipt?

A three-way match compares what was ordered, received and billed, inside tolerances you set. Anything outside lands in an exceptions queue with the reason in plain words.

The match exceptions queue

4. What can a supplier see and do?

A portal should let suppliers acknowledge orders, bid and submit invoices, and nothing else. Spendmast uses single-use magic links and scopes every read to one supplier in one company.

The supplier portal order list

5. Are expenses and cards in the same picture?

Employee expenses, mileage and company cards belong in the same budgets and approvals. Spendmast includes expense reports with server-side policy checks, reimbursement batches and a simulated card issuer.

Company cards with limits and transactions

6. What are the honest limits?

Spendmast exports payment files but does not send money. Card issuing is simulated, there are no live accounting connectors (CSV, journal export and webhooks instead), and AI needs your own key. They are listed on the item page so you can plan around them.

The reports page with spend and aging

Frequently asked questions

The complete source code (version 1.0.0) as a download from your account, with the setup and usage guides shown on this page. You can modify the code to suit your product.

Questions about this product (0)

Answers from the DEV3 team and the community.

Ask a question

No questions yet.

Wondering about setup, licensing or customisation? Ask, and the DEV3 team will help.

More from this author

View all

Related in Enterprise SaaS Starters

View all