> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.show_invoices_v1

Get billing history reports with advanced filtering and pagination.

## Signature

```python theme={null}
VastAI.show_invoices_v1(
    invoices: bool = False,
    invoice_type: Optional[str] = None,
    charges: bool = False,
    charge_type: Optional[str] = None,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    limit: Optional[int] = 20,
    next_token: Optional[str] = None,
    format: Optional[str] = 'table',
    verbose: bool = False,
    latest_first: bool = False
) -> dict
```

## Parameters

<ParamField path="invoices" type="bool">
  Show invoices instead of charges
</ParamField>

<ParamField path="invoice_type" type="Optional[str]">
  Filter which types of invoices to show: {transfers, stripe, bitpay, coinbase, crypto.com, reserved, payout_paypal, payout_wise}
</ParamField>

<ParamField path="charges" type="bool">
  Show charges instead of invoices
</ParamField>

<ParamField path="charge_type" type="Optional[str]">
  Filter which types of charges to show: {i|instance, v|volume, s|serverless}
</ParamField>

<ParamField path="start_date" type="Optional[str]">
  Start date (YYYY-MM-DD or timestamp)
</ParamField>

<ParamField path="end_date" type="Optional[str]">
  End date (YYYY-MM-DD or timestamp)
</ParamField>

<ParamField path="limit" type="Optional[int]" default="20">
  Number of results per page (default: 20, max: 100)
</ParamField>

<ParamField path="next_token" type="Optional[str]">
  Pagination token for next page
</ParamField>

<ParamField path="format" type="Optional[str]" default="table">
  Output format for charges (default: table)
</ParamField>

<ParamField path="verbose" type="bool">
  Include full Instance Charge details and Invoice Metadata (tree view only)
</ParamField>

<ParamField path="latest_first" type="bool">
  Sort by latest first
</ParamField>

## Returns

`dict`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_invoices_v1()
print(result)
```
