---
title: "Share link tax invoice document."
method: POST
path: "/tax-invoices/sharedocument"
tags: ["Tax Invoice"]
---

# Share link tax invoice document.

`POST /tax-invoices/sharedocument`

## Request

- Base URL: `https://openapi.flowaccount.com/v1`
- URL: `https://openapi.flowaccount.com/v1/tax-invoices/sharedocument`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/tax-invoices/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)
