AI Agents Reference6 min read• Updated October 2026
Invoice Auditor Agent (planned, not yet available)
Cross-checks unit costs, calculates line-item multiplications, audits dynamic sales tax, and verifies grand totals.
Overview
PDFparse's public API, SDKs and webhooks are planned and not available yet; the examples below are previews of the intended design. The Invoice Auditor agent ingests complex invoices, bills of entry, and merchant vouchers. It performs multi-item row verification, recalculates vendor math, and flags discrepancy variances exceeding $0.01.
Key Specifications & Highlights
Calculates Line Item Subtotals: Multiplies extracted unit price with item count to catch supplier rounding errors.
Tax Compliance Auditing: Detects whether VAT/GST/State Sales Tax percentages match the calculated tax line.
Multi-Currency Normalization: Detects ISO currency symbols and normalizes formatting into standardized numerical fields.
Instant Export: Provides structured schema output downloadable as JSON, TSV, or formula-preserved XLSX.
Implementation Snippet
CURL • Production Endpoint
curl -X POST "https://api.pdfparse.dev/v1/agents/invoice-auditor/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@march_supplier_invoice.pdf" \
-F "exportFormat=json"Sample Output Payload (JSON Schema)
Standard Output FormatZero Hallucinations Verified
{
"agent": "invoice-auditor",
"documentId": "inv_88291f0",
"vendor": {
"name": "Acme Global Freight LLC",
"taxId": "XX-XXXXX910"
},
"auditSummary": {
"mathDiscrepanciesFound": false,
"calculatedGrandTotal": 14250.00,
"statedGrandTotal": 14250.00,
"variance": 0.00
},
"lineItems": [
{
"description": "Standard Pallet Freight 40ft",
"quantity": 10,
"unitPrice": 1200.00,
"total": 12000.00,
"isVerified": true
},
{
"description": "Fuel Surcharge 18.75%",
"quantity": 1,
"unitPrice": 2250.00,
"total": 2250.00,
"isVerified": true
}
]
}