# `Stripe.Params.Tax.TransactionCreateReversalParams`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/params/tax/transaction_create_reversal_params.ex#L2)

Parameters for transaction create reversal.

# `t`

```elixir
@type t() :: %Stripe.Params.Tax.TransactionCreateReversalParams{
  expand: [String.t()] | nil,
  flat_amount: integer() | nil,
  line_items:
    [Stripe.Params.Tax.TransactionCreateReversalParams.LineItems.t()] | nil,
  metadata: %{required(String.t()) =&gt; String.t()} | nil,
  mode: String.t(),
  original_transaction: String.t(),
  reference: String.t(),
  shipping_cost:
    Stripe.Params.Tax.TransactionCreateReversalParams.ShippingCost.t() | nil
}
```

* `expand` - Specifies which fields in the response should be expanded.
* `flat_amount` - A flat amount to reverse across the entire transaction, in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) in negative. This value represents the total amount to refund from the transaction, including taxes.
* `line_items` - The line item amounts to reverse.
* `metadata` - Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
* `mode` - If `partial`, the provided line item or shipping cost amounts are reversed. If `full`, the original transaction is fully reversed. Possible values: `full`, `partial`.
* `original_transaction` - The ID of the Transaction to partially or fully reverse. Max length: 5000.
* `reference` - A custom identifier for this reversal, such as `myOrder_123-refund_1`, which must be unique across all transactions. The reference helps identify this reversal transaction in exported [tax reports](https://docs.stripe.com/tax/reports). Max length: 500.
* `shipping_cost` - The shipping cost to reverse.

---

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