> Portal Navigation:
>
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt
# Resource: Orders Settings
# Type: Orders Settings Object
# Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders-settings/orders-settings-object.md
## Description: Site-level settings that control order behavior, such as when inventory is decremented and whether invoices are automatically generated.
## Schema:
```json
Type: Orders Settings Object | type: OrdersSettings
Description: Site-level settings that control order behavior, such as when inventory is decremented and whether invoices are automatically generated.
- name: inventoryUpdateTrigger | type: string | description: Defines when to update the store inventory. Default: `ON_ORDER_PLACED`
enum: ON_ORDER_PAID, ON_ORDER_PLACED
- name: createInvoice | type: boolean | description: Whether to automatically create invoices for every new order paid online.
Default: `false`
**Note**: The issued invoice for an order is not a tax invoice and doesn't reflect refunds. You are responsible for ensuring that invoices you issue conform to any relevant legal requirements.
- name: value | type: boolean | description:
- name: createdDate | type: string | description: Date and time the orders settings were created.
- name: seconds | type: string | description:
- name: nanos | type: number | description:
- name: updatedDate | type: string | description: Date and time the orders settings were updated.
```