Openapi
Add a dated rate to a tax code. A rate that starts after the current one ends it.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidtaxCodeId*stringuuidThe rate payload.
application/jsonrateBps*integer0 <= value <= 100000validFrom?stringdateReturns the created rate.
application/jsonid*stringuuidrateBps*integer0 <= value <= 100000validFrom*stringdatevalidTo*|datecurl -X POST 'https://app.localhost/api/v1/organizations/123/tax-codes/123/rates' \ -H 'Content-Type: application/json' \ -d '{ "rateBps": 0}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "rateBps": 0, "validFrom": "2019-08-24", "validTo": "2019-08-24"}