# 영업문서 생성 페이지 조회 API

영업문서를 생성할 수 있는 페이지의 url을 응답으로 내려줍니다.\
해당 경로를 새 창이나 새 탭으로 띄워서 영업문서를 생성할 수 있습니다.

* 영업문서 생성에 필요한 정보를 입력하면 영업문서를 생성할 수 있습니다.

<br>

## `POST` kit-api/v1/documents/form-url

Method: POST\
Endpoint: kit-api/v1/documents/form-url

<br>

## Example

```
...kit-api/v1/documents/form-url
```

```json
{
  "input": {
    "documentType": "ESTIMATE" // 'ESTIMATE' | 'INVOICE'
  }
}
```

<br>

## Request Body

| Key                | Description            | Required |
| ------------------ | ---------------------- | -------- |
| input.documentType | 생성할 영업문서 종류(견적서, 인보이스) | yes      |

<br>

## Response

```json
{
  "ok": true, // api 성공 여부
  "message": undefined, // Error가 존재하면 message(string)로 전달
  "data": {
    "url": "https://www.prix.im/..." // 영업문서를 생성할 수 있는 페이지 주소
  }
}
```


---

# 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://api-kit.prix.im/platform/create-document-form-url.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.
