Search Posts

Visits: 759

PeppolのeDElivery関連文書はこちらのページにあります。
https://docs.peppol.eu/edelivery/envelope/PEPPOL-EDN-Business-Message-Envelope-1.2-2019-02-01.pdf

Peppolアクセスポイントにファイルを送信する場合は、ペイロード(ヘッダーやトレーラを含まない本体データ。ここでは、請求書、注文など)をPeppolの封書(Standard Business Document Header SBDH – 標準業務文書ヘッダー)に入れて送る必要がある。 Peppolからファイルを受信するときにも、同じ封書が使用される。書類は、タグ</StandardBusinessDocumentHeader>と</StandardBusinesDocument>の間に配置する必要がある。

この封筒の宛先、発信元には、Party identifiersが使用される。
2.1 Party identifiers
The required Receiver party identifier in the Message Envelope header is the one that corresponds to a PEPPOL Participant registered in the SML/SMP. Also the Sender party identifier is required. The structure of the identifier MUST follow the:
“PEPPOL Policy for use of Identifiers v3.x” [PEPPOL_Policy3] for BIS v1 and v2 documents
“PEPPOL Policy for use of Identifiers v4.x” [PEPPOL_Policy4] for BIS v3 or later
In cases where the sender is not registered in SML/SMP the identifier of the sender MUST be used as if the sender would be registered.
Non-normative example:

<Sender>
  <Identifier Authority="iso6523-actorid-upis">0088:7315458756324</Identifier>
</Sender>
<Receiver>
  <Identifier Authority="iso6523-actorid-upis">0088:4562458856624</Identifier>
</Receiver>

TransportInfrastructure/PEPPOL-EDN-Policy-for-use-of-identifiers-4.0-2019-01-28.pdf

PeppolのEDeliveryで使用しているAS4プロファイルで規定している業務電文の封書(SBDH)については、次のような記載がある。

PEPPOL Business Message Envelope 1.2の記載例

<?xmlversion="1.0"encoding="UTF-8"?>
<StandardBusinessDocument
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
    <StandardBusinessDocumentHeader>
        <HeaderVersion>1.0</HeaderVersion>
        <Sender>
            <IdentifierAuthority="iso6523-actorid-upis">0088:7315458756324</Identifier>
        </Sender>
        <Receiver>
            <IdentifierAuthority="iso6523-actorid-upis">0088:4562458856624</Identifier>
        </Receiver>
        <DocumentIdentification>
            <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>
            <TypeVersion>2.1</TypeVersion>
            <InstanceIdentifier>123123</InstanceIdentifier>
            <Type>Invoice</Type>
            <CreationDateAndTime>2019-02-01T15:42:10Z</CreationDateAndTime>
        </DocumentIdentification>
        <BusinessScope>
            <Scope>
                <Type>DOCUMENTID</Type>
                <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1</InstanceIdentifier>
                <Identifier>busdox-docid-qns</Identifier>
            </Scope>
            <Scope>
                <Type>PROCESSID</Type>
                <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>
                <Identifier>cenbii-procid-ubl</Identifier>
            </Scope>
        </BusinessScope>
    </StandardBusinessDocumentHeader>
    <Invoice
            xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
            xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
            xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
        <!--reducedinstancefile-->
    </Invoice>
</StandardBusinessDocument>

https://www.galaxygw.com/ でも、Peppolのエンベロープの例が次のページで紹介されている。Support | SBDH envelope for files to and from Peppol

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StandardBusinessDocument xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
    <StandardBusinessDocumentHeader>
        <HeaderVersion>1.0</HeaderVersion>
        <Sender>
            <Identifier Authority="iso6523-actorid-upis">
                peppol_sender_id_here_corner1
            </Identifier>
        </Sender>
        <Receiver>
            <Identifier Authority="iso6523-actorid-upis">
                peppol_receiver_id_here_corner4
            </Identifier>
        </Receiver>
        <DocumentIdentification>
            <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>
            <TypeVersion>2.1</TypeVersion>
            <InstanceIdentifier>
                use_uuid_here
            </InstanceIdentifier>
            <Type>Invoice</Type>
            <CreationDateAndTime>2019-02-19T11:00:55.110+02:00</CreationDateAndTime>
        </DocumentIdentification>
        <BusinessScope>
            <Scope>
                <Type>DOCUMENTID</Type>
                <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1</InstanceIdentifier>
            </Scope>
            <Scope>
                <Type>PROCESSID</Type>
                <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>
            </Scope>
        </BusinessScope>
    </StandardBusinessDocumentHeader>
    <Invoice
            xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-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:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
        <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
        <cbc:ID>invoice_id_here</cbc:ID>
        <!-- 
            Imagine the rest of a "PEPPOL BIS Billing 3.0 here. Visit https://www.galaxygw.com/support/integration-test and 
            http://docs.peppol.eu/poacc/billing/3.0/bis/#examples for more sample files 
        -->
    </Invoice>
</StandardBusinessDocument>