{"uid":"cap_OYRSFl_zsZeSjsfYH-TJI","slug":"strale-invoice-extract-c6328f60","name":"Strale Invoice Extract","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/invoice-extract","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"url":{"type":"string","description":"URL to invoice image or PDF"},"base64":{"type":"string","description":"Base64-encoded invoice file"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.54","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.54/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.54","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.54","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VEb40H5mHJ6Ulfz3oOo7H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.54","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured data fields from invoice images or PDFs submitted as a URL or base64-encoded file","exampleAgentPrompt":"Can you extract all the structured data from this invoice — vendor name, invoice number, line items, totals, and due date? Here's the PDF: https://invoices.example.com/inv-20240512.pdf","exampleUseCases":[{"title":"Automated accounts payable processing","prompt":"I have an invoice PDF at https://docs.acme.com/invoices/inv-001.pdf — can you extract the vendor name, invoice number, line items, amounts, and due date so I can enter it into our accounting system?"},{"title":"Scanned invoice digitization","prompt":"I've uploaded a scanned invoice image as a base64 file. Please extract all the fields — supplier details, invoice date, itemized costs, tax, and total — so I don't have to type it in manually."},{"title":"Invoice validation before payment","prompt":"Before we process this payment, pull the structured data out of this invoice at https://vendor.co/bill-2024-Q2.pdf and tell me the total amount due, the invoice number, and the payment terms."}],"resultDescription":"Returns structured JSON containing extracted invoice fields such as vendor name, buyer details, invoice number, issue and due dates, line items with descriptions and amounts, subtotals, tax, and grand total, along with a cryptographic audit record for verification and traceability.","failureModes":["Unreadable or low-quality scan causes incomplete extraction","URL is inaccessible or returns a non-document response","Base64 payload is malformed or corrupted","File format is unsupported beyond PDF and common image types","Invoice layout is highly non-standard causing field misidentification","Network timeout if source URL is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract structured fields from invoice documents (PDFs or images) and require a verifiable audit trail with cryptographic chain hashing. Ideal for accounts payable automation, expense reconciliation, and compliance workflows where both accuracy and auditability matter. Prefer over generic OCR services when you specifically need invoice-domain intelligence and structured output rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:20:00.983Z","isFirstParty":false}