> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 檢查買家的加值稅號

> Foliant 會透過 VIES 檢查企業買家的歐盟加值稅號、保存證明，並將結果列印在發票上。

當您向其他歐盟國家的企業銷售且不收取加值稅時，您需要確認對方的加值稅號有效。Foliant 會透過歐盟的加值稅號登記系統 VIES 檢查企業買家的加值稅號，並將每次的結果保存為證明：檢查時間、登記的名稱與地址，以及 VIES 提供的查詢編號。您的發票會依據結果決定要列印哪一則[法律註記](https://foliant-help.iforiti.com/zh-Hant/tax-and-legal/legal-notes.md)。

加值稅號檢查屬於稅務合規工具組，是否可用取決於您的方案。請參閱[方案與價格](https://foliant-help.iforiti.com/zh-Hant/billing-and-plans/plans-and-pricing.md)。

## 開始之前

* VIES 涵蓋歐盟國家與北愛爾蘭（XI）的加值稅號。其他稅號會顯示為無法檢查。
* 請在 **設定 › 稅務與法律** 中新增您自己的歐盟加值稅號。Foliant 每次檢查時都會一併送出，讓 VIES 回傳查詢編號，作為您已檢查的證明。請參閱[加值稅號、EORI 與稅務名稱](https://foliant-help.iforiti.com/zh-Hant/tax-and-legal/vat-numbers-and-eori.md)。

## Foliant 何時檢查稅號

| 位置 | 會發生什麼 |
| - | - |
| 企業買家的新訂單 | Foliant 會在背景檢查買家的加值稅號，來源為 B2B 公司、結帳頁面或顧客已儲存的資料。 |
| Shopify 管理介面中的顧客頁面 | **B2B Customer Details** 區塊會檢查顧客已儲存的加值稅號。 |
| 結帳 | 如果您的結帳頁面上有電子發票申請區塊，買家輸入加值稅號時就會進行檢查。請參閱[設定 Peppol 電子發票](https://foliant-help.iforiti.com/zh-Hant/integrations/peppol-e-invoicing.md)。 |

「有效」的結果會沿用 30 天，「無效」的結果則沿用 24 小時。之後，買家的下一筆訂單會重新檢查。

## 檢查顧客的加值稅號

1. 在 Shopify 管理介面中開啟該顧客。
2. 在 Foliant 的 **B2B Customer Details** 區塊中，輸入 **Company Name** 和 **VAT Number**，然後儲存。

區塊會在加值稅號下方顯示結果：

| 狀態 | 代表的意思 |
| - | - |
| **Valid** | VIES 確認此稅號有效。區塊會顯示「Valid in VIES」、登記名稱、檢查時間及查詢編號。 |
| **Not valid** | VIES 表示此稅號未登記加值稅。 |
| **Couldn't verify** | VIES 沒有回應。這是常見情況：歐盟各國的登記系統經常會暫時離線。 |
| **Not checkable** | 此稅號不屬於歐盟國家或北愛爾蘭。「VIES only covers EU and Northern Ireland VAT numbers.」 |

點選 **Re-check** 可再次向 VIES 查詢。

如果您的方案不包含加值稅號檢查，區塊會顯示「VAT number checks aren't in your plan.」及 **查看方案**。如果 Foliant 尚未獲准編輯顧客，區塊會請您先在 Foliant 中授予權限，才能儲存。

## VIES 沒有回應時

Foliant 絕不會將「無法驗證」視為「無效」。它會自動再次向 VIES 查詢：15 分鐘後第一次重試，之後每次間隔逐漸拉長，最長每 6 小時一次，持續最多兩天。

在此期間，若跨境銷售的發票使用未經驗證的稅號，會列印 **加值稅號未核驗** 註記，而非免稅註記。

## 在您的文件上

範本可以使用 `order.buyer.vat_status`（valid、invalid、unavailable 或 unchecked）、`order.buyer.vat_checked_at` 和 `order.buyer.vat_consultation_number` 列印結果。文件會使用建立當時已保存的結果，絕不會等待 VIES 回應。

## 發票鎖定後檢查結果改變時

[已鎖定的發票](https://foliant-help.iforiti.com/zh-Hant/invoices-and-numbering/locked-invoices.md)會保留當時列印的加值稅狀態。如果之後對同一稅號的檢查得出不同結果，訂單上的 **Document numbers** 區塊會顯示 **Buyer's VAT status changed**。發票本身不會改變：如需更正，請開立貸項通知單。

## 小提醒

* 當顧客要求您清除其資料時，Foliant 會刪除該顧客加值稅號的檢查紀錄。
* 如果您的方案不再包含此工具組，Foliant 會停止檢查稅號，新文件也不會再列印加值稅狀態或法律註記。已鎖定的發票會保留原本列印的內容。

## 相關文章

* [發票上的法律註記](https://foliant-help.iforiti.com/zh-Hant/tax-and-legal/legal-notes.md)
* [查看訂單上的文件編號](https://foliant-help.iforiti.com/zh-Hant/invoices-and-numbering/document-numbers-on-orders.md)
* [設定 Peppol 電子發票](https://foliant-help.iforiti.com/zh-Hant/integrations/peppol-e-invoicing.md)
* [方案與價格](https://foliant-help.iforiti.com/zh-Hant/billing-and-plans/plans-and-pricing.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.