# InvoiceLinkOrigin enum


Who made a link between an invoice and a MAX document.

## Values

### SYNC

Your integration sent the link in [`syncInvoice`](/chameleoon-max/mutation/sync-invoice).

### AUTO

MAX made the link: to the sales order that the invoice's `orderNumber` names, to that order's
shipped consignments, and to their stock issues.

### MANUAL

A user made the link, in MAX or with [`linkInvoice`](/chameleoon-max/mutation/link-invoice).

## Used by

- [`InvoiceLink`](/chameleoon-max/type/invoice-link)
