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

Nested struct within the parent resource.

# `t`

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

* `amount` - The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). 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#zero-decimal).
* `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. (It is not populated for the transaction resource object and will be removed in the next API version.)
* `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*
