{"swagger":"2.0","info":{"title":"API Cek PBB Kabupaten Bandung","description":"API untuk mengecek data SPPT dan riwayat pembayaran PBB berdasarkan NOP","version":"1.0.0"},"host":"api-cekpbb.bandungkab.go.id","basePath":"/api","schemes":["https"],"consumes":["application/json"],"produces":["application/json"],"paths":{"/sppt/history-pembayaran-with-sppt":{"post":{"summary":"Riwayat Pembayaran PBB berdasarkan NOP","description":"Mengambil data SPPT beserta riwayat pembayaran PBB berdasarkan Nomor Objek Pajak (NOP)","operationId":"getHistoryPembayaranWithSppt","parameters":[{"in":"body","name":"body","description":"Payload berisi NOP yang ingin dicek","required":true,"schema":{"type":"object","required":["nop"],"properties":{"nop":{"type":"string","description":"Nomor Objek Pajak (18 digit)","example":"320603000401300140"}}}}],"responses":{"200":{"description":"Berhasil mendapatkan data SPPT dan riwayat pembayaran","schema":{"$ref":"#/definitions/SpptHistoryResponse"}},"400":{"description":"Permintaan tidak valid (misal NOP kosong/format salah)","schema":{"$ref":"#/definitions/ErrorResponse"}},"404":{"description":"Data NOP tidak ditemukan","schema":{"$ref":"#/definitions/ErrorResponse"}},"500":{"description":"Kesalahan server internal","schema":{"$ref":"#/definitions/ErrorResponse"}}}}}},"definitions":{"Meta":{"type":"object","properties":{"code":{"type":"integer","example":200},"status":{"type":"string","example":"Success"},"message":{"type":"string","example":"SPPT and History Pembayaran is successfully retrieved."}}},"Sppt":{"type":"object","description":"Detail data SPPT (Surat Pemberitahuan Pajak Terutang) tahun berjalan","properties":{"status":{"type":"integer","example":1},"nop":{"type":"string","example":"320603000401300140"},"tahun":{"type":"string","example":"2026"},"JALAN_OP":{"type":"string","description":"Nama jalan objek pajak","example":"BL. RANCAMANYAR"},"BLOK_KAV_NO_OP":{"type":"string","x-nullable":true},"RW_OP":{"type":"string","example":"00"},"RT_OP":{"type":"string","example":"000"},"NM_KELURAHAN":{"type":"string","example":"MARGAMUKTI"},"NM_KECAMATAN":{"type":"string","example":"PANGALENGAN"},"NM_WP_SPPT":{"type":"string","description":"Nama wajib pajak","example":"ENCU HIDAYAT"},"JLN_WP_SPPT":{"type":"string","example":"KP. RANCAMANYAR"},"BLOK_KAV_NO_WP_SPPT":{"type":"string","x-nullable":true},"RW_WP_SPPT":{"type":"string","example":"00"},"RT_WP_SPPT":{"type":"string","example":"000"},"KELURAHAN_WP_SPPT":{"type":"string","example":"MARGAMUKTI"},"KOTA_WP_SPPT":{"type":"string","example":"KABUPATEN BANDUNG"},"LUAS_BUMI_SPPT":{"type":"string","description":"Luas tanah (m2)","example":"364"},"KD_KLS_TANAH":{"type":"string","example":"086"},"NJOP_BUMI_SPPT":{"type":"string","description":"NJOP tanah (format ribuan dengan titik)","example":"5.096.000"},"LUAS_BNG_SPPT":{"type":"string","description":"Luas bangunan (m2)","example":"37"},"KD_KLS_BNG":{"type":"string","example":"025"},"NJOP_BNG_SPPT":{"type":"string","example":"22.015.000"},"NJOP_SPPT":{"type":"string","example":"27.111.000"},"NJOPTKP_SPPT":{"type":"string","example":"10.000.000"},"PBB_TERHUTANG_SPPT":{"type":"string","example":"18.993"},"PBB_YG_HARUS_DIBAYAR_SPPT":{"type":"string","example":"25.000"},"TGL_JATUH_TEMPO_SPPT":{"type":"string","example":"30 September 2026"},"TGL_CETAK_SPPT":{"type":"string","example":"2 Januari 2026"},"NJOP_PERHITUNGAN":{"type":"string","example":"17.111.000"},"NJOP_METER_BUMI":{"type":"string","example":"14.000"},"NJOP_METER_BNG":{"type":"string","example":"595.000"},"SPPT_TERBILANG":{"type":"string","example":"Rp. 25.000,00"},"SPPT_TERBILANG_TEXT":{"type":"string","example":"Dua puluh lima ribu rupiah"},"TOTAL_PBB_DENGAN_DENDA":{"type":"integer","example":25000},"DENDA_DARI_SPPT":{"type":"string","example":"0"},"DENDA_DARI_PEMBAYARAN":{"type":"string","example":"0"},"YANG_DIBAYAR":{"type":"string","example":"25000"},"BULAN_DENDA":{"type":"string","example":"-1"},"BULAN_LAMA":{"type":"string","example":"-33"},"PERSEN_TARIF":{"type":"string","example":"0.3 %"},"PERSEN_NJKP":{"type":"string","example":"37 %"},"NOMINAL_NJKP":{"type":"string","example":"6.331.070"},"BIDANG":{"type":"string","example":"BIDANG PAJAK II"},"PEJABAT":{"type":"string","example":"BENING T R S.STP., S.AP., M.K.P"},"NIP":{"type":"string","example":"NIP 197907021998032002"}}},"HistoryBayarItem":{"type":"object","description":"Riwayat pembayaran PBB per tahun","properties":{"status":{"type":"integer","example":1},"nop":{"type":"string","example":"320603000401300140"},"nama_wp":{"type":"string","example":"ENCU HIDAYAT"},"alamat_wp":{"type":"string","example":"KP. RANCAMANYAR RT 000 RW 00 MARGAMUKTI KABUPATEN BANDUNG"},"alamat_op":{"type":"string","example":"BL. RANCAMANYAR RT 000 RW 00"},"kelurahan_op":{"type":"string","example":"MARGAMUKTI"},"kecamatan_op":{"type":"string","example":"PANGALENGAN"},"tahun":{"type":"string","example":"2026"},"pokok":{"type":"string","description":"Pokok pajak terhutang","example":"25000"},"denda":{"type":"string","example":"0"},"jumlah":{"type":"string","description":"Total yang dibayar (pokok + denda)","example":"25000"},"tgl_jatuh_tempo":{"type":"string","example":"30 September 2026"},"tgl_bayar":{"type":"string","x-nullable":true,"description":"Tanggal pembayaran. null jika belum dibayar","example":"8 Juni 2026"},"via_bayar":{"type":"string","x-nullable":true,"description":"Kanal/metode pembayaran. null jika belum dibayar","example":"H2H BJB"},"pokok_sppt":{"type":"string","example":"25000"},"jumlah_sppt":{"type":"string","example":"25000"},"denda_sppt":{"type":"string","example":"0"}}},"Data":{"type":"object","properties":{"sppt":{"$ref":"#/definitions/Sppt"},"history_bayar":{"type":"array","items":{"$ref":"#/definitions/HistoryBayarItem"}}}},"SpptHistoryResponse":{"type":"object","properties":{"meta":{"$ref":"#/definitions/Meta"},"data":{"$ref":"#/definitions/Data"}}},"ErrorResponse":{"type":"object","properties":{"meta":{"type":"object","properties":{"code":{"type":"integer","example":404},"status":{"type":"string","example":"Failed"},"message":{"type":"string","example":"Data tidak ditemukan"}}},"data":{"type":"object","example":{}}}}}}