> For the complete documentation index, see [llms.txt](https://docs.lazypro.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lazypro.app/invoice/02-ai-convert.md).

# 使用 AI 轉換訂單資料

Lazy Invoice 接受標準化的 JSON 格式。推薦使用 AI 工具（如 Claude 或 ChatGPT）將訂單資料轉換為所需格式。

## 轉換流程

1. 準備訂單資料（Excel、CSV、文字等）
2. 開啟 AI 工具
3. 上傳或貼上訂單資料
4. 提供轉換指令
5. 複製 AI 輸出的 JSON 並儲存為檔案

## 完整轉換指南

詳細指南請參閱專案根目錄：[AI-PROMPT-GUIDE.md](https://github.com/LazyProApp/Invoice/blob/main/AI-PROMPT-GUIDE.md)

包含：

* 各平台 JSON 範本與欄位說明
* 載具類型與稅率對照表
* AI 轉換提示詞範例
* 特殊稅率發票處理方式

參考範本：`invoice-templates/` 目錄提供各平台完整 JSON 範本（包含所有稅率類型範例）


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.lazypro.app/invoice/02-ai-convert.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.
