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

# Date filters

> Filter lists by calendar day in your account's time zone with date_range.

Narrow a list to records from certain days with the `date_range` query parameter. Each date is a calendar day in your account's time zone (the time zone of your business address), so a record created at 11:30 PM on February 28 in that time zone is on February 28.

## Formats

Dates are `MM-DD-YYYY`. `date_range` takes four forms:

| Form | Example | Matches |
| - | - | - |
| A range | `06-01-2024,06-11-2025` | June 1, 2024 through June 11, 2025, both days included. |
| On or after | `06-01-2024` | June 1, 2024 and every day after it. |
| Before | `,06-11-2025` | Every day before June 11, 2025. June 11 isn't included. |
| A single day | `:,06-11-2025` | June 11, 2025 only. |

`,06-11-2025` is the only form that leaves out its end day. To include it, send a range or a single day.

```bash theme={null}
curl "https://api.staging.streamlinedpayments.com/api/v1/invoices?date_range=:,06-11-2025" \
  -H "X-App-Id: $STREAMLINED_APP_ID" \
  -H "X-Api-Key: $STREAMLINED_API_KEY"
```

## Which date each list filters on

| Endpoint | Date |
| - | - |
| [List invoices](https://docs.streamlinedpayments.com/api-reference/invoices/list-invoices.md) | The issue date. With a `keyword`, the issue date or the due date. |
| [List transactions](https://docs.streamlinedpayments.com/api-reference/transactions/list-transactions.md) | When the transaction was created. |
| [List orders](https://docs.streamlinedpayments.com/api-reference/orders/list-orders.md) and [List scheduled orders](https://docs.streamlinedpayments.com/api-reference/orders/list-scheduled-orders.md) | When the order was created. |

An invoice imported with a date and no time, such as from QuickBooks, is on the date it was given.

[List deposit links](https://docs.streamlinedpayments.com/api-reference/deposit-links/list-deposit-links.md) takes `from` and `to` instead, as `YYYY-MM-DD` calendar days in the same time zone, both included.


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