Purchasing
Buying runs in four steps:
Order what you want → turn it into the supplier's invoice → receive what arrives against the invoice → pay it.
An order is a request, an invoice is what the supplier billed, a requisition (إذن استلام) is what arrived, a payment is money leaving. Goods are only ever received against an approved purchase invoice, never against an order and never on their own. A clinic that never writes orders can start at the invoice.
Only a posted requisition moves stock and raises what you owe.
Find it under Money → Purchasing.
Where to Find It
Click an address to open that screen on your own clinic. The first click asks which clinic you are, then remembers it. Addresses holding a {id} need a specific record, so they are shown but not linked.
| Screen | Address |
|---|---|
| Purchase orders | /inventory/purchase-orders |
| New order | /inventory/purchase-orders/create |
| Purchase invoices | /inventory/purchase-invoices |
| New purchase invoice | /inventory/purchase-invoices/create |
| Requisitions | /inventory/requisitions |
| A requisition | /inventory/requisitions/{id} |
| Edit a draft requisition | /inventory/requisitions/{id}/edit |
| Purchase returns | /inventory/purchase-returns |
| Supplier payments | /inventory/supplier-payments |
| Outstanding payables | /inventory/reports/payables |
| An item's purchase history | /inventory/items/{id}/purchases |
Ordering
Purchase orders → New order. Choose the supplier, the branch the order is for, and the lines: item, quantity and the price you expect to pay. Which store the goods go into is decided when they arrive, not here — an order is a request, and a delivery can be split between stores.
The price is per the unit the item is held in, whatever unit you type the quantity in: ten cartons of twelve at 5 each is 600, not 50. The order total is shown as you type, with your order-level discount and carriage applied.
The lines are written as on a sales invoice: Add item searches the catalogue and adds the item with its last cost, and Create new product writes a new one. A purchase line is always a catalogue item — stock is counted against it — so clicking its name swaps the item rather than retyping it; the quantity stays. A line's discount is an amount off the line. The total stays at the foot of the window while you type, and the notes are formatted text.
An order moves through draft → sent → invoiced, and may be cancelled or closed before it is invoiced.
- A draft is yours to change freely.
- Sent means it has gone to the supplier: the lines are no longer editable, because a copy of them is now in somebody else's hands.
- Invoiced is set for you when the order is converted. Its work is done.
An order is never received against. When the supplier bills it, convert it.
The Purchase Invoice
Purchase invoices. The invoice is what the supplier billed: the same lines as an order — item, quantity, price — plus their invoice number and a due date.
From an order: open the order and click Convert to invoice. A draft invoice is created with the order's lines, discount and charges, and it opens so you can correct the prices to what the supplier actually billed. The order is marked invoiced and keeps what was asked for; each links to the other.
Directly: New purchase invoice, for a supplier you did not order from.
Their invoice number opens already filled with the next number in your own sequence (SI-00001, SI-00002, …). Type over it with the number on the supplier's bill if it carries one; leave it blank and the next number is given on save.
An invoice moves through draft → approved → part received → received, and may be closed short.
- A draft is yours to change freely.
- Approve it when it is right. Its lines lock, and it becomes a bill: payments can be put against it and goods can be received against it. If you left the due date blank, it is set now from the supplier's payment terms.
- Part received, received and over-received are set for you by the posted requisitions, never chosen by hand. Over-received means everything billed has arrived and, of at least one line, more than was billed: the supplier sent extra, and the invoice has yet to catch up.
- An approved invoice can be cancelled only while nothing has been received or paid against it. After that, close it: what arrived stays, the rest is not coming.
Its payment status — unpaid, partly paid, paid — is separate, and follows the payments put against it.
Receiving: the Requisition
Goods arrive on a requisition (إذن استلام). Open an approved invoice and click New requisition. The supplier and the invoice are fixed, and the lines open on what is still outstanding on the invoice. There is no receiving without an invoice.
You may receive less than was billed, in more than one delivery, and the invoice tells you what is still outstanding. Receiving more is warned about first and accepted only when you confirm it.
Their delivery note number opens already filled with the next number in your own sequence (DN-00001, DN-00002, …). Type over it with the number on the supplier's slip if it carries one; leave it blank and the next number is given on save.
An invoice's requisitions, drafts included, are listed in its Requisitions tab, with a New requisition button while there is still something to receive.
Each purchase order, purchase invoice and requisition has an Activity log tab: who created it, who changed what, and when. It is shown to anyone who may view reports.
Saving a requisition keeps it as a draft: nothing has moved yet, and you can open it and Edit it — quantities, prices, the delivery note number — as often as you need. When the goods are on the shelf, click Post. Posting is what:
- moves the stock into the store,
- restates the item's average cost,
- raises what you owe the supplier.
A posted requisition cannot be edited or deleted. If the goods go back, record a return; if the quantity was typed wrong, record a correction on the item. Nothing that has moved stock is ever quietly unwound.
When everything billed has arrived, the invoice shows any difference between what was billed and what the requisitions landed at. It is reported, not applied: the goods may already have been used at the cost they were received at.
Delivery charges
Freight, customs, whatever was paid to get the goods here, is entered once, on the purchase invoice, in Carriage and other charges. The requisition has no charges field: when it is posted, it takes its share of the invoice's charges in proportion to the goods it brings, and the delivery that completes the invoice takes whatever is left, so the requisitions together carry exactly what the invoice billed. Within a requisition, its share is spread across the lines in proportion to their value, so the expensive line carries more of it than the cheap one.
That is why every purchase shows two numbers:
| Column | What it is |
|---|---|
| Unit price | What the supplier charged |
| Landed cost | What the item actually cost you, charges included |
The landed cost is what the item is valued at on the shelf. A supplier who quotes less but charges for delivery is only visible in the second column.
TIP
A free sample lowers your average cost, and that is correct: you now hold more units for the same money.
Returning Goods
Purchase returns lists them, and you raise one from the requisition it undoes — that is where the quantities and the costs are.
You cannot return more than arrived, however many times you press save. The goods leave at what they were carried at, which is the figure the supplier is being asked to credit.
Paying
Supplier payments. Record the amount, how it was paid, and which approved invoices it settles. Each invoice's payment status follows. What you do not allocate stays on the supplier's account as an unapplied credit.
To pay one invoice, open it and click Add payment. The dialog shows its total, what is paid and what remains, which you can tap to pay in full. The payment goes against that invoice up to what it still owes; anything beyond stays with the supplier as credit. A draft or cancelled invoice cannot be paid. Once an invoice has payments, they are listed in its Payments made tab.
Paying more than is owed leaves the supplier in credit, and the balance says so rather than pretending it is zero.
What You Owe
Outstanding payables shows one row per supplier, split by how old the debt is:
| Band | Meaning |
|---|---|
| Current | Not yet due |
| 30 / 60 / 90+ | Days past due |
The totals reconcile with each supplier's statement, because both are read from the same documents.
What an Item Has Cost
Open an item's stock movements and click Purchase history. It lists every posted requisition of that item — newest first — with its date, supplier, quantity, unit price and landed cost.
Drafts are not listed. A price nobody has agreed to pay is not a price you bought at.
Who Can See It
Purchasing is costed by definition — a supplier balance is what you owe, a requisition is what you paid — so every purchasing screen needs See costs as well as its own permission. There is no half-open version of these screens.
| Permission | Lets somebody |
|---|---|
| See purchase orders | Read orders and an item's purchase history |
| Raise and edit purchase orders | Write an order, send it, cancel it — and, with the next key, convert it to an invoice |
| Receive goods and return them | Write and post a requisition, and raise a return — the two actions that move stock |
| Record supplier invoices | Read, write, approve, close and cancel purchase invoices |
| Record supplier payments | Pay a supplier and read outstanding payables |
| See suppliers | Open the supplier list and statements |
A role that holds a purchasing key without See costs is refused at the door rather than shown an empty screen. Grant the two together on the roles screen.
Limits
- A purchase document always names a supplier, chosen from your supplier records and never typed as free text. Inactive suppliers are not offered.
- A requisition is always raised from an approved purchase invoice, takes the invoice's supplier, and holds only that invoice's lines.
- An order is converted into an invoice once.
- Editing or deleting anything that moved stock or money is refused. The way back is a return, a reversal or a credit — each of which leaves both entries visible.
- Cost figures are stamped when the requisition is posted and never recomputed, so a later price change does not rewrite last month's valuation.
See Also
- Suppliers — the companies you buy from and what you owe them
- Stocked items — the unit, the packs and the cost figures
- Stock movements — everything that moved, and why
- Journal and Chart of Accounts — where the purchase postings land