{"uid":"cap_TFDXWlP-IZGp6sUSTCbAI","slug":"jp-local-pack-api-japan-payroll-salary-calculator-2fee79c6","name":"JP Local Pack API — Japan Payroll Salary Calculator","description":"Japan payroll / tax / social insurance / mynumber / corporate / invoice / holiday reference API for AI agents. x402 micropayments on Base. No API key.","url":"https://jp-local-pack-api.kasanegi123.workers.dev/api/payroll/calc-by-salary","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"fy":"2026","age":40,"_role":"shape_preview_echoes_query_for_paid_response","pref_code":"13","dependents":0,"disclaimer":"Reference calculation only. Consult a certified tax accountant (zeirishi) for legal compliance.","net_salary":0,"attribution":"<data sources>","_sample_note":"Unpaid 402 shape preview echoes the requested monthly_salary + age + dependents + pref_code; paid 200 computes deductions from D1 jpp_income_tax_table (NTA monthly table, Reiwa 8) + Kyokai Kenpo FY2026 prefecture rate.","_floor_applied":false,"monthly_salary":300000,"total_deduction":0,"_ceiling_applied":false,"income_tax_basis":"monthly-table-ko-clause-2026","pension_employee":0,"pension_rate_pct":9.15,"_shape_preview_note":"Numeric fields in this unpaid 402 shape preview are 0 placeholders. Real values require X-PAYMENT on production.","income_tax_withholding":0,"health_insurance_employee":0,"health_insurance_rate_pct":0,"employment_insurance_employee":0,"employment_insurance_rate_pct":0.5},"mimeType":"application/json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sKnv8I3-que26_XYuVQvT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates Japanese payroll deductions (income tax, health insurance, pension, employment insurance) from a monthly salary amount, applying NTA withholding tables and Kyokai Kenpo prefecture rates for a given fiscal year.","exampleAgentPrompt":"What would the take-home pay be for a 40-year-old employee in Tokyo (prefecture code 13) with no dependents earning 300,000 yen per month in FY2026 — break down the income tax withholding, health insurance, pension, and employment insurance deductions.","exampleUseCases":[{"title":"Quick payslip preview for new hire","prompt":"I just hired someone in Osaka earning 350,000 yen monthly. They're 28 years old with one dependent. Can you calculate their net pay and show me the breakdown of all deductions for FY2026 so I can give them an offer letter?"},{"title":"Compare take-home across Japanese prefectures","prompt":"We're considering relocating a 45-year-old manager from Tokyo to Fukuoka. Their salary would stay at 500,000 yen per month with two dependents. What's the difference in their actual take-home pay between these two prefectures under FY2026 rates?"},{"title":"Employee benefits planning and counseling","prompt":"One of our staff members is turning 35 next month and just had a second child in Nagoya. Their current salary is 280,000 yen monthly. Can you show me how their deductions will change with the dependent update, and what their new net salary will be?"}],"resultDescription":"Returns a JSON object with the computed net salary, itemized deductions (income tax withholding, health insurance employee share, pension employee share, employment insurance employee share), total deduction amount, the applicable rates for each deduction, the fiscal year, prefecture code, age, dependent count, and a disclaimer noting it is a reference calculation. The income_tax_basis field identifies the NTA monthly table clause used. Unpaid 402 preview returns 0-placeholder numeric fields.","failureModes":["HTTP 402 returned when X-PAYMENT header is absent or invalid — numeric fields return as 0 placeholders in shape preview","Invalid or out-of-range prefecture code may produce incorrect or null health insurance rates","Salary below floor or above ceiling triggers _floor_applied or _ceiling_applied flags in response","Unsupported fiscal year may result in missing or stale table data","Network timeout from Cloudflare Workers edge if origin D1 database is unavailable"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic Japanese payroll deduction estimate for a specific monthly salary, age, dependent count, and prefecture without maintaining local copies of NTA withholding tables or Kyokai Kenpo rate sheets. Ideal for AI agents automating HR calculations, payslip previews, or benefits planning in a Japan office context. Not a substitute for certified tax accountant advice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:01.908Z","isFirstParty":false}