Create Sales Receipt
Creates a new sales receipt in Loyverse.
Query
Comma-separated response fields to include.
Body
The store id associated with the receipt
The employee id associated with the receipt
The order name or number associated with the receipt
The customer id associated with the receipt
The name of the the source this receipt comes from. By default it is the name of the application that created the receipt. For receipts created from Loyverse mobile point of sale application the value is "point of sale".
By default, it matches the created_at value. You can set receipt_date to the date and time in the past when the receipt was created in another system. This value is used in Loyverse back-office reports.
The list of all discounts applied in the receipt. Discounts can be applied in two scopes, RECEIPT or LINE_ITEM. For discount with LINE_ITEM level you must reference to corresponding discount in every line item where this discount is applied. For discounts with RECEIPT level, line_discount for every line item will be generated automatically.
The receipt's note
The line items included in the receipt
The list of payments. There is a restriction that only one payment can be applied to receipt when using POST request.