# The Tax Transaction Line Item object

### The Tax Transaction Line Item object

```json
{
  "id": "tax_li_ONDxh8JZw14sP8",
  "object": "tax.transaction_line_item",
  "amount": 1499,
  "amount_tax": 148,
  "livemode": false,
  "metadata": null,
  "product": null,
  "quantity": 1,
  "reference": "Pepperoni Pizza",
  "reversal": null,
  "tax_behavior": "exclusive",
  "tax_code": "txcd_40060003",
  "type": "transaction"
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string, value is "tax.transaction_line_item")
  String representing the object’s type. Objects of the same type share the same value.

- `amount` (integer)
  The line item amount in the [smallest currency unit](https://docs.stripe.com/currencies.md#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.

- `amount_tax` (integer)
  The amount of tax calculated for this line item, in the [smallest currency unit](https://docs.stripe.com/currencies.md#minor-units).

- `livemode` (boolean)
  If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.

- `metadata` (map, nullable)
  Set of [key-value pairs](https://docs.stripe.com/api/metadata.md) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

- `product` (string, nullable)
  The ID of an existing [Product](https://docs.stripe.com/api/products/object.md).

- `quantity` (integer)
  The number of units of the item being purchased. For reversals, this is the quantity reversed.

- `reference` (string)
  A custom identifier for this line item in the transaction.

- [`reversal`](https://docs.stripe.com/api/tax/transactions/line_items/object.md?query=reversal) (object, nullable)
  If `type=reversal`, contains information about what was reversed.

- `tax_behavior` (enum)
  Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
Possible enum values:
  - `exclusive`
    Taxes are calculated on top of the line item amount (default).

  - `inclusive`
    Taxes are included in the line item amount.

- `tax_code` (string)
  The [tax code](https://docs.stripe.com/tax/tax-categories.md) ID used for this resource.

- `type` (enum)
  If `reversal`, this line item reverses an earlier transaction.
Possible enum values:
  - `reversal`
    Represents a partial or full reversal of an earlier transaction.

  - `transaction`
    Represents a customer sale or order.
