什么是PEPPOL BIS?

2023-02-02 09:13:39 浏览数 (1)

和常见的X12以及EDIFACT类似,PEPPOL BIS也是一种EDI标准,主要用于B2G和B2B交易,在欧盟的应用十分广泛。在业务场景中,PEPPOL不单单只是用于发票,从下单到开票流程中均可提供标准化的数据传输。

在此前的文章中,我们了解了PEPPOL网络的对接流程,如果企业计划接入PEPPOL网络,除了通过PEPPOL接入点与交易伙伴建立连接之外,还需要了解通过PEPPOL网络传输的文件格式——PEPPOL BIS。

在展开介绍之前,先带大家回顾一下PEPPOL网络的传输流程:

  • 接入PEPPOL网络的企业可以自由选择任何国家的任何接入点
  • 签订一个协议即可连接所有
  • 各PEPPOL接入点之间没有漫游费用
  • 具有开放式的四角模型

对于接收方和发送方接入点具有以下要求:

  • 发送方接入点必须发送有效的PEPPOL BIS文件
  • 接收方接入点接收PEPPOL BIS文件

接下来以订单为例,了解PEPPOL标准下的示例文件。

PEPPOL BIS 订单示例

以下是PEPPOL BIS的订单示例:

<?xml version="1.0" encoding="UTF-8"?>

<Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2"

xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"

xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">

<cbc:CustomizationID>urn:fdc:PEPPOL.eu:poacc:trns:order:3</cbc:CustomizationID>

<!-- 用户ID -->

<cbc:ProfileID>urn:fdc:PEPPOL.eu:poacc:bis:order_only:3</cbc:ProfileID>

<!-- 帐户ID -->

<cbc:ID>34</cbc:ID>

<cbc:SalesOrderID>112233</cbc:SalesOrderID>

<!-- 销售订单编号 -->

<cbc:IssueDate>2018-09-01</cbc:IssueDate>

<!-- 订单发布日期 -->

<cbc:IssueTime>12:30:00</cbc:IssueTime>

<!-- 订单发布时间 -->

<cbc:OrderTypeCode>220</cbc:OrderTypeCode>

<!-- 订单类型编码 -->

<cbc:Note>Information text for the whole order</cbc:Note>

<!-- 订单注释 -->

<cbc:DocumentCurrencyCode>NOK</cbc:DocumentCurrencyCode>

<!-- 订单文件货币代码 -->

<cbc:CustomerReference>9000012345</cbc:CustomerReference>

<!-- 客户方参考号 -->

<cbc:AccountingCost>Project123</cbc:AccountingCost>

<!-- 订单会计成本 -->

<cac:ValidityPeriod>

<cbc:EndDate>2013-01-31</cbc:EndDate>

<!-- 订单结束日期 -->

</cac:ValidityPeriod>

<cac:QuotationDocumentReference>

<cbc:ID>QuoteID123</cbc:ID>

<!-- 报价文件参考号 -->

</cac:QuotationDocumentReference>

<cac:OrderDocumentReference>

<cbc:ID>RjectedOrderID123</cbc:ID>

<!-- 订单文件参考号 -->

</cac:OrderDocumentReference>

<cac:OriginatorDocumentReference>

<cbc:ID>MAFO</cbc:ID>

<!-- 发起人文件参考号 -->

</cac:OriginatorDocumentReference>

<cac:AdditionalDocumentReference>

<cbc:ID>Doc1</cbc:ID>

<!-- 附加文件参考号 -->

<cbc:DocumentType>Timesheet</cbc:DocumentType>

<!-- 附加文件类型 -->

<cac:Attachment>

<cac:ExternalReference>

<cbc:URI>http://www.suppliersite.eu/sheet001.html</cbc:URI>

<!-- 外部参考资料URI -->

</cac:ExternalReference>

</cac:Attachment>

</cac:AdditionalDocumentReference>

<cac:AdditionalDocumentReference>

<cbc:ID>Doc2</cbc:ID>

<!-- 附加文件参考号 -->

<cbc:DocumentType>Drawing</cbc:DocumentType>

<!-- 附加文件类型 -->

<cac:Attachment>

<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="Hours-spend.csv">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi

</cbc:EmbeddedDocumentBinaryObject>

<!-- 嵌入式文档二进制对象 -->

</cac:Attachment>

</cac:AdditionalDocumentReference>

<cac:Contract>

<cbc:ID>34322</cbc:ID>

<!-- 合同编号 -->

</cac:Contract>

<cac:BuyerCustomerParty>

<cac:Party>

<cbc:EndpointID schemeID="0192">987654325</cbc:EndpointID>

<!-- 买方/客户方接入点ID -->

<cac:PartyIdentification>

<cbc:ID schemeID="0088">7300010000001</cbc:ID>

<!-- 买方/客户方编号 -->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Helseforetak</cbc:Name>

<!-- 买方/客户方名称 -->

</cac:PartyName>

<cac:PostalAddress>

<cbc:StreetName>Sinsenveien 40</cbc:StreetName>

<!-- 买方/客户方街道名 -->

<cbc:AdditionalStreetName>Oppgang B</cbc:AdditionalStreetName>

<!-- 买方/客户方附加街道名 -->

<cbc:CityName>Oslo</cbc:CityName>

<!-- 买方/客户方城市名 -->

<cbc:PostalZone>0501</cbc:PostalZone>

<!-- 买方/客户方邮政区域 -->

<cbc:CountrySubentity>Region</cbc:CountrySubentity>

<!-- 买方/客户方国别分机构 -->

<cac:AddressLine>

<cbc:Line>Address Line 3</cbc:Line>

<!-- 地址行 -->

</cac:AddressLine>

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 买方/客户方国家 -->

</cac:Country>

</cac:PostalAddress>

<cac:PartyTaxScheme>

<cbc:CompanyID>NO9311867455MVA</cbc:CompanyID>

<!-- 买方/客户方公司编号 -->

<cac:TaxScheme>

<cbc:ID>VAT</cbc:ID>

<!-- 买方/客户方税收计划 -->

</cac:TaxScheme>

</cac:PartyTaxScheme>

<cac:PartyLegalEntity>

<cbc:RegistrationName>Helseforetak AS</cbc:RegistrationName>

<!-- 买方/客户方注册名称 -->

<cbc:CompanyID schemeID="0082">931186755</cbc:CompanyID>

<!-- 买方/客户方公司编号 -->

<cac:RegistrationAddress>

<cbc:CityName>Oslo</cbc:CityName>

<!-- 买方/客户方注册城市名 -->

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 买方/客户方注册国家编号 -->

</cac:Country>

</cac:RegistrationAddress>

</cac:PartyLegalEntity>

<cac:Contact>

<cbc:Name>Iris</cbc:Name>

<!-- 买方/客户方联系名称 -->

<cbc:Telephone>23011000</cbc:Telephone>

<!-- 买方/客户方电话 -->

<cbc:ElectronicMail>irisw@kasoftware.cn</cbc:ElectronicMail>

<!-- 买方/客户方电子邮件 -->

</cac:Contact>

</cac:Party>

</cac:BuyerCustomerParty>

<cac:SellerSupplierParty>

<cac:Party>

<cbc:EndpointID schemeID="0192">123456785</cbc:EndpointID>

<!-- 卖方/供应方接入点ID -->

<cac:PartyIdentification>

<cbc:ID schemeID="0088">7300010000001</cbc:ID>

<!-- 卖方/供应方编号 -->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Medical</cbc:Name>

<!-- 卖方/供应方名称 -->

</cac:PartyName>

<cac:PostalAddress>

<cbc:StreetName>Storgt. 12</cbc:StreetName>

<!-- 卖方/供应方街道名 -->

<cbc:AdditionalStreetName>4. etasje</cbc:AdditionalStreetName>

<!-- 卖方/供应方附加街道名 -->

<cbc:CityName>Oslo</cbc:CityName>

<!-- 卖方/供应方城市名 -->

<cbc:PostalZone>0585</cbc:PostalZone>

<!-- 卖方/供应方邮政区域 -->

<cbc:CountrySubentity>Region</cbc:CountrySubentity>

<!-- 卖方/供应方国别分机构 -->

<cac:AddressLine>

<cbc:Line>Address Line 3</cbc:Line>

</cac:AddressLine>

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 卖方/供应方国家 -->

</cac:Country>

</cac:PostalAddress>

<cac:PartyLegalEntity>

<cbc:RegistrationName>Medical AS</cbc:RegistrationName>

<!-- 卖方/供应方注册名称 -->

<cbc:CompanyID schemeID="0082">123456789</cbc:CompanyID>

<!-- 卖方/供应方公司编号 -->

<cac:RegistrationAddress>

<cbc:CityName>Oslo</cbc:CityName>

<!-- 卖方/供应方城市名 -->

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 卖方/供应方注册国家编号 -->

</cac:Country>

</cac:RegistrationAddress>

</cac:PartyLegalEntity>

<cac:Contact>

<cbc:Name>Nils Nilsen</cbc:Name>

<!-- 卖方/供应方联系名称 -->

<cbc:Telephone>22150510</cbc:Telephone>

<!-- 卖方/供应方电话 -->

<cbc:ElectronicMail>post@medical.no</cbc:ElectronicMail>

<!-- 卖方/供应方电子邮件 -->

</cac:Contact>

</cac:Party>

</cac:SellerSupplierParty>

<cac:OriginatorCustomerParty>

<cac:Party>

<cac:PartyIdentification>

<cbc:ID schemeID="0088">7300010000001</cbc:ID>

<!-- 发起人客户方编号 -->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Helseavdeling</cbc:Name>

<!-- 发起人客户方名称 -->

</cac:PartyName>

<cac:Contact>

<cbc:Name>Julie Jensen</cbc:Name>

<!-- 发起人客户方联系人名称 -->

<cbc:Telephone>67915012</cbc:Telephone>

<!-- 发起人客户方联系人电话 -->

<cbc:ElectronicMail>post@helse.no</cbc:ElectronicMail>

<!-- 发起人客户方联系人邮箱 -->

</cac:Contact>

</cac:Party>

</cac:OriginatorCustomerParty>

<cac:AccountingCustomerParty>

<cac:Party>

<cbc:EndpointID schemeID="0192">987654325</cbc:EndpointID>

<!-- 会计客户方接入点ID -->

<cac:PartyIdentification>

<cbc:ID schemeID="0088">7300010000001</cbc:ID>

<!-- 会计客户方编号 -->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Accounting</cbc:Name>

<!-- 会计客户方名称 -->

</cac:PartyName>

<cac:PostalAddress>

<cbc:StreetName>Sinsenveien 42</cbc:StreetName>

<!-- 会计客户方街道名 -->

<cbc:AdditionalStreetName>Oppgang A</cbc:AdditionalStreetName>

<!-- 会计客户方附加街道名 -->

<cbc:CityName>Oslo</cbc:CityName>

<!-- 会计客户方城市名 -->

<cbc:PostalZone>0501</cbc:PostalZone>

<!-- 会计客户方邮政区域 -->

<cbc:CountrySubentity>Region</cbc:CountrySubentity>

<!-- 会计客户方国别分机构 -->

<cac:AddressLine>

<cbc:Line>Address Line 3</cbc:Line>

<!-- 会计客户方地址行 -->

</cac:AddressLine>

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 会计客户方国家 -->

</cac:Country>

</cac:PostalAddress>

<cac:PartyTaxScheme>

<cbc:CompanyID>NO9311867455MVA</cbc:CompanyID>

<!-- 会计客户方公司编号 -->

<cac:TaxScheme>

<cbc:ID>VAT</cbc:ID>

<!-- 会计客户方税收计划 -->

</cac:TaxScheme>

</cac:PartyTaxScheme>

<cac:PartyLegalEntity>

<cbc:RegistrationName>Helseforetak AS</cbc:RegistrationName>

<!-- 会计客户方注册名称 -->

<cbc:CompanyID schemeID="0082">931186723</cbc:CompanyID>

<!-- 会计客户方公司编号 -->

<cac:RegistrationAddress>

<cbc:CityName>Oslo</cbc:CityName>

<!-- 会计客户方注册城市名 -->

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 会计客户方国家编号 -->

</cac:Country>

</cac:RegistrationAddress>

</cac:PartyLegalEntity>

</cac:Party>

</cac:AccountingCustomerParty>

<cac:Delivery>

<cac:DeliveryLocation>

<cbc:ID schemeID="0088">7300010000001</cbc:ID>

<!-- 交付地址编号 -->

<cac:Address>

<cbc:StreetName>Solheimsveien 10</cbc:StreetName>

<!-- 交付地址街道名称 -->

<cbc:AdditionalStreetName>Add</cbc:AdditionalStreetName>

<!-- 交付地址街道附加名称 -->

<cbc:CityName>Lørenskog</cbc:CityName>

<!-- 交付城市名 -->

<cbc:PostalZone>1473</cbc:PostalZone>

<!-- 交付邮政区域 -->

<cbc:CountrySubentity>Region</cbc:CountrySubentity>

<!-- 交付国别分机构 -->

<cac:AddressLine>

<cbc:Line>3rd Address line</cbc:Line>

<!-- 交付地址行 -->

</cac:AddressLine>

<cac:Country>

<cbc:IdentificationCode>NO</cbc:IdentificationCode>

<!-- 交付国家编号 -->

</cac:Country>

</cac:Address>

</cac:DeliveryLocation>

<cac:RequestedDeliveryPeriod>

<cbc:StartDate>2012-10-10</cbc:StartDate>

<!-- 要求的交货起始日期 -->

<cbc:EndDate>2012-10-20</cbc:EndDate>

<!-- 要求的交货结束日期 -->

</cac:RequestedDeliveryPeriod>

<cac:DeliveryParty>

<cac:PartyIdentification>

<cbc:ID schemeID="0082">13691234</cbc:ID>

<!-- 送货方 ID-->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Helseavdeling</cbc:Name>

<!-- 送货方名称 -->

</cac:PartyName>

<cac:Contact>

<cbc:Name>Ole</cbc:Name>

<!-- 送货方联系人姓名 -->

<cbc:Telephone>987098709</cbc:Telephone>

<!-- 送货方联系电话 -->

<cbc:ElectronicMail>ole@helseforetak.no</cbc:ElectronicMail>

<!-- 送货方电子邮箱 -->

</cac:Contact>

</cac:DeliveryParty>

</cac:Delivery>

<cac:DeliveryTerms>

<cbc:ID>FOB</cbc:ID>

<!-- 送货条款 ID -->

<cbc:SpecialTerms>CAD</cbc:SpecialTerms>

<!-- 送货特别条款 -->

<cac:DeliveryLocation>

<cbc:ID>FOB Oslo</cbc:ID>

<!-- 送货地址ID -->

</cac:DeliveryLocation>

</cac:DeliveryTerms>

<cac:PaymentTerms>

<cbc:Note>Payment terms description</cbc:Note>

<!-- 支付条款 -->

</cac:PaymentTerms>

<cac:AllowanceCharge>

<cbc:ChargeIndicator>true</cbc:ChargeIndicator>

<!-- 费用补贴指示 -->

<cbc:AllowanceChargeReasonCode>ABK</cbc:AllowanceChargeReasonCode>

<!-- 费用补贴原因代码 -->

<cbc:AllowanceChargeReason>Miscellaneous services</cbc:AllowanceChargeReason>

<!-- 费用补贴原因 -->

<cbc:Amount currencyID="NOK">400.00</cbc:Amount>

<!-- 费用补贴金额 -->

<cac:TaxCategory>

<cbc:ID>Z</cbc:ID>

<!-- 费用补贴税收类别ID -->

<cbc:Percent>0</cbc:Percent>

<!-- 费用补贴金额税收百分比 -->

<cac:TaxScheme>

<cbc:ID>VAT</cbc:ID>

<!-- 费用补贴金额税收ID -->

</cac:TaxScheme>

</cac:TaxCategory>

</cac:AllowanceCharge>

<cac:TaxTotal>

<cbc:TaxAmount currencyID="NOK">100.00</cbc:TaxAmount>

<!-- 税收总额 -->

</cac:TaxTotal>

<cac:AnticipatedMonetaryTotal>

<cbc:LineExtensionAmount currencyID="NOK">6525.00</cbc:LineExtensionAmount>

<!-- 预计行金额 -->

<cbc:TaxExclusiveAmount currencyID="NOK">6272.50</cbc:TaxExclusiveAmount>

<!-- 税收专用金额 -->

<cbc:TaxInclusiveAmount currencyID="NOK">6372.50</cbc:TaxInclusiveAmount>

<!-- 含税金额 -->

<cbc:AllowanceTotalAmount currencyID="NOK">652.50</cbc:AllowanceTotalAmount>

<!-- 补贴总金额 -->

<cbc:ChargeTotalAmount currencyID="NOK">400.00</cbc:ChargeTotalAmount>

<!-- 收费总金额 -->

<cbc:PrepaidAmount currencyID="NOK">10.00</cbc:PrepaidAmount>

<!-- 预付金额 -->

<cbc:PayableRoundingAmount currencyID="NOK">0.50</cbc:PayableRoundingAmount>

<!-- 应付周转金额 -->

<cbc:PayableAmount currencyID="NOK">6363</cbc:PayableAmount>

<!-- 应付金额 -->

</cac:AnticipatedMonetaryTotal>

<cac:OrderLine>

<cbc:Note>Freetext note on line 1</cbc:Note>

<!-- 订单行注释 -->

<cac:LineItem>

<cbc:ID>1</cbc:ID>

<!-- 订单行号 -->

<cbc:Quantity unitCode="EA">120</cbc:Quantity>

<!-- 订单数量 -->

<cbc:LineExtensionAmount currencyID="NOK">6300.00</cbc:LineExtensionAmount>

<!-- 订单行金额 -->

<cbc:PartialDeliveryIndicator>false</cbc:PartialDeliveryIndicator>

<!-- 订单部分交付指标 -->

<cbc:AccountingCost>12345678</cbc:AccountingCost>

<!-- 订单会计成本 -->

<cac:Delivery>

<cac:RequestedDeliveryPeriod>

<cbc:StartDate>2010-02-10</cbc:StartDate>

<!-- 要求交货的起始日期 -->

<cbc:EndDate>2010-02-25</cbc:EndDate>

<!-- 要求交货的结束日期 -->

</cac:RequestedDeliveryPeriod>

</cac:Delivery>

<cac:OriginatorParty>

<cac:PartyIdentification>

<cbc:ID schemeID="0082">1234567890</cbc:ID>

<!-- 订单发起方ID -->

</cac:PartyIdentification>

<cac:PartyName>

<cbc:Name>Josef K.</cbc:Name>

<!-- 订单发起方姓名 -->

</cac:PartyName>

</cac:OriginatorParty>

<cac:AllowanceCharge>

<cbc:ChargeIndicator>true</cbc:ChargeIndicator>

<!-- 订单费用补贴指示 -->

<cbc:AllowanceChargeReasonCode>ABK</cbc:AllowanceChargeReasonCode>

<!-- 费用补贴原因代码 -->

<cbc:AllowanceChargeReason>Miscellaneous services</cbc:AllowanceChargeReason>

<!-- 费用补贴原因 -->

<cbc:Amount currencyID="NOK">600.00</cbc:Amount>

<!-- 费用补贴金额 -->

</cac:AllowanceCharge>

<cac:Price>

<cbc:PriceAmount currencyID="NOK">50.000</cbc:PriceAmount>

<!-- 价格 -->

<cbc:BaseQuantity unitCode="EA">1</cbc:BaseQuantity>

<!-- 基础数量 -->

<cac:AllowanceCharge>

<cbc:ChargeIndicator>false</cbc:ChargeIndicator>

<!-- 费用补贴指示 -->

<cbc:Amount currencyID="NOK">10.00</cbc:Amount>

<!-- 费用补贴金额 -->

<cbc:BaseAmount currencyID="NOK">60.00</cbc:BaseAmount>

<!-- 费用补贴基础数量 -->

</cac:AllowanceCharge>

</cac:Price>

<cac:Item>

<cbc:Description>Needle 4mm</cbc:Description>

<!-- 物料描述 -->

<cbc:Name>Needle 4mm</cbc:Name>

<!-- 物料名称 -->

<cac:BuyersItemIdentification>

<cbc:ID>123456</cbc:ID>

<!-- 买方物料ID -->

</cac:BuyersItemIdentification>

<cac:SellersItemIdentification>

<cbc:ID>121212</cbc:ID>

<!-- 卖方物料ID -->

</cac:SellersItemIdentification>

<cac:StandardItemIdentification>

<cbc:ID schemeID="0160">7560000012345</cbc:ID>

<!-- 标准物料ID -->

</cac:StandardItemIdentification>

<cac:ItemSpecificationDocumentReference>

<cbc:ID>12345678</cbc:ID>

<!-- 项目规格文件参考ID -->

</cac:ItemSpecificationDocumentReference>

<cac:CommodityClassification>

<cbc:ItemClassificationCode listID="MP" listVersionID="19.0501">12345678</cbc:ItemClassificationCode>

<!-- 项目分类代码 -->

</cac:CommodityClassification>

<cac:ClassifiedTaxCategory>

<cbc:ID>S</cbc:ID>

<!-- 分类税类ID -->

<cbc:Percent>25</cbc:Percent>

<!-- 分类税收百分比 -->

<cac:TaxScheme>

<cbc:ID>VAT</cbc:ID>

<!-- 税收计划 -->

</cac:TaxScheme>

</cac:ClassifiedTaxCategory>

<cac:AdditionalItemProperty>

<cbc:Name>Length</cbc:Name>

<!-- 附加项目名称 -->

<cbc:Value>30 mm</cbc:Value>

<!-- 附加项目值 -->

<cbc:ValueQuantity unitCode="C62">30</cbc:ValueQuantity>

<!-- 附加项目数量 -->

<cbc:ValueQualifier>descr</cbc:ValueQualifier>

<!-- 附加项目价值限定词 -->

</cac:AdditionalItemProperty>

<cac:ItemInstance>

<cbc:SerialID>SE-123456</cbc:SerialID>

<!-- 项目实例序列号 -->

<cac:LotIdentification>

<cbc:LotNumberID>LO-123456</cbc:LotNumberID>

<!-- 批号ID -->

</cac:LotIdentification>

</cac:ItemInstance>

</cac:Item>

</cac:LineItem>

</cac:OrderLine>

</Order>

通过以上订单报文详解,大家一定对PEPPOL有了更深入的了解。为了通过 PEPPOL 网络发送电子发票,你必须先连接到 PEPPOL 接入点(PEPPOL Access Point),知行软件会将其作为云服务提供。

联系我们,快速连接到PEPPOL网络!

更多 EDI 信息,请参阅: EDI 是什么?

ide

0 人点赞