# Get Cetak PBCK-3

## Introduction

* Purpose   : API ini digunakan untuk mendapatkan informasi cetak PBCK-3 berdasarkan parameter yang diberikan
* Overview : Proses ini membutuhkan otentikasi menggunakan Bearer Token dan harus dikirim dengan metode GET

## Path API

<mark style="color:blue;">`GET`</mark> `{API_URL}/hostToHostCetakCk2/cetakPbck3?idDokPelengkapCk2Header={idDokPelengkapCk2Header}&nomorPbck3={nomorPbck3}&nppbkc={nppbkc}&tanggalPbck3={tanggalPbck3}`

## Authorization

<table><thead><tr><th width="181">Name</th><th width="126">Type </th><th>Description</th></tr></thead><tbody><tr><td>Authorization</td><td>String</td><td>Bearer Token yang didapatkan dari hasil otorisasi</td></tr></tbody></table>

## Parameter

<table><thead><tr><th width="197">Name</th><th width="117">Type</th><th width="233">Description</th><th>Example Value</th></tr></thead><tbody><tr><td>idDokPelengkapCk2Header</td><td>String</td><td>Identifikasi unik untuk dokumen pelengkap header CK-2</td><td>e6eda05c-eb4b-4366-b89f-6744e4d808b4</td></tr><tr><td>nomorPbck3</td><td>String</td><td>Nomor dokumen PBCK-3</td><td>PBCK30003</td></tr><tr><td>nppbkc</td><td>String</td><td>NPPBKC (Nomor Pokok Pengusaha Barang Kena Cukai)</td><td>1112223334445556667778</td></tr><tr><td>tanggalPbck3</td><td>Date</td><td>Tanggal penerbitan dokumen PBCK-3</td><td>2023-09-07</td></tr></tbody></table>

## Parameter Example

<mark style="color:blue;">`GET`</mark> `{API_URL}/hostToHostCetakCk2/cetakPbck3?idDokPelengkapCk2Header=e6eda05c-eb4b-4366-b89f-6744e4d808b4&nomorPbck3=PBCK30003&nppbkc=1112223334445556667778&tanggalPbck3=2023-09-07`

## Response

{% tabs %}
{% tab title="200" %}

```json
{
  "message": "Success",
  "status": true,
  "data": {
    "header": {
      "idDokPelengkapCk2Header": "e6eda05c-eb4b-4366-b89f-6744e4d808b4",
      "kodeKantor": "K34567",
      "namaKantor": "Kantor C",
      "idNppbkc": "ed532d7a-1e36-4d74-993c-a96d9a6a919a",
      "nppbkc": "1112223334445556667778",
      "npwp": "123-456-789",
      "namaPerusahaan": "Random Company Ltd",
      "alamatPerusahaan": "1234 Random Street",
      "idJenisBkc": 3,
      "namaJenisBkc": "HT",
      "asalDokumenCk2": "CK-5",
      "nomorPbck7": "PBCK70003",
      "tanggalPbck7": "2023-09-02T00:00:00",
      "idCk5Header": "42dc1e02-f59c-4c9a-b7aa-83a4ea24f881",
      "nomorCk5": "CK50003",
      "tanggalCk5": "2023-09-03T00:00:00",
      "nomorBack1": "Back3-789",
      "tanggalBack1": "2023-09-04T00:00:00",
      "nomorBaPenyegelan": "BA789",
      "tanggalBaPenyegelan": "2023-09-05T00:00:00",
      "tanggalPemeriksaan": "2023-09-06T00:00:00",
      "kesimpulanBack1": "Kesimpulan3",
      "nipPejabatBack1": "345678901234567890",
      "namaPejabatBack1": "Pejabat C",
      "nomorPbck3": "PBCK30003",
      "tanggalPbck3": "2023-09-07T00:00:00",
      "nomorBaBukaSegel": "BA890",
      "tanggalBaBukaSegel": "2023-09-08T00:00:00",
      "nomorTandaTerima": "Tanda3",
      "tanggalTandaTerima": "2023-09-09T00:00:00",
      "nipTandaTerimaBack3": "345678901234567890",
      "namaTandaTerimaBack3": "Tanda C",
      "nomorKepPengawas": "KepPengawas3",
      "tanggalKepPengawas": "2023-09-10T00:00:00",
      "nomorSuratTugas": "Surat3",
      "tanggalSuratTugas": "2023-09-11T00:00:00",
      "nomorSuratPersetujuan": "SuratPersetujuan3",
      "tanggalSuratPersetujuan": "2023-09-12T00:00:00",
      "tanggalPemusnahan": "2023-09-13T00:00:00",
      "lokasiPemusnahan": "Lokasi3",
      "nomorTolak": "Tolak5",
      "tanggalTolak": "2023-08-27T00:00:00",
      "keterangan": "Keterangan3",
      "flagBatal": "Y",
      "idProses": "2540d702-47ca-43a3-9fd4-252b57ccafdf",
      "waktuRekam": "2023-09-02T12:34:56",
      "status": "Status3",
      "nipUpdate": "345678901234567890",
      "waktuUpdate": "2023-09-03T23:45:01",
      "nomorBack3": "Back3-789",
      "tanggalBack3": "2023-09-15T00:00:00",
      "lokasiBaBukaSegel": null
    },
    "detail": [
      {
        "idDokPelengkapCk2Detail": "e8a21203-86b4-4bf6-82f1-d2f34d993cf3",
        "idDokPelengkapCk2Header": "e6eda05c-eb4b-4366-b89f-6744e4d808b4",
        "idTarifMerkDetail": "b2a3dbf0-3a1b-496a-93db-06f2929c220e",
        "idMerk": "a6a42e74-9e7e-4b5e-bb4c-481b488ed1b7",
        "namaMerk": "GEMILANG",
        "idJenisProduksiBkc": 1,
        "kodeJenisProduksiBkc": "PROD-001",
        "isiVolume": 12,
        "hje": 780,
        "tarif": 313,
        "idSeripita": 1,
        "namaSeripita": "1",
        "idGolonganBkc": 1,
        "namaGolonganBkc": "Random Golongan",
        "tahunPita": 2023,
        "idCk1Detail": "57ee7d6c-7e5a-41bf-8e72-d2e743a7f74c",
        "idCk5Detail": "c13665a7-2e64-45d1-9750-13be9f4a67a1",
        "jumlahKepingDiberitahukan": 10,
        "cukaiDiberitahukan": 1000,
        "jumlahBack1": 5,
        "cukaiBack1": 500,
        "jumlahBack3": 3,
        "cukaiBack3": 300
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

## Potential Error

<table><thead><tr><th width="188">Status Code</th><th width="210">Description</th><th>Reason</th></tr></thead><tbody><tr><td>400 Bad Request</td><td>Permintaan tidak valid</td><td>Parameter tidak lengkap atau format tidak sesuai</td></tr><tr><td>401 Unauthorized</td><td>Otentikasi gagal</td><td>Bearer Token tidak valid atau tidak disertakan dalam header permintaan</td></tr><tr><td>404 Not Found</td><td>Dokumen tidak ditemukan</td><td>Data tidak ditemukan berdasarkan parameter yang diberikan</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ceisa40.gitbook.io/pia-ceisa40/api-service-cukai/pengembalian/get-cetak-pbck-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
