async def METHOD_NAME(client: TestClient, user, token):
    now = utils.time.now()
    invoice1 = await create_invoice(client, user["id"], token, created=(now - timedelta(hours=1)).isoformat())
    invoice2 = await create_invoice(client, user["id"], token, created=(now - timedelta(days=1)).isoformat())
    invoice3 = await create_invoice(client, user["id"], token, created=(now - timedelta(weeks=1)).isoformat())
    await check_start_date_query(client, token, "-2h", 1, invoice1["id"])
    await check_start_date_query(client, token, "-2d", 2, invoice2["id"])
    await check_start_date_query(client, token, "-2w", 3, invoice3["id"])
    await check_start_date_query(client, token, "-1w", 1, invoice3["id"], start=False)
    await check_start_date_query(client, token, "-1d", 2, invoice2["id"], start=False)
    await check_start_date_query(client, token, "-1h", 3, invoice1["id"], start=False)