Skip to main content

Tax measures: what a per-unit tax counts

Written for the person who sets up tax. A tax charged "per millilitre", "per ounce" or "per milligram of nicotine" needs to know how many of those a line holds. That is a measure: a named unit, the family it belongs to, and the product field it reads. Settings → Tax → Measures lists your company's measures and adds new ones; a rule or a tax names a measure by its key.

The product ships six — units, packages, countable units, millilitres, grams and ounces — and a pack may bring more when it is applied.

Adding a measure​

You need Manage tax (tax.manage).

  1. Press Add a measure.
  2. Label — what a person calls it: Nicotine, mg.
  3. Key — what a tax or rule names it by: nicotine_mg. Lower case, digits and underscores. It cannot be changed later.
  4. Unit family — count, mass, volume or length. A unit converts within its family only: a measure reading a net weight is a mass.
  5. Unit — what a rate is quoted per: milligram, not nicotine. It is the half of "$0.02 per milligram" a person checks against the statute. Symbol — how a quantity is written: mg.
  6. Reads — where the figure comes from:
    • a net-content field of the product — the quantity sold, the retail packages, the units per package, the net volume, the net weight;
    • or one of your own number fields on products (Settings → Custom fields), for a figure the product has no column for, such as nicotine content.
  7. Factor — how many of the family's base unit one of your unit is (gram, millilitre, millimetre, or one). An ounce is 28.349523125 grams. For your own field, the factor is usually 1: the field is already in the unit.
  8. Press Add the measure.

What the product refuses, and why​

  • A product with nothing in the field a tax measures is refused at the line, naming the product and the field — never charged nothing. Fill the field in.
  • A measure in use by a tax, a rule or a condition cannot be deleted, and what it counts (family, unit, factor, source) cannot change. Add a new measure instead; the label, symbol and description may change.
  • A field that is not a number cannot be read by a measure.
  • A family and a source that disagree — a mass measure reading the net volume — are refused, naming both.

Settings and permissions​

WhatEffect
tax.readSee the measures.
tax.manageAdd, rename and remove measures.
tax.require_a_ruleA line no rule covers is refused rather than untaxed; a measure's refusal is separate and always on.