> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Items

```json theme={null}
{
   "data":[
      {
         "id":3,
         "external_id":"100491239A",
         "name":"Demo Product",
         "transaction_id":3,
         "product_id":479,
         "product_variant_id":1050,
         "sku":"1023123213",
         "variant_external_id":"EXT103313",
         "is_void":false,
         "quantity":1,
         "price_current":99.99,
         "price_sell":99.99,
         "price_original":null,
         "price_margin":null,
         "price_tax":null,
         "discounts":null,
         "product_images":[
            {
               "url":"/example.jpg":0
            },
            {
               "url":"/example2.jpg",
               "sort_order":1
            },
            {
               "url":"example2.jpg",
               "sort_order":2
            }
         ],
         "created_at":"2020-05-27 06:21:13",
         "updated_at":"2020-05-27 06:21:13"
      }
   ],
   "links":{
      "first":"http://demo_site/2/items?page.number=1",
      "last":"http://demo_site/3/items?page.number=1",
      "prev":null,
      "next":null
   },
   "meta":{
      "current_page":1,
      "from":1,
      "last_page":1,
      "path":"http://demo_site.getomneo.io/api/v3/transactions/3/items",
      "per_page":15,
      "to":1,
      "total":1
   }
}
```

## What are transaction items?

Transaction items are attached to a [transaction](ref:transactions) and contain pricing information that pairs with the accompanying transaction. Additional items can be added to an existing transaction by using the [Add Transaction](/api-reference/transaction/add-transaction) endpoint, or directly when creating the transaction with [Add Transaction](/api-reference/transaction/add-transaction).

## Transaction item properties

| Attribute                           | Description                                                                                                                  |
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| id `INTEGER` `READ-ONLY`            | The unique Omneo identifier of the transaction item                                                                          |
| external\_id `STRING`               | The foreign id of the transaction item in an external system                                                                 |
| name `STRING`                       | The name of the item                                                                                                         |
| transaction\_id `INTEGER`           | The `transaction_id` this transaction item is attached to.                                                                   |
| product\_id `INTEGER`               | The id of the transaction item product                                                                                       |
| product\_variant\_id `INTEGER`      | The variant id of the transaction item product                                                                               |
| sku `STRING`                        | The sku of the transaction item product                                                                                      |
| variant\_external\_id `STRING`      | The external variant id of the transaction item product. This is usually the id as it is in the originating external system. |
| is\_void `BOOLEAN`                  | Denotes whether this item has been voided on this transaction.                                                               |
| quantity `INTEGER`                  | The quantity sold on this transaction                                                                                        |
| price\_current `FLOAT`              | The current available price of the item (including tax)                                                                      |
| price\_sell `FLOAT`                 | Actual price paid for the item, after all discounts (including tax). This is the refundable amount for the item.             |
| price\_original `FLOAT`             | The original price, RRP, base or standard price of the item.                                                                 |
| price\_margin `FLOAT`               | A \$ value margin made on the sale for this item                                                                             |
| price\_tax `FLOAT`                  | A \$ value tax charged for this item                                                                                         |
| discounts `ARRAY`                   | An array of discounts applied to this item                                                                                   |
| product\_images `ARRAY`             | An array of product images attached to this item                                                                             |
| created\_at `READ-ONLY` `DATE-TIME` | The UTC date & time the Transaction Item record was created in ISO 8601 format.                                              |
| updated\_at `READ-ONLY` `DATE-TIME` | The UTC date & time the Transaction Item record was last updated in ISO 8601 format.                                         |

## Embedded transaction and location

When a transaction item response includes the parent `transaction` object, the transaction embedding also includes a `location` object if the transaction has an associated [location](/concepts/commerce/locations). The `location` object contains the location's `id`, `type`, `name`, `description`, `phone`, `email`, `external_id`, `is_published`, `is_permanently_closed`, and nested `address`.
