{"api":"v1","generated_at":"2026-09-15T23:47:01.046Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/doc-extract-api-thestarboy9696-4ef-workers-dev-extract-invoice-a616b2","pinned_page":"https://tollindex.com/e/doc-extract-api-thestarboy9696-4ef-workers-dev-extract-invoice-a616b2/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"doc-extract-api-thestarboy9696-4ef-workers-dev-extract-invoice-a616b2","canonical_url":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/invoice","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/invoice","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"SchemaLock — extract structured JSON data from an invoice PDF or image (vendor, line items, subtotal, tax, total, dates, payment terms). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.","service_name":"SchemaLock","declared_category":null,"declared_tags":["invoice","pdf","json","document-extraction","accounts-payable"],"route_template":null,"registry_updated":"2026-09-08T19:24:45.166Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"extract invoice","category":"scraping","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.02 USDC","amount_units":0.02,"decimals_known":true,"pay_to":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":4,"unique_payers_30d":2,"last_called_at":"2026-09-08T19:24:42.573Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:07:04.443Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:07:04.443Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T05:38:13.616Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:32:02.182Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T07:48:52.827Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T11:40:40.705Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","page":"https://tollindex.com/seller/0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","endpoints":5,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["invoice","pdf","json","document-extraction","accounts-payable"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","amount":"20000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-08T19:24:42.573Z","l30DaysTotalCalls":4,"l30DaysUniquePayers":2},"resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/invoice","extensions":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of an invoice, max 15MB>"},"type":"http","method":"POST","bodyType":"form-data"},"output":{"type":"json","example":{"data":{"tax":7.44,"total":100.44,"vendor":{"name":"Acme Supply Co.","tax_id":"12-3456789","address":"123 Industrial Ave, Springfield, IL 62701"},"bill_to":{"name":"Brandon Strouse","address":"55 Market St, Austin, TX 78701"},"currency":"USD","due_date":"2026-08-31","subtotal":93,"confidence":{"fields":{"total":0.99,"vendor":0.99},"overall":0.97},"line_items":[{"amount":45,"quantity":10,"unit_price":4.5,"description":"Widget A (steel)"},{"amount":30,"quantity":25,"unit_price":1.2,"description":"Widget B (plastic)"},{"amount":18,"quantity":1,"unit_price":18,"description":"Shipping crate"}],"invoice_date":"2026-08-01","payment_terms":"Net 30","invoice_number":"INV-20268"},"retried":false,"validation_warnings":[]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"SchemaLock — extract structured JSON data from an invoice PDF or image (vendor, line items, subtotal, tax, total, dates, payment terms). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.","lastUpdated":"2026-09-08T19:24:45.166Z","serviceName":"SchemaLock","x402Version":2}]}}