← Back to directory

Invoice pipeline in one call: PDF to structured Markdown (hallucination-guarded ...

https://mart402.com/v1/document-pipeline

Overview

Invoice pipeline in one call: PDF to structured Markdown (hallucination-guarded OCR), invoice field extraction, arithmetic verification, optional issuer enrichment. Flat $0.05/document (text PDFs to 20 pages, scans to 3).

Protocol x402 (POST)
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Mart402
Source bazaar
Indexed 2026-09-28 01:20:17

Health

Status healthy
Latency (p50) 640ms
Uptime (30d) 93.9%
Reliability Score 87/100
Last Checked 2026-10-31 07:08:31
Last Healthy 2026-10-31 07:08:31
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "enrich": false, "url": "https://mart402.com/samples/assets/doc.pdf" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "description": "JSON: stages{parse(markdown+ocr_quality), fields(invoice JSON), verify(checks), enrich?}; receipt id for free re-fetch", "example": { "flat_price_usd": 0.05, "note": "ILLUSTRATIVE SAMPLE showing the exact response shape, composed from real component outputs (parse/verify samples recorded 2026-07-27); this bundled product itself had no production calls when this sample was written. LLM-backed, production only. No payment was taken.", "ok": true, "sample": true, "stages": { "fields": { "data": { "currency": "JPY", "customer": "Example Buyer Inc.", "due_date": "2026-08-31", "invoice_no": "INV-2026-0731", "issue_date": "2026-07-31", "line_items": [ [ "consulting", 1, 10000, 10000 ] ], "reg_no": "T0123456789012", "subtotal": "10000", "tax_jpy": "1000", "total_jpy": "11000", "vendor": "Example Seller K.K." }, "ok": true }, "parse": { "chars": 1620, "ok": true, "pages": 1, "route": "embedded" }, "verify": { "checks": [ { "check": "tax_rate_10pct", "pass": true }, { "check": "line_items_sum_eq_subtotal", "pass": true }, { "check": "invoice_reg_no_checkdigit", "pass": true } ], "corp_registry": { "note": "existence only - NOT qualified-invoice-issuer registration status", "source": "Japan NTA corporate number registry", "status": "found", "vendor_name_match": "exact" }, "ok": true, "verified": true } } }, "type": "json" }