# CreateReceiptAdviceInput input


The receipt advice that [`createReceiptAdvice`](/chameleoon-max/mutation/create-receipt-advice) creates.

## Input fields

### requestId

`String!` · required

Your idempotency key for this call, an opaque string of 1 to 128 bytes, unique within the
organisation.

### supplierId

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

The supplier's MAX id.

### warehouseId

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

The MAX id of the one warehouse the goods are coming into.

### kind

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

The kind of document the advice is based on. `PURCHASE_ORDER` is refused.

### supplierReference

`String`

The supplier's delivery note number or invoice number, to quote back.

### advisedAt

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

The advice's own date. Its number's year is taken from it. If omitted, now.

### expectedAt

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

When the goods are due.

### currencyCode

`String`

The ISO 4217 code of the advice's currency. If omitted, the currency of the warehouse's
company.

### pricesIncludeVat

`Boolean`

Whether the line prices include VAT. If omitted, `false`.

### note

`String`

A note for the people who receive the goods.

### lines

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

The announced lines, 1 to 100.

### parameters

[`[ParameterInput!]`](/chameleoon-max/type/parameter-input)

Up to 32 short text parameters, such as `workflow_id` and `run_id`.

## Used by

- [`createReceiptAdvice`](/chameleoon-max/mutation/create-receipt-advice) (mutation)
