{"slug":"agentsvc-io-api-v1-proxy-invoice-extract-bc5497","title":"Invoice data extraction for accounting agents","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/invoice-extract","category":"image","description":"Invoice data extraction for accounting agents: PDF, photo or XRechnung / ZUGFeRD / Factur-X XML to JSON (number, dates, seller and buyer with VAT ID, line items, tax per rate, totals, IBAN, payment terms). E-invoices are read exactly from the embedded XML, without AI; plain PDFs and photos by Claude","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1185,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"pdf_url":"https://agentsvc.io/samples/zugferd-invoice.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"image_base64":{"description":"Photo as base64","type":"string"},"image_url":{"description":"Photo or scan URL","type":"string"},"pdf_base64":{"description":"PDF as base64","type":"string"},"pdf_url":{"description":"PDF URL; or send one of the other inputs","type":"string"},"validate":{"default":true,"description":"Check VAT ID and IBAN","type":"boolean"},"xml":{"description":"XRechnung/ZUGFeRD XML text","type":"string"},"xml_url":{"description":"XML URL","type":"string"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"buyer":{"type":"object"},"buyer_reference":{"type":"string"},"checks":{"type":"object"},"currency":{"type":"string"},"delivery_date":{"type":"string"},"due_date":{"type":"string"},"e_invoice":{"type":"object"},"extracted_at":{"type":"string"},"invoice_number":{"type":"string"},"issue_date":{"type":"string"},"lines":{"type":"array"},"model":{},"notes":{"type":"array"},"order_reference":{},"payment":{"type":"object"},"seller":{"type":"object"},"service_period":{},"source":{"type":"string"},"tax_breakdown":{"type":"array"},"totals":{"type":"object"},"type":{"type":"string"},"type_code":{"type":"string"},"warnings":{"type":"array"}},"required":["source","e_invoice","invoice_number","seller","lines","totals","checks","warnings"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1185,"error":null}],"description_full":"Invoice data extraction for accounting agents: PDF, photo or XRechnung / ZUGFeRD / Factur-X XML to JSON (number, dates, seller and buyer with VAT ID, line items, tax per rate, totals, IBAN, payment terms). E-invoices are read exactly from the embedded XML, without AI; plain PDFs and photos by Claude Haiku 5.5. Every result is checked: totals add up, seller VAT ID in EU VIES, IBAN and BIC. Says whether the file is a real EN 16931 e-invoice. Up to 15 MB.","last_updated":"2026-10-11T11:59:39.75Z","schemes":["exact"]}