電子發票(EDI(電子資料交換))

EDI(電子資料交換)是企業間以標準格式傳送商業文件(例如採購訂單和發票)的通訊方式。根據 EDI 標準傳送文件可確保接收系統能正確解讀資訊。根據貴公司所在的國家/地區,可使用多種 EDI 檔案格式。

The EDI feature allows companies to automate administrative processes. It may also be required by some governments for fiscal control or to support administrative procedures.

Electronic sending of documents such as customer invoices, credit notes, or vendor bills is one application of EDI.

Odoo支持以下格式。

格式名稱

適用範圍

Factur-X(CII)

所有客户

Peppol BIS 賬單 3.0

所有客户

XRechnung(UBL)

所有客户

Fattura PA (IT)

意大利公司

CFDI (4.0)

墨西哥公司

Peru UBL 2.1

秘鲁公司

SII IVA Llevanza de libros registro (ES)

西班牙公司

UBL 2.1(哥伦比亚)

哥伦比亚公司

埃及税务局

埃及公司

电子开票(印度)

印度公司

NLCIUS(荷兰)

荷兰公司

EHF 3.0

挪威公司

新加坡 BIS 賬單 3.0

新加坡公司

澳洲紐西蘭 BIS 賬單 3.0

所有客户

備註

  • Factur-X (CII) 格式可对发票进行验证检查,并生成符合 PDF/A-3 标准的文件。

  • Odoo 生成的每个 PDF 都包含一个整合的 Factur-X XML 文件。

其他資料

財政本地化功能

配置

根據預設,傳送視窗中可用的格式取決於客戶的國家/地區。

若要為客戶定義特定的電子發票格式,請前往:menuselection:`會計 ‣ 客戶 ‣ 客戶,開啟客戶表單,前往會計分頁,然後在客戶發票區段中選取適當的格式。

產生電子發票

From a confirmed invoice, click Send & Print. In the Send window, enable the relevant e-invoicing format option (e.g., BIS Billing 3.0), then click Send & Print to generate and attach the corresponding e-invoicing XML file.

Peppol

Peppol 網路確保企業與政府機關之間的文件和資訊交換。它主要用於電子發票,其存取點(連接至 Peppol 網路的連接器)讓公司能傳送客戶發票和貸記通知單等電子文件,以及接收供應商帳單和退款等文件。

在這種情況下,Odoo 同時擔任存取點和SMP(服務中繼資料發布者),並能進行電子發票交易,無需透過電子郵件或郵寄方式傳送發票或帳單。

備註

  • Make sure to install the Peppol module (account_peppol).

  • Peppol 註冊免費,並可在 Odoo Community 中使用。

  • 傳送文件支援的格式包括BIS Billing 3.0、XRechnung CIUS 和 NLCIUS。

  • 以下國家/地區符合在Odoo 中註冊 Peppol的資格:
    Andorra, Albania, Austria, Bosnia and Herzegovina, Belgium, Bulgaria, Switzerland, Cyprus, Czech Republic, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Greece, Croatia, Hungary, Ireland, Iceland, Italy, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Montenegro, North Macedonia, Malta, Netherlands, Norway, Poland, Portugal, Romania, Serbia, Sweden, Slovenia, Slovakia, San Marino, Turkey, Holy See (Vatican City State)

報名

To register on Peppol, go to Accounting ‣ Configuration ‣ Settings, scroll to the PEPPOL Electronic Document Invoicing section, and fill in the following information:

  • Peppol EAS: Peppol Electronic Address Scheme, which usually depends on the company’s country. This field is often prefilled with your country’s most commonly used EAS code. For example, the preferred EAS code for most companies in Belgium is 0208.

  • Peppol Endpoint: usually a Company Registry number or a VAT number

  • Mobile Number, including the country code (e.g., +32 in Belgium)

  • 主要联系邮箱

  • Migration key: If you are migrating from another access point, copy the key from the previous provider.

  1. Click Validate registration.

    其他資料

To request and receive a verification code, follow these steps:

  1. Click Verify phone number in the PEPPOL Electronic Document Invoicing section.

    电话验证请求核实
  2. A text message containing a code is sent to the mobile number provided to finalize the verification process.

  3. Enter the code and click Confirm. The registration is then pending activation.

  4. Select another purchase journal in the Incoming Invoices Journal field if necessary.

    Pending application
  5. The registration should be automatically activated, and the Application status should be updated within a day.

    有效申请

All invoices and vendor bills can then be sent directly using Peppol.

備註

  • To update the Primary contact email, modify it and click Update contact details.

  • 若您正在使用先前供應商的接入點,請務必先取消註冊,然後再向新接入點註冊,除非是 Hermes (BOSA)。若使用 Hermes (BOSA),無需採取任何動作;遷移將自動處理。

小訣竅

  • 若要手動觸發用於檢查 Peppol 註冊狀態的排程動作,請啟用開發人員模式,開啟設定應用程式,前往設定 ‣ 技術 ‣ 排程動作,並搜尋Peppol: update participant status。開啟該排程動作後,按一下手動執行。

  • To try Peppol without sending real data, use the demo mode by setting the account_peppol.edi.mode system parameter to demo.

  • For advanced testing on Peppol’s dedicated test network, use the test mode by setting the account_peppol.edi.mode system parameter to test. This option is intended for experienced users only.

聯絡人驗證

在使用 Peppol 向聯絡人傳送發票之前,請確保該聯絡人已註冊為 Peppol 參與者。請依照以下步驟操作:

  1. 前往會計 ‣ 客戶 ‣ 客戶並存取客戶的表單。

  2. In the Accounting tab, check the following information in the Electronic Invoicing section:

    • Format: BIS Billing 3.0, XRechnung CIUS, or NLCIUS.

    • Peppol e-address (EAS): Select the relevant EAS code in the dropdown list.

    • Peppol Endpoint: Enter the customer’s endpoint identifier.

  3. Click Verify. Its Peppol endpoint validity is marked as Valid if the contact is found on the Peppol network.

    驗證聯絡人註冊

重要

While Odoo prefills both the EAS code and the endpoint number based on the information available for a contact, verifying these details with the contact is recommended.

傳送發票

To set Peppol as a default format for sending invoices, go to Accounting ‣ Configuration ‣ Settings. In the Customer Invoices section, enable the Peppol format option and Save.

Posted invoices to be sent via Peppol are marked as Ready to send in the invoice’s Peppol status field.

備註

All invoices that are ready to be sent via Peppol can be viewed in the following ways:

  • In the Invoices list view, use the (adjust settings) button to add the Peppol status column or apply the Peppol Ready filter in the search bar.

  • In the Accounting dashboard, click Peppol ready invoices on the relevant sales journal.

To send the invoice to the customer via Peppol, click Send & Print on the confirmed invoice form. In the Send window, enable both the country-specific format (e.g., BIS Billing 3.0) and Send via PEPPOL options, then click Send & Print.

小訣竅

Multiple invoices can also be sent in batches via Peppol.

Once the invoices are sent via Peppol, their Peppol status is changed to Processing.

Peppol 信息状态

一旦發票成功傳送到聯絡人的存取點,狀態就會更新為Done。

小訣竅

To manually trigger the scheduled action used to check the invoices』 status, go to the Accounting dashboard and click Fetch Peppol invoice status on the corresponding sales journal.

获取 Peppol 发票状态

接收供應商帳單

New documents received via Peppol are checked multiple times a day. Received documents are automatically imported into the purchase journal set in the PEPPOL Electronic Document Invoicing section, and corresponding vendor bills are created as drafts and appear in the vendor bills list view.

小訣竅

To manually trigger the scheduled action to retrieve incoming Peppol documents, go to the Accounting dashboard and click Fetch from Peppol on the main Peppol purchase journal.

从 Peppol 获取账单

備註

也可以透過 Peppol 傳送自開帳單。

加入額外欄位

重要

加入欄位需要Studio應用程式。

Odoo 預設支援最常見的 Peppol 欄位,但透過 Peppol 傳送電子發票時,可以使用 Studio 加入額外欄位到發票中以包含額外的 Peppol 資料。

下表顯示:

  • 可加入的額外 Peppol 欄位。以下區段中的欄位:

  • 資料類型,使用 Studio 加入欄位時*必須*與欄位類型相符

  • 在使用 Studio 加入欄位時*必須*輸入的確切欄位標籤

重要

Odoo 使用新欄位的標籤來自動生成該欄位的技術名稱。為確保欄位的技術名稱格式正確,使用下方Studio 欄位標籤欄中的確切文字至關重要。

Peppol 技術名稱(XML)

資料類型

Studio 欄位標籤

主要發票

TaxPointDate

日期

Peppol tax point date

ContractDocumentReference.ID

文字

Peppol contract document reference ID

DespatchDocumentReference.ID

文字

Peppol despatch document reference ID

AccountingCost

文字

Peppol accounting cost

ProjectReference.ID

文字

Peppol project reference ID

InvoicePeriodStartDate

日期

Peppol Invoice period Start Date

InvoicePeriodEndDate

日期

Peppol Invoice period End Date

OrderReference.ID

文字

Peppol Order Reference ID

發票資料行

OrderLineReference/LineID

文字

Peppol order line reference ID

item.buyersItemIdentification

文字

Peppol buyers item ID

若要在發票表單檢視或發票資料行清單檢視中加入新欄位,請依照以下步驟操作:

  1. 啟用開發者模式。

  2. 前往會計 ‣ 客戶 ‣ 發票(或針對發票使用者前往發票 ‣ 客戶 ‣ 發票)。

  3. 開啟現有發票,或按一下新增。

  4. 按一下(切換 Studio)圖示以開啟 Studio。

  5. 如果要在發票資料行清單檢視中加入欄位,請在發票資料行分頁中按一下,然後按一下編輯清單檢視。

  6. 從左側面板將文字或日期欄位拖曳到右側檢視中的所需位置。

  7. 輸入標籤,與上表Studio 欄位標籤欄中顯示的內容完全相同,然後在欄位標籤外按一下,即可看到技術名稱自動更新。

  8. 按一下關閉以儲存所有變更。

備註

Odoo 中的技術名稱應符合 x_studio_peppol_tax_point_date 的格式。如果發生錯誤且技術名稱不正確,請編輯技術名稱。

小訣竅

依照上述說明建立新欄位後,可將其加入其他檢視,例如發票清單檢視。

從 Odoo 取消 Peppol 註冊

Only one Peppol receiver registration can be active for each Peppol endpoint identifier at a time. To stop using Odoo as the Peppol access point, e.g., to switch to another provider or reconfigure the registration for a new database, you must first deregister from Peppol. To do so, go to Accounting ‣ Configuration ‣ Settings, scroll down to the PEPPOL Electronic Invoicing section, click Remove from Peppol, and confirm.

一旦移除,Peppol 註冊就會從資料庫中刪除,文件將無法再透過 Odoo 中的 Peppol 傳送或接收。