# ReceiptAdviceLineUpdate input


One line's change. A field you omit is unchanged. A field you send as null is cleared.

## Input fields

### lineId

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

The MAX id of the line to change.

### quantity

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

The new quantity in the line's unit (the new unit when `unit` changes it). It must be
positive. If omitted, unchanged.

### unit

`String`

The new unit. If omitted, unchanged. Refused once goods arrived against the line in its unit.

### unitPrice

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

The new price per unit.

### vatPercent

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

The new VAT rate in percent.

### expectedAt

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

When the line's goods are now due.

### batchCode

`String`

The new batch code.

### expiresAt

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

The new expiry. MAX keeps its UTC date.

### serialNumber

`String`

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

### supplierSku

`String`

The supplier's new code of the product.

### note

`String`

The new note.

## Used by

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