# InvoiceLink type


A link between an invoice and a MAX document.

## Fields

### id

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

The link's MAX id.

### type

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

The kind of document linked.

### targetId

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

The MAX id of the sales order, purchase order, receipt, issue or consignment.

### origin

[`InvoiceLinkOrigin!`](/chameleoon-max/type/invoice-link-origin)

Who made the link.

### linkedAt

[`Time!`](/chameleoon-max/type/time)

When the link was made.

## Used by

- [`InvoiceLinkConnection`](/chameleoon-max/type/invoice-link-connection)
- [`InvoiceLinkEdge`](/chameleoon-max/type/invoice-link-edge)
