# Denpyo Japan Invoice & Receipt OCR + Qualified Invoice Verifier

> Denpyo Japan Invoice & Receipt OCR + Qualified Invoice Verifier is a paid API for AI agents from denpyo-api.hp-vladic.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: POST https://denpyo-api.hp-vladic.workers.dev/read/receipt
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/denpyo-japan-invoice-receipt-ocr-qualified-invoice-verifier-3a1c99fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9qffkItM0HFjvN_ZdXMe-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability denpyo-japan-invoice-receipt-ocr-qualified-invoice-verifier-3a1c99fe -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/denpyo-japan-invoice-receipt-ocr-qualified-invoice-verifier-3a1c99fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from denpyo-api.hp-vladic.workers.dev](https://www.zero.xyz/host/denpyo-api.hp-vladic.workers.dev/llms.txt)
