# AttachInvoiceDocumentInput input


A file to attach to an invoice with [`attachInvoiceDocument`](/chameleoon-max/mutation/attach-invoice-document).

## Input fields

### requestId

`String!` · required

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

### fileId

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

The `fileId` that `POST /api/v1/files` returned for the upload.

### invoice

[`InvoiceRefInput!`](/chameleoon-max/type/invoice-ref-input) · required

The invoice the document is kept with: its MAX `id`, or its `source` with its `externalId`.

### title

`String`

The document's title. At most 255 characters.

### note

`String`

A note about this version. At most 2000 characters.

## Used by

- [`attachInvoiceDocument`](/chameleoon-max/mutation/attach-invoice-document) (mutation)
