# UpdateReceiptAdviceInput input


The change that [`updateReceiptAdvice`](/chameleoon-max/mutation/update-receipt-advice) makes.

## Input fields

### requestId

`String!` · required

Your idempotency key for this call, an opaque string of 1 to 128 bytes, unique within the
organisation. Use a new key for every change you intend.

### kind

[`ReceiptAdviceKind`](/chameleoon-max/type/receipt-advice-kind)

The new kind. If omitted, unchanged. Never `PURCHASE_ORDER`.

### supplierReference

`String`

The supplier's new reference. If omitted, unchanged. Null clears it.

### advisedAt

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

The advice's new date. If omitted, unchanged. Null is refused.

### expectedAt

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

When the goods are now due. If omitted, unchanged. Null clears it.

### note

`String`

The new note. If omitted, unchanged. Null clears it.

### removeLineIds

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

The MAX ids of up to 100 lines to remove.

### updateLines

[`[ReceiptAdviceLineUpdate!]`](/chameleoon-max/type/receipt-advice-line-update)

Up to 100 line changes.

### addLines

[`[ReceiptAdviceLineInput!]`](/chameleoon-max/type/receipt-advice-line-input)

Up to 100 new lines, as on create.

### parameters

[`SetParametersInput`](/chameleoon-max/type/set-parameters-input)

The parameters to set and remove.

## Used by

- [`updateReceiptAdvice`](/chameleoon-max/mutation/update-receipt-advice) (mutation)
