# CashTrackingSession - admin-graphql - OBJECT Version: 2024-10 ## Description Tracks the balance in a cash drawer for a point of sale device over the course of a shift. ### Access Scopes `read_cash_tracking` access scope. ## Fields * [cashTrackingEnabled](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether this session is tracking cash payments. * [closingBalance](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - The counted cash balance when the session was closed. * [closingNote](/docs/api/admin-graphql/2024-10/scalars/String): String - The note entered when the session was closed. * [closingStaffMember](/docs/api/admin-graphql/2024-10/objects/StaffMember): StaffMember - The user who closed the session. * [closingTime](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime - When the session was closed. * [expectedBalance](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The expected balance at the end of the session or the expected current balance for sessions that are still open. * [expectedClosingBalance](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed. * [expectedOpeningBalance](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - The amount expected to be in the cash drawer based on the previous session. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - A globally-unique ID. * [location](/docs/api/admin-graphql/2024-10/objects/Location): Location - The location of the point of sale device during this session. * [netCashSales](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The net cash sales made for the duration of this cash tracking session. * [openingBalance](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The counted cash balance when the session was opened. * [openingNote](/docs/api/admin-graphql/2024-10/scalars/String): String - The note entered when the session was opened. * [openingStaffMember](/docs/api/admin-graphql/2024-10/objects/StaffMember): StaffMember - The user who opened the session. * [openingTime](/docs/api/admin-graphql/2024-10/scalars/DateTime): DateTime! - When the session was opened. * [registerName](/docs/api/admin-graphql/2024-10/scalars/String): String! - The register name for the point of sale device that this session is tracking cash for. * [totalAdjustments](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - The sum of all adjustments made during the session, excluding the final adjustment. * [totalCashRefunds](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The sum of all cash refunds for the duration of this cash tracking session. * [totalCashSales](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2! - The sum of all cash sales for the duration of this cash tracking session. * [totalDiscrepancy](/docs/api/admin-graphql/2024-10/objects/MoneyV2): MoneyV2 - The total discrepancy for the session including starting and ending. ## Connections * [adjustments](/docs/api/admin-graphql/2024-10/connections/CashTrackingAdjustmentConnection): CashTrackingAdjustmentConnection! * [cashTransactions](/docs/api/admin-graphql/2024-10/connections/OrderTransactionConnection): OrderTransactionConnection! ## Related queries * [cashTrackingSession](/docs/api/admin-graphql/2024-10/queries/cashTrackingSession) Lookup a cash tracking session by ID. * [cashTrackingSessions](/docs/api/admin-graphql/2024-10/queries/cashTrackingSessions) Returns a shop's cash tracking sessions for locations with a POS Pro subscription. Tip: To query for cash tracking sessions in bulk, you can [perform a bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/queries). ## Related mutations ## Related Unions ## Examples