{"partialResults":false,"resources":[{"accepts":[{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D","scheme":"exact"}],"description":"Use when an agent has the text of a Japanese invoice or receipt (e.g. OCR output) and needs exact amounts without LLM misreads. Returns registration number (T+13, check digit only, not an NTA registry lookup), total, subtotal, 8%/10% tax breakdown and issue/due dates (Reiwa to ISO). Deterministic rules; text only, no images/PDF. Errors before payment (no charge): 400 body not {text} or over 5000 chars, 413 over 32KB, 429 rate limit. 502 if payment is unavailable.","extensions":{"bazaar":{"info":{"input":{"body":{"text":"請求書\n発行日 令和8年10月22日\n登録番号 T7000012050002\n小計 ¥10,000\n消費税 ¥1,000\nご請求金額 ¥11,000\nお支払期限 2026/11/30"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"amounts":{"subtotal":{"raw":"¥10,000","value":10000},"tax":{"raw":"¥1,000","value":1000},"taxBreakdown":[],"total":{"raw":"¥11,000","value":11000}},"dates":{"allDates":["2026-10-22","2026-11-30"],"dueDate":{"raw":"2026/11/30","value":"2026-11-30"},"issueDate":{"raw":"令和8年10月22日","value":"2026-10-22"}},"registrationNumbers":[{"checkDigit":"valid","value":"T7000012050002"}],"warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"text":{"description":"Plain text of a Japanese invoice or receipt (OCR output is fine). Full-width characters are normalized.","maxLength":5000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"},"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"},"output":{"properties":{"example":{"properties":{"amounts":{"properties":{"subtotal":{"properties":{"raw":{"type":"string"},"value":{"description":"Amount in JPY (negative if marked with - or ▲)","type":"integer"}},"required":["value","raw"],"type":["object","null"]},"tax":{"properties":{"raw":{"type":"string"},"value":{"description":"Amount in JPY (negative if marked with - or ▲)","type":"integer"}},"required":["value","raw"],"type":["object","null"]},"taxBreakdown":{"items":{"properties":{"rate":{"enum":[8,10],"type":"integer"},"tax":{"properties":{"raw":{"type":"string"},"value":{"description":"Amount in JPY (negative if marked with - or ▲)","type":"integer"}},"required":["value","raw"],"type":["object","null"]},"taxableAmount":{"properties":{"raw":{"type":"string"},"value":{"description":"Amount in JPY (negative if marked with - or ▲)","type":"integer"}},"required":["value","raw"],"type":["object","null"]}},"required":["rate"],"type":"object"},"type":"array"},"total":{"properties":{"raw":{"type":"string"},"value":{"description":"Amount in JPY (negative if marked with - or ▲)","type":"integer"}},"required":["value","raw"],"type":["object","null"]}},"required":["total","subtotal","tax","taxBreakdown"],"type":"object"},"dates":{"properties":{"allDates":{"items":{"type":"string"},"type":"array"},"dueDate":{"properties":{"raw":{"type":"string"},"value":{"description":"ISO date YYYY-MM-DD","type":"string"}},"required":["value","raw"],"type":["object","null"]},"issueDate":{"properties":{"raw":{"type":"string"},"value":{"description":"ISO date YYYY-MM-DD","type":"string"}},"required":["value","raw"],"type":["object","null"]}},"required":["issueDate","dueDate","allDates"],"type":"object"},"registrationNumbers":{"items":{"properties":{"checkDigit":{"description":"Corporate-number check digit result; sole-proprietor numbers may show invalid","enum":["valid","invalid"],"type":"string"},"note":{"type":"string"},"value":{"description":"T + 13 digits","type":"string"}},"required":["value","checkDigit"],"type":"object"},"type":"array"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["registrationNumbers","amounts","dates","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-23T05:31:30.694Z","quality":{"l30DaysTotalCalls":26,"l30DaysUniquePayers":4,"lastCalledAt":"2026-11-23T05:31:30.278Z"},"resource":"https://invoice-extract-jp.threads-cron.workers.dev/v1/invoice/extract","serviceName":"Japanese Invoice Extractor","tags":["japan","invoice","extraction","accounting"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"vrwbhyfcgrju2aa"}}
