# Kirim Dokumen TPB

## Kirim Dokumen

<mark style="color:green;">`POST`</mark> `{API_URL}/openapi/document`

*Endpoint* digunakan untuk mengirim dokumen pabean

#### Query Parameters

| Name    | Type    | Description                                                         |
| ------- | ------- | ------------------------------------------------------------------- |
| isFinal | Boolean | true=data langsung dikirim; false=data menjadi draft; default=false |

#### Headers

| Name          | Type   | Description                                       |
| ------------- | ------ | ------------------------------------------------- |
| Authorization | String | Bearer Token yang didapatkan dari hasil otorisasi |

#### Request Body

| Name                                          | Type   | Description               |
| --------------------------------------------- | ------ | ------------------------- |
| Data Pabean<mark style="color:red;">\*</mark> | String | JSONSchema Dokumen Pabean |

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

```json
{
    "status": "OK",
    "message": "Sukses, Data Berhasil Ditambahkan",
    "idHeader": {idHeader}
}
```

{% endtab %}
{% endtabs %}

{% content-ref url="/pages/h1o5bmxaCaMlt2Bm2WGt" %}
[Kirim Dokumen TPB - BC 2.3](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-2.3.md)
{% endcontent-ref %}

{% content-ref url="/pages/9IMoTiv4OxlvGJy9GSF5" %}
[Kirim Dokumen TPB - BC 2.5](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-2.5.md)
{% endcontent-ref %}

{% content-ref url="/pages/SRPe7UEATH0aBYnjQ64z" %}
[Kirim Dokumen TPB - BC 2.6.1](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-2.6.1.md)
{% endcontent-ref %}

{% content-ref url="/pages/dRXHebcHzoretvm47alN" %}
[Kirim Dokumen TPB - BC 2.6.2](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-2.6.2.md)
{% endcontent-ref %}

{% content-ref url="/pages/55M8ZyE5OweNFhUs3aFS" %}
[Kirim Dokumen TPB - BC 2.7](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-2.7.md)
{% endcontent-ref %}

{% content-ref url="/pages/H5S8pnzV6aLFdK32EhRM" %}
[Kirim Dokumen TPB - BC 4.0](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-4.0.md)
{% endcontent-ref %}

{% content-ref url="/pages/kG8Ux2SrmSVg2WXBgxY3" %}
[Kirim Dokumen TPB - BC 4.1](/pia-ceisa40/api-services-pabean/kirim-dokumen-tpb/kirim-dokumen-tpb-bc-4.1.md)
{% endcontent-ref %}


---

# 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-services-pabean/kirim-dokumen-tpb.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.
