# `Stripe.Resources.Tax.Calculation.ShippingCost`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/tax/calculation.ex#L191)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Tax.Calculation.ShippingCost{
  amount: integer() | nil,
  amount_tax: integer() | nil,
  shipping_rate: String.t() | nil,
  tax_behavior: String.t() | nil,
  tax_breakdown:
    [Stripe.Resources.Tax.Calculation.ShippingCost.TaxBreakdown.t()] | nil,
  tax_code: String.t() | nil
}
```

* `amount` - The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
* `amount_tax` - The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
* `shipping_rate` - The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object). Max length: 5000.
* `tax_behavior` - Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. Possible values: `exclusive`, `inclusive`.
* `tax_breakdown` - Detailed account of taxes relevant to shipping cost.
* `tax_code` - The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping. Max length: 5000.

---

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