Purchasing, stock and despatch for wholesalers and distributors
Buy from approved suppliers, receive goods into lots, take customer orders and despatch against stock. Each delivery note records which lots went to which customer.
DN-2026-000067
DN-2026-000067
26/11/2026 · CUS-HOTEL
| Product | Lot | Location | Expiry | Quantity |
|---|---|---|---|---|
| FG-YOG-NAT500 · Natural yogurt, 500g | LOT-0412 | Chilled store | 15/12/2026 | 480 each |
| FG-CREAM-D300 · Double cream, 300ml | LOT-0409 | Chilled store | 08/12/2026 | 120 each |
| FG-BUTTER-S250 · Salted butter, 250g | LOT-0377 | Chilled store | 21/01/2027 | 200 each |
Items and approved suppliers
Items holds merchandise you buy for resale, finished goods, spare parts, raw materials, components and consumables, each with a unit, a standard cost and supplier links. Merchandise, finished goods and spare parts can be despatched. Those and work in progress can go on a sales order.
Suppliers have an approval status of pending, approved, suspended or rejected, set by a signed-in person with the date to review it. A purchase order can't be sent to a suspended or rejected supplier. Goods from one are refused at goods-in, and a pending supplier's goods go into quarantine.
Purchase orders and deliveries
Raise purchase orders by hand, then send them. Record each delivery against its order, with a delivery note number. A part delivery leaves the line partial, and an over-delivery can need a reason if you set a tolerance. Each line shows as none, partial, full or over, so you can see what is still to come.
Match the supplier's invoice against the order for price and against what was received for quantity. Supplier performance reports on time, in full and rejected deliveries.
Purchasing
Purchase orders
44 orders
| Reference | Supplier | Expected | State | Received | Value |
|---|---|---|---|---|---|
| PO-2026-049 Somerset Vale Farms Co-op | Somerset Vale Farms Co-op | 27/11/2026 | Received | 2 of 2 lines in full | £2,420.00 |
| PO-2026-048 Greenfield Packaging Ltd | Greenfield Packaging Ltd | 27/11/2026 | Sent | 0 of 4 lines in full | £4,023.00 |
| PO-2026-047 Orchard & Berry Ingredients | Orchard & Berry Ingredients | 21/11/2026 | Received | 3 of 3 lines in full | £2,802.50 |
| PO-2026-046 Greenfield Packaging Ltd | Greenfield Packaging Ltd | 14/11/2026 | Received | 8 of 8 lines in full | £5,963.40 |
Lots, goods-in and a movement ledger
Accepted goods become a lot in a location, with the supplier's own lot code and an optional expiry date. A lot is available, in quarantine or rejected, and a person releases it from quarantine.
Every change is a movement in an append-only ledger: receipts, transfers, adjustments, waste and despatches. A mistake is corrected by a reversal, so the lot's history stays whole.
Stock
Stock
39 items
| Item | Type | On hand | Available | Held | Lots | |
|---|---|---|---|---|---|---|
| Double cream, 300ml FG-CREAM-D300 | Finished good | 1,309 each | 1,309 each | — | 3 | |
| Natural yogurt, 500g FG-YOG-NAT500 | Finished good | 5,579 each | 5,579 each | — | 6 | |
| Salted butter, 250g FG-BUTTER-S250 | Finished good | 2,382 each | 2,382 each | — | 2 | |
| ||||||
| Semi-skimmed milk, 1 litre FG-MILK-SS1 | Finished good | 1,998 each | 1,998 each | — | 2 | |
Quotes, price agreements and orders
Draft a quote for a customer with up to 200 lines, issue it, and convert it to an order that a manager confirms. A price agreement fixes a customer's price for a product and currency between two dates, and a line left without a price takes the agreement in force on its delivery date.
Sales line values exclude tax and aren't tax invoices. Issuing a quote doesn't send it to anyone. With CRM on, leads and opportunities come before the quote, and a won opportunity hands off to a draft sales order.
Sales
| Reference | Customer | Customer reference | Type | Status | Revision |
|---|---|---|---|---|---|
| SO-c3f90ab1d4e7 Royal West Infirmary Catering | Royal West Infirmary Catering | QUOTE-Ward break | order | Draft | 1 |
| SO-a931df5f393f FarmFresh Local Grocers | FarmFresh Local Grocers | FARM-PO-20261029 | order | Confirmed order | 2 |
| SQ-07a5aac992e2 Greenleaf Wholefoods | Greenleaf Wholefoods | QUOTE-Christmas | quote | Issued quote | 2 |
| SQ-813f9085a2a5 Greenleaf Wholefoods | Greenleaf Wholefoods | QUOTE-Christmas | quote | Cancelled | 2 |
| SQ-0c07d98a6cd7 Royal West Infirmary Catering | Royal West Infirmary Catering | QUOTE-Ward break | quote | Issued quote | 2 |
| SQ-4079fde4e1dc The Cotswold Manor Hotel | The Cotswold Manor Hotel | QUOTE-Spring menu | quote | Issued quote | 2 |
| SO-7e550bb89200 The Hungry Heron Restaurants | The Hungry Heron Restaurants | REST-PO-20261125 | order | Draft | 1 |
Despatch, delivery notes and lot tracing
Despatch withdraws stock against a customer and records exactly which lots left.
Draft
Choose a customer, the delivery address and a date, then add lot, location and quantity lines. A draft withdraws nothing.
Confirm
A manager confirms it. That rechecks the customer, QA release, expiry and unreserved balances, then withdraws every line together or none.
Delivery note
Print the delivery note. Confirming keeps a snapshot of the customer's details, the item and the lot, so later edits don't rewrite it. A mistake is corrected by a void, which posts opposite ledger entries and keeps both records.
Trace
Look up a lot to see the customers it was delivered to. With Sales on, a manager can assign whole delivery lines to order lines, so what is still outstanding falls.
Invoices from despatches
The optional Invoicing module drafts a customer invoice from a confirmed despatch or sales order, or by hand. You choose each line's tax rate, even 0%, then issue a numbered PDF. A credit note reverses whole lines of an issued invoice.
While a draft or an issued invoice holds a despatch line, no other invoice can bill it, and discarding the draft releases it. Invoicing is off by default.
Invoicing
INV-000001
Issued| Description | Quantity | Unit price | Net | Tax |
|---|---|---|---|---|
| Natural yogurt 500g (October supply) 480 each | 480 each | 1.15 | 552.00 | 0.00 (0%) |
| Strawberry yogurt 150g (October supply) 960 each | 960 each | 0.42 | 403.20 | 0.00 (0%) |
| Chilled delivery surcharge 4 drop | 4 drop | 15.00 | 60.00 | 12.00 (20%) |
- Subtotal
- 1015.20
- Tax
- 12.00
- Total
- GBP 1027.20
INV-000010
INV-000010
IssuedBill to
The Cotswold Manor Hotel
Document date
26/11/2026
| Description | Tax |
|---|---|
| Natural yogurt 500g | 0.00 (0%) |
| Double cream 300ml | 0.00 (0%) |
- Total
- GBP 1380.00
Xero keeps the books
With the optional Accounting module on, an admin can send approved supplier bills, issued invoices and credit notes to Xero through mappings a person has reviewed. Xero stays the ledger. Knotworking has none of its own.
The Xero connection has been tested against a simulated Xero. Acceptance on a live organisation is pending, and Accounting is off by default.
Accounting connections
Manage Knotmilk Xero (demo company)
Xero connection
Disconnected
Reviewed mappings
Mapping enabled
The Supplier onboarding template
Projects → Use template → Supplier onboarding makes a project and its dated tasks around a trial order date. You choose the team, the lead and the date. Where a module is on, a step links to its page. With Tasks alone you get the starter tasks.
Review the supplier
10 days before. With Items on, review the supplier record and its approval.
Check the catalogue and prices
5 days before.
Place a trial order
On the trial order date. With Purchasing on, place a trial purchase order.
Review the first receipt
7 days after. With Purchasing on, compare the first delivery against the order.
Record delivery issues
8 days after. Added when Quality is on: record any delivery issues as non-conformances.
What it isn't
It covers buying, stock, selling and despatch by lot. It isn't a till, and it doesn't keep your accounts.
No point of sale
There is no till, barcode checkout or retail sales import. Sales are quotes and orders for customers you know.
Stock is lot-based
Every receipt makes a lot, and every movement names a lot and a location. There is no simple mode that keeps one quantity per product.
No payments
Invoicing doesn't record payments, chase them or email the invoice. Credit notes reverse whole lines, not part of a quantity. Xero keeps the ledger, tax filing and payments.
Tracing a lot is direct only
The lookup lists the customers a lot was delivered to. It doesn't follow the lot into other products you made from it.
Sales orders don't plan purchasing
Purchase orders are raised by hand or from the shortfall Production shows. Sales orders don't raise them and aren't copied into the demand plan.
Your team runs the installation
Knotworking is self-hosted, with no hosted plan or support contract. Installation, updates and backups are yours.
In the product
Screens from the demo workspace, for the modules behind this page.
ItemsOperations PurchasingOperations Stock and lotsOperations CustomersSales and finance
The modules behind this
Each is a separate module, switched on for the installation and then granted person by person.
Operations
- Items and suppliersA catalogue of materials, components, products and services with units, costs and approved suppliers.
- PurchasingPurchase orders for stock and non-stock goods, services and subscriptions, receipts, three-way invoice matching and supplier performance.Needs Items and suppliers.
- StockLocations, dated lots, goods-in and an append-only movement ledger with traceability.Needs Items and suppliers.
- QualityComplaints, CAPA, internal audits, mock recalls, incidents and authenticity assessments.
Sales and finance
- CustomersCustomer accounts, addresses and contacts, shared by sales, despatch, CRM and invoicing.
- SalesQuotes, price agreements, sales orders and delivery commitments.Needs Customers and Items and suppliers.
- DespatchLot despatches, delivery notes and tracing which customer received which lot.Needs Customers and Stock.
- CRMLeads, opportunities on an editable pipeline, owners and follow-ups, built on the customer register. A won opportunity hands off to a draft sales order or a delivery project.Needs Customers.
- InvoicingCustomer invoices and credit notes, drafted by hand or from sales orders, despatches and signed-off service quotes, and issued as numbered PDFs. No payments, reminders or emailing.Needs Customers.Opt-in: it only runs when you name it.
- Accounting integrationsConnects a workspace to Xero and posts approved supplier bills, issued customer invoices and credit notes through mappings you review. Tested against a simulated Xero; acceptance on a live organisation is pending.Opt-in: it only runs when you name it.
Questions
- Can I use it as a point of sale?
- No. There is no till or retail import. It is for buying, holding and selling stock to customers you deal with by quote and order.
- Which customers got a given lot?
- Open the lot's recipients to see the confirmed deliveries that included it, with the customer and address as they were at the time. It covers direct deliveries of that lot only.
- Can the same delivery be billed twice?
- Not through Invoicing. A despatch line held by a draft or an issued invoice can't go on another one until the draft is discarded.
- Do I need Despatch to invoice?
- No. Invoicing can draft from a confirmed sales order without Despatch, or by hand. With Despatch on, an order's invoice draws on its unbilled delivery lines.
- Does it post to Xero?
- Optionally. Approved supplier bills, issued invoices and credit notes can go to Xero once an admin connects it and a person reviews the mappings. It has been tested against a simulated Xero, and live acceptance is pending.
Up and running this afternoon.
Clone it, set a few values and start it with Docker. Caddy, the web app, the API and Postgres come up together on your own machine. There's no account with us and no per-seat bill.
git clone https://github.com/knotworking-oss/knotworking.git
cd knotworking && cp deploy/env.example deploy/.env
docker compose --env-file deploy/.env up -d --build
Set up Knotworking ERP using the instructions in this Markdown file.
https://knotworking.dev/docs/agent-install.md