# `Stripe.TaxCode`
[🔗](https://github.com/code-corps/stripity_stripe/blob/v3.3.3/lib/generated/tax_code.ex#L1)

[Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.

# `t`

```elixir
@type t() :: %Stripe.TaxCode{
  description: binary(),
  id: binary(),
  name: binary(),
  object: binary()
}
```

The `tax_code` type.

  * `description` A detailed description of which types of products the tax code represents.
  * `id` Unique identifier for the object.
  * `name` A short name for the tax code.
  * `object` String representing the object's type. Objects of the same type share the same value.

# `list`

```elixir
@spec list(
  params :: %{
    optional(:ending_before) =&gt; binary(),
    optional(:expand) =&gt; [binary()],
    optional(:limit) =&gt; integer(),
    optional(:starting_after) =&gt; binary()
  },
  opts :: Keyword.t()
) ::
  {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
```

<p>A list of <a href="https://stripe.com/docs/tax/tax-categories">all tax codes available</a> to add to Products in order to allow specific tax calculations.</p>

#### Details

 * Method: `get`
 * Path: `/v1/tax_codes`

# `retrieve`

```elixir
@spec retrieve(
  id :: binary(),
  params :: %{optional(:expand) =&gt; [binary()]},
  opts :: Keyword.t()
) ::
  {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
```

<p>Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.</p>

#### Details

 * Method: `get`
 * Path: `/v1/tax_codes/{id}`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
