> For the complete documentation index, see [llms.txt](https://www.oddle.me/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.oddle.me/docs/help-center/help-center-zh/zhuang-zhi-yu-zheng-he/how-do-i-set-up-ecpay-e-invoices-and-invoice-settings-taiwan.md).

# 我要如何設定 ECPay 電子發票與發票設定（台灣）？

本文涵蓋你需要知道的台灣電子發票一切資訊——從註冊 ECPay 到設定結帳頁面，以及追蹤已開立的發票。

台灣法律要求商家在銷售時開立電子發票。Oddle 與 ECPay 整合，為你的 Oddle Shop 訂單自動化此流程。

***

## 第 1 部分：註冊 ECPay

在設定整合之前，你需要先有 ECPay 商務帳號。ECPay 為第三方供應商——會產生費用。

註冊並了解更多： [ecpay.com.tw](https://www.ecpay.com.tw/Business/invoice).

***

## 第 2 部分：將 ECPay 連接至 Oddle

### 步驟 1 — 取得你的 ECPay 憑證

1. 登入 [ECPay 商家後台](https://vendor.ecpay.com.tw/).
2. 前往 **系統開發管理 > 系統介接設定**.
3. 在 **電子發票**，請記下以下三個值——你在接下來的步驟中會用到它們：
   * **商店代號** (商店代號)
   * **介接 HashKey**
   * **介接 HashIV**

![](/files/d1a3bf50160886bfc7048723d05f7c8b4216250f)

### 步驟 2 — 在 Oddle 中輸入你的憑證

1. 登入 [Oddle 後台](https://app.oddle.me/).
2. 點擊你的菜單名稱，然後點擊 **發票** 位於左側面板。
3. 請確認 **顯示電子發票介面** 已選取。
4. 啟用以下項目的切換開關： **綠界科技 ECPay 電子發票**.
5. 輸入 **商店代號**, **電子發票介接 HashKey**，以及 **電子發票介接 HashIV** ，來自步驟 1。

![](/files/912d2ecd31120aaec8591df02ea9cf0c6aef8658)

6. 點擊 **儲存**.

整合現已啟用。ECPay 將自動為你的線上訂單開立電子發票。

***

## 第 3 部分：電子發票如何開立

電子發票的開立方式與時間取決於你的 Oddle 方案。

### Oddle Lite 方案

* 一收到線上付款，系統就會自動開立電子發票。
* 當線上退款處理完成時，系統會自動針對對應的電子發票開立折讓。
* 如果在電子發票開立後，訂單上的以下任一欄位被更新，系統會重新開立新的電子發票以取代原本的發票：
  * 統一編號
  * 公司名稱
  * 載具類別
  * 個人 ID（載具）

### 所有其他方案

* 當你將訂單付款狀態更新為 **已付款**.
* 當你將付款狀態更新為 **未付款**.

{% hint style="warning" %}
如果你手動處理退款，請記得在 Oddle 中將付款狀態更新為 **未付款** 以觸發折讓。這不會自動發生。
{% endhint %}

***

## 第 4 部分：在你的結帳頁面設定發票介面

你的 Oddle Shop 結帳頁面包含一個 **發票資訊** 區塊，讓顧客可輸入發票資料。此介面有兩種版本。

### 預設發票介面

預設介面適用於手動開立發票的商家。顧客可選填統一編號與公司名稱，如果他們需要為公司取得統一發票。

![](/files/cfc6f231c9c1633927985822844f1e82930f7cf4)

### 電子發票介面

電子發票介面適用於使用 ECPay（或其他電子發票整合）的商家。除了統一編號和公司名稱之外，顧客還可以選擇如何接收電子發票：

* 電子發票載具
* 手機條碼
* 自然人憑證

![](/files/59aa9340876090c75d0d28ecd77f692d4e47fa6f)

### 切換為電子發票介面

1. 登入你的 Oddle 後台。
2. 點擊你的菜單名稱。
3. 點擊 **發票** 位於左側面板。
4. 選擇 **顯示電子發票介面** 和點擊 **儲存**.

![](/files/57480db6da175715cee2a70c756ad195d5b1bb08)

電子發票介面現在就會顯示在你的結帳頁面上。

***

## 第 5 部分：查看電子發票狀態

### 供顧客使用

顧客可在電子發票開立後，於 **訂單歷史** 中查看他們的電子發票狀態與號碼。

![](/files/dc2b8d51db11e2f945fe15b0c6116d2c5a7b7d1f)

### 供商家使用 — 單筆訂單

在 Oddle 後台或訂單 App 中，打開一筆訂單並尋找 **電子發票號碼** 欄位。發票開立後，號碼就會顯示在那裡。

### 供商家使用 — 電子發票報表

若要在同一處查看所有已開立的發票與折讓：

1. 在 Oddle 後台，前往 **分析 > 電子發票**.
2. 選擇你要檢視的菜單與開立期間。

![](/files/7e32e3a64b6eb1943de4691f6401c752f7deddb5)


---

# 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, and the optional `goal` query parameter:

```
GET https://www.oddle.me/docs/help-center/help-center-zh/zhuang-zhi-yu-zheng-he/how-do-i-set-up-ecpay-e-invoices-and-invoice-settings-taiwan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
