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

# Retrieve account statement year-to-date totals

> Retrieve the year-to-date fee and interest totals on a credit account's statement summary.

GET/credit/accounts/\{account\_token}/statements/\{statement\_summary\_token}/yeartodate

Retrieve the year-to-date fee and interest totals on a credit account's statement summary.

## URL path parameters

| Fields | Description |
| - | - |
| account\_token string  Required | The unique identifier of the credit account from which to retrieve statement year-to-date totals. Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens. **Allowable Values:**  Existing account token |
| statement\_summary\_token string  Required | The unique identifier of the statement summary from which to retrieve year-to-date totals. Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens. **Allowable Values:**  Existing statement summary token |

## Response body

| Fields | Description |
| - | - |
| token uuid  Conditionally returned | Unique identifier of the year-to-date total. **Allowable Values:**  36 char max |
| account\_token string  Returned | Unique identifier of the associated credit account. **Allowable Values:**  36 char max  Existing account token |
| statement\_token uuid  Returned | Unique identifier of the statement summary from which to retrieve year-to-date totals. **Allowable Values:**  Existing statement summary token |
| total\_fees decimal  Returned | Total fees charged year-to-date. **Allowable Values:**  Format: 0.00 |
| total\_interest decimal  Returned | Total interest charged year-to-date. **Allowable Values:**  Format: 0.00 |
| created\_time datetime  Conditionally returned | Date and time when the year-to-date total was created on Marqeta's credit platform, in UTC. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |

## Sample response body

```json JSON lines wrap theme={null}
{
  "token": "c40b683b-ad88-51b6-a1fa-bc9961bc011e",
  "account_token": "my_account_token_12",
  "statement_token": "c07918af-2ffa-4da9-972c-6b3d24b2a772",
  "total_fees": 0,
  "total_interest": 0,
  "created_time": "2021-07-01T00:27:09Z"
}
```


## Related topics

- [About Credit Account Statements](https://www.marqeta.com/docs/developer-guides/about-credit-account-statements.md)
- [Statements Overview](https://www.marqeta.com/docs/core-api/credit-account-statements.md)
- [Credit Statements](https://www.marqeta.com/docs/diva-api/credit-statements.md)
- [Retrieve account statement payment information](https://www.marqeta.com/docs/core-api/credit-account-statements/retrieve-payment-information.md)
- [Retrieve statement data](https://www.marqeta.com/docs/core-api/cardholder-statements/statements/retrieve-data.md)
