Hitung PPN / Indonesian VAT
hitung_ppnMenghitung PPN Indonesia (aturan 2025+). Computes Indonesian VAT (PPN) from the price before tax, from DPP nilai lain, or backwards from a total that includes PPN. Default kategori nonmewah = 12% x DPP nilai lain 11/12 (effective 11%, PMK 131/2024 Pasal 3); mewah = 12% x price (Pasal 2); custom = your own rate/factor. Returns harga jual, DPP, PPN, total, the rule used and its source. Calculation aid, not tax advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nilai": "<nilai>"
},
"name": "hitung_ppn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dari | No | What "nilai" is: harga_jual (price/penggantian before PPN, default), dpp_nilai_lain (already the DPP), total (price including PPN). | harga_jual |
| nilai | Yes | A JSON number, or text such as "1250000", "Rp1.250.000,50" or "1,5 jt". Send very large numbers (>= 2^53) as text. | |
| kategori | No | nonmewah (default, 12% x 11/12), mewah (luxury goods, 12% x price) or custom (needs tarif_persen). | nonmewah |
| faktor_dpp | No | Only for kategori=custom: DPP factor, e.g. "11/12", 0.9 or "90%" (default 1). | |
| pembulatan | No | Round PPN to whole Rupiah: tidak (no, show sen), bawah (down), terdekat (nearest), atas (up). | tidak |
| tarif_persen | No | Only for kategori=custom: rate in percent, e.g. 11 or "1,1". |