{
  "x402Version": 2,
  "id": 31258,
  "slug": "31258",
  "resource": "https://mart402.com/v1/jp-retirement-tax",
  "description": "Japan retirement income tax: deduction by years of service, half-taxation with short-term/officer exceptions, exact withholding rounding (1-yen floor), resident tax 6+4 percent split. $0.02/call.",
  "type": "http",
  "serviceName": "Mart402",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "payout_yen": 20000000,
            "years_of_service": 30
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "description": "JSON: deduction, taxable, income tax, resident tax, net payout, half-taxation flag",
          "example": {
            "as_of": null,
            "assumptions": [],
            "billable": true,
            "breakdown": [],
            "carried_forward": [],
            "disclaimer": "仮定条件に基づく概算試算。税務相談・手続代行・法律相談ではない。申告・届出への使用不可。確定額は官公署または税理士・社会保険労務士等に確認のこと。",
            "not_covered": [
              "106万円の壁の2026年以降の要件見直し",
              "乙欄・丙欄",
              "住宅ローン控除以外の税額控除",
              "分離課税(株式・不動産譲渡)",
              "合計所得2350万円超の基礎控除逓減",
              "固定残業代の有効性判断",
              "変形労働時間制",
              "年の中途の年末調整",
              "従たる給与",
              "扶養手当等の企業independent基準",
              "日額表",
              "管理監督者の判定",
              "自治体独自の超過課税(横浜市・名古屋市等)",
              "裁量労働制",
              "非居住者・年の中途入退社の年調"
            ],
            "note": "SAMPLE RESPONSE generated by the exact deterministic engine that serves production (jp-statutory has no LLM: same input always produces this byte-identical result, carrying the same rules_version and cited primary sources). Served free at /samples/{product} so you can verify the response shape, the rules_version field and the source citations before paying. No payment was taken. The sample_input shown is the catalog example input that produced this output.",
            "ok": true,
            "result": {
              "deduction_yen": 15000000,
              "half_taxation": true,
              "income_tax_yen": 155702,
              "net_yen": 19594298,
              "resident_tax_yen": 250000,
              "taxable_yen": 2500000
            },
            "rules_version": "2026.08.18",
            "sample": true,
            "sample_input": {
              "payout_yen": 20000000,
              "years_of_service": 30
            },
            "sources": [
              "https://www.nta.go.jp/publication/pamph/gensen/zeigakuhyo2026/data/17-18.pdf",
              "https://www.nta.go.jp/taxes/shiraberu/taxanswer/shotoku/2260.htm",
              "https://www.tax.metro.tokyo.lg.jp/kazei/kojin_ju.html"
            ],
            "summary": "退職金20,000,000円(勤続30年) -> 手取り19,594,298円(退職所得控除15,000,000円・所得税155,702円・住民税250,000円)",
            "tool": "jp-retirement-tax",
            "unverified_rules": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "payout_yen": {
                    "type": "number"
                  },
                  "years_of_service": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "jws",
            "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiIyMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweEUzMjQ0YTIxRDBkNjhiRmE3OGI3Q0FkOEMzYjg3NzdhREZiQjMxODgiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vbWFydDQwMi5jb20vdjEvanAtcmV0aXJlbWVudC10YXgiLCJzY2hlbWUiOiJleGFjdCIsInZhbGlkVW50aWwiOjE3OTE0Mzk5OTgsInZlcnNpb24iOjF9.vOmoBBGjDVwpmauofLIAfwO1hA0_wmcUFIl3APP_4O6KYyB2uJbHC2QXk1rx249oNQsoofZXSaeq77hNKpitBw"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "const": "jws",
                  "type": "string"
                },
                "signature": {
                  "description": "JWS compact serialization containing the offer payload",
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "offer-receipt"
  ],
  "sourceHost": "mart402.com",
  "lastUpdated": "2026-10-08T06:08:18.442Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:18.318Z"
  },
  "metadata": {
    "serviceName": "Mart402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "payout_yen": 20000000,
              "years_of_service": 30
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "description": "JSON: deduction, taxable, income tax, resident tax, net payout, half-taxation flag",
            "example": {
              "as_of": null,
              "assumptions": [],
              "billable": true,
              "breakdown": [],
              "carried_forward": [],
              "disclaimer": "仮定条件に基づく概算試算。税務相談・手続代行・法律相談ではない。申告・届出への使用不可。確定額は官公署または税理士・社会保険労務士等に確認のこと。",
              "not_covered": [
                "106万円の壁の2026年以降の要件見直し",
                "乙欄・丙欄",
                "住宅ローン控除以外の税額控除",
                "分離課税(株式・不動産譲渡)",
                "合計所得2350万円超の基礎控除逓減",
                "固定残業代の有効性判断",
                "変形労働時間制",
                "年の中途の年末調整",
                "従たる給与",
                "扶養手当等の企業independent基準",
                "日額表",
                "管理監督者の判定",
                "自治体独自の超過課税(横浜市・名古屋市等)",
                "裁量労働制",
                "非居住者・年の中途入退社の年調"
              ],
              "note": "SAMPLE RESPONSE generated by the exact deterministic engine that serves production (jp-statutory has no LLM: same input always produces this byte-identical result, carrying the same rules_version and cited primary sources). Served free at /samples/{product} so you can verify the response shape, the rules_version field and the source citations before paying. No payment was taken. The sample_input shown is the catalog example input that produced this output.",
              "ok": true,
              "result": {
                "deduction_yen": 15000000,
                "half_taxation": true,
                "income_tax_yen": 155702,
                "net_yen": 19594298,
                "resident_tax_yen": 250000,
                "taxable_yen": 2500000
              },
              "rules_version": "2026.08.18",
              "sample": true,
              "sample_input": {
                "payout_yen": 20000000,
                "years_of_service": 30
              },
              "sources": [
                "https://www.nta.go.jp/publication/pamph/gensen/zeigakuhyo2026/data/17-18.pdf",
                "https://www.nta.go.jp/taxes/shiraberu/taxanswer/shotoku/2260.htm",
                "https://www.tax.metro.tokyo.lg.jp/kazei/kojin_ju.html"
              ],
              "summary": "退職金20,000,000円(勤続30年) -> 手取り19,594,298円(退職所得控除15,000,000円・所得税155,702円・住民税250,000円)",
              "tool": "jp-retirement-tax",
              "unverified_rules": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "payout_yen": {
                      "type": "number"
                    },
                    "years_of_service": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "offer-receipt": {
        "info": {
          "offers": [
            {
              "acceptIndex": 0,
              "format": "jws",
              "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiIyMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweEUzMjQ0YTIxRDBkNjhiRmE3OGI3Q0FkOEMzYjg3NzdhREZiQjMxODgiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vbWFydDQwMi5jb20vdjEvanAtcmV0aXJlbWVudC10YXgiLCJzY2hlbWUiOiJleGFjdCIsInZhbGlkVW50aWwiOjE3OTE0Mzk5OTgsInZlcnNpb24iOjF9.vOmoBBGjDVwpmauofLIAfwO1hA0_wmcUFIl3APP_4O6KYyB2uJbHC2QXk1rx249oNQsoofZXSaeq77hNKpitBw"
            }
          ]
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "offers": {
              "items": {
                "properties": {
                  "acceptIndex": {
                    "type": "integer"
                  },
                  "format": {
                    "const": "jws",
                    "type": "string"
                  },
                  "signature": {
                    "description": "JWS compact serialization containing the offer payload",
                    "type": "string"
                  }
                },
                "required": [
                  "format",
                  "signature"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "offers"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mart402.com",
    "manifest_name": "mart402.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}