List tax-rule versions (with lifecycle filter)
path Parameters
idTax rule UUID (any version)
query Parameters
statusLifecycle status filter (repeatable)
List tax-rule versions (with lifecycle filter) › Responses
OK
archived_reasoncreated_atcreated_byeffective_fromeffective_toidID is the *_versions.id UUID. Phase 2.D needs it so the FE stage-mode chip can wire selection→pin map without a separate number→ID lookup; older clients can ignore the field.
published_atstatususage_countversionGet a tax-rule version snapshot
path Parameters
idTax rule UUID (any version)
versionVersion number
Get a tax-rule version snapshot › Responses
OK
applies_to_customer_typesOptional discriminators. Empty/nil means "applies to all" - wildcard semantics let EU VAT rules (which leave these unset) keep working while non-EU sales-tax rules can scope themselves to specific buyer types, product categories, or supply types.
applies_to_product_categoriesapplies_to_supply_typesapply_orderarchived_atcreated_atidinclusiveis_compoundjurisdiction_countryjurisdiction_regionorganization_idpublished_atpublished_byraterequires_continuous_coveragestatustax_typeupdated_atvalid_fromValidFrom / ValidTo are plain dates (no clock, no zone). Tax law boundaries land on calendar days in the relevant jurisdiction; attaching a time-of-day to "this rate applies from 2024-06-15" silently shifts the day in non-UTC zones (Unified Date/Time plan, Layer 10). Postgres column type is DATE.
valid_toversion