📤 Upload PDF Files
Drag and drop multiple PDF files or click to select
Drop PDF files here or click to browse
Multiple files supported
👥 Manage Clients
Configure clients for automatic owner detection. The match pattern (account number) is searched in PDFs.
| Color | Name | Match Pattern | Synced | Actions |
|---|
No clients configured yet. Click "Add Client" to get started.
🔑 Password Manager
Manage your password list for unlocking PDFs (one password per line)
📖 User Guide
Learn how to use the Paperless Gateway Middleware
🚀 Getting Started
This application helps you unlock password-protected bank statement PDFs, automatically rename them with client information and billing period, and upload them directly to your Paperless-ngx instance.
📋 Step 1: Set Up Passwords
- Go to the Passwords tab
- Add all your bank statement passwords (one per line)
- Common formats include: DOB (DDMMYYYY), PAN numbers, custom bank passwords
- Click Save Passwords
👥 Step 2: Configure Clients
- Go to the Manage Clients tab
- Click + Add Client
- Enter the client's name (e.g., "Rahul Sharma")
- Enter a Match Pattern - this is typically the account number or a unique identifier found in their statements
- Choose a tag color for easy identification in Paperless
- Click Save Client
🔄 Step 3: Sync to Paperless
- After adding clients, click Sync to Paperless
- This creates tags (e.g., "Client: Rahul Sharma") in your Paperless instance
- It also creates a "Bank" correspondent for all bank statements
- The sync status shows whether each client's tag was created
📤 Step 4: Upload PDFs
- Go to the Upload tab
- Drag and drop your PDF files (or click to browse)
- You can upload multiple files at once
- Click Process & Upload Files
⚙️ What Happens During Processing
- Unlock: Each PDF is decrypted using your password list
- Identify Client: The PDF text is searched for client match patterns
- Extract Period: The billing month/year is extracted from the statement
- Rename: File is renamed to
ClientName_YYYY-MM.pdf - Upload: Sent to Paperless with the client's tag and "Bank" correspondent attached
📁 File Naming Format
Files are automatically renamed using this format:
{ClientName}_{Year}-{Month}.pdf
Example: Rahul_Sharma_2024-03.pdf
❓ Troubleshooting
Make sure the correct password is in your password list. Try different formats (with/without spaces, uppercase).
Check your match patterns. Make sure they're unique to each client. Use longer patterns if needed.
Verify your Paperless-ngx instance is accessible and the API token is valid.
The app looks for statement dates, billing periods, or the latest date in the document. Manual renaming in Paperless may be needed for unusual formats.
🔗 Integration with Paperless-ngx
This app integrates with Paperless-ngx using the following:
- API Endpoint:
/api/documents/post_document/ - Tags: Created as "Client: {Name}" with your chosen color
- Correspondent: All uploads use "Bank" as the correspondent
- Workflows: Documents arrive pre-tagged, triggering your Paperless workflows immediately