# # RegisterSale

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | Auto-generated object ID. | [optional]
**source** | **string** | **internal** One of &#x60;USER&#x60; and &#x60;SHOPIFY&#x60;. | [optional]
**customer_name** | **string** | The name of the customer associated with the sale. | [optional]
**customer** | [**\Vend09\Model\Customer**](Customer.md) |  | [optional]
**user_name** | **string** | The username of the user who created the sale. | [optional]
**created_at** | **string** | The date and time when the sale was created (on the server). | [optional]
**updated_at** | **string** | The date and time of the last update. | [optional]
**total_price** | **double** | Total price of the sale. | [optional]
**total_cost** | **double** | Total cost of the sale. | [optional]
**total_tax** | **double** | Total tax of the sale. | [optional]
**tax_name** | **string** | Tax tax associated with the sale. | [optional]
**return_for** | **string** | The ID of another sale if this sale was created as a return. | [optional]
**source_id** | **string** | The ID of the sale on the client side or another system where the sale was originally created. | [optional]
**register_id** | **string** | The ID of the register where the sale was created. | [optional]
**customer_id** | **string** | The ID of the customer associated with this sale. | [optional]
**user_id** | **string** | The ID of the user (cashier) who created the sale. | [optional]
**sale_date** | **string** | The date of the sale. If not provided will be added as the time the sale reached the server. | [optional]
**note** | **string** | A note on the sale entered by the cashier. | [optional]
**status** | **string** | Status of the sale. One of: &#x60;SAVED&#x60;, &#x60;CLOSED&#x60;, &#x60;ONACCOUNT&#x60;, &#x60;LAYBY&#x60;, &#x60;ONACCOUNT_CLOSED&#x60;, &#x60;LAYBY_CLOSED&#x60;, &#x60;VOIDED&#x60;. | [optional]
**short_code** | **string** | Short, unique code to be printed on the receipt for loyalty tracking purposes. | [optional]
**invoice_number** | **string** | The invoice number for the sale. If left null it will be populated by Vend with the next available invoice number. | [optional]
**accounts_transaction_id** | **string** | Xero invoice reference ID. Only editable for &#x60;ONACCOUNT&#x60; sales. | [optional]
**register_sale_products** | [**\Vend09\Model\RegisterSaleProduct[]**](RegisterSaleProduct.md) | Line items. | [optional]
**register_sale_payments** | [**\Vend09\Model\RegisterSalePayment[]**](RegisterSalePayment.md) | Payments. | [optional]
**totals** | [**\Vend09\Model\RegisterSaleTotals**](RegisterSaleTotals.md) |  | [optional]
**taxes** | [**\Vend09\Model\RegisterSaleTax[]**](RegisterSaleTax.md) | Tax components for the sale. | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
