Add Purchase

Record a new purchase bill from a supplier, either manually, via scan, or by importing a CSV/Excel file.

1 min read

The Add Purchase page is where you record stock coming into your pharmacy from a supplier. Enter the supplier and invoice details, add drugs to the bill line by line, and MediFlux automatically calculates taxes, totals, and margins as you go.


Purchase details

At the top of the page, enter:

FieldDescription
Search for suppliersSelect the supplier this purchase is from
Invoice numberThe supplier's invoice/bill number
DateDate of the purchase (defaults to the current date)
Purchase Details

Purchase Details

Select supplier, enter invoice number, and set the purchase date.


Adding drugs to the bill

Each row in the purchase table represents one drug being purchased. You can add a new row using the + button below the table, or remove a row using the trash icon on the left of that row.

ColumnDescription
S.NoSerial number of the line item
TypeDrug schedule type: Rx, NRx, or H1
DrugSearch and select the drug being purchased
UnitsNumber of units per pack
HSNHSN code of the drug
BatchBatch number
ExpiryExpiry date of the batch
QTYQuantity purchased
PacksNumber of packs
DealBuy/free quantity deal applied to this line item, via Add Deal
FreeFree quantity received
CostCost price per unit
Trade PTrade price
MRPMaximum Retail Price
DISDiscount percentage
SGST / CGST / IGSTApplicable GST components
SubtotalLine item value before tax
TotalLine item value including tax
MarginProfit margin for that line item
Purchase Table

Purchase Table

Add drugs line by line with batch, expiry, quantity, cost, MRP, and tax details.

Once you select a drug and enter its expiry date, MediFlux shows a price comparison note below the table, for example, flagging if the cost has decreased or increased compared to the average purchase price for that drug. Clicking the expand icon on this note opens more detail.


Adding a deal

Click Add Deal on any line item to open the Add Deal popup:

FieldDescription
Buy QuantityMinimum quantity to buy for this deal to apply
Free QuantityFree quantity received with the deal

Click Save Deal to apply it to that line item, or Cancel to close without saving.

Add Deal

Add Deal

Set buy and free quantities for supplier deals on any line item.


Discount, payment, and notes

Below the drug table:

FieldDescription
Total DiscountOverall discount on the purchase, as a percentage or amount
Enter amount paidAmount already paid to the supplier for this purchase
NotesFree-text field for any additional notes or remarks about the purchase
Discount and Payment

Discount and Payment

Apply overall discount, record amount paid, and add notes.


Bill summary

The bar at the bottom of the page shows a running summary as you build the bill:

FieldDescription
Sub TotalTotal value of all line items before discount and tax
DiscTotal discount applied
TaxTotal tax across all line items
BillFinal bill amount
MarginOverall profit margin for the purchase

From here, you can Save Draft to save the purchase without finalising it, or click Add to record it as a completed purchase.


Scan

Click Scan to upload a photo or scan of the supplier's physical invoice. This opens your device's file picker, letting you select an image of the bill. Once uploaded, MediFlux reads the bill and pre-fills the drug rows automatically, the scanned bill also appears under Drafts so you can review it before finalising.

Scan Invoice

Scan Invoice

Upload a supplier invoice photo to auto-read and pre-fill drug rows.


Import CSV

Click Import CSV to bulk-import purchase data from a CSV or Excel file. This opens the Import Purchase Data dialog, which walks you through three steps:

StepWhat happens
1. Upload FileDrag and drop your CSV or Excel file, or click Select File to browse
2. Map HeadersMatch the columns in your file to MediFlux's purchase fields
3. Review & ImportReview the mapped data before confirming the import
Import CSV

Import CSV

Bulk import purchase data via CSV or Excel with header mapping.


Drafts

Click Drafts to open the Purchase Drafts panel, which lists purchase bills that were previously scanned. Each draft shows its ID, scan status (e.g. Scanned), date and time, and the number of files attached. From here you can:

OptionWhat it does
RescanRe-run the scan on this draft
AppendAdd the draft's line items to the purchase you're currently building
InsertReplace the current purchase form with this draft's data
Delete (trash icon)Remove the draft

Clear

Once you've added at least one drug to the bill, a Clear button appears next to Drafts, letting you reset the form and start over.

Purchase Drafts and Clear

Purchase Drafts and Clear

Review, rescan, append, insert, or delete scanned purchase drafts.


Quick tip

The + button in the top-right corner of any screen also has an Add Purchase option, so you can jump straight into this page from anywhere in MediFlux without navigating through the sidebar.


Stock In, Ready to Go

Recorded your purchase? Here's what happens next.