From the formula to the distributor's ledger, one set of books
A pharmaceutical company buys imported raw material, turns it into production runs, ships cartons to depots and sells on credit at trade price. E-Khata Cloud costs each run from the material that actually went into it, lands imports at their true cost, moves stock between depots with nothing lost in transit, bills each distributor at its own price list, and files sales to FBR.

E-Khata Cloud is production, inventory and accounting software for pharmaceutical manufacturers and their distribution in Pakistan. Recipes explode into the material each production run needs, the run moves through the stages you define with yield, waste and rejection recorded, imported material carries its freight and duty in its cost, and finished packs sell to distributors at the price list each one buys at. It is the costing, stock and finance system; product registration, manufacturing and quality records stay in your quality system.
Where a pharmaceutical company's margin goes missing
Run costs worked out after the fact
Raw material prices move with the dollar, and every run uses a little more or less than the formula says. Without the material actually issued, the cost per pack is last year's estimate.
Imports costed at the invoice price
The supplier's invoice is in dollars, then freight, duty and clearing arrive weeks later. Stock valued at the invoice alone makes every pack look cheaper than it really was.
Distribution kept on spreadsheets
Depots in three cities, distributors on credit and different prices for different buyers. Receivables live in one file and stock in another, and neither agrees with the books.
From raw material to a distributor's invoice, in E-Khata
Buy and receive raw material
Raise a purchase order, receive against it and match the supplier's bill. Imported material gets its freight, duty and clearing added as landed cost.
Purchase →Make the production run
Start a run from the recipe and the material to issue is worked out. The run moves through your stages on the board, with yield, waste and rejection recorded at each.
Production →Move cartons to the depots
Finished goods travel to depots as branch transfers, visible in transit until the depot receives them, with any shortage recorded against the right branch.
Branch transfers →Sell at trade price and file
Each distributor is billed at the price list it buys at, the invoice files to FBR with HS codes, and the distributor's ledger and ageing show what is due.
Sales →
Formulas that become a real cost per pack
Define each recipe once with its scaling and fixed-rate scrap. A production run explodes the recipe into the material to issue, moves through the stages you set up, such as granulation, compression, coating and packing, and records yield, waste and rejection at each one. Finished packs land in stock at what the run really cost, with labour and overhead allocated, and material sent to an outside processor is tracked until it comes back.
- Recipes with scaling and fixed-rate scrap.
- Your own stages, with a board showing what is where.
- Yield, waste and rejection recorded at each stage.
- Material at outside processors tracked until it returns.

Packs, cartons and a stock count that matches
Raw material is held in kilos or litres and finished goods in packs, boxes and cartons, each product with its own unit conversions. A carton can be split into packs, with approval before it posts. Stock adjustments for samples, breakage or loss post to the books, and a physical count is compared with the system so every difference is settled on record.
- Units and conversions per product: pack, box, carton, kilo or litre.
- Split a carton into packs, approved before it posts.
- Adjustments for samples, breakage and loss posted to the books.
- Stock reconciliation against a physical count.

Imported material at its true cost
Active ingredients and packing material bought abroad are billed in the supplier's currency, with the rupee value beside it. Freight, customs duty and clearing are added as landed cost and spread across the receipt, so a production run that uses the material carries its full cost. When a duty bill arrives after the run, a recalculation with a preview puts the cost right, and foreign balances are revalued at the closing rate.
- Supplier bills in their currency, books in rupees.
- Landed cost for freight, duty and clearing.
- Cost recalculated, with a preview, when bills arrive late.
- Foreign balances revalued at a closing rate.

Depots, distributors and FBR
Each depot can run as a branch with its own stock and books, and cartons move between depots with goods in transit visible until they are received. Name your own price lists, such as trade price for distributors, and set the list each customer buys at. Salesmen earn commission on the lines they sell, distributor ledgers and ageing show what is due, sales returns carry their reason, and invoices file to FBR Digital Invoicing with HS codes from FBR.
- Depots as branches, with transfers in transit.
- Your own price lists, set per customer.
- Salesman commission and the Commission Report.
- FBR Digital Invoicing and the Annexure-C register.

The parts of E-Khata you will use
Frequently asked questions
Related trades
Explore more of E-Khata
See how your business runs on E-Khata.
30-min Zoom or WhatsApp call. We'll walk you through E-Khata with examples that match your business type.

“We built E-Khata so business owners spend less time on the register and more time growing the business.”
Or message us on WhatsApp: +92 300 1676722 (we reply within 1 hour).