> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Store credit balance

> Shopify's daily store credit liability: the starting and ending balance and its net change, by currency.

Shopify's daily store credit liability: the starting and ending balance and its net change, by currency.

## Example

```sql theme={null}
FROM store_credit_summaries
  SHOW starting_store_credit_balance, ending_store_credit_balance
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY starting_store_credit_balance DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `starting_store_credit_balance` | Currency | What customers held in store credit at the start of the period. |
| `ending_store_credit_balance` | Currency | What customers hold in store credit at the end of the period: what you owe them. |
| `store_credit_balance_net_change` | Currency | How the balance moved over the period. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `shop.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Payments](https://docs.queryful.app/queryfulql/datasets/payments.md)
* [Payouts](https://docs.queryful.app/queryfulql/datasets/payouts.md)
* [Payout transactions](https://docs.queryful.app/queryfulql/datasets/balance_transactions.md)
* [Disputes](https://docs.queryful.app/queryfulql/datasets/disputes.md)
* [Chargebacks](https://docs.queryful.app/queryfulql/datasets/chargebacks.md)
* [Gift cards](https://docs.queryful.app/queryfulql/datasets/gift_cards.md)
* [Store credit transactions](https://docs.queryful.app/queryfulql/datasets/store_credit_transactions.md)
* [Payment attempts](https://docs.queryful.app/queryfulql/datasets/payment_attempts.md)
* [Receivables](https://docs.queryful.app/queryfulql/datasets/receivables.md)
* [Payments balance](https://docs.queryful.app/queryfulql/datasets/payments_balance.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.