日本iframe / script
消費税計算機をサイトに埋め込む
iframeまたはスクリプトで、日本の消費税計算機(初期税率10%)をサイトに埋め込み、税率・モード・テーマを変更できます。
iframe - 消費税を計算
税抜価格に加える金額、または税込合計から取り除く金額を確認するための計算式です。
iframe URL
https://tax.yurkap.com/widget/vat-calculator?rate=10&mode=add&theme=light&lang=ja-JP<iframe src="https://tax.yurkap.com/widget/vat-calculator?rate=10&mode=add&theme=light&lang=ja-JP" title="消費税を計算" height="420" loading="lazy" style="border:0;width:100%;max-width:100%;"></iframe>script - 消費税を計算
消費税を計算 data-rate/ data-mode / data-theme.
script URL
https://tax.yurkap.com/widget/vat-calculator.js?lang=ja-JP<script async src="https://tax.yurkap.com/widget/vat-calculator.js?lang=ja-JP" data-rate="10" data-mode="add" data-theme="light" data-lang="ja-JP"></script>計算機へのリンク(任意)
計算機が役に立ったら、iframeの外にフル版へのリンクを追加できます。任意です。リンクがなくてもウィジェットは同じように動き、いつでも外せます。
<a href="https://tax.yurkap.com/ja-JP">Yurkap</a>簡単な例
- rate
- 消費税 (%): 10, 8, 0.
- mode
add= 税を加算;remove= 税を除外.- theme
- light, dark or auto.
消費税の計算式と例
Recommended iframe: /widget/vat-calculator?rate=10&mode=add&theme=light
add = 税を加算; remove = 税を除外; theme = light / dark / auto.