Record a finished tax calculation as a Tax Transaction (the compliance/reporting step), keyed to a reference
(e.g. pi:<id>) which is Stripe's idempotency anchor — a replay of the same reference returns the existing
transaction rather than creating a second, so re-delivery can't double-record. Best-effort — never throws into the
caller (the charge already succeeded; a missed record is reconciled manually).
Record a finished tax calculation as a Tax Transaction (the compliance/reporting step), keyed to a
reference(e.g.pi:<id>) which is Stripe's idempotency anchor — a replay of the same reference returns the existing transaction rather than creating a second, so re-delivery can't double-record. Best-effort — never throws into the caller (the charge already succeeded; a missed record is reconciled manually).