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

# querySparkInvoices

> Check the status of Spark invoices.

Queries the status of Spark invoices.

## Method Signature

```typescript theme={null}
async querySparkInvoices(
  invoices: string[]
): Promise<QuerySparkInvoicesResponse>
```

## Parameters

<ResponseField name="invoices" type="string[]" required>
  Array of Spark invoice strings to query
</ResponseField>

## Returns

<ResponseField name="response" type="QuerySparkInvoicesResponse" required>
  Response containing invoice status information
</ResponseField>

## Example

```typescript theme={null}
const status = await wallet.querySparkInvoices([
  "spark1...",
  "spark1..."
]);
console.log("Invoice statuses:", status);
```
