1. Registry
  2. Packages
  3. Stripe Provider
  4. API Docs
  5. TaxLocation
Viewing docs for Stripe 0.3.1
published on Friday, Nov 13, 2026 by Pulumi
Stripe
Viewing docs for Stripe 0.3.1
published on Friday, Nov 13, 2026 by Pulumi

    Create TaxLocation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TaxLocation(name: string, args: TaxLocationArgs, opts?: CustomResourceOptions);
    @overload
    def TaxLocation(resource_name: str,
                    args: TaxLocationArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TaxLocation(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    address: Optional[TaxLocationAddressArgs] = None,
                    type: Optional[str] = None,
                    description: Optional[str] = None)
    func NewTaxLocation(ctx *Context, name string, args TaxLocationArgs, opts ...ResourceOption) (*TaxLocation, error)
    public TaxLocation(string name, TaxLocationArgs args, CustomResourceOptions? opts = null)
    public TaxLocation(String name, TaxLocationArgs args)
    public TaxLocation(String name, TaxLocationArgs args, CustomResourceOptions options)
    
    type: stripe:TaxLocation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "stripe_tax_location" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TaxLocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TaxLocationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TaxLocationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaxLocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaxLocationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var taxLocationResource = new Stripe.TaxLocation("taxLocationResource", new()
    {
        Address = new Stripe.Inputs.TaxLocationAddressArgs
        {
            Country = "string",
            City = "string",
            Line1 = "string",
            Line2 = "string",
            PostalCode = "string",
            State = "string",
        },
        Type = "string",
        Description = "string",
    });
    
    example, err := stripe.NewTaxLocation(ctx, "taxLocationResource", &stripe.TaxLocationArgs{
    	Address: &stripe.TaxLocationAddressArgs{
    		Country:    pulumi.String("string"),
    		City:       pulumi.String("string"),
    		Line1:      pulumi.String("string"),
    		Line2:      pulumi.String("string"),
    		PostalCode: pulumi.String("string"),
    		State:      pulumi.String("string"),
    	},
    	Type:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    })
    
    resource "stripe_tax_location" "taxLocationResource" {
      lifecycle {
        create_before_destroy = true
      }
      address = {
        country     = "string"
        city        = "string"
        line1       = "string"
        line2       = "string"
        postal_code = "string"
        state       = "string"
      }
      type        = "string"
      description = "string"
    }
    
    var taxLocationResource = new TaxLocation("taxLocationResource", TaxLocationArgs.builder()
        .address(TaxLocationAddressArgs.builder()
            .country("string")
            .city("string")
            .line1("string")
            .line2("string")
            .postalCode("string")
            .state("string")
            .build())
        .type("string")
        .description("string")
        .build());
    
    tax_location_resource = stripe.TaxLocation("taxLocationResource",
        address={
            "country": "string",
            "city": "string",
            "line1": "string",
            "line2": "string",
            "postal_code": "string",
            "state": "string",
        },
        type="string",
        description="string")
    
    const taxLocationResource = new stripe.TaxLocation("taxLocationResource", {
        address: {
            country: "string",
            city: "string",
            line1: "string",
            line2: "string",
            postalCode: "string",
            state: "string",
        },
        type: "string",
        description: "string",
    });
    
    type: stripe:TaxLocation
    properties:
        address:
            city: string
            country: string
            line1: string
            line2: string
            postalCode: string
            state: string
        description: string
        type: string
    

    TaxLocation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TaxLocation resource accepts the following input properties:

    Address TaxLocationAddress
    Type string
    The type of tax location to be defined. Currently the only option is performance.
    Description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    Address TaxLocationAddressArgs
    Type string
    The type of tax location to be defined. Currently the only option is performance.
    Description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    address object
    type string
    The type of tax location to be defined. Currently the only option is performance.
    description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    address TaxLocationAddress
    type String
    The type of tax location to be defined. Currently the only option is performance.
    description String
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    address TaxLocationAddress
    type string
    The type of tax location to be defined. Currently the only option is performance.
    description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    address TaxLocationAddressArgs
    type str
    The type of tax location to be defined. Currently the only option is performance.
    description str
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    address Property Map
    type String
    The type of tax location to be defined. Currently the only option is performance.
    description String
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TaxLocation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    Id string
    The provider-assigned unique ID for this managed resource.
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    id string
    The provider-assigned unique ID for this managed resource.
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    id String
    The provider-assigned unique ID for this managed resource.
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.
    id string
    The provider-assigned unique ID for this managed resource.
    livemode boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    id str
    The provider-assigned unique ID for this managed resource.
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object str
    String representing the object's type. Objects of the same type share the same value.
    id String
    The provider-assigned unique ID for this managed resource.
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.

    Look up Existing TaxLocation Resource

    Get an existing TaxLocation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TaxLocationState, opts?: CustomResourceOptions): TaxLocation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[TaxLocationAddressArgs] = None,
            description: Optional[str] = None,
            livemode: Optional[bool] = None,
            object: Optional[str] = None,
            type: Optional[str] = None) -> TaxLocation
    func GetTaxLocation(ctx *Context, name string, id IDInput, state *TaxLocationState, opts ...ResourceOption) (*TaxLocation, error)
    public static TaxLocation Get(string name, Input<string> id, TaxLocationState? state, CustomResourceOptions? opts = null)
    public static TaxLocation get(String name, Output<String> id, TaxLocationState state, CustomResourceOptions options)
    resources:  _:    type: stripe:TaxLocation    get:      id: ${id}
    import {
      to = stripe_tax_location.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Address TaxLocationAddress
    Description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    Type string
    The type of tax location to be defined. Currently the only option is performance.
    Address TaxLocationAddressArgs
    Description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    Type string
    The type of tax location to be defined. Currently the only option is performance.
    address object
    description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    type string
    The type of tax location to be defined. Currently the only option is performance.
    address TaxLocationAddress
    description String
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.
    type String
    The type of tax location to be defined. Currently the only option is performance.
    address TaxLocationAddress
    description string
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    livemode boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    type string
    The type of tax location to be defined. Currently the only option is performance.
    address TaxLocationAddressArgs
    description str
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object str
    String representing the object's type. Objects of the same type share the same value.
    type str
    The type of tax location to be defined. Currently the only option is performance.
    address Property Map
    description String
    A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.
    type String
    The type of tax location to be defined. Currently the only option is performance.

    Supporting Types

    TaxLocationAddress, TaxLocationAddressArgs

    Country string
    Two-letter country code (ISO 3166-1 alpha-2).
    City string
    City, district, suburb, town, or village.
    Line1 string
    Address line 1, such as the street, PO Box, or company name.
    Line2 string
    Address line 2, such as the apartment, suite, unit, or building.
    PostalCode string
    ZIP or postal code.
    State string
    State, county, province, or region (ISO 3166-2).
    Country string
    Two-letter country code (ISO 3166-1 alpha-2).
    City string
    City, district, suburb, town, or village.
    Line1 string
    Address line 1, such as the street, PO Box, or company name.
    Line2 string
    Address line 2, such as the apartment, suite, unit, or building.
    PostalCode string
    ZIP or postal code.
    State string
    State, county, province, or region (ISO 3166-2).
    country string
    Two-letter country code (ISO 3166-1 alpha-2).
    city string
    City, district, suburb, town, or village.
    line1 string
    Address line 1, such as the street, PO Box, or company name.
    line2 string
    Address line 2, such as the apartment, suite, unit, or building.
    postal_code string
    ZIP or postal code.
    state string
    State, county, province, or region (ISO 3166-2).
    country String
    Two-letter country code (ISO 3166-1 alpha-2).
    city String
    City, district, suburb, town, or village.
    line1 String
    Address line 1, such as the street, PO Box, or company name.
    line2 String
    Address line 2, such as the apartment, suite, unit, or building.
    postalCode String
    ZIP or postal code.
    state String
    State, county, province, or region (ISO 3166-2).
    country string
    Two-letter country code (ISO 3166-1 alpha-2).
    city string
    City, district, suburb, town, or village.
    line1 string
    Address line 1, such as the street, PO Box, or company name.
    line2 string
    Address line 2, such as the apartment, suite, unit, or building.
    postalCode string
    ZIP or postal code.
    state string
    State, county, province, or region (ISO 3166-2).
    country str
    Two-letter country code (ISO 3166-1 alpha-2).
    city str
    City, district, suburb, town, or village.
    line1 str
    Address line 1, such as the street, PO Box, or company name.
    line2 str
    Address line 2, such as the apartment, suite, unit, or building.
    postal_code str
    ZIP or postal code.
    state str
    State, county, province, or region (ISO 3166-2).
    country String
    Two-letter country code (ISO 3166-1 alpha-2).
    city String
    City, district, suburb, town, or village.
    line1 String
    Address line 1, such as the street, PO Box, or company name.
    line2 String
    Address line 2, such as the apartment, suite, unit, or building.
    postalCode String
    ZIP or postal code.
    state String
    State, county, province, or region (ISO 3166-2).

    Package Details

    Repository
    stripe stripe/terraform-provider-stripe
    License
    Notes
    This Pulumi package is based on the stripe Terraform Provider.
    Stripe
    Viewing docs for Stripe 0.3.1
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial