Frequently Asked Questions
1. How does Papex calculate token usage for multi-page documents and multi-invoice detection?
Papex charges 1 token per page processed
Example
- If Multi-Invoice Detection is enabled, the system still consumes tokens per page.
- If a PDF contains 15 pages, it will consume 15 tokens.
- Even if those 15 pages contain only one invoice spread across all pages, it still consumes 15 tokens.
📌 Token usage = Number of pages processed
2. How can I securely integrate Papex with external systems using the API?
To integrate securely:
- Generate credentials from API Keys > Generate Credentials.
- Use X-Client-Id and X-Client-Secret in request headers.
- Supported endpoints include:
- POST - https://papex.sholas.io/v1/process – Upload and extract data
- GET - https://papex.sholas.io/v1/extracted – Fetch processed results
3. What happens if I upload a document without selecting the template?
Templates are mandatory for extraction.
- If no template is selected, the Extract Information button will be disabled.
- The system cannot infer fields without a defined template.
📌 Use AI Generate to auto-create templates from sample documents if unsure about field structure.
4. Can I push extracted data to external APIs automatically?
Yes - enable API Push in Settings > Settings:
- Toggle Api_push to Enabled.
- During extraction, Papex will send structured data to the configured endpoint.
- Ensure the external API is properly configured under Settings > External API.
📌 This is ideal for real-time integrations with ERP, CRM, or accounting systems.
5. What should I do if my document fails to process?
If a document fails to process:
-
Check the file format and size:
- Supported formats: PDF, JPG, JPEG, PNG
- Maximum size: 10MB
-
Ensure the selected template matches the document type.
-
Verify your token balance in Dashboard > Token Usage Overview.
6. Can I preview extracted data before pushing it to an external API?
Yes, Papex allows you to preview extracted data:
- After processing, view the JSON output in the Processing Results section.
- Use the View JSON option under the Actions menu in the Transactions Page.