Invoice PDF to data
invoiceExtract structured billing data from public PDF links, including vendor, dates, totals, line items, and Excel links; text-based files only, with optional password support.
Instructions
Read invoice PDFs at public URLs into structured data. Each item is one invoice: invoice number, invoice and due dates, vendor, currency, subtotal, tax, total, line items (description, quantity, unit price, amount) and an Excel link. Text-based PDFs only, not scans. Cost: $5.00 per 1,000 invoices ($0.005 each) on the user's Apify account. Latency: usually 10-30 s.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pdf_urls": "<pdf_urls>"
},
"name": "invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_urls | Yes | Direct public links to PDF files (https://...). The file must download without a login. | |
| max_invoices | No | Stop after this many invoices. | |
| pdf_password | No | Optional. Password for protected PDFs. Leave empty otherwise. | |
| extract_line_items | No | Also read item rows. Off = header fields and totals only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||