github.com/stripe/stripe-go/v76@v76.25.0/tax_registration.go (about)

     1  //
     2  //
     3  // File generated from our OpenAPI spec
     4  //
     5  //
     6  
     7  package stripe
     8  
     9  import "github.com/stripe/stripe-go/v76/form"
    10  
    11  // Type of registration in `country`.
    12  type TaxRegistrationCountryOptionsAeType string
    13  
    14  // List of values that TaxRegistrationCountryOptionsAeType can take
    15  const (
    16  	TaxRegistrationCountryOptionsAeTypeStandard TaxRegistrationCountryOptionsAeType = "standard"
    17  )
    18  
    19  // Place of supply scheme used in an EU standard registration.
    20  type TaxRegistrationCountryOptionsAtStandardPlaceOfSupplyScheme string
    21  
    22  // List of values that TaxRegistrationCountryOptionsAtStandardPlaceOfSupplyScheme can take
    23  const (
    24  	TaxRegistrationCountryOptionsAtStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsAtStandardPlaceOfSupplyScheme = "small_seller"
    25  	TaxRegistrationCountryOptionsAtStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsAtStandardPlaceOfSupplyScheme = "standard"
    26  )
    27  
    28  // Type of registration in an EU country.
    29  type TaxRegistrationCountryOptionsAtType string
    30  
    31  // List of values that TaxRegistrationCountryOptionsAtType can take
    32  const (
    33  	TaxRegistrationCountryOptionsAtTypeIoss        TaxRegistrationCountryOptionsAtType = "ioss"
    34  	TaxRegistrationCountryOptionsAtTypeOssNonUnion TaxRegistrationCountryOptionsAtType = "oss_non_union"
    35  	TaxRegistrationCountryOptionsAtTypeOssUnion    TaxRegistrationCountryOptionsAtType = "oss_union"
    36  	TaxRegistrationCountryOptionsAtTypeStandard    TaxRegistrationCountryOptionsAtType = "standard"
    37  )
    38  
    39  // Type of registration in `country`.
    40  type TaxRegistrationCountryOptionsAuType string
    41  
    42  // List of values that TaxRegistrationCountryOptionsAuType can take
    43  const (
    44  	TaxRegistrationCountryOptionsAuTypeStandard TaxRegistrationCountryOptionsAuType = "standard"
    45  )
    46  
    47  // Place of supply scheme used in an EU standard registration.
    48  type TaxRegistrationCountryOptionsBeStandardPlaceOfSupplyScheme string
    49  
    50  // List of values that TaxRegistrationCountryOptionsBeStandardPlaceOfSupplyScheme can take
    51  const (
    52  	TaxRegistrationCountryOptionsBeStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsBeStandardPlaceOfSupplyScheme = "small_seller"
    53  	TaxRegistrationCountryOptionsBeStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsBeStandardPlaceOfSupplyScheme = "standard"
    54  )
    55  
    56  // Type of registration in an EU country.
    57  type TaxRegistrationCountryOptionsBeType string
    58  
    59  // List of values that TaxRegistrationCountryOptionsBeType can take
    60  const (
    61  	TaxRegistrationCountryOptionsBeTypeIoss        TaxRegistrationCountryOptionsBeType = "ioss"
    62  	TaxRegistrationCountryOptionsBeTypeOssNonUnion TaxRegistrationCountryOptionsBeType = "oss_non_union"
    63  	TaxRegistrationCountryOptionsBeTypeOssUnion    TaxRegistrationCountryOptionsBeType = "oss_union"
    64  	TaxRegistrationCountryOptionsBeTypeStandard    TaxRegistrationCountryOptionsBeType = "standard"
    65  )
    66  
    67  // Place of supply scheme used in an EU standard registration.
    68  type TaxRegistrationCountryOptionsBGStandardPlaceOfSupplyScheme string
    69  
    70  // List of values that TaxRegistrationCountryOptionsBGStandardPlaceOfSupplyScheme can take
    71  const (
    72  	TaxRegistrationCountryOptionsBGStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsBGStandardPlaceOfSupplyScheme = "small_seller"
    73  	TaxRegistrationCountryOptionsBGStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsBGStandardPlaceOfSupplyScheme = "standard"
    74  )
    75  
    76  // Type of registration in an EU country.
    77  type TaxRegistrationCountryOptionsBGType string
    78  
    79  // List of values that TaxRegistrationCountryOptionsBGType can take
    80  const (
    81  	TaxRegistrationCountryOptionsBGTypeIoss        TaxRegistrationCountryOptionsBGType = "ioss"
    82  	TaxRegistrationCountryOptionsBGTypeOssNonUnion TaxRegistrationCountryOptionsBGType = "oss_non_union"
    83  	TaxRegistrationCountryOptionsBGTypeOssUnion    TaxRegistrationCountryOptionsBGType = "oss_union"
    84  	TaxRegistrationCountryOptionsBGTypeStandard    TaxRegistrationCountryOptionsBGType = "standard"
    85  )
    86  
    87  // Type of registration in Canada.
    88  type TaxRegistrationCountryOptionsCaType string
    89  
    90  // List of values that TaxRegistrationCountryOptionsCaType can take
    91  const (
    92  	TaxRegistrationCountryOptionsCaTypeProvinceStandard TaxRegistrationCountryOptionsCaType = "province_standard"
    93  	TaxRegistrationCountryOptionsCaTypeSimplified       TaxRegistrationCountryOptionsCaType = "simplified"
    94  	TaxRegistrationCountryOptionsCaTypeStandard         TaxRegistrationCountryOptionsCaType = "standard"
    95  )
    96  
    97  // Type of registration in `country`.
    98  type TaxRegistrationCountryOptionsChType string
    99  
   100  // List of values that TaxRegistrationCountryOptionsChType can take
   101  const (
   102  	TaxRegistrationCountryOptionsChTypeStandard TaxRegistrationCountryOptionsChType = "standard"
   103  )
   104  
   105  // Type of registration in `country`.
   106  type TaxRegistrationCountryOptionsClType string
   107  
   108  // List of values that TaxRegistrationCountryOptionsClType can take
   109  const (
   110  	TaxRegistrationCountryOptionsClTypeSimplified TaxRegistrationCountryOptionsClType = "simplified"
   111  )
   112  
   113  // Type of registration in `country`.
   114  type TaxRegistrationCountryOptionsCoType string
   115  
   116  // List of values that TaxRegistrationCountryOptionsCoType can take
   117  const (
   118  	TaxRegistrationCountryOptionsCoTypeSimplified TaxRegistrationCountryOptionsCoType = "simplified"
   119  )
   120  
   121  // Place of supply scheme used in an EU standard registration.
   122  type TaxRegistrationCountryOptionsCyStandardPlaceOfSupplyScheme string
   123  
   124  // List of values that TaxRegistrationCountryOptionsCyStandardPlaceOfSupplyScheme can take
   125  const (
   126  	TaxRegistrationCountryOptionsCyStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsCyStandardPlaceOfSupplyScheme = "small_seller"
   127  	TaxRegistrationCountryOptionsCyStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsCyStandardPlaceOfSupplyScheme = "standard"
   128  )
   129  
   130  // Type of registration in an EU country.
   131  type TaxRegistrationCountryOptionsCyType string
   132  
   133  // List of values that TaxRegistrationCountryOptionsCyType can take
   134  const (
   135  	TaxRegistrationCountryOptionsCyTypeIoss        TaxRegistrationCountryOptionsCyType = "ioss"
   136  	TaxRegistrationCountryOptionsCyTypeOssNonUnion TaxRegistrationCountryOptionsCyType = "oss_non_union"
   137  	TaxRegistrationCountryOptionsCyTypeOssUnion    TaxRegistrationCountryOptionsCyType = "oss_union"
   138  	TaxRegistrationCountryOptionsCyTypeStandard    TaxRegistrationCountryOptionsCyType = "standard"
   139  )
   140  
   141  // Place of supply scheme used in an EU standard registration.
   142  type TaxRegistrationCountryOptionsCzStandardPlaceOfSupplyScheme string
   143  
   144  // List of values that TaxRegistrationCountryOptionsCzStandardPlaceOfSupplyScheme can take
   145  const (
   146  	TaxRegistrationCountryOptionsCzStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsCzStandardPlaceOfSupplyScheme = "small_seller"
   147  	TaxRegistrationCountryOptionsCzStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsCzStandardPlaceOfSupplyScheme = "standard"
   148  )
   149  
   150  // Type of registration in an EU country.
   151  type TaxRegistrationCountryOptionsCzType string
   152  
   153  // List of values that TaxRegistrationCountryOptionsCzType can take
   154  const (
   155  	TaxRegistrationCountryOptionsCzTypeIoss        TaxRegistrationCountryOptionsCzType = "ioss"
   156  	TaxRegistrationCountryOptionsCzTypeOssNonUnion TaxRegistrationCountryOptionsCzType = "oss_non_union"
   157  	TaxRegistrationCountryOptionsCzTypeOssUnion    TaxRegistrationCountryOptionsCzType = "oss_union"
   158  	TaxRegistrationCountryOptionsCzTypeStandard    TaxRegistrationCountryOptionsCzType = "standard"
   159  )
   160  
   161  // Place of supply scheme used in an EU standard registration.
   162  type TaxRegistrationCountryOptionsDEStandardPlaceOfSupplyScheme string
   163  
   164  // List of values that TaxRegistrationCountryOptionsDEStandardPlaceOfSupplyScheme can take
   165  const (
   166  	TaxRegistrationCountryOptionsDEStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsDEStandardPlaceOfSupplyScheme = "small_seller"
   167  	TaxRegistrationCountryOptionsDEStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsDEStandardPlaceOfSupplyScheme = "standard"
   168  )
   169  
   170  // Type of registration in an EU country.
   171  type TaxRegistrationCountryOptionsDEType string
   172  
   173  // List of values that TaxRegistrationCountryOptionsDEType can take
   174  const (
   175  	TaxRegistrationCountryOptionsDETypeIoss        TaxRegistrationCountryOptionsDEType = "ioss"
   176  	TaxRegistrationCountryOptionsDETypeOssNonUnion TaxRegistrationCountryOptionsDEType = "oss_non_union"
   177  	TaxRegistrationCountryOptionsDETypeOssUnion    TaxRegistrationCountryOptionsDEType = "oss_union"
   178  	TaxRegistrationCountryOptionsDETypeStandard    TaxRegistrationCountryOptionsDEType = "standard"
   179  )
   180  
   181  // Place of supply scheme used in an EU standard registration.
   182  type TaxRegistrationCountryOptionsDkStandardPlaceOfSupplyScheme string
   183  
   184  // List of values that TaxRegistrationCountryOptionsDkStandardPlaceOfSupplyScheme can take
   185  const (
   186  	TaxRegistrationCountryOptionsDkStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsDkStandardPlaceOfSupplyScheme = "small_seller"
   187  	TaxRegistrationCountryOptionsDkStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsDkStandardPlaceOfSupplyScheme = "standard"
   188  )
   189  
   190  // Type of registration in an EU country.
   191  type TaxRegistrationCountryOptionsDkType string
   192  
   193  // List of values that TaxRegistrationCountryOptionsDkType can take
   194  const (
   195  	TaxRegistrationCountryOptionsDkTypeIoss        TaxRegistrationCountryOptionsDkType = "ioss"
   196  	TaxRegistrationCountryOptionsDkTypeOssNonUnion TaxRegistrationCountryOptionsDkType = "oss_non_union"
   197  	TaxRegistrationCountryOptionsDkTypeOssUnion    TaxRegistrationCountryOptionsDkType = "oss_union"
   198  	TaxRegistrationCountryOptionsDkTypeStandard    TaxRegistrationCountryOptionsDkType = "standard"
   199  )
   200  
   201  // Place of supply scheme used in an EU standard registration.
   202  type TaxRegistrationCountryOptionsEeStandardPlaceOfSupplyScheme string
   203  
   204  // List of values that TaxRegistrationCountryOptionsEeStandardPlaceOfSupplyScheme can take
   205  const (
   206  	TaxRegistrationCountryOptionsEeStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsEeStandardPlaceOfSupplyScheme = "small_seller"
   207  	TaxRegistrationCountryOptionsEeStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsEeStandardPlaceOfSupplyScheme = "standard"
   208  )
   209  
   210  // Type of registration in an EU country.
   211  type TaxRegistrationCountryOptionsEeType string
   212  
   213  // List of values that TaxRegistrationCountryOptionsEeType can take
   214  const (
   215  	TaxRegistrationCountryOptionsEeTypeIoss        TaxRegistrationCountryOptionsEeType = "ioss"
   216  	TaxRegistrationCountryOptionsEeTypeOssNonUnion TaxRegistrationCountryOptionsEeType = "oss_non_union"
   217  	TaxRegistrationCountryOptionsEeTypeOssUnion    TaxRegistrationCountryOptionsEeType = "oss_union"
   218  	TaxRegistrationCountryOptionsEeTypeStandard    TaxRegistrationCountryOptionsEeType = "standard"
   219  )
   220  
   221  // Place of supply scheme used in an EU standard registration.
   222  type TaxRegistrationCountryOptionsESStandardPlaceOfSupplyScheme string
   223  
   224  // List of values that TaxRegistrationCountryOptionsESStandardPlaceOfSupplyScheme can take
   225  const (
   226  	TaxRegistrationCountryOptionsESStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsESStandardPlaceOfSupplyScheme = "small_seller"
   227  	TaxRegistrationCountryOptionsESStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsESStandardPlaceOfSupplyScheme = "standard"
   228  )
   229  
   230  // Type of registration in an EU country.
   231  type TaxRegistrationCountryOptionsESType string
   232  
   233  // List of values that TaxRegistrationCountryOptionsESType can take
   234  const (
   235  	TaxRegistrationCountryOptionsESTypeIoss        TaxRegistrationCountryOptionsESType = "ioss"
   236  	TaxRegistrationCountryOptionsESTypeOssNonUnion TaxRegistrationCountryOptionsESType = "oss_non_union"
   237  	TaxRegistrationCountryOptionsESTypeOssUnion    TaxRegistrationCountryOptionsESType = "oss_union"
   238  	TaxRegistrationCountryOptionsESTypeStandard    TaxRegistrationCountryOptionsESType = "standard"
   239  )
   240  
   241  // Place of supply scheme used in an EU standard registration.
   242  type TaxRegistrationCountryOptionsFIStandardPlaceOfSupplyScheme string
   243  
   244  // List of values that TaxRegistrationCountryOptionsFIStandardPlaceOfSupplyScheme can take
   245  const (
   246  	TaxRegistrationCountryOptionsFIStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsFIStandardPlaceOfSupplyScheme = "small_seller"
   247  	TaxRegistrationCountryOptionsFIStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsFIStandardPlaceOfSupplyScheme = "standard"
   248  )
   249  
   250  // Type of registration in an EU country.
   251  type TaxRegistrationCountryOptionsFIType string
   252  
   253  // List of values that TaxRegistrationCountryOptionsFIType can take
   254  const (
   255  	TaxRegistrationCountryOptionsFITypeIoss        TaxRegistrationCountryOptionsFIType = "ioss"
   256  	TaxRegistrationCountryOptionsFITypeOssNonUnion TaxRegistrationCountryOptionsFIType = "oss_non_union"
   257  	TaxRegistrationCountryOptionsFITypeOssUnion    TaxRegistrationCountryOptionsFIType = "oss_union"
   258  	TaxRegistrationCountryOptionsFITypeStandard    TaxRegistrationCountryOptionsFIType = "standard"
   259  )
   260  
   261  // Place of supply scheme used in an EU standard registration.
   262  type TaxRegistrationCountryOptionsFRStandardPlaceOfSupplyScheme string
   263  
   264  // List of values that TaxRegistrationCountryOptionsFRStandardPlaceOfSupplyScheme can take
   265  const (
   266  	TaxRegistrationCountryOptionsFRStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsFRStandardPlaceOfSupplyScheme = "small_seller"
   267  	TaxRegistrationCountryOptionsFRStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsFRStandardPlaceOfSupplyScheme = "standard"
   268  )
   269  
   270  // Type of registration in an EU country.
   271  type TaxRegistrationCountryOptionsFRType string
   272  
   273  // List of values that TaxRegistrationCountryOptionsFRType can take
   274  const (
   275  	TaxRegistrationCountryOptionsFRTypeIoss        TaxRegistrationCountryOptionsFRType = "ioss"
   276  	TaxRegistrationCountryOptionsFRTypeOssNonUnion TaxRegistrationCountryOptionsFRType = "oss_non_union"
   277  	TaxRegistrationCountryOptionsFRTypeOssUnion    TaxRegistrationCountryOptionsFRType = "oss_union"
   278  	TaxRegistrationCountryOptionsFRTypeStandard    TaxRegistrationCountryOptionsFRType = "standard"
   279  )
   280  
   281  // Type of registration in `country`.
   282  type TaxRegistrationCountryOptionsGBType string
   283  
   284  // List of values that TaxRegistrationCountryOptionsGBType can take
   285  const (
   286  	TaxRegistrationCountryOptionsGBTypeStandard TaxRegistrationCountryOptionsGBType = "standard"
   287  )
   288  
   289  // Place of supply scheme used in an EU standard registration.
   290  type TaxRegistrationCountryOptionsGrStandardPlaceOfSupplyScheme string
   291  
   292  // List of values that TaxRegistrationCountryOptionsGrStandardPlaceOfSupplyScheme can take
   293  const (
   294  	TaxRegistrationCountryOptionsGrStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsGrStandardPlaceOfSupplyScheme = "small_seller"
   295  	TaxRegistrationCountryOptionsGrStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsGrStandardPlaceOfSupplyScheme = "standard"
   296  )
   297  
   298  // Type of registration in an EU country.
   299  type TaxRegistrationCountryOptionsGrType string
   300  
   301  // List of values that TaxRegistrationCountryOptionsGrType can take
   302  const (
   303  	TaxRegistrationCountryOptionsGrTypeIoss        TaxRegistrationCountryOptionsGrType = "ioss"
   304  	TaxRegistrationCountryOptionsGrTypeOssNonUnion TaxRegistrationCountryOptionsGrType = "oss_non_union"
   305  	TaxRegistrationCountryOptionsGrTypeOssUnion    TaxRegistrationCountryOptionsGrType = "oss_union"
   306  	TaxRegistrationCountryOptionsGrTypeStandard    TaxRegistrationCountryOptionsGrType = "standard"
   307  )
   308  
   309  // Place of supply scheme used in an EU standard registration.
   310  type TaxRegistrationCountryOptionsHRStandardPlaceOfSupplyScheme string
   311  
   312  // List of values that TaxRegistrationCountryOptionsHRStandardPlaceOfSupplyScheme can take
   313  const (
   314  	TaxRegistrationCountryOptionsHRStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsHRStandardPlaceOfSupplyScheme = "small_seller"
   315  	TaxRegistrationCountryOptionsHRStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsHRStandardPlaceOfSupplyScheme = "standard"
   316  )
   317  
   318  // Type of registration in an EU country.
   319  type TaxRegistrationCountryOptionsHRType string
   320  
   321  // List of values that TaxRegistrationCountryOptionsHRType can take
   322  const (
   323  	TaxRegistrationCountryOptionsHRTypeIoss        TaxRegistrationCountryOptionsHRType = "ioss"
   324  	TaxRegistrationCountryOptionsHRTypeOssNonUnion TaxRegistrationCountryOptionsHRType = "oss_non_union"
   325  	TaxRegistrationCountryOptionsHRTypeOssUnion    TaxRegistrationCountryOptionsHRType = "oss_union"
   326  	TaxRegistrationCountryOptionsHRTypeStandard    TaxRegistrationCountryOptionsHRType = "standard"
   327  )
   328  
   329  // Place of supply scheme used in an EU standard registration.
   330  type TaxRegistrationCountryOptionsHUStandardPlaceOfSupplyScheme string
   331  
   332  // List of values that TaxRegistrationCountryOptionsHUStandardPlaceOfSupplyScheme can take
   333  const (
   334  	TaxRegistrationCountryOptionsHUStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsHUStandardPlaceOfSupplyScheme = "small_seller"
   335  	TaxRegistrationCountryOptionsHUStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsHUStandardPlaceOfSupplyScheme = "standard"
   336  )
   337  
   338  // Type of registration in an EU country.
   339  type TaxRegistrationCountryOptionsHUType string
   340  
   341  // List of values that TaxRegistrationCountryOptionsHUType can take
   342  const (
   343  	TaxRegistrationCountryOptionsHUTypeIoss        TaxRegistrationCountryOptionsHUType = "ioss"
   344  	TaxRegistrationCountryOptionsHUTypeOssNonUnion TaxRegistrationCountryOptionsHUType = "oss_non_union"
   345  	TaxRegistrationCountryOptionsHUTypeOssUnion    TaxRegistrationCountryOptionsHUType = "oss_union"
   346  	TaxRegistrationCountryOptionsHUTypeStandard    TaxRegistrationCountryOptionsHUType = "standard"
   347  )
   348  
   349  // Type of registration in `country`.
   350  type TaxRegistrationCountryOptionsIDType string
   351  
   352  // List of values that TaxRegistrationCountryOptionsIDType can take
   353  const (
   354  	TaxRegistrationCountryOptionsIDTypeSimplified TaxRegistrationCountryOptionsIDType = "simplified"
   355  )
   356  
   357  // Place of supply scheme used in an EU standard registration.
   358  type TaxRegistrationCountryOptionsIeStandardPlaceOfSupplyScheme string
   359  
   360  // List of values that TaxRegistrationCountryOptionsIeStandardPlaceOfSupplyScheme can take
   361  const (
   362  	TaxRegistrationCountryOptionsIeStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsIeStandardPlaceOfSupplyScheme = "small_seller"
   363  	TaxRegistrationCountryOptionsIeStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsIeStandardPlaceOfSupplyScheme = "standard"
   364  )
   365  
   366  // Type of registration in an EU country.
   367  type TaxRegistrationCountryOptionsIeType string
   368  
   369  // List of values that TaxRegistrationCountryOptionsIeType can take
   370  const (
   371  	TaxRegistrationCountryOptionsIeTypeIoss        TaxRegistrationCountryOptionsIeType = "ioss"
   372  	TaxRegistrationCountryOptionsIeTypeOssNonUnion TaxRegistrationCountryOptionsIeType = "oss_non_union"
   373  	TaxRegistrationCountryOptionsIeTypeOssUnion    TaxRegistrationCountryOptionsIeType = "oss_union"
   374  	TaxRegistrationCountryOptionsIeTypeStandard    TaxRegistrationCountryOptionsIeType = "standard"
   375  )
   376  
   377  // Type of registration in `country`.
   378  type TaxRegistrationCountryOptionsIsType string
   379  
   380  // List of values that TaxRegistrationCountryOptionsIsType can take
   381  const (
   382  	TaxRegistrationCountryOptionsIsTypeStandard TaxRegistrationCountryOptionsIsType = "standard"
   383  )
   384  
   385  // Place of supply scheme used in an EU standard registration.
   386  type TaxRegistrationCountryOptionsITStandardPlaceOfSupplyScheme string
   387  
   388  // List of values that TaxRegistrationCountryOptionsITStandardPlaceOfSupplyScheme can take
   389  const (
   390  	TaxRegistrationCountryOptionsITStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsITStandardPlaceOfSupplyScheme = "small_seller"
   391  	TaxRegistrationCountryOptionsITStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsITStandardPlaceOfSupplyScheme = "standard"
   392  )
   393  
   394  // Type of registration in an EU country.
   395  type TaxRegistrationCountryOptionsITType string
   396  
   397  // List of values that TaxRegistrationCountryOptionsITType can take
   398  const (
   399  	TaxRegistrationCountryOptionsITTypeIoss        TaxRegistrationCountryOptionsITType = "ioss"
   400  	TaxRegistrationCountryOptionsITTypeOssNonUnion TaxRegistrationCountryOptionsITType = "oss_non_union"
   401  	TaxRegistrationCountryOptionsITTypeOssUnion    TaxRegistrationCountryOptionsITType = "oss_union"
   402  	TaxRegistrationCountryOptionsITTypeStandard    TaxRegistrationCountryOptionsITType = "standard"
   403  )
   404  
   405  // Type of registration in `country`.
   406  type TaxRegistrationCountryOptionsJPType string
   407  
   408  // List of values that TaxRegistrationCountryOptionsJPType can take
   409  const (
   410  	TaxRegistrationCountryOptionsJPTypeStandard TaxRegistrationCountryOptionsJPType = "standard"
   411  )
   412  
   413  // Type of registration in `country`.
   414  type TaxRegistrationCountryOptionsKrType string
   415  
   416  // List of values that TaxRegistrationCountryOptionsKrType can take
   417  const (
   418  	TaxRegistrationCountryOptionsKrTypeSimplified TaxRegistrationCountryOptionsKrType = "simplified"
   419  )
   420  
   421  // Place of supply scheme used in an EU standard registration.
   422  type TaxRegistrationCountryOptionsLTStandardPlaceOfSupplyScheme string
   423  
   424  // List of values that TaxRegistrationCountryOptionsLTStandardPlaceOfSupplyScheme can take
   425  const (
   426  	TaxRegistrationCountryOptionsLTStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsLTStandardPlaceOfSupplyScheme = "small_seller"
   427  	TaxRegistrationCountryOptionsLTStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsLTStandardPlaceOfSupplyScheme = "standard"
   428  )
   429  
   430  // Type of registration in an EU country.
   431  type TaxRegistrationCountryOptionsLTType string
   432  
   433  // List of values that TaxRegistrationCountryOptionsLTType can take
   434  const (
   435  	TaxRegistrationCountryOptionsLTTypeIoss        TaxRegistrationCountryOptionsLTType = "ioss"
   436  	TaxRegistrationCountryOptionsLTTypeOssNonUnion TaxRegistrationCountryOptionsLTType = "oss_non_union"
   437  	TaxRegistrationCountryOptionsLTTypeOssUnion    TaxRegistrationCountryOptionsLTType = "oss_union"
   438  	TaxRegistrationCountryOptionsLTTypeStandard    TaxRegistrationCountryOptionsLTType = "standard"
   439  )
   440  
   441  // Place of supply scheme used in an EU standard registration.
   442  type TaxRegistrationCountryOptionsLuStandardPlaceOfSupplyScheme string
   443  
   444  // List of values that TaxRegistrationCountryOptionsLuStandardPlaceOfSupplyScheme can take
   445  const (
   446  	TaxRegistrationCountryOptionsLuStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsLuStandardPlaceOfSupplyScheme = "small_seller"
   447  	TaxRegistrationCountryOptionsLuStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsLuStandardPlaceOfSupplyScheme = "standard"
   448  )
   449  
   450  // Type of registration in an EU country.
   451  type TaxRegistrationCountryOptionsLuType string
   452  
   453  // List of values that TaxRegistrationCountryOptionsLuType can take
   454  const (
   455  	TaxRegistrationCountryOptionsLuTypeIoss        TaxRegistrationCountryOptionsLuType = "ioss"
   456  	TaxRegistrationCountryOptionsLuTypeOssNonUnion TaxRegistrationCountryOptionsLuType = "oss_non_union"
   457  	TaxRegistrationCountryOptionsLuTypeOssUnion    TaxRegistrationCountryOptionsLuType = "oss_union"
   458  	TaxRegistrationCountryOptionsLuTypeStandard    TaxRegistrationCountryOptionsLuType = "standard"
   459  )
   460  
   461  // Place of supply scheme used in an EU standard registration.
   462  type TaxRegistrationCountryOptionsLVStandardPlaceOfSupplyScheme string
   463  
   464  // List of values that TaxRegistrationCountryOptionsLVStandardPlaceOfSupplyScheme can take
   465  const (
   466  	TaxRegistrationCountryOptionsLVStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsLVStandardPlaceOfSupplyScheme = "small_seller"
   467  	TaxRegistrationCountryOptionsLVStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsLVStandardPlaceOfSupplyScheme = "standard"
   468  )
   469  
   470  // Type of registration in an EU country.
   471  type TaxRegistrationCountryOptionsLVType string
   472  
   473  // List of values that TaxRegistrationCountryOptionsLVType can take
   474  const (
   475  	TaxRegistrationCountryOptionsLVTypeIoss        TaxRegistrationCountryOptionsLVType = "ioss"
   476  	TaxRegistrationCountryOptionsLVTypeOssNonUnion TaxRegistrationCountryOptionsLVType = "oss_non_union"
   477  	TaxRegistrationCountryOptionsLVTypeOssUnion    TaxRegistrationCountryOptionsLVType = "oss_union"
   478  	TaxRegistrationCountryOptionsLVTypeStandard    TaxRegistrationCountryOptionsLVType = "standard"
   479  )
   480  
   481  // Place of supply scheme used in an EU standard registration.
   482  type TaxRegistrationCountryOptionsMTStandardPlaceOfSupplyScheme string
   483  
   484  // List of values that TaxRegistrationCountryOptionsMTStandardPlaceOfSupplyScheme can take
   485  const (
   486  	TaxRegistrationCountryOptionsMTStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsMTStandardPlaceOfSupplyScheme = "small_seller"
   487  	TaxRegistrationCountryOptionsMTStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsMTStandardPlaceOfSupplyScheme = "standard"
   488  )
   489  
   490  // Type of registration in an EU country.
   491  type TaxRegistrationCountryOptionsMTType string
   492  
   493  // List of values that TaxRegistrationCountryOptionsMTType can take
   494  const (
   495  	TaxRegistrationCountryOptionsMTTypeIoss        TaxRegistrationCountryOptionsMTType = "ioss"
   496  	TaxRegistrationCountryOptionsMTTypeOssNonUnion TaxRegistrationCountryOptionsMTType = "oss_non_union"
   497  	TaxRegistrationCountryOptionsMTTypeOssUnion    TaxRegistrationCountryOptionsMTType = "oss_union"
   498  	TaxRegistrationCountryOptionsMTTypeStandard    TaxRegistrationCountryOptionsMTType = "standard"
   499  )
   500  
   501  // Type of registration in `country`.
   502  type TaxRegistrationCountryOptionsMXType string
   503  
   504  // List of values that TaxRegistrationCountryOptionsMXType can take
   505  const (
   506  	TaxRegistrationCountryOptionsMXTypeSimplified TaxRegistrationCountryOptionsMXType = "simplified"
   507  )
   508  
   509  // Type of registration in `country`.
   510  type TaxRegistrationCountryOptionsMyType string
   511  
   512  // List of values that TaxRegistrationCountryOptionsMyType can take
   513  const (
   514  	TaxRegistrationCountryOptionsMyTypeSimplified TaxRegistrationCountryOptionsMyType = "simplified"
   515  )
   516  
   517  // Place of supply scheme used in an EU standard registration.
   518  type TaxRegistrationCountryOptionsNLStandardPlaceOfSupplyScheme string
   519  
   520  // List of values that TaxRegistrationCountryOptionsNLStandardPlaceOfSupplyScheme can take
   521  const (
   522  	TaxRegistrationCountryOptionsNLStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsNLStandardPlaceOfSupplyScheme = "small_seller"
   523  	TaxRegistrationCountryOptionsNLStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsNLStandardPlaceOfSupplyScheme = "standard"
   524  )
   525  
   526  // Type of registration in an EU country.
   527  type TaxRegistrationCountryOptionsNLType string
   528  
   529  // List of values that TaxRegistrationCountryOptionsNLType can take
   530  const (
   531  	TaxRegistrationCountryOptionsNLTypeIoss        TaxRegistrationCountryOptionsNLType = "ioss"
   532  	TaxRegistrationCountryOptionsNLTypeOssNonUnion TaxRegistrationCountryOptionsNLType = "oss_non_union"
   533  	TaxRegistrationCountryOptionsNLTypeOssUnion    TaxRegistrationCountryOptionsNLType = "oss_union"
   534  	TaxRegistrationCountryOptionsNLTypeStandard    TaxRegistrationCountryOptionsNLType = "standard"
   535  )
   536  
   537  // Type of registration in `country`.
   538  type TaxRegistrationCountryOptionsNoType string
   539  
   540  // List of values that TaxRegistrationCountryOptionsNoType can take
   541  const (
   542  	TaxRegistrationCountryOptionsNoTypeStandard TaxRegistrationCountryOptionsNoType = "standard"
   543  )
   544  
   545  // Type of registration in `country`.
   546  type TaxRegistrationCountryOptionsNzType string
   547  
   548  // List of values that TaxRegistrationCountryOptionsNzType can take
   549  const (
   550  	TaxRegistrationCountryOptionsNzTypeStandard TaxRegistrationCountryOptionsNzType = "standard"
   551  )
   552  
   553  // Place of supply scheme used in an EU standard registration.
   554  type TaxRegistrationCountryOptionsPLStandardPlaceOfSupplyScheme string
   555  
   556  // List of values that TaxRegistrationCountryOptionsPLStandardPlaceOfSupplyScheme can take
   557  const (
   558  	TaxRegistrationCountryOptionsPLStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsPLStandardPlaceOfSupplyScheme = "small_seller"
   559  	TaxRegistrationCountryOptionsPLStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsPLStandardPlaceOfSupplyScheme = "standard"
   560  )
   561  
   562  // Type of registration in an EU country.
   563  type TaxRegistrationCountryOptionsPLType string
   564  
   565  // List of values that TaxRegistrationCountryOptionsPLType can take
   566  const (
   567  	TaxRegistrationCountryOptionsPLTypeIoss        TaxRegistrationCountryOptionsPLType = "ioss"
   568  	TaxRegistrationCountryOptionsPLTypeOssNonUnion TaxRegistrationCountryOptionsPLType = "oss_non_union"
   569  	TaxRegistrationCountryOptionsPLTypeOssUnion    TaxRegistrationCountryOptionsPLType = "oss_union"
   570  	TaxRegistrationCountryOptionsPLTypeStandard    TaxRegistrationCountryOptionsPLType = "standard"
   571  )
   572  
   573  // Place of supply scheme used in an EU standard registration.
   574  type TaxRegistrationCountryOptionsPTStandardPlaceOfSupplyScheme string
   575  
   576  // List of values that TaxRegistrationCountryOptionsPTStandardPlaceOfSupplyScheme can take
   577  const (
   578  	TaxRegistrationCountryOptionsPTStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsPTStandardPlaceOfSupplyScheme = "small_seller"
   579  	TaxRegistrationCountryOptionsPTStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsPTStandardPlaceOfSupplyScheme = "standard"
   580  )
   581  
   582  // Type of registration in an EU country.
   583  type TaxRegistrationCountryOptionsPTType string
   584  
   585  // List of values that TaxRegistrationCountryOptionsPTType can take
   586  const (
   587  	TaxRegistrationCountryOptionsPTTypeIoss        TaxRegistrationCountryOptionsPTType = "ioss"
   588  	TaxRegistrationCountryOptionsPTTypeOssNonUnion TaxRegistrationCountryOptionsPTType = "oss_non_union"
   589  	TaxRegistrationCountryOptionsPTTypeOssUnion    TaxRegistrationCountryOptionsPTType = "oss_union"
   590  	TaxRegistrationCountryOptionsPTTypeStandard    TaxRegistrationCountryOptionsPTType = "standard"
   591  )
   592  
   593  // Place of supply scheme used in an EU standard registration.
   594  type TaxRegistrationCountryOptionsROStandardPlaceOfSupplyScheme string
   595  
   596  // List of values that TaxRegistrationCountryOptionsROStandardPlaceOfSupplyScheme can take
   597  const (
   598  	TaxRegistrationCountryOptionsROStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsROStandardPlaceOfSupplyScheme = "small_seller"
   599  	TaxRegistrationCountryOptionsROStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsROStandardPlaceOfSupplyScheme = "standard"
   600  )
   601  
   602  // Type of registration in an EU country.
   603  type TaxRegistrationCountryOptionsROType string
   604  
   605  // List of values that TaxRegistrationCountryOptionsROType can take
   606  const (
   607  	TaxRegistrationCountryOptionsROTypeIoss        TaxRegistrationCountryOptionsROType = "ioss"
   608  	TaxRegistrationCountryOptionsROTypeOssNonUnion TaxRegistrationCountryOptionsROType = "oss_non_union"
   609  	TaxRegistrationCountryOptionsROTypeOssUnion    TaxRegistrationCountryOptionsROType = "oss_union"
   610  	TaxRegistrationCountryOptionsROTypeStandard    TaxRegistrationCountryOptionsROType = "standard"
   611  )
   612  
   613  // Type of registration in `country`.
   614  type TaxRegistrationCountryOptionsSaType string
   615  
   616  // List of values that TaxRegistrationCountryOptionsSaType can take
   617  const (
   618  	TaxRegistrationCountryOptionsSaTypeSimplified TaxRegistrationCountryOptionsSaType = "simplified"
   619  )
   620  
   621  // Place of supply scheme used in an EU standard registration.
   622  type TaxRegistrationCountryOptionsSeStandardPlaceOfSupplyScheme string
   623  
   624  // List of values that TaxRegistrationCountryOptionsSeStandardPlaceOfSupplyScheme can take
   625  const (
   626  	TaxRegistrationCountryOptionsSeStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsSeStandardPlaceOfSupplyScheme = "small_seller"
   627  	TaxRegistrationCountryOptionsSeStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsSeStandardPlaceOfSupplyScheme = "standard"
   628  )
   629  
   630  // Type of registration in an EU country.
   631  type TaxRegistrationCountryOptionsSeType string
   632  
   633  // List of values that TaxRegistrationCountryOptionsSeType can take
   634  const (
   635  	TaxRegistrationCountryOptionsSeTypeIoss        TaxRegistrationCountryOptionsSeType = "ioss"
   636  	TaxRegistrationCountryOptionsSeTypeOssNonUnion TaxRegistrationCountryOptionsSeType = "oss_non_union"
   637  	TaxRegistrationCountryOptionsSeTypeOssUnion    TaxRegistrationCountryOptionsSeType = "oss_union"
   638  	TaxRegistrationCountryOptionsSeTypeStandard    TaxRegistrationCountryOptionsSeType = "standard"
   639  )
   640  
   641  // Type of registration in `country`.
   642  type TaxRegistrationCountryOptionsSgType string
   643  
   644  // List of values that TaxRegistrationCountryOptionsSgType can take
   645  const (
   646  	TaxRegistrationCountryOptionsSgTypeStandard TaxRegistrationCountryOptionsSgType = "standard"
   647  )
   648  
   649  // Place of supply scheme used in an EU standard registration.
   650  type TaxRegistrationCountryOptionsSiStandardPlaceOfSupplyScheme string
   651  
   652  // List of values that TaxRegistrationCountryOptionsSiStandardPlaceOfSupplyScheme can take
   653  const (
   654  	TaxRegistrationCountryOptionsSiStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsSiStandardPlaceOfSupplyScheme = "small_seller"
   655  	TaxRegistrationCountryOptionsSiStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsSiStandardPlaceOfSupplyScheme = "standard"
   656  )
   657  
   658  // Type of registration in an EU country.
   659  type TaxRegistrationCountryOptionsSiType string
   660  
   661  // List of values that TaxRegistrationCountryOptionsSiType can take
   662  const (
   663  	TaxRegistrationCountryOptionsSiTypeIoss        TaxRegistrationCountryOptionsSiType = "ioss"
   664  	TaxRegistrationCountryOptionsSiTypeOssNonUnion TaxRegistrationCountryOptionsSiType = "oss_non_union"
   665  	TaxRegistrationCountryOptionsSiTypeOssUnion    TaxRegistrationCountryOptionsSiType = "oss_union"
   666  	TaxRegistrationCountryOptionsSiTypeStandard    TaxRegistrationCountryOptionsSiType = "standard"
   667  )
   668  
   669  // Place of supply scheme used in an EU standard registration.
   670  type TaxRegistrationCountryOptionsSKStandardPlaceOfSupplyScheme string
   671  
   672  // List of values that TaxRegistrationCountryOptionsSKStandardPlaceOfSupplyScheme can take
   673  const (
   674  	TaxRegistrationCountryOptionsSKStandardPlaceOfSupplySchemeSmallSeller TaxRegistrationCountryOptionsSKStandardPlaceOfSupplyScheme = "small_seller"
   675  	TaxRegistrationCountryOptionsSKStandardPlaceOfSupplySchemeStandard    TaxRegistrationCountryOptionsSKStandardPlaceOfSupplyScheme = "standard"
   676  )
   677  
   678  // Type of registration in an EU country.
   679  type TaxRegistrationCountryOptionsSKType string
   680  
   681  // List of values that TaxRegistrationCountryOptionsSKType can take
   682  const (
   683  	TaxRegistrationCountryOptionsSKTypeIoss        TaxRegistrationCountryOptionsSKType = "ioss"
   684  	TaxRegistrationCountryOptionsSKTypeOssNonUnion TaxRegistrationCountryOptionsSKType = "oss_non_union"
   685  	TaxRegistrationCountryOptionsSKTypeOssUnion    TaxRegistrationCountryOptionsSKType = "oss_union"
   686  	TaxRegistrationCountryOptionsSKTypeStandard    TaxRegistrationCountryOptionsSKType = "standard"
   687  )
   688  
   689  // Type of registration in `country`.
   690  type TaxRegistrationCountryOptionsTHType string
   691  
   692  // List of values that TaxRegistrationCountryOptionsTHType can take
   693  const (
   694  	TaxRegistrationCountryOptionsTHTypeSimplified TaxRegistrationCountryOptionsTHType = "simplified"
   695  )
   696  
   697  // Type of registration in `country`.
   698  type TaxRegistrationCountryOptionsTRType string
   699  
   700  // List of values that TaxRegistrationCountryOptionsTRType can take
   701  const (
   702  	TaxRegistrationCountryOptionsTRTypeSimplified TaxRegistrationCountryOptionsTRType = "simplified"
   703  )
   704  
   705  // Type of registration in the US.
   706  type TaxRegistrationCountryOptionsUSType string
   707  
   708  // List of values that TaxRegistrationCountryOptionsUSType can take
   709  const (
   710  	TaxRegistrationCountryOptionsUSTypeLocalAmusementTax      TaxRegistrationCountryOptionsUSType = "local_amusement_tax"
   711  	TaxRegistrationCountryOptionsUSTypeLocalLeaseTax          TaxRegistrationCountryOptionsUSType = "local_lease_tax"
   712  	TaxRegistrationCountryOptionsUSTypeStateCommunicationsTax TaxRegistrationCountryOptionsUSType = "state_communications_tax"
   713  	TaxRegistrationCountryOptionsUSTypeStateSalesTax          TaxRegistrationCountryOptionsUSType = "state_sales_tax"
   714  )
   715  
   716  // Type of registration in `country`.
   717  type TaxRegistrationCountryOptionsVnType string
   718  
   719  // List of values that TaxRegistrationCountryOptionsVnType can take
   720  const (
   721  	TaxRegistrationCountryOptionsVnTypeSimplified TaxRegistrationCountryOptionsVnType = "simplified"
   722  )
   723  
   724  // Type of registration in `country`.
   725  type TaxRegistrationCountryOptionsZaType string
   726  
   727  // List of values that TaxRegistrationCountryOptionsZaType can take
   728  const (
   729  	TaxRegistrationCountryOptionsZaTypeStandard TaxRegistrationCountryOptionsZaType = "standard"
   730  )
   731  
   732  // The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
   733  type TaxRegistrationStatus string
   734  
   735  // List of values that TaxRegistrationStatus can take
   736  const (
   737  	TaxRegistrationStatusActive    TaxRegistrationStatus = "active"
   738  	TaxRegistrationStatusExpired   TaxRegistrationStatus = "expired"
   739  	TaxRegistrationStatusScheduled TaxRegistrationStatus = "scheduled"
   740  )
   741  
   742  // Returns a list of Tax Registration objects.
   743  type TaxRegistrationListParams struct {
   744  	ListParams `form:"*"`
   745  	// Specifies which fields in the response should be expanded.
   746  	Expand []*string `form:"expand"`
   747  	// The status of the Tax Registration.
   748  	Status *string `form:"status"`
   749  }
   750  
   751  // AddExpand appends a new field to expand.
   752  func (p *TaxRegistrationListParams) AddExpand(f string) {
   753  	p.Expand = append(p.Expand, &f)
   754  }
   755  
   756  // Options for the registration in AE.
   757  type TaxRegistrationCountryOptionsAeParams struct {
   758  	// Type of registration to be created in `country`.
   759  	Type *string `form:"type"`
   760  }
   761  
   762  // Options for the standard registration.
   763  type TaxRegistrationCountryOptionsAtStandardParams struct {
   764  	// Place of supply scheme used in an EU standard registration.
   765  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   766  }
   767  
   768  // Options for the registration in AT.
   769  type TaxRegistrationCountryOptionsAtParams struct {
   770  	// Options for the standard registration.
   771  	Standard *TaxRegistrationCountryOptionsAtStandardParams `form:"standard"`
   772  	// Type of registration to be created in an EU country.
   773  	Type *string `form:"type"`
   774  }
   775  
   776  // Options for the registration in AU.
   777  type TaxRegistrationCountryOptionsAuParams struct {
   778  	// Type of registration to be created in `country`.
   779  	Type *string `form:"type"`
   780  }
   781  
   782  // Options for the standard registration.
   783  type TaxRegistrationCountryOptionsBeStandardParams struct {
   784  	// Place of supply scheme used in an EU standard registration.
   785  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   786  }
   787  
   788  // Options for the registration in BE.
   789  type TaxRegistrationCountryOptionsBeParams struct {
   790  	// Options for the standard registration.
   791  	Standard *TaxRegistrationCountryOptionsBeStandardParams `form:"standard"`
   792  	// Type of registration to be created in an EU country.
   793  	Type *string `form:"type"`
   794  }
   795  
   796  // Options for the standard registration.
   797  type TaxRegistrationCountryOptionsBGStandardParams struct {
   798  	// Place of supply scheme used in an EU standard registration.
   799  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   800  }
   801  
   802  // Options for the registration in BG.
   803  type TaxRegistrationCountryOptionsBGParams struct {
   804  	// Options for the standard registration.
   805  	Standard *TaxRegistrationCountryOptionsBGStandardParams `form:"standard"`
   806  	// Type of registration to be created in an EU country.
   807  	Type *string `form:"type"`
   808  }
   809  
   810  // Options for the provincial tax registration.
   811  type TaxRegistrationCountryOptionsCaProvinceStandardParams struct {
   812  	// Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
   813  	Province *string `form:"province"`
   814  }
   815  
   816  // Options for the registration in CA.
   817  type TaxRegistrationCountryOptionsCaParams struct {
   818  	// Options for the provincial tax registration.
   819  	ProvinceStandard *TaxRegistrationCountryOptionsCaProvinceStandardParams `form:"province_standard"`
   820  	// Type of registration to be created in Canada.
   821  	Type *string `form:"type"`
   822  }
   823  
   824  // Options for the registration in CH.
   825  type TaxRegistrationCountryOptionsChParams struct {
   826  	// Type of registration to be created in `country`.
   827  	Type *string `form:"type"`
   828  }
   829  
   830  // Options for the registration in CL.
   831  type TaxRegistrationCountryOptionsClParams struct {
   832  	// Type of registration to be created in `country`.
   833  	Type *string `form:"type"`
   834  }
   835  
   836  // Options for the registration in CO.
   837  type TaxRegistrationCountryOptionsCoParams struct {
   838  	// Type of registration to be created in `country`.
   839  	Type *string `form:"type"`
   840  }
   841  
   842  // Options for the standard registration.
   843  type TaxRegistrationCountryOptionsCyStandardParams struct {
   844  	// Place of supply scheme used in an EU standard registration.
   845  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   846  }
   847  
   848  // Options for the registration in CY.
   849  type TaxRegistrationCountryOptionsCyParams struct {
   850  	// Options for the standard registration.
   851  	Standard *TaxRegistrationCountryOptionsCyStandardParams `form:"standard"`
   852  	// Type of registration to be created in an EU country.
   853  	Type *string `form:"type"`
   854  }
   855  
   856  // Options for the standard registration.
   857  type TaxRegistrationCountryOptionsCzStandardParams struct {
   858  	// Place of supply scheme used in an EU standard registration.
   859  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   860  }
   861  
   862  // Options for the registration in CZ.
   863  type TaxRegistrationCountryOptionsCzParams struct {
   864  	// Options for the standard registration.
   865  	Standard *TaxRegistrationCountryOptionsCzStandardParams `form:"standard"`
   866  	// Type of registration to be created in an EU country.
   867  	Type *string `form:"type"`
   868  }
   869  
   870  // Options for the standard registration.
   871  type TaxRegistrationCountryOptionsDEStandardParams struct {
   872  	// Place of supply scheme used in an EU standard registration.
   873  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   874  }
   875  
   876  // Options for the registration in DE.
   877  type TaxRegistrationCountryOptionsDEParams struct {
   878  	// Options for the standard registration.
   879  	Standard *TaxRegistrationCountryOptionsDEStandardParams `form:"standard"`
   880  	// Type of registration to be created in an EU country.
   881  	Type *string `form:"type"`
   882  }
   883  
   884  // Options for the standard registration.
   885  type TaxRegistrationCountryOptionsDkStandardParams struct {
   886  	// Place of supply scheme used in an EU standard registration.
   887  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   888  }
   889  
   890  // Options for the registration in DK.
   891  type TaxRegistrationCountryOptionsDkParams struct {
   892  	// Options for the standard registration.
   893  	Standard *TaxRegistrationCountryOptionsDkStandardParams `form:"standard"`
   894  	// Type of registration to be created in an EU country.
   895  	Type *string `form:"type"`
   896  }
   897  
   898  // Options for the standard registration.
   899  type TaxRegistrationCountryOptionsEeStandardParams struct {
   900  	// Place of supply scheme used in an EU standard registration.
   901  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   902  }
   903  
   904  // Options for the registration in EE.
   905  type TaxRegistrationCountryOptionsEeParams struct {
   906  	// Options for the standard registration.
   907  	Standard *TaxRegistrationCountryOptionsEeStandardParams `form:"standard"`
   908  	// Type of registration to be created in an EU country.
   909  	Type *string `form:"type"`
   910  }
   911  
   912  // Options for the standard registration.
   913  type TaxRegistrationCountryOptionsESStandardParams struct {
   914  	// Place of supply scheme used in an EU standard registration.
   915  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   916  }
   917  
   918  // Options for the registration in ES.
   919  type TaxRegistrationCountryOptionsESParams struct {
   920  	// Options for the standard registration.
   921  	Standard *TaxRegistrationCountryOptionsESStandardParams `form:"standard"`
   922  	// Type of registration to be created in an EU country.
   923  	Type *string `form:"type"`
   924  }
   925  
   926  // Options for the standard registration.
   927  type TaxRegistrationCountryOptionsFIStandardParams struct {
   928  	// Place of supply scheme used in an EU standard registration.
   929  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   930  }
   931  
   932  // Options for the registration in FI.
   933  type TaxRegistrationCountryOptionsFIParams struct {
   934  	// Options for the standard registration.
   935  	Standard *TaxRegistrationCountryOptionsFIStandardParams `form:"standard"`
   936  	// Type of registration to be created in an EU country.
   937  	Type *string `form:"type"`
   938  }
   939  
   940  // Options for the standard registration.
   941  type TaxRegistrationCountryOptionsFRStandardParams struct {
   942  	// Place of supply scheme used in an EU standard registration.
   943  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   944  }
   945  
   946  // Options for the registration in FR.
   947  type TaxRegistrationCountryOptionsFRParams struct {
   948  	// Options for the standard registration.
   949  	Standard *TaxRegistrationCountryOptionsFRStandardParams `form:"standard"`
   950  	// Type of registration to be created in an EU country.
   951  	Type *string `form:"type"`
   952  }
   953  
   954  // Options for the registration in GB.
   955  type TaxRegistrationCountryOptionsGBParams struct {
   956  	// Type of registration to be created in `country`.
   957  	Type *string `form:"type"`
   958  }
   959  
   960  // Options for the standard registration.
   961  type TaxRegistrationCountryOptionsGrStandardParams struct {
   962  	// Place of supply scheme used in an EU standard registration.
   963  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   964  }
   965  
   966  // Options for the registration in GR.
   967  type TaxRegistrationCountryOptionsGrParams struct {
   968  	// Options for the standard registration.
   969  	Standard *TaxRegistrationCountryOptionsGrStandardParams `form:"standard"`
   970  	// Type of registration to be created in an EU country.
   971  	Type *string `form:"type"`
   972  }
   973  
   974  // Options for the standard registration.
   975  type TaxRegistrationCountryOptionsHRStandardParams struct {
   976  	// Place of supply scheme used in an EU standard registration.
   977  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   978  }
   979  
   980  // Options for the registration in HR.
   981  type TaxRegistrationCountryOptionsHRParams struct {
   982  	// Options for the standard registration.
   983  	Standard *TaxRegistrationCountryOptionsHRStandardParams `form:"standard"`
   984  	// Type of registration to be created in an EU country.
   985  	Type *string `form:"type"`
   986  }
   987  
   988  // Options for the standard registration.
   989  type TaxRegistrationCountryOptionsHUStandardParams struct {
   990  	// Place of supply scheme used in an EU standard registration.
   991  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
   992  }
   993  
   994  // Options for the registration in HU.
   995  type TaxRegistrationCountryOptionsHUParams struct {
   996  	// Options for the standard registration.
   997  	Standard *TaxRegistrationCountryOptionsHUStandardParams `form:"standard"`
   998  	// Type of registration to be created in an EU country.
   999  	Type *string `form:"type"`
  1000  }
  1001  
  1002  // Options for the registration in ID.
  1003  type TaxRegistrationCountryOptionsIDParams struct {
  1004  	// Type of registration to be created in `country`.
  1005  	Type *string `form:"type"`
  1006  }
  1007  
  1008  // Options for the standard registration.
  1009  type TaxRegistrationCountryOptionsIeStandardParams struct {
  1010  	// Place of supply scheme used in an EU standard registration.
  1011  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1012  }
  1013  
  1014  // Options for the registration in IE.
  1015  type TaxRegistrationCountryOptionsIeParams struct {
  1016  	// Options for the standard registration.
  1017  	Standard *TaxRegistrationCountryOptionsIeStandardParams `form:"standard"`
  1018  	// Type of registration to be created in an EU country.
  1019  	Type *string `form:"type"`
  1020  }
  1021  
  1022  // Options for the registration in IS.
  1023  type TaxRegistrationCountryOptionsIsParams struct {
  1024  	// Type of registration to be created in `country`.
  1025  	Type *string `form:"type"`
  1026  }
  1027  
  1028  // Options for the standard registration.
  1029  type TaxRegistrationCountryOptionsITStandardParams struct {
  1030  	// Place of supply scheme used in an EU standard registration.
  1031  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1032  }
  1033  
  1034  // Options for the registration in IT.
  1035  type TaxRegistrationCountryOptionsITParams struct {
  1036  	// Options for the standard registration.
  1037  	Standard *TaxRegistrationCountryOptionsITStandardParams `form:"standard"`
  1038  	// Type of registration to be created in an EU country.
  1039  	Type *string `form:"type"`
  1040  }
  1041  
  1042  // Options for the registration in JP.
  1043  type TaxRegistrationCountryOptionsJPParams struct {
  1044  	// Type of registration to be created in `country`.
  1045  	Type *string `form:"type"`
  1046  }
  1047  
  1048  // Options for the registration in KR.
  1049  type TaxRegistrationCountryOptionsKrParams struct {
  1050  	// Type of registration to be created in `country`.
  1051  	Type *string `form:"type"`
  1052  }
  1053  
  1054  // Options for the standard registration.
  1055  type TaxRegistrationCountryOptionsLTStandardParams struct {
  1056  	// Place of supply scheme used in an EU standard registration.
  1057  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1058  }
  1059  
  1060  // Options for the registration in LT.
  1061  type TaxRegistrationCountryOptionsLTParams struct {
  1062  	// Options for the standard registration.
  1063  	Standard *TaxRegistrationCountryOptionsLTStandardParams `form:"standard"`
  1064  	// Type of registration to be created in an EU country.
  1065  	Type *string `form:"type"`
  1066  }
  1067  
  1068  // Options for the standard registration.
  1069  type TaxRegistrationCountryOptionsLuStandardParams struct {
  1070  	// Place of supply scheme used in an EU standard registration.
  1071  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1072  }
  1073  
  1074  // Options for the registration in LU.
  1075  type TaxRegistrationCountryOptionsLuParams struct {
  1076  	// Options for the standard registration.
  1077  	Standard *TaxRegistrationCountryOptionsLuStandardParams `form:"standard"`
  1078  	// Type of registration to be created in an EU country.
  1079  	Type *string `form:"type"`
  1080  }
  1081  
  1082  // Options for the standard registration.
  1083  type TaxRegistrationCountryOptionsLVStandardParams struct {
  1084  	// Place of supply scheme used in an EU standard registration.
  1085  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1086  }
  1087  
  1088  // Options for the registration in LV.
  1089  type TaxRegistrationCountryOptionsLVParams struct {
  1090  	// Options for the standard registration.
  1091  	Standard *TaxRegistrationCountryOptionsLVStandardParams `form:"standard"`
  1092  	// Type of registration to be created in an EU country.
  1093  	Type *string `form:"type"`
  1094  }
  1095  
  1096  // Options for the standard registration.
  1097  type TaxRegistrationCountryOptionsMTStandardParams struct {
  1098  	// Place of supply scheme used in an EU standard registration.
  1099  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1100  }
  1101  
  1102  // Options for the registration in MT.
  1103  type TaxRegistrationCountryOptionsMTParams struct {
  1104  	// Options for the standard registration.
  1105  	Standard *TaxRegistrationCountryOptionsMTStandardParams `form:"standard"`
  1106  	// Type of registration to be created in an EU country.
  1107  	Type *string `form:"type"`
  1108  }
  1109  
  1110  // Options for the registration in MX.
  1111  type TaxRegistrationCountryOptionsMXParams struct {
  1112  	// Type of registration to be created in `country`.
  1113  	Type *string `form:"type"`
  1114  }
  1115  
  1116  // Options for the registration in MY.
  1117  type TaxRegistrationCountryOptionsMyParams struct {
  1118  	// Type of registration to be created in `country`.
  1119  	Type *string `form:"type"`
  1120  }
  1121  
  1122  // Options for the standard registration.
  1123  type TaxRegistrationCountryOptionsNLStandardParams struct {
  1124  	// Place of supply scheme used in an EU standard registration.
  1125  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1126  }
  1127  
  1128  // Options for the registration in NL.
  1129  type TaxRegistrationCountryOptionsNLParams struct {
  1130  	// Options for the standard registration.
  1131  	Standard *TaxRegistrationCountryOptionsNLStandardParams `form:"standard"`
  1132  	// Type of registration to be created in an EU country.
  1133  	Type *string `form:"type"`
  1134  }
  1135  
  1136  // Options for the registration in NO.
  1137  type TaxRegistrationCountryOptionsNoParams struct {
  1138  	// Type of registration to be created in `country`.
  1139  	Type *string `form:"type"`
  1140  }
  1141  
  1142  // Options for the registration in NZ.
  1143  type TaxRegistrationCountryOptionsNzParams struct {
  1144  	// Type of registration to be created in `country`.
  1145  	Type *string `form:"type"`
  1146  }
  1147  
  1148  // Options for the standard registration.
  1149  type TaxRegistrationCountryOptionsPLStandardParams struct {
  1150  	// Place of supply scheme used in an EU standard registration.
  1151  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1152  }
  1153  
  1154  // Options for the registration in PL.
  1155  type TaxRegistrationCountryOptionsPLParams struct {
  1156  	// Options for the standard registration.
  1157  	Standard *TaxRegistrationCountryOptionsPLStandardParams `form:"standard"`
  1158  	// Type of registration to be created in an EU country.
  1159  	Type *string `form:"type"`
  1160  }
  1161  
  1162  // Options for the standard registration.
  1163  type TaxRegistrationCountryOptionsPTStandardParams struct {
  1164  	// Place of supply scheme used in an EU standard registration.
  1165  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1166  }
  1167  
  1168  // Options for the registration in PT.
  1169  type TaxRegistrationCountryOptionsPTParams struct {
  1170  	// Options for the standard registration.
  1171  	Standard *TaxRegistrationCountryOptionsPTStandardParams `form:"standard"`
  1172  	// Type of registration to be created in an EU country.
  1173  	Type *string `form:"type"`
  1174  }
  1175  
  1176  // Options for the standard registration.
  1177  type TaxRegistrationCountryOptionsROStandardParams struct {
  1178  	// Place of supply scheme used in an EU standard registration.
  1179  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1180  }
  1181  
  1182  // Options for the registration in RO.
  1183  type TaxRegistrationCountryOptionsROParams struct {
  1184  	// Options for the standard registration.
  1185  	Standard *TaxRegistrationCountryOptionsROStandardParams `form:"standard"`
  1186  	// Type of registration to be created in an EU country.
  1187  	Type *string `form:"type"`
  1188  }
  1189  
  1190  // Options for the registration in SA.
  1191  type TaxRegistrationCountryOptionsSaParams struct {
  1192  	// Type of registration to be created in `country`.
  1193  	Type *string `form:"type"`
  1194  }
  1195  
  1196  // Options for the standard registration.
  1197  type TaxRegistrationCountryOptionsSeStandardParams struct {
  1198  	// Place of supply scheme used in an EU standard registration.
  1199  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1200  }
  1201  
  1202  // Options for the registration in SE.
  1203  type TaxRegistrationCountryOptionsSeParams struct {
  1204  	// Options for the standard registration.
  1205  	Standard *TaxRegistrationCountryOptionsSeStandardParams `form:"standard"`
  1206  	// Type of registration to be created in an EU country.
  1207  	Type *string `form:"type"`
  1208  }
  1209  
  1210  // Options for the registration in SG.
  1211  type TaxRegistrationCountryOptionsSgParams struct {
  1212  	// Type of registration to be created in `country`.
  1213  	Type *string `form:"type"`
  1214  }
  1215  
  1216  // Options for the standard registration.
  1217  type TaxRegistrationCountryOptionsSiStandardParams struct {
  1218  	// Place of supply scheme used in an EU standard registration.
  1219  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1220  }
  1221  
  1222  // Options for the registration in SI.
  1223  type TaxRegistrationCountryOptionsSiParams struct {
  1224  	// Options for the standard registration.
  1225  	Standard *TaxRegistrationCountryOptionsSiStandardParams `form:"standard"`
  1226  	// Type of registration to be created in an EU country.
  1227  	Type *string `form:"type"`
  1228  }
  1229  
  1230  // Options for the standard registration.
  1231  type TaxRegistrationCountryOptionsSKStandardParams struct {
  1232  	// Place of supply scheme used in an EU standard registration.
  1233  	PlaceOfSupplyScheme *string `form:"place_of_supply_scheme"`
  1234  }
  1235  
  1236  // Options for the registration in SK.
  1237  type TaxRegistrationCountryOptionsSKParams struct {
  1238  	// Options for the standard registration.
  1239  	Standard *TaxRegistrationCountryOptionsSKStandardParams `form:"standard"`
  1240  	// Type of registration to be created in an EU country.
  1241  	Type *string `form:"type"`
  1242  }
  1243  
  1244  // Options for the registration in TH.
  1245  type TaxRegistrationCountryOptionsTHParams struct {
  1246  	// Type of registration to be created in `country`.
  1247  	Type *string `form:"type"`
  1248  }
  1249  
  1250  // Options for the registration in TR.
  1251  type TaxRegistrationCountryOptionsTRParams struct {
  1252  	// Type of registration to be created in `country`.
  1253  	Type *string `form:"type"`
  1254  }
  1255  
  1256  // Options for the local amusement tax registration.
  1257  type TaxRegistrationCountryOptionsUSLocalAmusementTaxParams struct {
  1258  	// A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), and `68081` (Schiller Park).
  1259  	Jurisdiction *string `form:"jurisdiction"`
  1260  }
  1261  
  1262  // Options for the local lease tax registration.
  1263  type TaxRegistrationCountryOptionsUSLocalLeaseTaxParams struct {
  1264  	// A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
  1265  	Jurisdiction *string `form:"jurisdiction"`
  1266  }
  1267  
  1268  // Options for the registration in US.
  1269  type TaxRegistrationCountryOptionsUSParams struct {
  1270  	// Options for the local amusement tax registration.
  1271  	LocalAmusementTax *TaxRegistrationCountryOptionsUSLocalAmusementTaxParams `form:"local_amusement_tax"`
  1272  	// Options for the local lease tax registration.
  1273  	LocalLeaseTax *TaxRegistrationCountryOptionsUSLocalLeaseTaxParams `form:"local_lease_tax"`
  1274  	// Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
  1275  	State *string `form:"state"`
  1276  	// Type of registration to be created in the US.
  1277  	Type *string `form:"type"`
  1278  }
  1279  
  1280  // Options for the registration in VN.
  1281  type TaxRegistrationCountryOptionsVnParams struct {
  1282  	// Type of registration to be created in `country`.
  1283  	Type *string `form:"type"`
  1284  }
  1285  
  1286  // Options for the registration in ZA.
  1287  type TaxRegistrationCountryOptionsZaParams struct {
  1288  	// Type of registration to be created in `country`.
  1289  	Type *string `form:"type"`
  1290  }
  1291  
  1292  // Specific options for a registration in the specified `country`.
  1293  type TaxRegistrationCountryOptionsParams struct {
  1294  	// Options for the registration in AE.
  1295  	Ae *TaxRegistrationCountryOptionsAeParams `form:"ae"`
  1296  	// Options for the registration in AT.
  1297  	At *TaxRegistrationCountryOptionsAtParams `form:"at"`
  1298  	// Options for the registration in AU.
  1299  	Au *TaxRegistrationCountryOptionsAuParams `form:"au"`
  1300  	// Options for the registration in BE.
  1301  	Be *TaxRegistrationCountryOptionsBeParams `form:"be"`
  1302  	// Options for the registration in BG.
  1303  	BG *TaxRegistrationCountryOptionsBGParams `form:"bg"`
  1304  	// Options for the registration in CA.
  1305  	Ca *TaxRegistrationCountryOptionsCaParams `form:"ca"`
  1306  	// Options for the registration in CH.
  1307  	Ch *TaxRegistrationCountryOptionsChParams `form:"ch"`
  1308  	// Options for the registration in CL.
  1309  	Cl *TaxRegistrationCountryOptionsClParams `form:"cl"`
  1310  	// Options for the registration in CO.
  1311  	Co *TaxRegistrationCountryOptionsCoParams `form:"co"`
  1312  	// Options for the registration in CY.
  1313  	Cy *TaxRegistrationCountryOptionsCyParams `form:"cy"`
  1314  	// Options for the registration in CZ.
  1315  	Cz *TaxRegistrationCountryOptionsCzParams `form:"cz"`
  1316  	// Options for the registration in DE.
  1317  	DE *TaxRegistrationCountryOptionsDEParams `form:"de"`
  1318  	// Options for the registration in DK.
  1319  	Dk *TaxRegistrationCountryOptionsDkParams `form:"dk"`
  1320  	// Options for the registration in EE.
  1321  	Ee *TaxRegistrationCountryOptionsEeParams `form:"ee"`
  1322  	// Options for the registration in ES.
  1323  	ES *TaxRegistrationCountryOptionsESParams `form:"es"`
  1324  	// Options for the registration in FI.
  1325  	FI *TaxRegistrationCountryOptionsFIParams `form:"fi"`
  1326  	// Options for the registration in FR.
  1327  	FR *TaxRegistrationCountryOptionsFRParams `form:"fr"`
  1328  	// Options for the registration in GB.
  1329  	GB *TaxRegistrationCountryOptionsGBParams `form:"gb"`
  1330  	// Options for the registration in GR.
  1331  	Gr *TaxRegistrationCountryOptionsGrParams `form:"gr"`
  1332  	// Options for the registration in HR.
  1333  	HR *TaxRegistrationCountryOptionsHRParams `form:"hr"`
  1334  	// Options for the registration in HU.
  1335  	HU *TaxRegistrationCountryOptionsHUParams `form:"hu"`
  1336  	// Options for the registration in ID.
  1337  	ID *TaxRegistrationCountryOptionsIDParams `form:"id"`
  1338  	// Options for the registration in IE.
  1339  	Ie *TaxRegistrationCountryOptionsIeParams `form:"ie"`
  1340  	// Options for the registration in IS.
  1341  	Is *TaxRegistrationCountryOptionsIsParams `form:"is"`
  1342  	// Options for the registration in IT.
  1343  	IT *TaxRegistrationCountryOptionsITParams `form:"it"`
  1344  	// Options for the registration in JP.
  1345  	JP *TaxRegistrationCountryOptionsJPParams `form:"jp"`
  1346  	// Options for the registration in KR.
  1347  	Kr *TaxRegistrationCountryOptionsKrParams `form:"kr"`
  1348  	// Options for the registration in LT.
  1349  	LT *TaxRegistrationCountryOptionsLTParams `form:"lt"`
  1350  	// Options for the registration in LU.
  1351  	Lu *TaxRegistrationCountryOptionsLuParams `form:"lu"`
  1352  	// Options for the registration in LV.
  1353  	LV *TaxRegistrationCountryOptionsLVParams `form:"lv"`
  1354  	// Options for the registration in MT.
  1355  	MT *TaxRegistrationCountryOptionsMTParams `form:"mt"`
  1356  	// Options for the registration in MX.
  1357  	MX *TaxRegistrationCountryOptionsMXParams `form:"mx"`
  1358  	// Options for the registration in MY.
  1359  	My *TaxRegistrationCountryOptionsMyParams `form:"my"`
  1360  	// Options for the registration in NL.
  1361  	NL *TaxRegistrationCountryOptionsNLParams `form:"nl"`
  1362  	// Options for the registration in NO.
  1363  	No *TaxRegistrationCountryOptionsNoParams `form:"no"`
  1364  	// Options for the registration in NZ.
  1365  	Nz *TaxRegistrationCountryOptionsNzParams `form:"nz"`
  1366  	// Options for the registration in PL.
  1367  	PL *TaxRegistrationCountryOptionsPLParams `form:"pl"`
  1368  	// Options for the registration in PT.
  1369  	PT *TaxRegistrationCountryOptionsPTParams `form:"pt"`
  1370  	// Options for the registration in RO.
  1371  	RO *TaxRegistrationCountryOptionsROParams `form:"ro"`
  1372  	// Options for the registration in SA.
  1373  	Sa *TaxRegistrationCountryOptionsSaParams `form:"sa"`
  1374  	// Options for the registration in SE.
  1375  	Se *TaxRegistrationCountryOptionsSeParams `form:"se"`
  1376  	// Options for the registration in SG.
  1377  	Sg *TaxRegistrationCountryOptionsSgParams `form:"sg"`
  1378  	// Options for the registration in SI.
  1379  	Si *TaxRegistrationCountryOptionsSiParams `form:"si"`
  1380  	// Options for the registration in SK.
  1381  	SK *TaxRegistrationCountryOptionsSKParams `form:"sk"`
  1382  	// Options for the registration in TH.
  1383  	TH *TaxRegistrationCountryOptionsTHParams `form:"th"`
  1384  	// Options for the registration in TR.
  1385  	TR *TaxRegistrationCountryOptionsTRParams `form:"tr"`
  1386  	// Options for the registration in US.
  1387  	US *TaxRegistrationCountryOptionsUSParams `form:"us"`
  1388  	// Options for the registration in VN.
  1389  	Vn *TaxRegistrationCountryOptionsVnParams `form:"vn"`
  1390  	// Options for the registration in ZA.
  1391  	Za *TaxRegistrationCountryOptionsZaParams `form:"za"`
  1392  }
  1393  
  1394  // Creates a new Tax Registration object.
  1395  type TaxRegistrationParams struct {
  1396  	Params `form:"*"`
  1397  	// Time 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.
  1398  	ActiveFrom    *int64 `form:"active_from"`
  1399  	ActiveFromNow *bool  `form:"-"` // See custom AppendTo
  1400  	// Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
  1401  	Country *string `form:"country"`
  1402  	// Specific options for a registration in the specified `country`.
  1403  	CountryOptions *TaxRegistrationCountryOptionsParams `form:"country_options"`
  1404  	// Specifies which fields in the response should be expanded.
  1405  	Expand []*string `form:"expand"`
  1406  	// If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
  1407  	ExpiresAt    *int64 `form:"expires_at"`
  1408  	ExpiresAtNow *bool  `form:"-"` // See custom AppendTo
  1409  }
  1410  
  1411  // AddExpand appends a new field to expand.
  1412  func (p *TaxRegistrationParams) AddExpand(f string) {
  1413  	p.Expand = append(p.Expand, &f)
  1414  }
  1415  
  1416  // AppendTo implements custom encoding logic for TaxRegistrationParams.
  1417  func (p *TaxRegistrationParams) AppendTo(body *form.Values, keyParts []string) {
  1418  	if BoolValue(p.ActiveFromNow) {
  1419  		body.Add(form.FormatKey(append(keyParts, "active_from")), "now")
  1420  	}
  1421  	if BoolValue(p.ExpiresAtNow) {
  1422  		body.Add(form.FormatKey(append(keyParts, "expires_at")), "now")
  1423  	}
  1424  }
  1425  
  1426  type TaxRegistrationCountryOptionsAe struct {
  1427  	// Type of registration in `country`.
  1428  	Type TaxRegistrationCountryOptionsAeType `json:"type"`
  1429  }
  1430  type TaxRegistrationCountryOptionsAtStandard struct {
  1431  	// Place of supply scheme used in an EU standard registration.
  1432  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsAtStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1433  }
  1434  type TaxRegistrationCountryOptionsAt struct {
  1435  	Standard *TaxRegistrationCountryOptionsAtStandard `json:"standard"`
  1436  	// Type of registration in an EU country.
  1437  	Type TaxRegistrationCountryOptionsAtType `json:"type"`
  1438  }
  1439  type TaxRegistrationCountryOptionsAu struct {
  1440  	// Type of registration in `country`.
  1441  	Type TaxRegistrationCountryOptionsAuType `json:"type"`
  1442  }
  1443  type TaxRegistrationCountryOptionsBeStandard struct {
  1444  	// Place of supply scheme used in an EU standard registration.
  1445  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsBeStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1446  }
  1447  type TaxRegistrationCountryOptionsBe struct {
  1448  	Standard *TaxRegistrationCountryOptionsBeStandard `json:"standard"`
  1449  	// Type of registration in an EU country.
  1450  	Type TaxRegistrationCountryOptionsBeType `json:"type"`
  1451  }
  1452  type TaxRegistrationCountryOptionsBGStandard struct {
  1453  	// Place of supply scheme used in an EU standard registration.
  1454  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsBGStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1455  }
  1456  type TaxRegistrationCountryOptionsBG struct {
  1457  	Standard *TaxRegistrationCountryOptionsBGStandard `json:"standard"`
  1458  	// Type of registration in an EU country.
  1459  	Type TaxRegistrationCountryOptionsBGType `json:"type"`
  1460  }
  1461  type TaxRegistrationCountryOptionsCaProvinceStandard struct {
  1462  	// Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
  1463  	Province string `json:"province"`
  1464  }
  1465  type TaxRegistrationCountryOptionsCa struct {
  1466  	ProvinceStandard *TaxRegistrationCountryOptionsCaProvinceStandard `json:"province_standard"`
  1467  	// Type of registration in Canada.
  1468  	Type TaxRegistrationCountryOptionsCaType `json:"type"`
  1469  }
  1470  type TaxRegistrationCountryOptionsCh struct {
  1471  	// Type of registration in `country`.
  1472  	Type TaxRegistrationCountryOptionsChType `json:"type"`
  1473  }
  1474  type TaxRegistrationCountryOptionsCl struct {
  1475  	// Type of registration in `country`.
  1476  	Type TaxRegistrationCountryOptionsClType `json:"type"`
  1477  }
  1478  type TaxRegistrationCountryOptionsCo struct {
  1479  	// Type of registration in `country`.
  1480  	Type TaxRegistrationCountryOptionsCoType `json:"type"`
  1481  }
  1482  type TaxRegistrationCountryOptionsCyStandard struct {
  1483  	// Place of supply scheme used in an EU standard registration.
  1484  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsCyStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1485  }
  1486  type TaxRegistrationCountryOptionsCy struct {
  1487  	Standard *TaxRegistrationCountryOptionsCyStandard `json:"standard"`
  1488  	// Type of registration in an EU country.
  1489  	Type TaxRegistrationCountryOptionsCyType `json:"type"`
  1490  }
  1491  type TaxRegistrationCountryOptionsCzStandard struct {
  1492  	// Place of supply scheme used in an EU standard registration.
  1493  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsCzStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1494  }
  1495  type TaxRegistrationCountryOptionsCz struct {
  1496  	Standard *TaxRegistrationCountryOptionsCzStandard `json:"standard"`
  1497  	// Type of registration in an EU country.
  1498  	Type TaxRegistrationCountryOptionsCzType `json:"type"`
  1499  }
  1500  type TaxRegistrationCountryOptionsDEStandard struct {
  1501  	// Place of supply scheme used in an EU standard registration.
  1502  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsDEStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1503  }
  1504  type TaxRegistrationCountryOptionsDE struct {
  1505  	Standard *TaxRegistrationCountryOptionsDEStandard `json:"standard"`
  1506  	// Type of registration in an EU country.
  1507  	Type TaxRegistrationCountryOptionsDEType `json:"type"`
  1508  }
  1509  type TaxRegistrationCountryOptionsDkStandard struct {
  1510  	// Place of supply scheme used in an EU standard registration.
  1511  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsDkStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1512  }
  1513  type TaxRegistrationCountryOptionsDk struct {
  1514  	Standard *TaxRegistrationCountryOptionsDkStandard `json:"standard"`
  1515  	// Type of registration in an EU country.
  1516  	Type TaxRegistrationCountryOptionsDkType `json:"type"`
  1517  }
  1518  type TaxRegistrationCountryOptionsEeStandard struct {
  1519  	// Place of supply scheme used in an EU standard registration.
  1520  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsEeStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1521  }
  1522  type TaxRegistrationCountryOptionsEe struct {
  1523  	Standard *TaxRegistrationCountryOptionsEeStandard `json:"standard"`
  1524  	// Type of registration in an EU country.
  1525  	Type TaxRegistrationCountryOptionsEeType `json:"type"`
  1526  }
  1527  type TaxRegistrationCountryOptionsESStandard struct {
  1528  	// Place of supply scheme used in an EU standard registration.
  1529  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsESStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1530  }
  1531  type TaxRegistrationCountryOptionsES struct {
  1532  	Standard *TaxRegistrationCountryOptionsESStandard `json:"standard"`
  1533  	// Type of registration in an EU country.
  1534  	Type TaxRegistrationCountryOptionsESType `json:"type"`
  1535  }
  1536  type TaxRegistrationCountryOptionsFIStandard struct {
  1537  	// Place of supply scheme used in an EU standard registration.
  1538  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsFIStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1539  }
  1540  type TaxRegistrationCountryOptionsFI struct {
  1541  	Standard *TaxRegistrationCountryOptionsFIStandard `json:"standard"`
  1542  	// Type of registration in an EU country.
  1543  	Type TaxRegistrationCountryOptionsFIType `json:"type"`
  1544  }
  1545  type TaxRegistrationCountryOptionsFRStandard struct {
  1546  	// Place of supply scheme used in an EU standard registration.
  1547  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsFRStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1548  }
  1549  type TaxRegistrationCountryOptionsFR struct {
  1550  	Standard *TaxRegistrationCountryOptionsFRStandard `json:"standard"`
  1551  	// Type of registration in an EU country.
  1552  	Type TaxRegistrationCountryOptionsFRType `json:"type"`
  1553  }
  1554  type TaxRegistrationCountryOptionsGB struct {
  1555  	// Type of registration in `country`.
  1556  	Type TaxRegistrationCountryOptionsGBType `json:"type"`
  1557  }
  1558  type TaxRegistrationCountryOptionsGrStandard struct {
  1559  	// Place of supply scheme used in an EU standard registration.
  1560  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsGrStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1561  }
  1562  type TaxRegistrationCountryOptionsGr struct {
  1563  	Standard *TaxRegistrationCountryOptionsGrStandard `json:"standard"`
  1564  	// Type of registration in an EU country.
  1565  	Type TaxRegistrationCountryOptionsGrType `json:"type"`
  1566  }
  1567  type TaxRegistrationCountryOptionsHRStandard struct {
  1568  	// Place of supply scheme used in an EU standard registration.
  1569  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsHRStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1570  }
  1571  type TaxRegistrationCountryOptionsHR struct {
  1572  	Standard *TaxRegistrationCountryOptionsHRStandard `json:"standard"`
  1573  	// Type of registration in an EU country.
  1574  	Type TaxRegistrationCountryOptionsHRType `json:"type"`
  1575  }
  1576  type TaxRegistrationCountryOptionsHUStandard struct {
  1577  	// Place of supply scheme used in an EU standard registration.
  1578  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsHUStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1579  }
  1580  type TaxRegistrationCountryOptionsHU struct {
  1581  	Standard *TaxRegistrationCountryOptionsHUStandard `json:"standard"`
  1582  	// Type of registration in an EU country.
  1583  	Type TaxRegistrationCountryOptionsHUType `json:"type"`
  1584  }
  1585  type TaxRegistrationCountryOptionsID struct {
  1586  	// Type of registration in `country`.
  1587  	Type TaxRegistrationCountryOptionsIDType `json:"type"`
  1588  }
  1589  type TaxRegistrationCountryOptionsIeStandard struct {
  1590  	// Place of supply scheme used in an EU standard registration.
  1591  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsIeStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1592  }
  1593  type TaxRegistrationCountryOptionsIe struct {
  1594  	Standard *TaxRegistrationCountryOptionsIeStandard `json:"standard"`
  1595  	// Type of registration in an EU country.
  1596  	Type TaxRegistrationCountryOptionsIeType `json:"type"`
  1597  }
  1598  type TaxRegistrationCountryOptionsIs struct {
  1599  	// Type of registration in `country`.
  1600  	Type TaxRegistrationCountryOptionsIsType `json:"type"`
  1601  }
  1602  type TaxRegistrationCountryOptionsITStandard struct {
  1603  	// Place of supply scheme used in an EU standard registration.
  1604  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsITStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1605  }
  1606  type TaxRegistrationCountryOptionsIT struct {
  1607  	Standard *TaxRegistrationCountryOptionsITStandard `json:"standard"`
  1608  	// Type of registration in an EU country.
  1609  	Type TaxRegistrationCountryOptionsITType `json:"type"`
  1610  }
  1611  type TaxRegistrationCountryOptionsJP struct {
  1612  	// Type of registration in `country`.
  1613  	Type TaxRegistrationCountryOptionsJPType `json:"type"`
  1614  }
  1615  type TaxRegistrationCountryOptionsKr struct {
  1616  	// Type of registration in `country`.
  1617  	Type TaxRegistrationCountryOptionsKrType `json:"type"`
  1618  }
  1619  type TaxRegistrationCountryOptionsLTStandard struct {
  1620  	// Place of supply scheme used in an EU standard registration.
  1621  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsLTStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1622  }
  1623  type TaxRegistrationCountryOptionsLT struct {
  1624  	Standard *TaxRegistrationCountryOptionsLTStandard `json:"standard"`
  1625  	// Type of registration in an EU country.
  1626  	Type TaxRegistrationCountryOptionsLTType `json:"type"`
  1627  }
  1628  type TaxRegistrationCountryOptionsLuStandard struct {
  1629  	// Place of supply scheme used in an EU standard registration.
  1630  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsLuStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1631  }
  1632  type TaxRegistrationCountryOptionsLu struct {
  1633  	Standard *TaxRegistrationCountryOptionsLuStandard `json:"standard"`
  1634  	// Type of registration in an EU country.
  1635  	Type TaxRegistrationCountryOptionsLuType `json:"type"`
  1636  }
  1637  type TaxRegistrationCountryOptionsLVStandard struct {
  1638  	// Place of supply scheme used in an EU standard registration.
  1639  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsLVStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1640  }
  1641  type TaxRegistrationCountryOptionsLV struct {
  1642  	Standard *TaxRegistrationCountryOptionsLVStandard `json:"standard"`
  1643  	// Type of registration in an EU country.
  1644  	Type TaxRegistrationCountryOptionsLVType `json:"type"`
  1645  }
  1646  type TaxRegistrationCountryOptionsMTStandard struct {
  1647  	// Place of supply scheme used in an EU standard registration.
  1648  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsMTStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1649  }
  1650  type TaxRegistrationCountryOptionsMT struct {
  1651  	Standard *TaxRegistrationCountryOptionsMTStandard `json:"standard"`
  1652  	// Type of registration in an EU country.
  1653  	Type TaxRegistrationCountryOptionsMTType `json:"type"`
  1654  }
  1655  type TaxRegistrationCountryOptionsMX struct {
  1656  	// Type of registration in `country`.
  1657  	Type TaxRegistrationCountryOptionsMXType `json:"type"`
  1658  }
  1659  type TaxRegistrationCountryOptionsMy struct {
  1660  	// Type of registration in `country`.
  1661  	Type TaxRegistrationCountryOptionsMyType `json:"type"`
  1662  }
  1663  type TaxRegistrationCountryOptionsNLStandard struct {
  1664  	// Place of supply scheme used in an EU standard registration.
  1665  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsNLStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1666  }
  1667  type TaxRegistrationCountryOptionsNL struct {
  1668  	Standard *TaxRegistrationCountryOptionsNLStandard `json:"standard"`
  1669  	// Type of registration in an EU country.
  1670  	Type TaxRegistrationCountryOptionsNLType `json:"type"`
  1671  }
  1672  type TaxRegistrationCountryOptionsNo struct {
  1673  	// Type of registration in `country`.
  1674  	Type TaxRegistrationCountryOptionsNoType `json:"type"`
  1675  }
  1676  type TaxRegistrationCountryOptionsNz struct {
  1677  	// Type of registration in `country`.
  1678  	Type TaxRegistrationCountryOptionsNzType `json:"type"`
  1679  }
  1680  type TaxRegistrationCountryOptionsPLStandard struct {
  1681  	// Place of supply scheme used in an EU standard registration.
  1682  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsPLStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1683  }
  1684  type TaxRegistrationCountryOptionsPL struct {
  1685  	Standard *TaxRegistrationCountryOptionsPLStandard `json:"standard"`
  1686  	// Type of registration in an EU country.
  1687  	Type TaxRegistrationCountryOptionsPLType `json:"type"`
  1688  }
  1689  type TaxRegistrationCountryOptionsPTStandard struct {
  1690  	// Place of supply scheme used in an EU standard registration.
  1691  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsPTStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1692  }
  1693  type TaxRegistrationCountryOptionsPT struct {
  1694  	Standard *TaxRegistrationCountryOptionsPTStandard `json:"standard"`
  1695  	// Type of registration in an EU country.
  1696  	Type TaxRegistrationCountryOptionsPTType `json:"type"`
  1697  }
  1698  type TaxRegistrationCountryOptionsROStandard struct {
  1699  	// Place of supply scheme used in an EU standard registration.
  1700  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsROStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1701  }
  1702  type TaxRegistrationCountryOptionsRO struct {
  1703  	Standard *TaxRegistrationCountryOptionsROStandard `json:"standard"`
  1704  	// Type of registration in an EU country.
  1705  	Type TaxRegistrationCountryOptionsROType `json:"type"`
  1706  }
  1707  type TaxRegistrationCountryOptionsSa struct {
  1708  	// Type of registration in `country`.
  1709  	Type TaxRegistrationCountryOptionsSaType `json:"type"`
  1710  }
  1711  type TaxRegistrationCountryOptionsSeStandard struct {
  1712  	// Place of supply scheme used in an EU standard registration.
  1713  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsSeStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1714  }
  1715  type TaxRegistrationCountryOptionsSe struct {
  1716  	Standard *TaxRegistrationCountryOptionsSeStandard `json:"standard"`
  1717  	// Type of registration in an EU country.
  1718  	Type TaxRegistrationCountryOptionsSeType `json:"type"`
  1719  }
  1720  type TaxRegistrationCountryOptionsSg struct {
  1721  	// Type of registration in `country`.
  1722  	Type TaxRegistrationCountryOptionsSgType `json:"type"`
  1723  }
  1724  type TaxRegistrationCountryOptionsSiStandard struct {
  1725  	// Place of supply scheme used in an EU standard registration.
  1726  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsSiStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1727  }
  1728  type TaxRegistrationCountryOptionsSi struct {
  1729  	Standard *TaxRegistrationCountryOptionsSiStandard `json:"standard"`
  1730  	// Type of registration in an EU country.
  1731  	Type TaxRegistrationCountryOptionsSiType `json:"type"`
  1732  }
  1733  type TaxRegistrationCountryOptionsSKStandard struct {
  1734  	// Place of supply scheme used in an EU standard registration.
  1735  	PlaceOfSupplyScheme TaxRegistrationCountryOptionsSKStandardPlaceOfSupplyScheme `json:"place_of_supply_scheme"`
  1736  }
  1737  type TaxRegistrationCountryOptionsSK struct {
  1738  	Standard *TaxRegistrationCountryOptionsSKStandard `json:"standard"`
  1739  	// Type of registration in an EU country.
  1740  	Type TaxRegistrationCountryOptionsSKType `json:"type"`
  1741  }
  1742  type TaxRegistrationCountryOptionsTH struct {
  1743  	// Type of registration in `country`.
  1744  	Type TaxRegistrationCountryOptionsTHType `json:"type"`
  1745  }
  1746  type TaxRegistrationCountryOptionsTR struct {
  1747  	// Type of registration in `country`.
  1748  	Type TaxRegistrationCountryOptionsTRType `json:"type"`
  1749  }
  1750  type TaxRegistrationCountryOptionsUSLocalAmusementTax struct {
  1751  	// A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
  1752  	Jurisdiction string `json:"jurisdiction"`
  1753  }
  1754  type TaxRegistrationCountryOptionsUSLocalLeaseTax struct {
  1755  	// A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
  1756  	Jurisdiction string `json:"jurisdiction"`
  1757  }
  1758  type TaxRegistrationCountryOptionsUS struct {
  1759  	LocalAmusementTax *TaxRegistrationCountryOptionsUSLocalAmusementTax `json:"local_amusement_tax"`
  1760  	LocalLeaseTax     *TaxRegistrationCountryOptionsUSLocalLeaseTax     `json:"local_lease_tax"`
  1761  	// Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
  1762  	State string `json:"state"`
  1763  	// Type of registration in the US.
  1764  	Type TaxRegistrationCountryOptionsUSType `json:"type"`
  1765  }
  1766  type TaxRegistrationCountryOptionsVn struct {
  1767  	// Type of registration in `country`.
  1768  	Type TaxRegistrationCountryOptionsVnType `json:"type"`
  1769  }
  1770  type TaxRegistrationCountryOptionsZa struct {
  1771  	// Type of registration in `country`.
  1772  	Type TaxRegistrationCountryOptionsZaType `json:"type"`
  1773  }
  1774  type TaxRegistrationCountryOptions struct {
  1775  	Ae *TaxRegistrationCountryOptionsAe `json:"ae"`
  1776  	At *TaxRegistrationCountryOptionsAt `json:"at"`
  1777  	Au *TaxRegistrationCountryOptionsAu `json:"au"`
  1778  	Be *TaxRegistrationCountryOptionsBe `json:"be"`
  1779  	BG *TaxRegistrationCountryOptionsBG `json:"bg"`
  1780  	Ca *TaxRegistrationCountryOptionsCa `json:"ca"`
  1781  	Ch *TaxRegistrationCountryOptionsCh `json:"ch"`
  1782  	Cl *TaxRegistrationCountryOptionsCl `json:"cl"`
  1783  	Co *TaxRegistrationCountryOptionsCo `json:"co"`
  1784  	Cy *TaxRegistrationCountryOptionsCy `json:"cy"`
  1785  	Cz *TaxRegistrationCountryOptionsCz `json:"cz"`
  1786  	DE *TaxRegistrationCountryOptionsDE `json:"de"`
  1787  	Dk *TaxRegistrationCountryOptionsDk `json:"dk"`
  1788  	Ee *TaxRegistrationCountryOptionsEe `json:"ee"`
  1789  	ES *TaxRegistrationCountryOptionsES `json:"es"`
  1790  	FI *TaxRegistrationCountryOptionsFI `json:"fi"`
  1791  	FR *TaxRegistrationCountryOptionsFR `json:"fr"`
  1792  	GB *TaxRegistrationCountryOptionsGB `json:"gb"`
  1793  	Gr *TaxRegistrationCountryOptionsGr `json:"gr"`
  1794  	HR *TaxRegistrationCountryOptionsHR `json:"hr"`
  1795  	HU *TaxRegistrationCountryOptionsHU `json:"hu"`
  1796  	ID *TaxRegistrationCountryOptionsID `json:"id"`
  1797  	Ie *TaxRegistrationCountryOptionsIe `json:"ie"`
  1798  	Is *TaxRegistrationCountryOptionsIs `json:"is"`
  1799  	IT *TaxRegistrationCountryOptionsIT `json:"it"`
  1800  	JP *TaxRegistrationCountryOptionsJP `json:"jp"`
  1801  	Kr *TaxRegistrationCountryOptionsKr `json:"kr"`
  1802  	LT *TaxRegistrationCountryOptionsLT `json:"lt"`
  1803  	Lu *TaxRegistrationCountryOptionsLu `json:"lu"`
  1804  	LV *TaxRegistrationCountryOptionsLV `json:"lv"`
  1805  	MT *TaxRegistrationCountryOptionsMT `json:"mt"`
  1806  	MX *TaxRegistrationCountryOptionsMX `json:"mx"`
  1807  	My *TaxRegistrationCountryOptionsMy `json:"my"`
  1808  	NL *TaxRegistrationCountryOptionsNL `json:"nl"`
  1809  	No *TaxRegistrationCountryOptionsNo `json:"no"`
  1810  	Nz *TaxRegistrationCountryOptionsNz `json:"nz"`
  1811  	PL *TaxRegistrationCountryOptionsPL `json:"pl"`
  1812  	PT *TaxRegistrationCountryOptionsPT `json:"pt"`
  1813  	RO *TaxRegistrationCountryOptionsRO `json:"ro"`
  1814  	Sa *TaxRegistrationCountryOptionsSa `json:"sa"`
  1815  	Se *TaxRegistrationCountryOptionsSe `json:"se"`
  1816  	Sg *TaxRegistrationCountryOptionsSg `json:"sg"`
  1817  	Si *TaxRegistrationCountryOptionsSi `json:"si"`
  1818  	SK *TaxRegistrationCountryOptionsSK `json:"sk"`
  1819  	TH *TaxRegistrationCountryOptionsTH `json:"th"`
  1820  	TR *TaxRegistrationCountryOptionsTR `json:"tr"`
  1821  	US *TaxRegistrationCountryOptionsUS `json:"us"`
  1822  	Vn *TaxRegistrationCountryOptionsVn `json:"vn"`
  1823  	Za *TaxRegistrationCountryOptionsZa `json:"za"`
  1824  }
  1825  
  1826  // 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](https://stripe.com/docs/tax).
  1827  //
  1828  // 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://stripe.com/docs/tax/registering).
  1829  //
  1830  // Related guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api)
  1831  type TaxRegistration struct {
  1832  	APIResource
  1833  	// Time at which the registration becomes active. Measured in seconds since the Unix epoch.
  1834  	ActiveFrom int64 `json:"active_from"`
  1835  	// Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
  1836  	Country        string                         `json:"country"`
  1837  	CountryOptions *TaxRegistrationCountryOptions `json:"country_options"`
  1838  	// Time at which the object was created. Measured in seconds since the Unix epoch.
  1839  	Created int64 `json:"created"`
  1840  	// 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.
  1841  	ExpiresAt int64 `json:"expires_at"`
  1842  	// Unique identifier for the object.
  1843  	ID string `json:"id"`
  1844  	// Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
  1845  	Livemode bool `json:"livemode"`
  1846  	// String representing the object's type. Objects of the same type share the same value.
  1847  	Object string `json:"object"`
  1848  	// The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
  1849  	Status TaxRegistrationStatus `json:"status"`
  1850  }
  1851  
  1852  // TaxRegistrationList is a list of Registrations as retrieved from a list endpoint.
  1853  type TaxRegistrationList struct {
  1854  	APIResource
  1855  	ListMeta
  1856  	Data []*TaxRegistration `json:"data"`
  1857  }