{"slug":"api-fadeandco-workers-dev-api-agent-intel-invoice-document-o-a69c12","title":"Extracts vendor name, tax ID, line items, net subtotal, VAT rates and payment de","host":"api.fadeandco.workers.dev","method":"POST","resource":"https://api.fadeandco.workers.dev/api/agent-intel/invoice-document-ocr","category":"image","description":"Extracts vendor name, tax ID, line items, net subtotal, VAT rates and payment details (IBAN, BIC) from an invoice image (PNG or JPEG, a public https URL or base64, up to 4 MB) sent straight to a Cloudflare Workers AI vision model. Model output is parsed as JSON and checked for the expected keys; unp","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":40,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:10","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:480","eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","stellar:pubnet","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"imageUrl":"https://thumb.wikimedia.org/wikipedia/commons/thumb/b/bc/Volkswagen_Invoice.jpg/960px-Volkswagen_Invoice.jpg"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"imageBase64":{"description":"Or the image itself: base64 data (no data: prefix), up to 4 MB decoded","type":"string"},"imageUrl":{"description":"Public https URL of the invoice image (PNG or JPEG), up to 4 MB","type":"string"},"mime":{"description":"With imageBase64: image/png or image/jpeg (default image/png)","type":"string"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":40,"error":null}],"description_full":"Extracts vendor name, tax ID, line items, net subtotal, VAT rates and payment details (IBAN, BIC) from an invoice image (PNG or JPEG, a public https URL or base64, up to 4 MB) sent straight to a Cloudflare Workers AI vision model. Model output is parsed as JSON and checked for the expected keys; unparseable output is an error, not a guess. Requires the env.AI binding.","last_updated":"2026-10-24T00:11:17.592Z","schemes":["exact"]}