# BinRefillSource type


One row on a reserve bin that a refill takes from.

## Fields

### location

[`Location!`](/chameleoon-max/type/location)

The reserve bin.

### lotId

[`UUID`](/chameleoon-max/type/uuid)

The lot's MAX id. Null without a lot.

### lot

[`Lot`](/chameleoon-max/type/lot)

The lot, with its expiry. Null without one. Requires the `lot.read` permission. Without it, the
field is null with a `FORBIDDEN_ROLE` error at its path, and the rest of the source is returned.

### quantity

[`Decimal!`](/chameleoon-max/type/decimal)

How much to take from this row.

## Used by

- [`BinRefill`](/chameleoon-max/type/bin-refill)
