# `Stripe.Resources.Invoice.ShippingCost`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/invoice.ex#L847)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Invoice.ShippingCost{
  amount_subtotal: integer() | nil,
  amount_tax: integer() | nil,
  amount_total: integer() | nil,
  shipping_rate: String.t() | Stripe.Resources.ShippingRate.t() | nil,
  taxes: [Stripe.Resources.Invoice.ShippingCost.Taxes.t()] | nil
}
```

* `amount_subtotal` - Total shipping cost before any taxes are applied.
* `amount_tax` - Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
* `amount_total` - Total shipping cost after taxes are applied.
* `shipping_rate` - The ID of the ShippingRate for this invoice. Nullable.
* `taxes` - The taxes applied to the shipping rate.

---

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