Batch Extract
Upload PDF bank statements for processing. Parse will extract transactions, analyze patterns, detect anomalies, and return detailed financial insights.Request
Path
POST /v1/extract/batch
Headers
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token: Bearer YOUR_API_KEY |
| Content-Type | string | Yes | multipart/form-data |
Body
| Field | Type | Required | Description |
|---|---|---|---|
| file | file(s) | Yes | PDF files (1-20 per request, max 4.5MB total) |
| user_id | string | Yes | Your Pantherpulse user ID |
| company_name | string | Yes | Company name for organization |
Limits
- Max files per request: 20
- Max total size: 4.5MB
- File format: PDF only
- Pages consumed: One per page in PDF (tracked against your quota)
Response
Success Response (200)
| Field | Type | Description |
|---|---|---|
| client | string | Your user ID |
| total_files | number | Number of files uploaded |
| jobs | array | Array of job objects |
| jobs[].job_id | string | Unique identifier for this job |
| jobs[].company | string | Company name from request |
| jobs[].filename | string | Original filename |
| jobs[].status | string | Always processing on upload |
Processing Results
Once processing completes, results are stored and can be retrieved. The processed data includes:Analysis Features
Transaction Extraction
- All transactions parsed with date, amount, description, and balance
- Handles deposits, withdrawals, and balance calculations
- Multi-page statements processed in parallel
Financial Summary
- Opening and closing balances
- Total deposits and withdrawals
- Daily average balance calculation
- Deposit and withdrawal counts
- Balance equation validation (opening + deposits - withdrawals = closing)
Pattern Detection
- Recurring debits: Identifies recurring payments and subscriptions
- Large transactions: Flags deposits >50K or >1.5x monthly average
- Negative balances: Detects overdraft dates
- Multi-month statements: Identifies statements spanning multiple months
Risk & Compliance
- Loan detection: Identifies loan disbursements and payments
- Intra-company transfers: Detects internal transfers and group transactions
- Anomalies: Flags unusual transaction patterns
Error Codes
| Code | Status | Meaning |
|---|---|---|
| invalid_api_key | 401 | Invalid or missing API key |
| invalid_content_type | 400 | Content-Type must be multipart/form-data |
| no_files | 400 | No files provided in request |
| too_many_files | 400 | Exceeded max 20 files per request |
| payload_too_large | 400 | Total payload exceeds 4.5MB limit |
| company_mismatch | 400 | Company names count doesn’t match files |
| limit_exceeded | 402 | Monthly quota exceeded |
Page Usage
Each page of every uploaded PDF consumes 1 page from your monthly quota. For example:- 1 × 5-page statement = 5 pages consumed
- 3 × 10-page statements = 30 pages consumed
Processing Time
Typical processing times:- 1-3 pages: 15-30 seconds
- 4-10 pages: 30-60 seconds
- 11+ pages: 60+ seconds (parallel processing)

