# SalesOrderPaidInput input


Marks the order as paid in full.

## Input fields

### paidAt

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

When the money arrived. If omitted, now.

### reference

`String`

The payment gateway's or bank's id of the payment. If another order already uses it,
[`createSalesOrder`](/chameleoon-max/mutation/create-sales-order) skips it with a warning, and [`markSalesOrderPaid`](/chameleoon-max/mutation/mark-sales-order-paid)
returns `CONFLICT`.

## Used by

- [`markSalesOrderPaid`](/chameleoon-max/mutation/mark-sales-order-paid) (mutation)
- [`CreateSalesOrderInput`](/chameleoon-max/type/create-sales-order-input)
