# Kirim Dokumen FTZ

## 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<mark style="color:red;">\*</mark> | string | Bearer Token yang didapatkan hasil otentikasi |

#### Request Body

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

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

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

{% endtab %}
{% endtabs %}

{% content-ref url="/pages/JEGAAWhwFvy1klaESQvy" %}
[Kirim Dokumen FTZ01-1](/pia-ceisa40/api-services-pabean/kirim-dokumen-ftz/kirim-dokumen-ftz01-1.md)
{% endcontent-ref %}

{% content-ref url="/pages/dlOx3MYV1pyO3DXLzQYO" %}
[Kirim Dokumen FTZ01-2](/pia-ceisa40/api-services-pabean/kirim-dokumen-ftz/kirim-dokumen-ftz01-2.md)
{% endcontent-ref %}

{% content-ref url="/pages/OoCYP6h94LFbFAbSHVwj" %}
[Kirim Dokumen FTZ01-3](/pia-ceisa40/api-services-pabean/kirim-dokumen-ftz/kirim-dokumen-ftz01-3.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-ftz.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.
