---
title: "Share link withholding tax."
method: POST
path: "/withholding-taxes/sharedocument"
tags: ["Withholding Tax"]
---

# Share link withholding tax.

`POST /withholding-taxes/sharedocument`

## Request

- Base URL: `https://openapi.flowaccount.com/v1`
- URL: `https://openapi.flowaccount.com/v1/withholding-taxes/sharedocument`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/withholding-taxes/sharedocument/post.ts> (a function with typed inputs; its response is checked against the schema)

แชร์ลิงค์ เอกสารใบหัก ณ ที่จ่าย ที่ต้องการ จะได้รับลิงค์สำหรับแชร์และเรียกดูเอกสาร

## Headers

- `Authorization` string, required

## Request body

- ShareDocument
  - `documentId` integer, required: documentId หรือ recordId ของเอกสารที่ต้องการส่งอีเมล
  - `culture` string: เลือกภาษาของเอกสาร <br> th = ไทย <br> en = อังกฤษ

## Response `200`

200 response

- ShareDocumentResponse
  - `status` boolean: action success
  - `message` string: error message
  - `code` integer: error code
  - `data` object: data success
    - `link` string: Link Document

## Other responses

- `401`: 401 response
- `500`: 500 response

---

[API](https://skmtc.dev/flowaccount/apis/flowaccount-open-api.md) - [All operations](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/revisions/4ba3d3ca5bd5?raw)
