{"uid":"cap_ua0TE52K4elB1VWInH-wg","slug":"invoice-extract-99828fdc","name":"Invoice Extract","description":"Verified invoice extraction for autonomous agents - PDF to structured JSON with arithmetic reconciliation and honest confidence","url":"https://invoice-extract.fly.dev/v1/bazaar/invoice/extract","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"file_url":{"type":"string","format":"uri","description":"Public https URL of a PDF invoice to extract."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xfHz5O-Rb7wIiBHNefSSM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON data from a PDF invoice URL, with arithmetic reconciliation and confidence scoring","exampleAgentPrompt":"Can you extract all the invoice data from this PDF — vendor name, line items, totals, and dates — and let me know if the arithmetic checks out? Here's the URL: https://example.com/invoices/inv-2024-0042.pdf","exampleUseCases":[{"title":"Accounts payable automation pipeline","prompt":"I just received a vendor invoice as a PDF at https://acme.com/invoice-march.pdf — can you pull out all the structured data including line items, totals, and due date, and flag if the numbers don't add up?"},{"title":"Expense report verification","prompt":"We have a supplier invoice PDF at https://storage.example.com/supplier-inv-8821.pdf — extract the line items and totals and tell me whether the arithmetic reconciles correctly so I can approve it."},{"title":"Invoice ingestion for ERP system","prompt":"I need to import this contractor invoice into our system — can you parse the PDF at https://contractor.io/invoice-q1.pdf into structured JSON with all the fields like amount, tax, and vendor info?"}],"resultDescription":"A structured JSON object containing extracted invoice fields such as vendor name, invoice number, issue date, due date, line items (description, quantity, unit price, subtotal), subtotals, tax amounts, grand total, and a confidence score indicating how reliably the arithmetic reconciles across the extracted figures.","failureModes":["PDF URL is not publicly accessible or returns 403/404 — extraction fails with an access error","PDF is scanned/image-based with poor OCR quality — low confidence score or missing fields","Invoice format is highly non-standard or handwritten — partial extraction with low confidence","URL points to a non-PDF file type — endpoint returns an error or empty result","Arithmetic does not reconcile — returned with a low confidence flag, not an error per se","Network timeout fetching large PDF files"],"whenToPreferThis":"Choose this endpoint when you need to extract structured, machine-readable data from a PDF invoice with built-in arithmetic validation — particularly useful in autonomous agent pipelines where you need reliable confidence signals before passing data downstream to accounting or ERP systems. Prefer it over generic OCR tools when invoice-specific field recognition and reconciliation checks are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:08.285Z","isFirstParty":false}