pub struct TaxRegistration {
pub active_from: Timestamp,
pub country: String,
pub country_options: TaxProductRegistrationsResourceCountryOptions,
pub created: Timestamp,
pub expires_at: Option<Timestamp>,
pub id: TaxRegistrationId,
pub livemode: bool,
pub status: TaxRegistrationStatus,
}Expand description
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
Fields§
§active_from: TimestampTime at which the registration becomes active. Measured in seconds since the Unix epoch.
country: StringTwo-letter country code (ISO 3166-1 alpha-2).
country_options: TaxProductRegistrationsResourceCountryOptions§created: TimestampTime at which the object was created. Measured in seconds since the Unix epoch.
expires_at: Option<Timestamp>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: TaxRegistrationIdUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
status: TaxRegistrationStatusThe status of the registration.
This field is present for convenience and can be deduced from active_from and expires_at.
Trait Implementations§
Source§impl Clone for TaxRegistration
impl Clone for TaxRegistration
Source§fn clone(&self) -> TaxRegistration
fn clone(&self) -> TaxRegistration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more