# List document batches for the account Returns all document batches belonging to the authenticated account. Each item includes the stored number_of_documents value as count (set when the import batch is finalized). Use each batch id as the batch_id query parameter on GET /api/v3/invoices to list only invoices from that batch. Endpoint: GET /api/v3/invoices/batches Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" ## Response 200 fields (application/json): - `document_batches` (array) List of document batches belonging to the authenticated account. Example: [{"id":42,"name":"January 2024 import","count":15}] - `document_batches.id` (integer) - `document_batches.name` (string) - `document_batches.count` (integer) ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string)