Deterministic Stripe Tax helpers for PaperTiger's local test surface.
This intentionally models only the automatic-tax totals that tests need. It is not a standalone Tax Calculations/Transactions API implementation.
Summary
Functions
Applies deterministic automatic-tax fields to line items and returns totals.
Returns a Stripe-shaped automatic_tax map from request params or a resource.
True when automatic_tax[enabled]=true was requested.
Functions
Applies deterministic automatic-tax fields to line items and returns totals.
Returns a Stripe-shaped automatic_tax map from request params or a resource.
True when automatic_tax[enabled]=true was requested.