{"uid":"cap_9qffkItM0HFjvN_ZdXMe-","slug":"denpyo-japan-invoice-receipt-ocr-qualified-invoice-verifier-3a1c99fe","name":"Denpyo Japan Invoice & Receipt OCR + Qualified Invoice Verifier","description":"Japanese receipt (領収書/レシート) → normalized JSON + qualified-invoice verification in one call. OCR: merchant, date & time, items, totals and the 8%/10% consumption-tax breakdown. The registration number (T+13 digits) is extracted and verified against the National Tax Agency registry, so an expense agent knows instantly whether the receipt supports input-tax credit (仕入税額控除). Send {\"url\"} or {\"base64\"} (photo or PDF). First page. Failed analyses are not charged.","url":"https://denpyo-api.hp-vladic.workers.dev/read/receipt","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL of a PDF/JPEG/PNG/TIFF/HEIF document"},"base64":{"type":"string","description":"Base64-encoded document bytes (alternative to url), max ~8MB"}}},"responseSchema":{"type":"json","example":{"items":[{"quantity":null,"totalPrice":140,"description":"おにぎり ツナマヨ"}],"amounts":{"tax":36,"total":456,"currency":"JPY","subtotal":420,"taxBreakdown":[{"tax":21,"rate":8,"taxableAmount":270},{"tax":15,"rate":10,"taxableAmount":150}]},"docType":"receipt","merchant":{"name":"セブン-イレブン 豊田市駅前店","phone":"0565-31-1234","address":"愛知県豊田市西町1-200","registrationNumber":"T8020001012611"},"transaction":{"date":"2026-07-15","time":"12:34"},"pagesProcessed":1,"qualifiedInvoice":{"status":"active","verdict":"qualified","registrationNumber":"T8020001012611"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eb7akgjjYLzk2fJ8CewZh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON from Japanese invoices and receipts (including line items and 8%/10% tax breakdown) and verifies the qualified-invoice registration number (T番号) against the National Tax Agency registry in a single call.","exampleAgentPrompt":"I have a photo of a receipt from セブン-イレブン — can you extract all the line items, totals, and 8%/10% tax split from it, and verify that the qualified invoice registration number (T番号) is active in the National Tax Agency registry?","exampleUseCases":[{"title":"AP automation for Japanese vendor invoices","prompt":"We just received a batch of Japanese invoices from our supplier — can you read this invoice image, pull out the vendor name, all line items, the consumption tax breakdown between 8% and 10%, and confirm that the T番号 on it is currently registered and active with the NTA?"},{"title":"Employee expense report processing","prompt":"I've got a photo of a receipt from a business lunch in Japan — please extract the merchant details, itemized purchases, the tax breakdown, and check whether the restaurant's qualified invoice number is valid so I can submit this for reimbursement."},{"title":"Pre-payment fraud check on Japanese supplier","prompt":"Before we wire payment to this new Japanese vendor, can you scan their invoice, extract all the details including their invoice registration number, and verify it against the National Tax Agency registry to make sure it's active and the registered name matches?"}],"resultDescription":"A JSON object containing: document type (invoice or receipt), merchant info (name, address, phone, registration number), transaction date and time, line items with descriptions and prices, amounts (subtotal, tax, total in JPY) with a per-rate tax breakdown (8% and 10% buckets), pages processed, and a qualifiedInvoice block with the T番号, its NTA registry status (active/cancelled), and a verdict (qualified/unqualified).","failureModes":["Blurry or low-resolution image may result in extraction errors or missing fields","Registration number not found in NTA registry returns unqualified verdict","Non-Japanese invoices or receipts will not parse correctly","Handwritten documents may have lower extraction accuracy","Insufficient USDC balance or payment failure via x402 returns a payment-required error","Malformed or missing T番号 on the document results in null registration number and no verification"],"whenToPreferThis":"Choose this endpoint when you need to process Japanese-language invoices or receipts and require both structured data extraction AND real-time qualified invoice (適格請求書) number verification against the NTA registry in a single API call. It is especially suitable for AP automation pipelines, expense processing systems, and pre-payment fraud checks that must confirm a Japanese supplier's tax registration status without managing separate OCR and verification services. It is not suitable for non-Japanese documents or for cases where only the T番号 needs to be verified without an accompanying document image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:23.519Z","isFirstParty":false}