# `Stripe.Resources.CreditNoteLineItem.PretaxCreditAmounts`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/credit_note_line_item.ex#L81)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.CreditNoteLineItem.PretaxCreditAmounts{
  amount: integer() | nil,
  credit_balance_transaction:
    String.t() | Stripe.Resources.Billing.CreditBalanceTransaction.t() | nil,
  discount: String.t() | Stripe.Resources.Discount.t() | nil,
  type: String.t() | nil
}
```

* `amount` - The amount, in cents (or local equivalent), of the pretax credit amount.
* `credit_balance_transaction` - The credit balance transaction that was applied to get this pretax credit amount.
* `discount` - The discount that was applied to get this pretax credit amount.
* `type` - Type of the pretax credit amount referenced. Possible values: `credit_balance_transaction`, `discount`.

---

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