# InvoiceLinkTargetInput input


A MAX document the sync links the invoice to.

## Input fields

### type

[`InvoiceLinkType!`](/chameleoon-max/type/invoice-link-type) · required

The kind of document.

### ref

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

The document. Name a sales order by its MAX `id` or by its external source's id. Name every
other kind by its MAX `id`.

## Used by

- [`SyncInvoiceInput`](/chameleoon-max/type/sync-invoice-input)
