# pos.cash-tracking-session-complete.event.observe

An event extension target that observes when cash tracking session completes
  > Note:
  > This is part of a POS UI Extensions developer preview. More information to come.

## CashTrackingSessionCompleteData

The data object provided to this extension target.

### CashTrackingSessionCompleteData

### cashTrackingSessionComplete

value: `{ id: number; openingTime: string; closingTime: string; }`


### connectivity

value: `ConnectivityState`


### device

value: `Device`


### locale

value: `string`


### session

value: `Session`


### ConnectivityState

### internetConnected

value: `ConnectivityStateSeverity`

Whether the device is connected to the internet

### Device

### deviceId

value: `number`

The ID of the device

### isTablet

value: `boolean`

Whether the device is a tablet

### name

value: `string`

The name of the device

### Session

### currency

value: `CurrencyCode`

The currency code associated with the location currently in on POS.

### locationId

value: `number`

The location ID associated with the POS' current location.

### shopDomain

value: `string`

The shop domain associated with the shop currently logged into POS.

### shopId

value: `number`

The shop ID associated with the shop currently logged into POS.

### staffMemberId

value: `number`

The staff ID who is currently pinned into the POS. Note that this staff member ID may be different to the User ID, as the staff member who enters their PIN may be different to the User who logged onto POS.

### userId

value: `number`

The user ID associated with the Shopify account currently authenticated on POS.

## Related

- [pos.cash-tracking-session-start.event.observe](https://shopify.dev/docs/api/pos-ui-extensions/targets/cash-tracking/pos-cash-tracking-session-start-observe)