# InvoiceRefInput input


Names one invoice: by its MAX `id`, or by `source` together with `externalId`. Send one of the
two, never both.

## Input fields

### id

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

The invoice's MAX id.

### source

`String`

The code of the accounting system's external source.

### externalId

`String`

The accounting system's own id of the document.

## Used by

- [`addInvoiceTag`](/chameleoon-max/mutation/add-invoice-tag) (mutation)
- [`linkInvoice`](/chameleoon-max/mutation/link-invoice) (mutation)
- [`modifyInvoiceTags`](/chameleoon-max/mutation/modify-invoice-tags) (mutation)
- [`removeInvoiceTag`](/chameleoon-max/mutation/remove-invoice-tag) (mutation)
- [`setInvoicePartner`](/chameleoon-max/mutation/set-invoice-partner) (mutation)
- [`unlinkInvoice`](/chameleoon-max/mutation/unlink-invoice) (mutation)
- [`updateInvoice`](/chameleoon-max/mutation/update-invoice) (mutation)
- [`invoice`](/chameleoon-max/query/invoice) (query)
- [`AttachInvoiceDocumentInput`](/chameleoon-max/type/attach-invoice-document-input)
- [`InvoiceLineInput`](/chameleoon-max/type/invoice-line-input)
- [`InvoiceSettlementInput`](/chameleoon-max/type/invoice-settlement-input)
- [`SyncInvoiceInput`](/chameleoon-max/type/sync-invoice-input)
