# InvoiceRecordRefInput input


Names a partner or a sales order: by its MAX `id`, or by its `externalId` in an external source.
If `source` is omitted, the external source of the sync is used.

## Input fields

### id

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

The record's MAX id.

### source

`String`

The code of the external source that `externalId` belongs to.

### externalId

`String`

The record's id in the external source.

## Used by

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