# ReceiptAdviceLineInput input


One announced line of a receipt advice.

## Input fields

### variantId

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

The MAX id of the product variant that is coming.

### quantity

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

The announced quantity in `unit`. It must be positive.

### unit

`String`

A unit that the variant defines, such as a carton. If omitted, the product's base unit.

### unitPrice

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

The price per `unit`, in the advice's currency, with or without VAT as the advice's
`pricesIncludeVat` says.

### vatPercent

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

The VAT rate in percent.

### expectedAt

[`Time`](/chameleoon-max/type/time)

When this line's goods are due.

### batchCode

`String`

The batch that the supplier's paperwork names. It prefills the receipt.

### expiresAt

[`Time`](/chameleoon-max/type/time)

The expiry that the paperwork names. MAX keeps its UTC date.

### serialNumber

`String`

The serial number that the paperwork names. A serial number names one piece, so the line's
base quantity must be 1.

### supplierSku

`String`

The supplier's own code of the product.

### note

`String`

A note on the line.

## Used by

- [`CreateReceiptAdviceInput`](/chameleoon-max/type/create-receipt-advice-input)
- [`UpdateReceiptAdviceInput`](/chameleoon-max/type/update-receipt-advice-input)
