> ## 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/cn/tax-and-legal/legal-notes.md)。

增值税号核验属于税务合规工具包，是否可用取决于您的套餐。请参阅[套餐与价格](https://foliant-help.iforiti.com/cn/billing-and-plans/plans-and-pricing.md)。

## 开始之前

* VIES 涵盖欧盟国家和北爱尔兰（XI）的增值税号。其他号码会显示为无法核验。
* 请在 **设置 › 税务与法律** 中添加您自己的欧盟增值税号。Foliant 会在每次核验时一并发送该号码，这样 VIES 会返回查询编号，作为您的核验证明。请参阅[增值税号、EORI 和税种名称](https://foliant-help.iforiti.com/cn/tax-and-legal/vat-numbers-and-eori.md)。

## Foliant 何时核验号码

| 位置 | 会发生什么 |
| - | - |
| 企业买家的新订单 | Foliant 在后台核验买家的增值税号，号码来自 B2B 公司、结账信息或客户保存的资料。 |
| Shopify 后台的客户页面 | **B2B Customer Details** 模块会核验客户资料中保存的增值税号。 |
| 结账 | 如果您的结账页面上有电子发票申请模块，买家输入增值税号时即会进行核验。请参阅[设置 Peppol 电子发票](https://foliant-help.iforiti.com/cn/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/cn/invoices-and-numbering/locked-invoices.md)会保留其打印时的增值税状态。如果之后对同一号码的核验得出不同结果，订单上的 **Document numbers** 模块会显示 **Buyer's VAT status changed**。发票本身不会改变：如需更正，请开具贷项通知单。

## 须知

* 当客户要求您删除其数据时，Foliant 会删除其增值税号的核验记录。
* 如果您的套餐不再包含该工具包，Foliant 会停止核验号码，新单据也不再打印增值税状态或法律说明。已锁定的发票会保留其打印的内容。

## 相关文章

* [发票上的法律说明](https://foliant-help.iforiti.com/cn/tax-and-legal/legal-notes.md)
* [查看订单上的单据编号](https://foliant-help.iforiti.com/cn/invoices-and-numbering/document-numbers-on-orders.md)
* [设置 Peppol 电子发票](https://foliant-help.iforiti.com/cn/integrations/peppol-e-invoicing.md)
* [套餐与价格](https://foliant-help.iforiti.com/cn/billing-and-plans/plans-and-pricing.md)


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