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

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.CreditNote.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.CreditNote.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*
