API Services

MPN G2 Billing

Version 2.0
 
1. Inquiry NPWP
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/billing/Inquiry
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
npwpNum String Yes NPWP Number
mapCode String Yes Kode Jenis Pajak
depositType String Yes Jenis Setoran Pajak
transactionDate String Yes Transaction Date (yyyy-MM-dd)
Response Definition
Name Type Description
errorMessage String Error Description
b048_mapCode String Kode Jenis Pajak
b048_wpCity String (DJP Data) Kota Wajib Pajak
b048_wpAddress String (DJP Data) Alamat Wajib Pajak
b048_wpName String (DJP Data) Nama Wajib Pajak
b048_mapName String (DJP Data) Nama Jenis Pajak
b048_npwpNum String NPWP Number
b048_depositName String (DJP Data) Jenis Setoran Pajak
b048_depositType String Jenis Setoran Pajak
errorCode String Error Code
Response (error) See Response Code

Request

{
    "npwpNum": "999998887776543",
    "mapCode": "411125",
    "depositType": "100",
    "transactionDate": "2019-01-26",
    "signature": "[SIGNATURE]"
}

Exp full url

   https://{BNIServer}:{port}/mpng2/v2/billing/Inquiry?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc   

Response (Success)

{
  "b048_mapCode": "411125",
  "b048_wpCity": null,
  "b048_wpAddress": "KP KECIL RT. 005/002, SUKABUMI SELATAN - KOTA ADM.",
  "b048_wpName": "ABDUL HARIS KURNIAWAN",
  "b048_mapName": "PPh Psl 25 Orang Pribadi",
  "b048_npwpNum": "999998887776543",
  "b048_depositName": "Masa",
  "b048_depositType": "100"
}

Response (error)

{
    "errorMessage": "NPWP atau KPP tidak terdaftar",
    "errorCode": "02"
}
 
2. Create Billing
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/billing/Create
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
npwpNum String Yes NPWP Number
mapCode String Yes Kode Jenis Pajak
depositType String Yes Jenis Setoran Pajak
transactionDate String Yes Transaction Date (yyyy-MM-dd)
trxAmt String Yes Transaction amount (2 decimal places)
nop String Yes Nomor Objek Pajak
participantId String No ID Peserta
period1 String Yes Masa Pajak 1
period2 String Yes Masa Pajak 2
taxYear String Yes Tahun Pajak
skNum String Yes SK number
currCode String Yes Currency code (default 360:IDR) (Valas (840: USD)
narasi String No Transaction remark
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
billingId String ID billing
currencyName String Currency
taxYear String Tahun pajak
npwp String Nomor NPWP
skNum String Nomor SK
narasi String Keterangan
period2 String Masa Pajak 2
period1 String Masa Pajak 1
tanggal String Tanggal transaksi
nop String Nomor Objek Pajak
trxAmt String Transaction amount
Response (error) See Response Code

Request

{
      "trxAmt": "15000.00",
      "nop": "610306000190000161",
      "npwpNum": "999998887776543",
      "participantId": "999998887776543",
      "period1": "01",
      "period2": "01",
      "taxYear": "2014",
      "skNum": "000000000000000",
      "currCode": "360",
      "mapCode": "411125",
      "depositType": "100",
      "narasi": "test",
      "transactionDate": "2016-04-01",
      "signature": "[SIGNATURE]"
}

Request Valas

{
    "trxAmt": "5000.00",
    "nop": "000000000000000000",
    "npwpNum": "242340032035000",
    "participantId": "141000055096783",
    "period1": "01",
    "period2": "01",
    "taxYear": "2014",
    "skNum": "000000000000000",
    "currCode": "840",
    "mapCode": "411111",
    "depositType": "100",
    "narasi": "test valas",
    "transactionDate": "2016-04-01",
    "signature": "[SIGNATURE]"
}

Exp full url

  https://{BNIServer}:{port}/mpng2/v2/billing/Create?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc  

Response (Success)

{
  "billingId": "123405826962137",
  "npwp": "999998887776543",
  "skNum": "000000000000000",
  "nop": "610306000190000161",
  "billingExpiry": "2019-12-28 18:07:47",
  "currencyName": "IDR",
  "taxYear": "2014",
  "npwpPenyetor": "999998887776543",
  "narasi": "test",
  "period2": "01",
  "tanggal": "01/04/2016",
  "period1": "01",
  "trxAmt": "15000"
}

Response Valas (Success)

{
    "billingId": 41708770653204,
    "currencyName": "USD",
    "taxYear": 2014,
    "npwp": 242340032035000,
    "skNum": "000000000000000",
    "narasi": "test valas",
    "period2": "01",
    "tanggal": "01/04/2016",
    "period1": "01",
    "nop": "000000000000000000",
    "trxAmt": 5000
}

Response (error)

{
    "errorMessage": "NPWP atau KPP tidak terdaftar",
    "errorCode": "02"
}
 
3. Create Billing Non NPWP
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/billing/NonNPWP
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
mapCode String Yes Kode Jenis Pajak
depositType String Yes Jenis Setoran Pajak
transactionDate String Yes Transaction Date (yyyy-MM-dd)
trxAmt String Yes Transaction amount (2 decimal places)
nop String Yes Nomor Objek Pajak
participantId String No ID Peserta
period1 String Yes Masa Pajak 1
period2 String Yes Masa Pajak 2
taxYear String Yes Tahun Pajak
skNum String Yes SK number
narasi String No Transaction remark
wpIdentity String Yes Nomor Identitas Wajib Pajak
wpName String Yes Nama Wajib Pajak
wpAddress String Yes Alamat Wajib Pajak
wpCity String Yes Kota Wajib Pajak
kpp String Yes Kode KPP
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
billingId String ID billing
currencyName String Currency
taxYear String Tahun pajak
npwp String Nomor NPWP
skNum String Nomor SK
narasi String Keterangan
period2 String Masa Pajak 2
period1 String Masa Pajak 1
tanggal String Tanggal transaksi
nop String Nomor Objek Pajak
trxAmt String Transaction amount
wpName String Nama Wajib Pajak
wpAddress String Alamat Wajib Pajak
wpCity String Kota Wajib Pajak
Response (error) See Response Code

Request

{
    "trxAmt": "2000000.00",
    "wpIdentity": "1234567890123456",
    "nop": "000000000000000000",
    "mapCode": "411111",
    "depositType": "100",
    "period1": "03",
    "period2": "03",
    "taxYear": "2014",
    "skNum": "000000000000000",
    "narasi": "test non npwp",
    "participantId": "141000055096783",
    "wpName": "NPWP DUMMY BADAN DUA",
    "wpAddress": "JL.MESJID IV NO.19",
    "wpCity": "JAKARTA PUSAT",
    "kpp": "101",
    "transactionDate": "2017-09-05",
    "signature": "[SIGNATURE]"
}

Exp full url

  https://{BNIServer}:{port}/mpng2/v2/billing/NonNPWP?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc  

Response (Success)

{
    "billingId": 32528160772727,
    "skNum": "000000000000000",
    "npwp": "000000000101000",
    "nop": "000000000000000000",
    "currencyName": "IDR",
    "taxYear": 2014,
    "wpAddress": "JL.MESJID IV NO.19",
    "narasi": "test non npwp",
    "period2": "03",
    "tanggal": "05/09/2017",
    "wpName": "NPWP DUMMY BADAN DUA",
    "period1": "03",
    "trxAmt": "2.000.000",
    "wpCity": "JAKARTA PUSAT"
}

Response (error)

{
    "errorMessage": "NPWP atau KPP tidak terdaftar",
    "errorCode": "02"
}
 
4. Inquiry DJP/DJBC/DJA
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/Inquiry
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
billingId String Yes Kode Billing, length 15 Prefix 0 – 9 DJP : 0 – 3 DJBC : 4 – 6 DJA : 7 – 9
currency String Yes Currency (IDR or USD)
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
h_billingId String (MPN G2 Data) Kode Billing
[DJP/DJBC only] h_npwp String (MPN G2 Data) Nomor Pokok Wajib Pajak
h_nama String (MPN G2 Data) Nama Wajib Pajak
[DJP only] h_alamat String (MPN G2 Data) Alamat Wajib Pajak
[DJP only] h_akun String (MPN G2 Data) Akun
[DJP only] h_kdJnsSetoran String (MPN G2 Data) Kode Jenis Setoran
[DJP only] h_masaPajak String (MPN G2 Data) Masa Pajak
[DJP only] h_nomorSK String (MPN G2 Data) Nomor SK
[DJP only] h_nop String (MPN G2 Data) NOP
h_tagihan Numeric (MPN G2 Data) Nominal Pembayaran
h_currency String (MPN G2 Data) Mata uang
c_adminBank Numeric Nominal Admin Fee
c_totalBayar Numeric Nominal Total Bayar (tagihan + fee)
[DJBC only] h_jnsDokumen String (MPN G2 Data) Jenis Dokumen
[DJBC only] h_nmrDokumen String (MPN G2 Data) Nomor Dokumen
[DJBC only] h_tglDokumen String (MPN G2 Data) Tanggal Dokumen
[DJBC only] h_kdKpbc String (MPN G2 Data) Kode KPPBC
[DJA only] h_kodeKL String (MPN G2 Data) Kode K/L
[DJA only] h_unitEselonI String (MPN G2 Data) Unit Eselon I
[DJA only] h_kdSatker String (MPN G2 Data) Kode Satuan Kerja
Response (error) See Response Code

Request DJP

{
    "billingId": "115030016764839",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Request DJBC

{
    "billingId": "520131100000909",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Request DJA

{
    "billingId": "916011003876169",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Exp full url

 https://{BNIServer}:{port}/mpng2/v2/Inquiry?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc 

Response DJP (Success)

{
    "h_billingId": 115030016764839,
    "c_totalBayar": 1000000,
    "h_masaPajak": "03032014",
    "h_alamat": "JL.MESJID IV NO.19,JAKARTA UTARA",
    "h_currency": "IDR",
    "h_npwp": "021076427077000",
    "h_nama": "NPWP DUMMY BADAN DUA",
    "h_nomorSK": "000000000000000",
    "c_adminBank": 0,
    "h_akun": 411122,
    "h_kdJnsSetoran": 100,
    "h_tagihan": 1000000,
    "h_nop": 900019191818181800
}

Response DJBC (Success)

{
    "h_billingId": 520131100000909,
    "h_kdKpbc": "070800",
    "h_npwp": 520131000001188,
    "h_jnsDokumen": 9,
    "c_totalBayar": 99999000,
    "h_nama": "GUDANG GARAM, PT.",
    "h_nmrDokumen": "001231",
    "c_adminBank": 0,
    "h_tglDokumen": "2015-05-17",
    "h_tagihan": 99999000,
    "h_currency": "IDR"
}

Response DJA (Success)

{
    "h_billingId": 916011003876169,
    "h_kdSatker": 10,
    "h_kodeKL": "022",
    "c_totalBayar": 1000000,
    "h_nama": "ADMINKU",
    "h_unitEselonI": 52,
    "c_adminBank": 0,
    "h_tagihan": 1000000,
    "h_currency": "IDR"
}
 
5. Payment DJP
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/Payment
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
h_billingId String Yes (MPN G2 Data) Kode Billing
h_npwp String Yes (MPN G2 Data) Nomor Pokok Wajib Pajak
h_nama String Yes (MPN G2 Data) Nama Wajib Pajak
h_alamat String Yes (MPN G2 Data) Alamat Wajib Pajak
h_akun String Yes (MPN G2 Data) Akun
h_kdJnsSetoran String Yes (MPN G2 Data) Kode Jenis Setoran
h_masaPajak String Yes (MPN G2 Data) Masa Pajak
h_nomorSK String Yes (MPN G2 Data) Nomor SK
h_nop String Yes (MPN G2 Data) NOP
h_tagihan Numeric Yes (MPN G2 Data) Nominal Pembayaran
h_currency String Yes (MPN G2 Data) Mata uang
dbNomorRek Numeric Yes Rekening Debit (Note: harus rekening simpanan yang telah didaftarkan)
description String No Narasi transaksi
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
npwp String Nomor NPWP
nop String Nomor Objek Pajak
mataUang String (MPN G2 Data) Mata uang
jnsSetoran String (MPN G2 Data) Kode Jenis Setoran
waktuTrx String Waktu transaksi
alamat String (MPN G2 Data) Alamat Wajib Pajak
noNtbNtp String Nomor Transaksi Bank
tglBuku String (MPN G2 Data) Tanggal Buku
nominalAngka String Nominal Pembayaran (angka)
nominalHuruf String Nominal Pembayaran (huruf)
noNtpn String (MPN G2 Data) Nomor Transaksi Penerimaan Negara
nama String (MPN G2 Data) Nama Wajib Pajak
nomorKttpn String (MPN G2 Data) Nomor SK
stan String System Trace Audit Number
mataAnggaran String (MPN G2 Data) Akun
masaPajak String (MPN G2 Data) Masa Pajak
kdBilling String (MPN G2 Data) Kode Billing
Response (error) See Response Code

Request

{  
   "h_billingId":"115030016764839",
   "h_masaPajak":"03032014",
   "h_alamat":"JL.MESJID IV NO.19,JAKARTA UTARA",
   "h_currency":"IDR",
   "h_npwp":"021076427077000",
   "h_nama":"NPWP DUMMY BADAN DUA",
   "h_nomorSK":"000000000000000",
   "h_akun":"411122",
   "h_kdJnsSetoran":"100",
   "h_tagihan":1000000,
   "h_nop":"900019191818181800",
   "dbNomorRek":113183178,
   "description":"Test DJP",
   "signature":"[SIGNATURE]"
}

Exp full url

  https://{BNIServer}:{port}/mpng2/v2/Payment?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc  

Response (Success)

{
    "npwp": "021076427077000",
    "mataUang": "IDR",
    "nop": 900019191818181800,
    "jnsSetoran": 100,
    "waktuTrx": "04/12/17 16:41:01",
    "alamat": "JL.MESJID IV NO.19,JAKARTA UTARA",
    "noNtbNtp": "000000590178",
    "tglBuku": "10/06/15",
    "nominalAngka": "1.000.000,00",
    "nominalHuruf": "satu juta rupiah",
    "noNtpn": "0CD484CP4VQLIDK2",
    "nama": "NPWP DUMMY BADAN DUA",
    "nomorKttpn": "000000000000000",
    "stan": 964839,
    "mataAnggaran": 411122,
    "masaPajak": "03032014",
    "kdBilling": 115030016764839
}

Response (error)

{
    "errorMessage": "(MPN_G2) TAGIHAN TIDAK TERSEDIA",
    "errorCode": "01"
}
 
6. Payment DJBC
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/Payment
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
h_billingId String Yes (MPN G2 Data) Kode Billing
h_npwp String Yes (MPN G2 Data) Nomor Pokok Wajib Pajak
h_nama String Yes (MPN G2 Data) Nama Wajib Pajak
h_tagihan Numeric Yes (MPN G2 Data) Nominal Pembayaran
h_currency String Yes (MPN G2 Data) Mata uang
dbNomorRek Numeric Yes Rekening Debit (Note: harus rekening simpanan yang telah didaftarkan)
description String No Narasi transaksi
h_jnsDokumen String Yes (MPN G2 Data) Jenis Dokumen
h_nmrDokumen String Yes (MPN G2 Data) Nomor Dokumen
h_tglDokumen String Yes (MPN G2 Data) Tanggal Dokumen
h_kdKpbc String Yes (MPN G2 Data) Kode KPPBC
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
npwp String Nomor NPWP
mataUang String (MPN G2 Data) Mata uang
waktuTrx String Waktu transaksi
noNtbNtp String Nomor Transaksi Bank
tglBuku String (MPN G2 Data) Tanggal Buku
nominalAngka String Nominal Pembayaran (angka)
nominalHuruf String Nominal Pembayaran (huruf)
noNtpn String (MPN G2 Data) Nomor Transaksi Penerimaan Negara
nama String (MPN G2 Data) Nama Wajib Pajak
stan String System Trace Audit Number
kdBilling String (MPN G2 Data) Kode Billing
kdKpbc String (MPN G2 Data) Kode KPPBC
tglDokumen String (MPN G2 Data) Tanggal Dokumen
jnsDokumen String (MPN G2 Data) Jenis Dokumen
noDokumen String (MPN G2 Data) Nomor Dokumen
Response (error) See Response Code

Request DJBC

{  
   "h_billingId":"520131100000909",
   "h_kdKpbc":"070800",
   "h_npwp":"520131000001188",
   "h_nama":"GUDANG GARAM, PT.",
   "h_jnsDokumen":"9",
   "h_nmrDokumen":"001231",
   "h_tglDokumen":"2015-05-17",
   "h_tagihan":99999000,
   "h_currency":"IDR",
   "dbNomorRek":113183178,
   "description":"Test DJBC",
   "signature":"[SIGNATURE]"
}

Exp full url

  https://{BNIServer}:{port}/mpng2/v2/Payment?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc  

Response (Success)

{
    "kdKpbc": "070800",
    "npwp": 520131000001188,
    "mataUang": "IDR",
    "waktuTrx": "04/12/17 17:25:35",
    "noNtbNtp": "000000590233",
    "tglBuku": "15/05/16",
    "nominalAngka": "99.999.000,00",
    "nominalHuruf": "sembilan puluh sembilan juta sembilan ratus sembilan puluh sembilan ribu rupiah",
    "noNtpn": "D1DBF0EP1PNNROE3",
    "tglDokumen": "2015-05-17",
    "nama": "GUDANG GARAM, PT.",
    "jnsDokumen": 9,
    "noDokumen": "001231",
    "stan": "002946",
    "kdBilling": 520131100000909
}

Response (error)

{
    "errorMessage": "(MPN_G2) TAGIHAN TIDAK TERSEDIA",
    "errorCode": "01"
}
 
7. Payment DJA
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/Payment
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
h_billingId String Yes (MPN G2 Data) Kode Billing
h_nama String Yes (MPN G2 Data) Nama Wajib Pajak
h_tagihan Numeric Yes (MPN G2 Data) Nominal Pembayaran
h_currency String Yes (MPN G2 Data) Mata uang
dbNomorRek Numeric Yes Rekening Debit (Note: harus rekening simpanan yang telah didaftarkan)
description String No Narasi transaksi
h_kdSatker String Yes (MPN G2 Data) Kode Satuan Kerja
h_kodeKL String Yes (MPN G2 Data) Kode K/L
h_unitEselonI String Yes (MPN G2 Data) Unit Eselon I
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
mataUang String (MPN G2 Data) Mata uang
waktuTrx String Waktu transaksi
noNtbNtp String Nomor Transaksi Bank
tglBuku String (MPN G2 Data) Tanggal Buku
nominalAngka String Nominal Pembayaran (angka)
nominalHuruf String Nominal Pembayaran (huruf)
noNtpn String (MPN G2 Data) Nomor Transaksi Penerimaan Negara
nama String (MPN G2 Data) Nama Wajib Pajak
stan String System Trace Audit Number
kdBilling String (MPN G2 Data) Kode Billing
kodeKL String (MPN G2 Data) Kode K/L
kdUnitEselonI String (MPN G2 Data) Unit Eselon I
kdSatker String (MPN G2 Data) Kode Satuan Kerja
Response (error) See Response Code

Request

{  
   "h_billingId":"916011003876169",
   "h_kdSatker":"10",
   "h_kodeKL":"022",
   "h_nama":"ADMINKU",
   "h_unitEselonI":"52",
   "h_tagihan":1000000,
   "h_currency":"IDR",
   "dbNomorRek":113183178,
   "description":"Test DJA",
   "signature":"[SIGNATURE]"
}

Exp full url

 https://{BNIServer}:{port}/mpng2/v2/Payment?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc 

Response (Success)

{
    "kodeKL": "022",
    "mataUang": "IDR",
    "waktuTrx": "05/12/17 16:29:58",
    "noNtbNtp": "000000593213",
    "tglBuku": "19/01/17",
    "nominalAngka": "1.000.000,00",
    "nominalHuruf": "satu juta rupiah",
    "noNtpn": "231CA01BNIDIRQ54",
    "nama": "ADMINKU",
    "kdUnitEselonI": 52,
    "kdSatker": 10,
    "stan": "002955",
    "kdBilling": 916011003876169
}

Response (error)

{
    "errorMessage": "(MPN_G2) TAGIHAN TIDAK TERSEDIA",
    "errorCode": "01"
}
 
8. Reinquiry DJP/DJBC/DJA
Hostname To be confirm
Port To be confirm
HTTP Method POST
Path /mpng2/v2/Reinquiry
HTTP Headers
Name Format Mandatory Description
Content-Type application/json Yes
X-API-Key String Yes API Key
Query string parameters
Name Format Mandatory Description
access_token String Yes Token provided from gettoken request
Format JSON
Authentication OAuth 2.0 (client credential)
Request Definition
Field Data Type Mandatory Description
signature String Yes Key combination : Digital Signature
billingId String Yes Kode Billing, length 15 Prefix 0 – 9 DJP : 0 – 3 DJBC : 4 – 6 DJA : 7 – 9
currency String Yes Currency (IDR or USD)
Response Definition
Name Type Description
errorMessage String Error Description
errorCode String Error Code
h_billingId String (MPN G2 Data) Kode Billing
[DJP/DJBC only] h_npwp String (MPN G2 Data) Nomor Pokok Wajib Pajak
h_nama String (MPN G2 Data) Nama Wajib Pajak
[DJP only] h_alamat String (MPN G2 Data) Alamat Wajib Pajak
[DJP only] h_akun String (MPN G2 Data) Akun
[DJP only] h_kdJnsSetoran String (MPN G2 Data) Kode Jenis Setoran
[DJP only] h_masaPajak String (MPN G2 Data) Masa Pajak
[DJP only] h_nomorSK String (MPN G2 Data) Nomor SK
[DJP only] h_nop String (MPN G2 Data) NOP
h_tagihan Numeric (MPN G2 Data) Nominal Pembayaran
h_currency String (MPN G2 Data) Mata uang
c_adminBank Numeric Nominal Admin Fee
[DJBC only] h_jnsDokumen String (MPN G2 Data) Jenis Dokumen
[DJBC only] h_nmrDokumen String (MPN G2 Data) Nomor Dokumen
[DJBC only] h_tglDokumen String (MPN G2 Data) Tanggal Dokumen
[DJBC only] h_kdKpbc String (MPN G2 Data) Kode KPPBC
[DJA only] h_kodeKL String (MPN G2 Data) Kode K/L
[DJA only] h_unitEselonI String (MPN G2 Data) Unit Eselon I
[DJA only] h_kdSatker String (MPN G2 Data) Kode Satuan Kerja
h_ntb String Nomor Transaksi Bank
c_description String Narasi Transaksi
h_transId String ID Transaksi
c_waktuTrx String Waktu Transaksi
c_dbNomorRek String Rekening debit yang telah didaftarkan
h_tglBuku String (MPN G2 Data) Tanggal Buku
h_ntpn String (MPN G2 Data) Nomor Transaksi Penerimaan Negara
Response (error) See Response Code

Request DJP

{
    "billingId": "115030016764839",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Request DJBC

{
    "billingId": "520131100000909",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Request DJA

{
    "billingId": "916011003876169",
    "currency": "IDR",
    "signature": "[SIGNATURE]"
}

Exp full url

 https://{BNIServer}:{port}/mpng2/v2/Reinquiry?access_token=XUVAtlHXbjJZE69AJQXwjTzuNlYR1otNm2xLxFpcYZQiQp0Sbr5QUc 

Response DJP (Success)

{
    "h_billingId": "115030016764839",
    "h_ntb": "000000580393",
    "h_masaPajak": "03032014",
    "c_description": null,
    "h_alamat": "JL.MESJID IV NO.19,JAKARTA UTARA",
    "h_transId": "002924",
    "h_currency": "IDR",
    "h_npwp": "021076427077000",
    "c_waktuTrx": "2017-11-29T16:33:39.784",
    "c_dbNomorRek": "113183178",
    "h_nama": "NPWP DUMMY BADAN DUA",
    "h_nomorSK": "000000000000000",
    "c_adminBank": 0,
    "h_akun": "411122",
    "h_tglBuku": "20171130",
    "h_kdJnsSetoran": "100",
    "h_tagihan": "1000000.00",
    "h_ntpn": "0CD484CP4VQLIDK2",
    "h_nop": "900019191818181778"
}

Response DJBC (Success)

{
    "h_billingId": "520131100000909",
    "h_ntb": "000000580498",
    "h_jnsDokumen": "9",
    "h_nmrDokumen": "001231",
    "c_description": null,
    "h_transId": "002939",
    "h_currency": "IDR",
    "h_kdKpbc": "070800",
    "h_npwp": "520131000001188",
    "c_waktuTrx": "2017-11-29T19:16:11.808",
    "c_dbNomorRek": "113183178",
    "h_nama": "GUDANG GARAM, PT.",
    "c_adminBank": 0,
    "h_tglDokumen": "2015-05-17",
    "h_tglBuku": "20171130",
    "h_tagihan": "99999000.00",
    "h_ntpn": "D1DBF0EP1PNNROE3"
}

Response DJA (Success)

{
    "h_billingId": "916011003876169",
    "h_ntb": "000000593617",
    "c_description": "Test DJA",
    "h_transId": "002973",
    "h_currency": "IDR",
    "h_kdSatker": "10",
    "h_kodeKL": "022",
    "c_waktuTrx": "2017-12-06T11:47:39.730",
    "c_dbNomorRek": "113183178",
    "h_nama": "ADMINKU",
    "h_unitEselonI": "52",
    "c_adminBank": 0,
    "h_tglBuku": "20171206",
    "h_tagihan": "1000000",
    "h_ntpn": "231CA01BNIDIRQ54"
}

Response (error)

{
    "errorMessage": "BILLING ID BELUM PERNAH DILAKUKAN PEMBAYARAN SEBELUMNYA",
    "errorCode": "9941"
}