Skip to content

Stripe: Create a registration

Stripe tax.postTaxRegistrations: arguments, response, policy and SDK examples.

← Tax operations · Get started

Operation stripe.posttaxregistrations

Provider route: POST /v1/tax/registrations. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["tax"]["postTaxRegistrations"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.tax.postTaxRegistrations(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_stripe import StripeIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.tax.post_tax_registrations(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
headersobjectOptionalAdditional keys: not allowed
headers.Idempotency-KeystringOptionalMinimum length: 1
Maximum length: 255
bodyobjectRequired within parentAdditional keys: not allowed
body.active_fromJSONRequired within parentTime at which the Tax Registration becomes active. It can be either `now` to indicate the current time, or a future timestamp measured in seconds since the Unix epoch.
body.active_from (anyOf 1)stringAlternativeOne of: now
Maximum length: 5000
body.active_from (anyOf 2)integerAlternativeFormat: unix-time
body.countrystringRequired within parentTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
body.country_optionsobjectRequired within parentSpecific options for a registration in the specified `country`.
body.country_options.aeobjectOptional
body.country_options.ae.standardobjectOptional
body.country_options.ae.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.ae.typestringRequired within parentOne of: standard
body.country_options.alobjectOptional
body.country_options.al.standardobjectOptional
body.country_options.al.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.al.typestringRequired within parentOne of: standard
body.country_options.amobjectOptional
body.country_options.am.typestringRequired within parentOne of: simplified
body.country_options.aoobjectOptional
body.country_options.ao.standardobjectOptional
body.country_options.ao.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.ao.typestringRequired within parentOne of: standard
body.country_options.atobjectOptional
body.country_options.at.standardobjectOptional
body.country_options.at.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.at.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.auobjectOptional
body.country_options.au.standardobjectOptional
body.country_options.au.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.au.typestringRequired within parentOne of: standard
body.country_options.awobjectOptional
body.country_options.aw.standardobjectOptional
body.country_options.aw.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.aw.typestringRequired within parentOne of: standard
body.country_options.azobjectOptional
body.country_options.az.typestringRequired within parentOne of: simplified
body.country_options.baobjectOptional
body.country_options.ba.standardobjectOptional
body.country_options.ba.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.ba.typestringRequired within parentOne of: standard
body.country_options.bbobjectOptional
body.country_options.bb.standardobjectOptional
body.country_options.bb.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.bb.typestringRequired within parentOne of: standard
body.country_options.bdobjectOptional
body.country_options.bd.standardobjectOptional
body.country_options.bd.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.bd.typestringRequired within parentOne of: standard
body.country_options.beobjectOptional
body.country_options.be.standardobjectOptional
body.country_options.be.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.be.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.bfobjectOptional
body.country_options.bf.standardobjectOptional
body.country_options.bf.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.bf.typestringRequired within parentOne of: standard
body.country_options.bgobjectOptional
body.country_options.bg.standardobjectOptional
body.country_options.bg.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.bg.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.bhobjectOptional
body.country_options.bh.standardobjectOptional
body.country_options.bh.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.bh.typestringRequired within parentOne of: standard
body.country_options.bjobjectOptional
body.country_options.bj.typestringRequired within parentOne of: simplified
body.country_options.bsobjectOptional
body.country_options.bs.standardobjectOptional
body.country_options.bs.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.bs.typestringRequired within parentOne of: standard
body.country_options.byobjectOptional
body.country_options.by.typestringRequired within parentOne of: simplified
body.country_options.caobjectOptional
body.country_options.ca.province_standardobjectOptional
body.country_options.ca.province_standard.provincestringRequired within parentMaximum length: 5000
body.country_options.ca.typestringRequired within parentOne of: province_standard, simplified, standard
body.country_options.cdobjectOptional
body.country_options.cd.standardobjectOptional
body.country_options.cd.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.cd.typestringRequired within parentOne of: standard
body.country_options.chobjectOptional
body.country_options.ch.standardobjectOptional
body.country_options.ch.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.ch.typestringRequired within parentOne of: standard
body.country_options.clobjectOptional
body.country_options.cl.typestringRequired within parentOne of: simplified
body.country_options.cmobjectOptional
body.country_options.cm.typestringRequired within parentOne of: simplified
body.country_options.coobjectOptional
body.country_options.co.typestringRequired within parentOne of: simplified
body.country_options.crobjectOptional
body.country_options.cr.typestringRequired within parentOne of: simplified
body.country_options.cvobjectOptional
body.country_options.cv.typestringRequired within parentOne of: simplified
body.country_options.cyobjectOptional
body.country_options.cy.standardobjectOptional
body.country_options.cy.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.cy.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.czobjectOptional
body.country_options.cz.standardobjectOptional
body.country_options.cz.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.cz.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.deobjectOptional
body.country_options.de.standardobjectOptional
body.country_options.de.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.de.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.dkobjectOptional
body.country_options.dk.standardobjectOptional
body.country_options.dk.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.dk.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.ecobjectOptional
body.country_options.ec.typestringRequired within parentOne of: simplified
body.country_options.eeobjectOptional
body.country_options.ee.standardobjectOptional
body.country_options.ee.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.ee.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.egobjectOptional
body.country_options.eg.typestringRequired within parentOne of: simplified
body.country_options.esobjectOptional
body.country_options.es.standardobjectOptional
body.country_options.es.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.es.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.etobjectOptional
body.country_options.et.standardobjectOptional
body.country_options.et.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.et.typestringRequired within parentOne of: standard
body.country_options.fiobjectOptional
body.country_options.fi.standardobjectOptional
body.country_options.fi.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.fi.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.frobjectOptional
body.country_options.fr.standardobjectOptional
body.country_options.fr.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.fr.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.gbobjectOptional
body.country_options.gb.standardobjectOptional
body.country_options.gb.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.gb.typestringRequired within parentOne of: standard
body.country_options.geobjectOptional
body.country_options.ge.typestringRequired within parentOne of: simplified
body.country_options.gnobjectOptional
body.country_options.gn.standardobjectOptional
body.country_options.gn.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.gn.typestringRequired within parentOne of: standard
body.country_options.grobjectOptional
body.country_options.gr.standardobjectOptional
body.country_options.gr.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.gr.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.hrobjectOptional
body.country_options.hr.standardobjectOptional
body.country_options.hr.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.hr.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.huobjectOptional
body.country_options.hu.standardobjectOptional
body.country_options.hu.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.hu.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.idobjectOptional
body.country_options.id.typestringRequired within parentOne of: simplified
body.country_options.ieobjectOptional
body.country_options.ie.standardobjectOptional
body.country_options.ie.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.ie.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.inobjectOptional
body.country_options.in.typestringRequired within parentOne of: simplified
body.country_options.isobjectOptional
body.country_options.is.standardobjectOptional
body.country_options.is.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.is.typestringRequired within parentOne of: standard
body.country_options.itobjectOptional
body.country_options.it.standardobjectOptional
body.country_options.it.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.it.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.jpobjectOptional
body.country_options.jp.standardobjectOptional
body.country_options.jp.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.jp.typestringRequired within parentOne of: standard
body.country_options.keobjectOptional
body.country_options.ke.typestringRequired within parentOne of: simplified
body.country_options.kgobjectOptional
body.country_options.kg.typestringRequired within parentOne of: simplified
body.country_options.khobjectOptional
body.country_options.kh.typestringRequired within parentOne of: simplified
body.country_options.krobjectOptional
body.country_options.kr.typestringRequired within parentOne of: simplified
body.country_options.kzobjectOptional
body.country_options.kz.typestringRequired within parentOne of: simplified
body.country_options.laobjectOptional
body.country_options.la.typestringRequired within parentOne of: simplified
body.country_options.lkobjectOptional
body.country_options.lk.typestringRequired within parentOne of: simplified
body.country_options.ltobjectOptional
body.country_options.lt.standardobjectOptional
body.country_options.lt.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.lt.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.luobjectOptional
body.country_options.lu.standardobjectOptional
body.country_options.lu.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.lu.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.lvobjectOptional
body.country_options.lv.standardobjectOptional
body.country_options.lv.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.lv.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.maobjectOptional
body.country_options.ma.typestringRequired within parentOne of: simplified
body.country_options.mdobjectOptional
body.country_options.md.typestringRequired within parentOne of: simplified
body.country_options.meobjectOptional
body.country_options.me.standardobjectOptional
body.country_options.me.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.me.typestringRequired within parentOne of: standard
body.country_options.mkobjectOptional
body.country_options.mk.standardobjectOptional
body.country_options.mk.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.mk.typestringRequired within parentOne of: standard
body.country_options.mrobjectOptional
body.country_options.mr.standardobjectOptional
body.country_options.mr.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.mr.typestringRequired within parentOne of: standard
body.country_options.mtobjectOptional
body.country_options.mt.standardobjectOptional
body.country_options.mt.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.mt.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.mxobjectOptional
body.country_options.mx.typestringRequired within parentOne of: simplified
body.country_options.myobjectOptional
body.country_options.my.typestringRequired within parentOne of: simplified
body.country_options.ngobjectOptional
body.country_options.ng.typestringRequired within parentOne of: simplified
body.country_options.nlobjectOptional
body.country_options.nl.standardobjectOptional
body.country_options.nl.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.nl.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.noobjectOptional
body.country_options.no.standardobjectOptional
body.country_options.no.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.no.typestringRequired within parentOne of: standard
body.country_options.npobjectOptional
body.country_options.np.typestringRequired within parentOne of: simplified
body.country_options.nzobjectOptional
body.country_options.nz.standardobjectOptional
body.country_options.nz.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.nz.typestringRequired within parentOne of: standard
body.country_options.omobjectOptional
body.country_options.om.standardobjectOptional
body.country_options.om.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.om.typestringRequired within parentOne of: standard
body.country_options.peobjectOptional
body.country_options.pe.typestringRequired within parentOne of: simplified
body.country_options.phobjectOptional
body.country_options.ph.typestringRequired within parentOne of: simplified
body.country_options.plobjectOptional
body.country_options.pl.standardobjectOptional
body.country_options.pl.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.pl.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.ptobjectOptional
body.country_options.pt.standardobjectOptional
body.country_options.pt.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.pt.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.roobjectOptional
body.country_options.ro.standardobjectOptional
body.country_options.ro.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.ro.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.rsobjectOptional
body.country_options.rs.standardobjectOptional
body.country_options.rs.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.rs.typestringRequired within parentOne of: standard
body.country_options.ruobjectOptional
body.country_options.ru.typestringRequired within parentOne of: simplified
body.country_options.saobjectOptional
body.country_options.sa.typestringRequired within parentOne of: simplified
body.country_options.seobjectOptional
body.country_options.se.standardobjectOptional
body.country_options.se.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.se.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.sgobjectOptional
body.country_options.sg.standardobjectOptional
body.country_options.sg.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.sg.typestringRequired within parentOne of: standard
body.country_options.siobjectOptional
body.country_options.si.standardobjectOptional
body.country_options.si.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.si.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.skobjectOptional
body.country_options.sk.standardobjectOptional
body.country_options.sk.standard.place_of_supply_schemestringRequired within parentOne of: inbound_goods, small_seller, standard
body.country_options.sk.typestringRequired within parentOne of: ioss, oss_non_union, oss_union, standard
body.country_options.snobjectOptional
body.country_options.sn.typestringRequired within parentOne of: simplified
body.country_options.srobjectOptional
body.country_options.sr.standardobjectOptional
body.country_options.sr.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.sr.typestringRequired within parentOne of: standard
body.country_options.thobjectOptional
body.country_options.th.typestringRequired within parentOne of: simplified
body.country_options.tjobjectOptional
body.country_options.tj.typestringRequired within parentOne of: simplified
body.country_options.trobjectOptional
body.country_options.tr.typestringRequired within parentOne of: simplified
body.country_options.twobjectOptional
body.country_options.tw.typestringRequired within parentOne of: simplified
body.country_options.tzobjectOptional
body.country_options.tz.typestringRequired within parentOne of: simplified
body.country_options.uaobjectOptional
body.country_options.ua.typestringRequired within parentOne of: simplified
body.country_options.ugobjectOptional
body.country_options.ug.typestringRequired within parentOne of: simplified
body.country_options.usobjectOptional
body.country_options.us.admissions_taxobjectOptional
body.country_options.us.admissions_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.attendance_taxobjectOptional
body.country_options.us.attendance_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.entertainment_taxobjectOptional
body.country_options.us.entertainment_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.gross_receipts_taxobjectOptional
body.country_options.us.gross_receipts_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.hospitality_taxobjectOptional
body.country_options.us.hospitality_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.local_amusement_taxobjectOptional
body.country_options.us.local_amusement_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.local_lease_taxobjectOptional
body.country_options.us.local_lease_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.luxury_taxobjectOptional
body.country_options.us.luxury_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.mass_transit_parking_taxobjectOptional
body.country_options.us.mass_transit_parking_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.parking_taxobjectOptional
body.country_options.us.parking_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.resort_taxobjectOptional
body.country_options.us.resort_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.statestringRequired within parentMaximum length: 5000
body.country_options.us.state_sales_taxobjectOptional
body.country_options.us.state_sales_tax.electionsarrayRequired within parent
body.country_options.us.state_sales_tax.elections[]objectEach item
body.country_options.us.state_sales_tax.elections[].jurisdictionstringOptionalMaximum length: 5000
body.country_options.us.state_sales_tax.elections[].typestringRequired within parentOne of: local_use_tax, simplified_sellers_use_tax, single_local_use_tax
body.country_options.us.tourism_taxobjectOptional
body.country_options.us.tourism_tax.jurisdictionstringRequired within parentMaximum length: 5000
body.country_options.us.typestringRequired within parentOne of: admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, local_amusement_tax, local_lease_tax, luxury_tax, mass_transit_parking_tax, parking_tax, resort_tax, state_communications_tax, state_retail_delivery_fee, state_sales_tax, tourism_tax
body.country_options.uyobjectOptional
body.country_options.uy.standardobjectOptional
body.country_options.uy.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.uy.typestringRequired within parentOne of: standard
body.country_options.uzobjectOptional
body.country_options.uz.typestringRequired within parentOne of: simplified
body.country_options.vnobjectOptional
body.country_options.vn.typestringRequired within parentOne of: simplified
body.country_options.zaobjectOptional
body.country_options.za.standardobjectOptional
body.country_options.za.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.za.typestringRequired within parentOne of: standard
body.country_options.zmobjectOptional
body.country_options.zm.typestringRequired within parentOne of: simplified
body.country_options.zwobjectOptional
body.country_options.zw.standardobjectOptional
body.country_options.zw.standard.place_of_supply_schemestringOptionalOne of: inbound_goods, standard
body.country_options.zw.typestringRequired within parentOne of: standard
body.expandarrayOptionalSpecifies which fields in the response should be expanded.
body.expand[]stringEach itemMaximum length: 5000
body.expires_atintegerOptionalIf set, the Tax Registration stops being active at this time. If not set, the Tax Registration will be active indefinitely. Timestamp measured in seconds since the Unix epoch.
Format: unix-time

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Create a registration — response body

Referenced models: Create a registration — response body

8 more schemas are linked from the tables above, on the schema pages.

Create a registration — response body
FieldTypePresenceDescription and constraints
$objectRootA Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://docs.stripe.com/tax).

Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://docs.stripe.com/tax/registering).

Related guide: [Using the Registrations API](https://docs.stripe.com/tax/registrations-api)
active_fromJSONRequired within parent
active_from (anyOf 1)integerAlternativeTime at which the registration becomes active. Measured in seconds since the Unix epoch.
Format: unix-time
active_from (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
countrystringRequired within parentTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
country_optionsModelRequired within parentExpand Create a registration — response body — country options
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeIf set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.registration
statusstringRequired within parentThe status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
Known values: active, expired, scheduled

Referenced models: Create a registration — response body — country options

Create a registration — response body — country options ca
FieldTypePresenceDescription and constraints
$objectRoot
province_standardModelOptionalExpand Create a registration — response body — country options ca province standard
typestringRequired within parentType of registration in Canada.
Known values: province_standard, simplified, standard

Referenced models: Create a registration — response body — country options ca province standard

Create a registration — response body — country options al
FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentType of registration in `country`.
Known values: standard
Create a registration — response body — country options ae
FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options ae standard
typestringRequired within parentType of registration in `country`.
Known values: standard

Referenced models: Create a registration — response body — country options ae standard

Create a registration — response body — country options at
FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options at standard
typestringRequired within parentType of registration in an EU country.
Known values: ioss, oss_non_union, oss_union, standard

Referenced models: Create a registration — response body — country options at standard

Create a registration — response body — country options am
FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentType of registration in `country`.
Known values: simplified
Create a registration — response body — country options es
FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options at standard
typestringRequired within parentType of registration in ES.
Known values: ioss, oss_non_union, oss_union, standard

Referenced models: Create a registration — response body — country options at standard

Create a registration — response body — country options ca province standard
FieldTypePresenceDescription and constraints
$objectRoot
provincestringRequired within parentTwo-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
Maximum length: 5000
Create a registration — response body — country options ae standard
FieldTypePresenceDescription and constraints
$objectRoot
place_of_supply_schemestringRequired within parentPlace of supply scheme used in an Default standard registration.
Known values: inbound_goods, standard
Create a registration — response body — country options at standard
FieldTypePresenceDescription and constraints
$objectRoot
place_of_supply_schemestringRequired within parentPlace of supply scheme used in an EU standard registration.
Known values: inbound_goods, small_seller, standard
Create a registration — response body — country options us admissions tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us attendance tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us entertainment tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us gross receipts tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us hospitality tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us local lease tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
Maximum length: 5000
Create a registration — response body — country options us luxury tax
FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

SDK function policy ID: stripe.posttaxregistrations. Catalog operation: PostTaxRegistrations. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Stripe-Version": "2026-09-30.endive"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.