The four tests
A rule governs a transaction only when all four hold. Each failure has a named activation state so the caller and the auditor can see why the rule fell through.
When all four pass, the state is
in_force. When the federal default applies because nothing else governed, the state is default_practice. A local research record that has not been approved for the engine reports not_engine_supported and never governs.
The local calendar date
Effective dates are calendar dates in the jurisdiction. A sale at 11:30 p.m. Central time on October 31 is still October 31 in Oklahoma even though it is already November 1 in UTC. The engine resolves the local date in this order:- The POS clock. If
transaction_timestampcarries its own UTC offset (2026-11-01T00:15:00-05:00), the date portion as written is the sale’s local date. This is the most faithful record of the day the sale happened at the register.local_date_sourcereadssender_offset. - The location’s time zone. Otherwise the instant is converted into the registered location’s
time_zone(or the state’s primary zone).local_date_sourcereadsjurisdiction_time_zone. - UTC when neither is available.
Pending rules and the countdown
When a rule is enacted but not yet effective, the transaction still receives a decision (from the next level that governs, usually the federal default) and the pending rule is reported with a countdown.GET /api/v1/jurisdictions/countdown lists every binding rule or tier whose effective date is still ahead, with days remaining as of today in the rule’s own time zone. Obligation changes count as events too: North Carolina ABC stores move from permits to obligates on July 1, 2027.
Early adoption
A merchant may apply an enacted-but-not-yet-effective rule now, either per merchant (PUT /api/v1/merchants/{merchant_id}/early-adoption) or per request (early_adoption: true). The rule then governs, and the activation state is early_adoption_voluntary. The record never describes such a transaction as compliance with a law in force. See Early adoption and operator choice.
Obligation can change on a date
A tier may carry an obligation schedule. North Carolina’s ABC store rule permits rounding from July 2, 2026 and requires it from July 1, 2027 (S.L. 2026-31, s. 14.(c) rewrites “may” to “shall”). Oklahoma political subdivisions may round from November 1, 2026 and must from July 1, 2027 (62 O.S. 9002(B)). The engine reports the obligation that applies on the sale’s date.Activation conditions
Some statutes apply only when something else is true.
Conditions and their basis are written into the sealed record.
Sunsets
Virginia’s local-ordinance authority expires no later than July 1, 2027. A tier with asunset_date stops governing on that date and reports expired.
