Skip to main content

The company's own licences

The company's licences record what your company holds — not your customers'. A Pennsylvania retail licence for e-cigarettes, a Maryland electronic smoking device retailer licence, a cigarette dealer's licence. Each row is a licence type (vape, tobacco, cigarette, kratom, hemp…), a scope (retail — selling to a person — or wholesale — selling to the trade), the state that issued it, its number, the days it runs from and to, and the permit itself as an attachment.

Seeing them needs entity_licence.read (Admin, Manager, Accounting, Sales — the counter's people, because a refusal names a licence). Recording, changing and removing them needs entity_licence.manage (Admin, Manager).

Where they are kept​

Settings → Company setup → Licences. The tab is there only for somebody with entity_licence.read, and only while the Customers app is on; without entity_licence.manage it lists the licences and offers nothing to change.

The list shows, for each licence: the licence type, the scope (Retail or Wholesale), the state (and the country, where it is not the US), the number, the day it is in force from and its last day (Open where there is none), its notes, and a status worked out from those dates and today — In force, Not yet in force or Ended. Nothing stores a status: whether a licence covers a day follows from the day.

  • Add a licence opens a drawer: type, scope, issuing state, country (US unless you change it), number, In force from, Last day and notes. State and number are required. The country and the state are chosen from the geographic reference's lists — the state list is the chosen country's — and the state is stored as its code ("PA"); typing in a list only searches it.
  • Change (the pencil on a row) opens the same drawer filled in. Only what you change is sent, so two people changing different fields of one licence do not undo each other's work. There is no "somebody else changed this" check on this record: the server has no version check for it, and whoever saves a field last wins that field.
  • Remove (the bin on a row) asks why, and will not go on without a reason. The reason is kept in the audit log.

If the server refuses a save or a removal — a last day before the first day, say — its sentence appears at the top of the drawer, or under the reason, and nothing is closed, so you can correct it and save again.

The permit itself (attachment_id) can be linked only through the API for now: the tab neither shows nor changes it, and a change made in the tab leaves it as it was.

The same is reachable through the API: GET /api/v1/entity-licences lists them, POST /api/v1/entity-licences records one, PATCH /api/v1/entity-licences/{id} changes one (only the fields sent) and POST /api/v1/entity-licences/{id}/remove removes one recorded in error, with {"reason": …}.

What reads them​

  • A sale to a person. A vape, tobacco, kratom or hemp line to a customer who is a person buying in their own name — an individual account that does not itself hold the licence a trade buyer would need — is lawful only where this company holds a retail licence of that type in the state of the sale (the counter's own site for a counter sale, otherwise where the goods land), on the day and on the day the goods are due to leave. Otherwise the line is refused: "This company holds no IL retail licence for ENDS_DISPOSABLE (Disposable vapes) on 2026-10-17, so … cannot be sold to …, who is buying as a person. An administrator records the company's licences; until this one is on file, sell it to a licensed account." A business without the licence is refused as before — the buyer must be licensed.
  • Pennsylvania's cigarettes and little cigars. Where the Pennsylvania rule pack is applied, a product filed as a cigarette (from 19 October) or a little cigar is sold there only once the company records its own Pennsylvania cigarette licence (any scope).

A wholesale-only company holds wholesale licences and no retail ones, so its counter sells only to licensed accounts. A company that also retails adds its retail licences and the same counter sells to a person, ID checked. Nothing is set per company in code: the licences decide.

Ending, not deleting​

To end a licence, set its last day — the history of what was in force on which day stays. Remove is for a licence recorded in error and asks for a reason. Every change is in the audit log with what it was before; the number never is.

The demo company​

The product's own demo company holds a Pennsylvania and a Maryland retail vape licence. Every demo company — the product's own and a client's onboarded with demo content — has an Illinois walk-in account, Walk-in customer (Illinois), added as the counter's quick add adds one: marked Walk-in, open for cash sales, with no address. Its vape lines are refused, because no demo company holds an Illinois retail licence. To see a Maryland sale to a person refused too, remove the Maryland licence in Company setup → Licences (or through the API, POST /api/v1/entity-licences/{id}/remove, with a reason) and sell to the demo's person in Baltimore, DEMO-C-0010. A client's company onboarded with demo content gets none of the licences: a licence is a compliance fact, not sample data.