Invoice Data Extraction (EU e-invoice)
invoice_extractInvoice 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. Price: $0.02 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"pdf_url":"https://agentsvc.io/samples/zugferd-invoice.pdf"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | XRechnung/ZUGFeRD XML text | |
| pdf_url | No | PDF URL; or send one of the other inputs | |
| xml_url | No | XML URL | |
| validate | No | Check VAT ID and IBAN | |
| image_url | No | Photo or scan URL | |
| pdf_base64 | No | PDF as base64 | |
| image_base64 | No | Photo as base64 |