View Source Stripe.Tax.Registration (stripity_stripe v3.2.0)
A Tax Registration
lets us know that your business is registered to collect tax on payments within a region, enabling you to automatically collect 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.
Related guide: Using the Registrations API
Summary
Types
Options for the registration in AE.
Options for the registration in AT.
Options for the registration in AU.
Options for the registration in BE.
Options for the registration in BG.
Options for the registration in CA.
Options for the registration in CH.
Options for the registration in CL.
Options for the registration in CO.
Specific options for a registration in the specified country
.
Options for the registration in CY.
Options for the registration in CZ.
Options for the registration in DE.
Options for the registration in DK.
Options for the registration in EE.
Options for the registration in ES.
Options for the registration in FI.
Options for the registration in FR.
Options for the registration in GB.
Options for the registration in GR.
Options for the registration in HR.
Options for the registration in HU.
Options for the registration in ID.
Options for the registration in IE.
Options for the registration in IS.
Options for the registration in IT.
Options for the registration in JP.
Options for the registration in KR.
Options for the local amusement tax registration.
Options for the local lease tax registration.
Options for the registration in LT.
Options for the registration in LU.
Options for the registration in LV.
Options for the registration in MT.
Options for the registration in MX.
Options for the registration in MY.
Options for the registration in NL.
Options for the registration in NO.
Options for the registration in NZ.
Options for the registration in PL.
Options for the provincial tax registration.
Options for the registration in PT.
Options for the registration in RO.
Options for the registration in SA.
Options for the registration in SE.
Options for the registration in SG.
Options for the registration in SI.
Options for the registration in SK.
Options for the standard registration.
The tax.registration
type.
Options for the registration in TH.
Options for the registration in TR.
Options for the registration in US.
Options for the registration in VN.
Options for the registration in ZA.
Functions
Creates a new Tax Registration
object.
Returns a list of Tax Registration
objects.
Returns a Tax Registration
object.
Updates an existing Tax Registration
object.
Types
@type ae() :: %{optional(:type) => :standard}
Options for the registration in AE.
@type at() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in AT.
@type au() :: %{optional(:type) => :standard}
Options for the registration in AU.
@type be() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in BE.
@type bg() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in BG.
@type ca() :: %{ optional(:province_standard) => province_standard(), optional(:type) => :province_standard | :simplified | :standard }
Options for the registration in CA.
@type ch() :: %{optional(:type) => :standard}
Options for the registration in CH.
@type cl() :: %{optional(:type) => :simplified}
Options for the registration in CL.
@type co() :: %{optional(:type) => :simplified}
Options for the registration in CO.
@type country_options() :: %{ optional(:vn) => vn(), optional(:lv) => lv(), optional(:cl) => cl(), optional(:se) => se(), optional(:pl) => pl(), optional(:nz) => nz(), optional(:lt) => lt(), optional(:de) => de(), optional(:fr) => fr(), optional(:fi) => fi(), optional(:sa) => sa(), optional(:es) => es(), optional(:sg) => sg(), optional(:tr) => tr(), optional(:sk) => sk(), optional(:ie) => ie(), optional(:th) => th(), optional(:us) => us(), optional(:co) => co(), optional(:ee) => ee(), optional(:hu) => hu(), optional(:it) => it(), optional(:jp) => jp(), optional(:si) => si(), optional(:kr) => kr(), optional(:gb) => gb(), optional(:ca) => ca(), optional(:dk) => dk(), optional(:nl) => nl(), optional(:my) => my(), optional(:ae) => ae(), optional(:gr) => gr(), optional(:ch) => ch(), optional(:be) => be(), optional(:cz) => cz(), optional(:no) => no(), optional(:lu) => lu(), optional(:cy) => cy(), optional(:au) => au(), optional(:mt) => mt(), optional(:is) => is(), optional(:bg) => bg(), optional(:za) => za(), optional(:hr) => hr(), optional(:id) => id(), optional(:ro) => ro(), optional(:mx) => mx(), optional(:pt) => pt(), optional(:at) => at() }
Specific options for a registration in the specified country
.
@type cy() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in CY.
@type cz() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in CZ.
@type de() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in DE.
@type dk() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in DK.
@type ee() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in EE.
@type es() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in ES.
@type fi() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in FI.
@type fr() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in FR.
@type gb() :: %{optional(:type) => :standard}
Options for the registration in GB.
@type gr() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in GR.
@type hr() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in HR.
@type hu() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in HU.
@type id() :: %{optional(:type) => :simplified}
Options for the registration in ID.
@type ie() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in IE.
@type is() :: %{optional(:type) => :standard}
Options for the registration in IS.
@type it() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in IT.
@type jp() :: %{optional(:type) => :standard}
Options for the registration in JP.
@type kr() :: %{optional(:type) => :simplified}
Options for the registration in KR.
@type local_amusement_tax() :: %{optional(:jurisdiction) => binary()}
Options for the local amusement tax registration.
@type local_lease_tax() :: %{optional(:jurisdiction) => binary()}
Options for the local lease tax registration.
@type lt() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in LT.
@type lu() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in LU.
@type lv() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in LV.
@type mt() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in MT.
@type mx() :: %{optional(:type) => :simplified}
Options for the registration in MX.
@type my() :: %{optional(:type) => :simplified}
Options for the registration in MY.
@type nl() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in NL.
@type no() :: %{optional(:type) => :standard}
Options for the registration in NO.
@type nz() :: %{optional(:type) => :standard}
Options for the registration in NZ.
@type pl() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in PL.
@type province_standard() :: %{optional(:province) => binary()}
Options for the provincial tax registration.
@type pt() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in PT.
@type ro() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in RO.
@type sa() :: %{optional(:type) => :simplified}
Options for the registration in SA.
@type se() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in SE.
@type sg() :: %{optional(:type) => :standard}
Options for the registration in SG.
@type si() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in SI.
@type sk() :: %{ optional(:standard) => standard(), optional(:type) => :ioss | :oss_non_union | :oss_union | :standard }
Options for the registration in SK.
@type standard() :: %{optional(:place_of_supply_scheme) => :small_seller | :standard}
Options for the standard registration.
@type t() :: %Stripe.Tax.Registration{ active_from: integer(), country: binary(), country_options: term(), created: integer(), expires_at: integer() | nil, id: binary(), livemode: boolean(), object: binary(), status: binary() }
The tax.registration
type.
active_from
Time at which the registration becomes active. Measured in seconds since the Unix epoch.country
Two-letter country code (ISO 3166-1 alpha-2).country_options
created
Time at which the object was created. Measured in seconds since the Unix epoch.expires_at
If 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.id
Unique identifier for the object.livemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.object
String representing the object's type. Objects of the same type share the same value.status
The status of the registration. This field is present for convenience and can be deduced fromactive_from
andexpires_at
.
@type th() :: %{optional(:type) => :simplified}
Options for the registration in TH.
@type tr() :: %{optional(:type) => :simplified}
Options for the registration in TR.
@type us() :: %{ optional(:local_amusement_tax) => local_amusement_tax(), optional(:local_lease_tax) => local_lease_tax(), optional(:state) => binary(), optional(:type) => :local_amusement_tax | :local_lease_tax | :state_communications_tax | :state_sales_tax }
Options for the registration in US.
@type vn() :: %{optional(:type) => :simplified}
Options for the registration in VN.
@type za() :: %{optional(:type) => :standard}
Options for the registration in ZA.
Functions
@spec create( params :: %{ optional(:active_from) => :now | integer(), optional(:country) => binary(), optional(:country_options) => country_options(), optional(:expand) => [binary()], optional(:expires_at) => integer() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Creates a new Tax Registration
object.
Details
- Method:
post
- Path:
/v1/tax/registrations
@spec list( params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary(), optional(:status) => :active | :all | :expired | :scheduled }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of Tax Registration
objects.
Details
- Method:
get
- Path:
/v1/tax/registrations
@spec retrieve( id :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a Tax Registration
object.
Details
- Method:
get
- Path:
/v1/tax/registrations/{id}
@spec update( id :: binary(), params :: %{ optional(:active_from) => :now | integer(), optional(:expand) => [binary()], optional(:expires_at) => :now | integer() | binary() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates an existing Tax Registration
object.
A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at
.
Details
- Method:
post
- Path:
/v1/tax/registrations/{id}