Foxcolab

Foxcolab Sheets for pharma distributors

Every batch traced to every buyer, kept where Foxcolab can't read it

Keep customers' drug licenses and their retention-fee dates, import batch-wise sales from your billing software, and list every buyer of a recalled batch with one formula. Spreadsheets are end-to-end encrypted.

In short

The tools for pharma distributors that matter most keep every customer's drug license on file, tie each sale to a batch so a recall takes minutes, and catch near-expiry stock while it can still go back. Foxcolab does it from one account: a customer license register, a batch-wise sales record and an expiry tracker in Sheets, a cold room log on an Encrypted form and signed orders in Drive. Foxcolab can't read any of it.

Key takeaways

  • Wholesale drug licenses are issued in Form 20B, or Form 21B for drugs in Schedules C and C(1), under rule 61 of the Drugs Rules, 1945.
  • A license stays valid while its retention fee is paid before the end of every five years from issue, and rule 63 applies to retail licenses in Forms 20 and 21 too.
  • Every wholesale cash or credit memo carries the buyer's name, address and sale license number with the drug, quantity, batch number and manufacturer, and its carbon copy is kept three years.
  • Schedule H, H1 and X drugs go to doctors, hospitals, dispensaries and nursing homes only against a signed written order, kept for two years.
  • One FILTER formula on a batch-wise sales sheet lists every customer who received a recalled batch.

Last reviewed 6 December 2026 by Foxcolab Team

Spreadsheets are end-to-end encrypted.

Why it matters

The problem

A distributor's records live in the billing software, a cupboard of license photocopies and the memory of whoever has been there longest. A chemist's license lapses and nobody notices until an inspector does. A recall notice names one batch, and finding who received it means a day of scrolling invoices. Short-dated stock turns up after the return window has closed, and the customer list with every rate and discount sits in an inbox anyone could forward.

Use cases

What you can do with Foxcolab Sheets.

  • Customer licenses on file

    Every buyer's license numbers, issue dates and next retention-fee date in one table, with copies in Drive.

  • Recalls in minutes

    Batch-wise sales imported from your billing software, so one formula lists every buyer of a batch.

  • Expiry caught early

    Stock by batch turns amber months ahead, in time to offer it back to the manufacturer.

  • Cold room readings

    Staff log the cold room on an encrypted form, and a reading outside the label's range asks what was done.

  • Signed orders kept

    Signed written orders from doctors and hospitals scanned into Drive folders by year.

Step by step

How it works

  1. Build the license registerIn Foxcolab Sheets, select Blank spreadsheet, type the headings, then choose Insert → Table → Create and make the dates Date columns.
  2. Flag what's dueChoose Format → Conditional formatting → Add rule → Custom formula is for retention fees due within 60 days and missing license numbers.
  3. Import the week's salesExport the week's sales lines from your billing software, then choose File → Import… with Append rows to current sheet.
  4. Trace a batchIn a Recall sheet, type the batch number and a FILTER formula on the batch column to list every customer who received it.
  5. Keep copies in DriveIn Foxcolab Drive, choose New → New file request to collect customers' license copies, and New folder for signed orders.

The tools for pharma distributors that matter most keep every customer's drug license on file, tie each sale to a batch so a recall takes minutes, and catch near-expiry stock while it can still go back. Foxcolab does it from one account. A customer license register, a batch-wise sales record and an expiry tracker live in Foxcolab Sheets, staff log the cold room on an Encrypted form, and signed orders sit in Drive. Spreadsheets, form answers and files are end-to-end encrypted, so Foxcolab can't read them.

What the Drugs Rules ask of a wholesaler#

The Drugs Rules, 1945, in the consolidated text published by the Central Drugs Standard Control Organization, set out the paperwork behind a wholesale license:

What the rules askRule
Wholesale licenses are issued in Form 20B, or Form 21B for drugs in Schedules C and C(1); Schedule X has its own forms61
A license stays valid if its retention fee is paid before the end of every five years from issue. Paid late, it carries a late fee for up to six months, and if it still isn't paid, the license is deemed cancelled63
The premises are in charge of a competent person: a registered pharmacist, a matriculate with four years' experience selling drugs, or a graduate with a year's experience dealing in drugs64
Every wholesale sale is on a cash or credit memo with the date, the buyer's name, address and sale license number, the drug, quantity, batch number, manufacturer and the competent person's signature65(5)(1)
Carbon copies of those memos are kept three years from the date of sale65(5)(2)
Purchase records show the supplier's name, address and license number, with the drug, quantity, batch and manufacturer65(5)(3)
Schedule H, H1 and X drugs go to doctors, hospitals, dispensaries and nursing homes only against a signed written order, kept two years65(9)(b)
No drug is sold or stocked after its expiry date, and stock awaiting return is kept apart in cartons marked "Not for sale"65(17)

Two of these lean on your customers' paperwork as much as yours. Every memo needs the buyer's sale license number, and rule 63 applies to retail licenses in Forms 20 and 21 too, so a chemist's license is only good while its fee is paid. And a batch number on every line is what makes a recall traceable.

The same records hold every customer's rates, terms and volumes. Most mainstream spreadsheet services hold the keys to what you store with them, so they can read it. Foxcolab encrypts on your device first.

A customer license register#

In Foxcolab Sheets, select Blank spreadsheet and type Customer, Type, Form 20 no., Form 21 no., Issued on, Next retention fee and Copy in Drive. Choose Insert → Table and Create. Make Type a Dropdown column with Retail chemist, Hospital, Nursing home and Doctor, Issued on a Date column, and Copy in Drive a Checkbox column.

Customers (B Type, C Form 20 no., E Issued on, F Next retention fee)·Text
F2   =EDATE(E2,60*(INT(DATEDIF(E2,TODAY(),"m")/60)+1))    Next five-year date
Rule (amber):  =AND($F2<>"",$F2-TODAY()<=60)               Ask for the fee receipt
Rule (red):    =AND($B2="Retail chemist",$C2="")           No license number: don't bill

Add both rules with Format → Conditional formatting → Add rule → Custom formula is. Hospitals and doctors buying for their patients go on the memo by name and address, which is why the red rule checks retail customers only.

For the copies, choose New → New file request in Foxcolab Drive, set Save files to a Customer licenses folder, give it a Title (optional) such as License copies for your distributor, and select Create and copy link. Chemists send scans from any browser without an account, and each file is encrypted on their device. The title isn't encrypted, so keep customers' names out of it. Request files in Drive covers the options.

A batch-wise sales record for recalls#

Most billing software exports sales lines with the memo number, customer, license number, drug, batch and quantity. Each week, export only that week's lines as a CSV or Excel file, open a Sales sheet in Foxcolab Sheets, and choose File → Import… with Append rows to current sheet. The import leaves out the repeated header row for you, and exporting one week at a time keeps every line in once.

When a recall notice arrives, add a Recall sheet:

Recall (Sales: A Date, B Memo no., C Customer, D License no., E Drug, F Batch, G Qty)·Text
B1   AB24117                                      Batch in the recall notice
A3   =FILTER(Sales!A:G,Sales!F:F=B1)              Every sale of that batch
I3   =UNIQUE(FILTER(Sales!C:C,Sales!F:F=B1))      Every customer to call

Add Called and Stock returned columns beside the customer list and work down it. FILTER, UNIQUE and SORT in Sheets explains both functions.

Near-expiry stock and returns#

Keep a Stock sheet with Drug, Batch, Expiry, Quantity and Manufacturer, and work out the days left:

Stock (C Expiry, F Days left)·Text
F2   =C2-TODAY()
Rule (red):    =$F2<=0             Into the Not for sale carton
Rule (amber):  =AND($F2>0,$F2<=90)  Offer it back to the manufacturer

Set the amber threshold to the return window in your manufacturers' policies. A Returns sheet with a Dropdown status (Requested, Picked up, Credit note received) shows what's still owed to you.

The cold room log and signed orders#

Rule 65(17) also bars selling or stocking a drug against any statement or direction on its label, so a record that the storage range on the label was kept is worth having. Create an Encrypted form in Foxcolab Forms called Cold room log, with a Dropdown for the unit and a Number for the reading. In the Logic tab, choose Add rule, add a second Condition and pick any of these is true: for a label that says 2 °C to 8 °C, the reading is less than 2 or is greater than 8. Show and Require a Long answer for what was done. Set Who can respond to People in my organization, so only your staff can submit.

Scan signed written orders from doctors and hospitals each week into a Drive folder for the year, made with New → New folder, and keep them two years.

A worked example: a recall in Indore#

  1. A distributor serving 340 chemists and 12 hospitals imports every week's sales into the Sales sheet.
  2. On a Tuesday, a manufacturer's recall names batch AB24117. The owner types it into B1 of the Recall sheet.
  3. FILTER lists 41 sales to 23 customers. Staff call each one, tick Called, and tick Stock returned as strips come back, kept apart until the manufacturer collects them.
  4. The same week, the register turns amber for a chemist whose license reaches its fifth year in February. The salesperson asks for the fee receipt on the next visit and uploads it to Drive.

What to watch out for#

  • No license, no memo. Bill a retail customer only when their license number is in the register and a copy is in Drive.
  • Batch numbers as printed. Check that your billing export keeps batch numbers whole, letters and leading zeros included, or FILTER won't find them.
  • Share by role. Share as Editor with the people who keep the register and as Viewer with sales, and choose Remove access when someone leaves.
  • The office computer. Sign out when you close for the day, which ends the session on Foxcolab's servers.
  • The organization recovery key. On a plan with your own domain, whoever holds it can reset the password of any account on that domain and keep its data readable. Keep it with the owner, offline.

Get started#

Sheets, Forms and Drive come with every account, so you can create a free account and build the license register this week, then see plans for staff accounts on your own domain. Distributors with several depots can read about Foxcolab for enterprise or talk to sales. For retail stock and expiry dates, see tools for pharmacies.

Questions

Asked often, answered plainly.

All questions

Can Foxcolab read our customer list and sales?

No. Spreadsheets, form answers and Drive files are end-to-end encrypted, so customers, rates and batches are readable only by you and the people you share them with.

Does Foxcolab replace our billing software?

No. Keep billing, invoices and stock in your billing software. Use Foxcolab for the license register, batch tracing, expiry follow-up, the cold room log and scanned paperwork.

Do customers need an account to send their license copies?

No. A Drive file request link lets anyone send files from a browser without signing in, and each file is encrypted on their device before it's sent.

Can our salespeople see the register?

Share the spreadsheet as Viewer with the people who only need to look, and as Editor with those who keep it up to date. Choose Remove access when someone leaves.

What does Foxcolab cost for a distributor?

Every app comes with every account, Free included. Pro, at INR 199 per user per month, adds email on your own domain for up to 50 members, and Ultimate, at INR 299, has no member limit.

Put it to work for pharma distributors.

Start on the Free plan and add people when you are ready.

Jump to