{"uid":"cap_pbT6hnkW9f2Mca36tcrCj","slug":"japanese-invoice-extractor-687ccb34","name":"Japanese Invoice Extractor","description":"This endpoint extracts invoice registration numbers (T + 13 digits, with check-digit validation), total, subtotal, consumption tax with 8%/10% breakdown, and issue/due dates (Reiwa era converted to ISO) from Japanese invoice or receipt text using deterministic rules. Input is plain text only (no images or PDF). Registration numbers are checked by check digit only, not against the National Tax Agency registry. Malformed amounts are skipped and listed in warnings.","url":"https://invoice-extract-jp.threads-cron.workers.dev/v1/invoice/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":1,"description":"Plain text of a Japanese invoice or receipt (OCR output is fine). Full-width characters are normalized."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZYhS8AhHGIFwi6YnBrgu2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts invoice registration numbers, totals, taxes (8%/10% breakdown), and dates from Japanese invoice or receipt plain text using deterministic rules","exampleAgentPrompt":"Can you pull out the invoice registration number, total, subtotal, the 8% and 10% consumption tax amounts, and the issue and due dates from this Japanese invoice text I just OCR'd?","exampleUseCases":[{"title":"Accounts payable automation for Japanese invoices","prompt":"I have a batch of OCR'd Japanese invoices — here's one: can you extract the T-number, the total, subtotal, and the 8%/10% consumption tax breakdown, plus the issue date and due date so I can log it in our system?"},{"title":"Compliance check for qualified invoice registration number","prompt":"I need to verify the invoice registration number on this Japanese receipt text and confirm it's a properly formed T + 13 digit number with a valid check digit — can you extract it and flag anything that looks wrong?"},{"title":"Reiwa era date conversion for bookkeeping","prompt":"This Japanese invoice has dates written in Reiwa era format — can you parse the text and give me the issue date and due date converted to ISO format, along with the total and tax amounts?"}],"resultDescription":"Returns structured JSON containing the extracted invoice registration number (T + 13 digits with check-digit validation status), total amount, subtotal, consumption tax amounts broken down by 8% and 10% rates, issue date and due date converted from Reiwa era to ISO 8601 format, and a warnings array listing any malformed or skipped amounts encountered during parsing.","failureModes":["Text exceeds 5000 character limit — request rejected","Empty or missing text field — validation error","No invoice registration number found in text — field returned null","Malformed amounts skipped and listed in warnings array rather than causing failure","Registration number fails check-digit validation — flagged in output but not verified against NTA registry","Image or PDF input provided instead of plain text — not supported, must be pre-converted to text","Reiwa era dates not recognized if formatting is non-standard"],"whenToPreferThis":"Choose this endpoint when you have Japanese invoice or receipt content already in plain text (including OCR output) and need structured extraction of Japanese-specific fields: the qualified invoice registration number (T-number), consumption tax split by 8% and 10% rates, Reiwa calendar dates converted to ISO, and totals — all via fast deterministic rules without LLM overhead or NTA registry lookup latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:35:36.912Z","isFirstParty":false,"canonicalSlug":"japanese-invoice-extractor-687ccb34"}