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

# Sets & Minifigs

> Find out more about the Set & Minifigs page

## Presentation

The **Sets & Minifigs** page presents all useful information concerning a set or minifig. It can be accessed by entering a set or minifig reference (according to the Bricklink® nomenclature) in the `search zone`. Depending on your [settings](/lg-english/settings), the information and widgets displayed may vary.

## Actions

### <Icon icon="square-plus" iconType="regular" color="000000" size={24} /> Add a transaction

**Transactions represent all modifications to your item**. If you buy this item you must create a `owned` transaction, if you put it up for sale a `For sale` transaction. Once sold, you must create an `sold` transaction. Etc...
<Note>The various fields entered are saved for each transaction. For example the purchase price entered when creating a `owned` transaction will also be present automatically when you create a `For sale` or `sold` transaction.</Note>

To do this, click on the `+Add` button in the top right-hand corner of the set file, then select `Transaction`  (or click on the `+Add` button in the `Add it to your collections` card).<br />.
Then fill in the various fields and save.

<AccordionGroup>
  <Accordion icon="calendar-days" title="Date">
    <ResponseField name="date" type="date" required>
      Transaction date.
      <Tip>Don't remember the date? Choose today's date, you can change it later.</Tip>
    </ResponseField>
  </Accordion>

  <Accordion icon="input-numeric" title="Item number">
    <ResponseField name="item" type="integer" required>
      Item number (if you have several copies).
    </ResponseField>
  </Accordion>

  <Accordion icon="list-dropdown" title="Status">
    <ResponseField name="status" type="list" required>
      New or used? Not required for: `wanted` transactions

      <Expandable title="properties">
        <ResponseField name="new" type="string">
          New item
        </ResponseField>

        <ResponseField name="used" type="string">
          Used item
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Accordion>

  <Accordion icon="list-dropdown" title="Transaction">
    <ResponseField name="transaction" type="list" required>
      Choose the type of transaction.

      <Expandable title="properties">
        <ResponseField name="wanted" type="string">
          Item you don't own but want to buy.
        </ResponseField>

        <ResponseField name="owned" type="string">
          Item you have just bought or purchased.
        </ResponseField>

        <ResponseField name="for sale" type="string">
          Item you are offering for sale.
        </ResponseField>

        <ResponseField name="sold" type="string">
          Item you have just sold.
        </ResponseField>

        <ResponseField name="to restore" type="string">
          Incomplete item requiring restoration. Can only be selected if a `owned` transaction has been entered first.
          <Tip>As long as items are in the `to restore` state they are not taken into account in the dashboard.</Tip>
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Accordion>

  <Accordion icon="input-numeric" title="Price">
    Depending on the type of `transaction`, you will also need to fill in the price fields.
    <Tip>Don't remember a price? Enter `0.00`, you can change it later.</Tip>

    <ResponseField name="purchase price" type="decimal" required>
      Item purchase price. Mandatory for `owned`, `for sale`, `sold`, `to restore` transactions.
    </ResponseField>

    <ResponseField name="for sale price" type="decimal" required>
      Item sale price. Mandatory for `for sale`, `sold` transactions.
    </ResponseField>

    <ResponseField name="sold price" type="decimal" required>
      Item sold price. Mandatory for `sold` transactions.
    </ResponseField>

    For `sold` items, you can optionally indicate on which store the item was sold.

    <ResponseField name="sold on" type="list">
      Store where the item was sold.
    </ResponseField>
  </Accordion>
</AccordionGroup>

**A few examples:**

* You have a "new" item and decide it's time to build it.

<Steps>
  <Step title="Add a transaction">
    Click on the `+Add` button in the top right-hand corner, then choose `Transaction`.
  </Step>

  <Step title="Enter information">
    Normally, a **owned** `transaction` already exists for this item (because you own it). Just change the `status` from **new** to **used** and save.
  </Step>
</Steps>

* You've bought (or been given) an item which, alas, is incomplete. You'll have to restore it.

<Steps>
  <Step title="Add an owned transaction">
    Click on the `+Add` button at the top right, then choose `Transaction`.
  </Step>

  <Step title="Enter information">
    Choose **owned** as the `transaction` for this item. Choose **used** as the `status` and finally enter the `purchase price` (which may be 0.00 in the case of a gift) and save.
  </Step>

  <Step title="Add a &#x22;to restore&#x22; transaction">
    click on the top-right `+Add` button, then choose `Transaction`.
  </Step>

  <Step title="Enter information">
    Choose **To restore** as the `transaction` for this item and save.
    <Tip>The **To restore** choice only appears if you have previously entered a **owned** `transaction`</Tip>.
  </Step>
</Steps>

* That's it, I've restored my item!

You can now either :

* delete the `transaction` **To restore** by clicking on the red trash-can icon in the `Transactions history` widget at the very bottom of the page.
* add a new `transaction` **owned**.

### <Icon icon="pen-to-square" iconType="regular" color="000000" size={24} /> Update a transaction

For the time being, it is not possible to modify a transaction. It must be deleted and then re-created.

### <Icon icon="trash-can" iconType="solid" color="000000" size={24} /> Delete a transaction

To delete a transaction, go to the `Transactions history` widget at the very bottom of the page.
Next to the transaction you wish to delete, click on the trash-can icon <Icon icon="trash-can" iconType="solid" color="D63939" />.

### <Icon icon="puzzle-piece" iconType="regular" color="000000" size={24} /> Add a parts purchase

When an item is incomplete, you may need to purchase the missing parts on sites such as [Bricklink®](https://www.bricklink.com).
You therefore need to update the `purchase price` of this item to take into account the purchase of these additional parts.

To do this, click on the `+Add` button in the top right-hand corner of the set file, then select `Parts purchased`.
Then fill in the various fields and save.

<AccordionGroup>
  <Accordion icon="input-numeric" title="Item number">
    <ResponseField name="item" type="integer" required>
      Item number (if you have several copies).
    </ResponseField>
  </Accordion>

  <Accordion icon="input-numeric" title="Parts price">
    <ResponseField name="parts price" type="decimal" required>
      Purchase price of additional parts.
    </ResponseField>
  </Accordion>
</AccordionGroup>

Once saved, the `parts price` will be added to the `purchase price`.

## Widgets

<CardGroup cols={2}>
  <Card title="Price summary" icon="money-bill" href="/lg-english/widgets/widget-price-summary">
    <Frame>
      <img className="block h-32 dark:hidden" src="https://mintcdn.com/legaussitot/pVqg4QOzUUhM8huK/images/widget-price-summary-light.png?fit=max&auto=format&n=pVqg4QOzUUhM8huK&q=85&s=9d4c52c63285fe75bd57d200813611ea" width="828" height="538" data-path="images/widget-price-summary-light.png" />

      <img className="hidden h-32 dark:block" src="https://mintcdn.com/legaussitot/pVqg4QOzUUhM8huK/images/widget-price-summary-dark.png?fit=max&auto=format&n=pVqg4QOzUUhM8huK&q=85&s=fa379dc839b88e79611dcdc6a22f9e07" width="822" height="520" data-path="images/widget-price-summary-dark.png" />
    </Frame>
  </Card>
</CardGroup>
