Japan Electronic Bookkeeping Compliance API

Japan's Electronic Bookkeeping Act (電子帳簿保存法) requires specific compliance items for digital invoices and ledgers. Torify provides a structured compliance checklist verifier.

Endpoint

POST https://torify.dev/v1/eltax/check

Parameters

No parameters.

Response example

{ "ok": true, "data": { "compliant": true, "checklist": [] } }

Code examples

curl

curl -X POST "https://torify.dev/v1/eltax/check" \
  -H "Content-Type: application/json" \
  -d '{}'

TypeScript (x402-fetch)

import { wrapFetchWithPayment } from 'x402-fetch';
import { privateKeyToAccount } from 'viem/accounts';

const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);
const fetchWithPayment = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPayment(
  'https://torify.dev/v1/eltax/check'
);
const data = await res.json();
console.log(data); // { ok: true, data: { ... } }

Python (requests)

import requests

# POST endpoint — JSON body required
res = requests.post(
    "https://torify.dev/v1/eltax/check",
    headers={"X-API-Key": "your_torify_pro_key"}, json={
    # (no required body fields)
    }
)
print(res.json())

Related endpoints

← All 36 endpoints

Pricing

$0.02 per call via x402 (USDC on Base). Or use a Pro API key ($49/mo, 10,000 calls/month).