Jp Crypto Tax
jp_crypto_taxJapan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible), verified against the official NTA FAQ examples. $0.05/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year | |
| as_of | No | Calculation reference date YYYY-MM-DD (default today); selects the rules version | |
| method | No | One of: total_average, moving_average. Cost method: total_average or moving_average | total_average |
| opening | No | Carried-over holdings [{asset, qty, cost_jpy}] | |
| x_payment | No | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. | |
| transactions | Yes | Crypto transactions list (max 300) - see /catalog input spec | |
| other_taxable_income_yen | No | Other taxable income in yen (returns incremental income tax as reference) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON body of the underlying call (see /samples/{product} for each product's shape) | |
| status | Yes | HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error) | |
| how_to_pay | No | ||
| receipt_id | No | set on paid results; free re-fetch via get_receipt | |
| payment_required | No | true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment |