11. StatusUpdate

← トランザクション個別解説 目次へ戻る



 cXMLでは注文書およびその明細の状況を設定するためにエンティティを使用します。OrderRequestトランザクションが完了した後、サプライヤと中間サーバーはバイヤー企業に追加情報を返送することが必要な場合があります。また、バイヤー企業が請求書を受け取った後、請求書の状況をサプライヤに返送することが必要な場合があります。以下のStatusUpdateトランザクションはこのような目的で使用します。これらのトランザクションはいくつかの共通のセマンティクスと要素 (element) を共有します。OrderRequestへの応答と同様にこれらのどのトランザクションにも固有のResponse要素は含まれません。代わりに、返されるドキュメントにはほぼ空のResponse(Status のみ)が含まれます。返信される各ドキュメントのフォームの例は次のとおりです。

<cXML payloadID="9949494@supplier.com" timestamp="2023-01-12T18:39:09-08:00" xml:lang="en-US">
    <Response>
        <Status code="200" text="OK"/>
    </Response>
</cXML>

11.01. StatusUpdateRequest

DTD: A

click here to expand/close XML view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/cXML.dtd">
<!--
 * Author:      Electric Blue Industries Ltd.
 * Author URI:  https://electric-blue-industries.com/
 * Copyright:   (c)2015-2023 Electric Blue Industries Ltd.
 * Contact:     admin@electric-blue-industris.com
 * License:     GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Reference:   http://xml.cxml.org/current/cXMLReferenceGuide.pdf
-->
<cXML timestamp="0000-00-00T00:00:00+09:00" payloadID="">
    <Header>
        <From>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
            </Credential>
        </From>
        <To>
            <Credential domain="NetworkID">
                <Identity>AN01000000001</Identity>
            </Credential>
        </To>
        <Sender>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
                <SharedSecret>SharedSecret</SharedSecret>
                <CredentialMac
                    type="FromSenderCredentials"
                    algorithm="HMAC-SHA1-96"
                    creationDate="0000-00-00T00:00:00+09:00"
                    expirationDate="0000-00-00T00:00:00+09:00">CredentialMAC</CredentialMac>
            </Credential>
            <UserAgent>Procurement Application Name</UserAgent>
        </Sender>
    </Header>
    <Request>
        <StatusUpdateRequest>
            <DocumentReference payloadID=""/>
            <Status code="" text="" xml:lang=""></Status>
            <!-- page289参照 -->
            <PaymentStatus/>
            <SourcingStatus/>
            <InvoiceStatus/>
            <DocumentStatus/>
            <IntegrationStatus/>
            <Extrinsic/>
        </StatusUpdateRequest>
    </Request>
</cXML>

11.02. ConfirmationRequest

DTD: B

click here to expand/close XML view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/fulfill.dtd">
<!--
 * Author:      Electric Blue Industries Ltd.
 * Author URI:  https://electric-blue-industries.com/
 * Copyright:   (c)2015-2023 Electric Blue Industries Ltd.
 * Contact:     admin@electric-blue-industris.com
 * License:     GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Reference:   http://xml.cxml.org/current/cXMLReferenceGuide.pdf
-->
<cXML timestamp="0000-00-00T00:00:00+09:00" payloadID="">
    <Header>
        <From>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
            </Credential>
        </From>
        <To>
            <Credential domain="NetworkID">
                <Identity>AN01000000001</Identity>
            </Credential>
        </To>
        <Sender>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
                <SharedSecret>SharedSecret</SharedSecret>
                <CredentialMac
                    type="FromSenderCredentials"
                    algorithm="HMAC-SHA1-96"
                    creationDate="0000-00-00T00:00:00+09:00"
                    expirationDate="0000-00-00T00:00:00+09:00">CredentialMAC</CredentialMac>
            </Credential>
            <UserAgent>Procurement Application Name</UserAgent>
        </Sender>
    </Header>
    <Request>
        <ConfirmationRequest>
            <!-- The orderID and orderDate attributes are not required in the OrderReference element. -->
            <OrderReference orderID="" orderDate="">
                <DocumentReference payloadID=""/>
            </OrderReference>
            <!-- Without the confirmID, it remains possible to update this confirmation. An update would refer (in the OrderReference element) to the OrderRequest document, would describe the status of the same items, and would point to this document through its DocumentReference element. However, the confirmID makes the update much more explicit.-->
            <ConfirmationHeader confirmID="" operation="" type="" noticeDate="" invoiceID="" incoTerms="" version="">
                <DocumentReference/>
                <Tax>
                    <Money currency=""/>
                    <Description xml:lang=""/>
                </Tax>
                <Shipping>
                    <Money currency=""/>
                    <Description xml:lang=""/>
                </Shipping>
                <Total/>
                <!-- page303 参照 -->
                <Contact role="">
                    <Name xml:lang=""/>
                    <PostalAddress>
                        <Street/>
                        <City/>
                        <State isoStateCode=""/>
                        <PostalCode/>
                        <Country isoCountryCode=""/>
                    </PostalAddress>
                    <Phone>
                        <TelephoneNumber>
                            <CountryCode isoCountryCode=""/>
                            <AreaOrCityCode/>
                            <Number/>
                        </TelephoneNumber>
                    </Phone>
                </Contact>
                <Hazard/>
                <Comments xml:lang=""/>
                <IdReference identifier="" domain="">
                    <Creator/>
                    <Description/>
                </IdReference>
                <Extrinsic/>
            </ConfirmationHeader>
            <ConfirmationItem quantity="" lineNumber="" parentLineNumber="" itemType="" compositeItemType="">
                <!-- page303 参照 -->
                <Contact role="">
                    <Name xml:lang=""/>
                    <PostalAddress>
                        <Street/>
                        <City/>
                        <State isoStateCode=""/>
                        <PostalCode/>
                        <Country isoCountryCode=""/>
                    </PostalAddress>
                    <Phone>
                        <TelephoneNumber>
                            <CountryCode isoCountryCode=""/>
                            <AreaOrCityCode/>
                            <Number/>
                        </TelephoneNumber>
                    </Phone>
                </Contact>
                <Hazard/>
                <UnitOfMeasure></UnitOfMeasure>
                <ConfirmationStatus quantity="" type="" shipmentDate="" deliveryDate="">
                    <UnitOfMeasure/>
                    <!-- page309参照 -->
                    <UnitPrice>
                        <Money currency=""/>
                    </UnitPrice>
                    <SupplierBatchID/>
                    <ScheduleLineReference quantity="" requestedDeliveryDate="" lineNumber="">
                        <Extrinsic/>
                    </ScheduleLineReference>
                    <ComponentConsumptionDetails/>
                    <Comments xml:lang="">comment</Comments>
                    <Extrinsic/>
                </ConfirmationStatus>
            </ConfirmationItem>
        </ConfirmationRequest>
    </Request>
</cXML>

11.03. OrderStatusRequest

DTD: A

click here to expand/close XML view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/cXML.dtd">
<!--
 * Author:      Electric Blue Industries Ltd.
 * Author URI:  https://electric-blue-industries.com/
 * Copyright:   (c)2015-2023 Electric Blue Industries Ltd.
 * Contact:     admin@electric-blue-industris.com
 * License:     GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Reference:   http://xml.cxml.org/current/cXMLReferenceGuide.pdf
-->
<cXML timestamp="0000-00-00T00:00:00+09:00" payloadID="">
    <Header>
        <From>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
            </Credential>
        </From>
        <To>
            <Credential domain="NetworkID">
                <Identity>AN01000000001</Identity>
            </Credential>
        </To>
        <Sender>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
                <SharedSecret>SharedSecret</SharedSecret>
                <CredentialMac
                    type="FromSenderCredentials"
                    algorithm="HMAC-SHA1-96"
                    creationDate="0000-00-00T00:00:00+09:00"
                    expirationDate="0000-00-00T00:00:00+09:00">CredentialMAC</CredentialMac>
            </Credential>
            <UserAgent>Procurement Application Name</UserAgent>
        </Sender>
    </Header>
    <Request>
        <OrderStatusRequest>
            <OrderStatusRequestHeader orderStatusRequestID="" orderStatusRequestDate="">
                <OrderReference orderID="" orderDate="">
                    <DocumentReference payloadID=""/>
                </OrderReference>
                <!-- Contactは複数を込めることができる -->
                <Contact role="" addressID="">
                    <Name xml:lang=""/>
                    <PostalAddress name="">
                        <DeliverTo/>
                        <Street/>
                        <City/>
                        <State isoStateCode=""/>
                        <PostalCode/>
                        <Country isoCountryCode=""/>
                        <Extrinsic name=""/>
                    </PostalAddress>
                    <Email name=""/>
                    <Phone name="">
                    <TelephoneNumber>
                        <CountryCode isoCountryCode=""/>
                        <AreaOrCityCode/>
                        <Number/>
                    </TelephoneNumber>
                    </Phone>
                </Contact>
                <Comments>comment</Comments>
                <Extrinsic name=""/>
            </OrderStatusRequestHeader>
            <OrderStatusRequestItem rescheduleRequest="" rescheduleDate="">
                <ItemReference lineNumber="">
                    <ItemID>
                        <SupplierPartID/>
                    </ItemID>
                </ItemReference>
                <Comments xml:lang=""/>
                <Priority level="">
                    <Description type="" xml:lang="">
                        <ShortName/>
                    </Description>
                </Priority>
            </OrderStatusRequestItem>
        </OrderStatusRequest>
    </Request>
</cXML>

11.04. ShipNoticeRequest

DTD: B

click here to expand/close XML view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/fulfill.dtd">
<!--
 * Author:      Electric Blue Industries Ltd.
 * Author URI:  https://electric-blue-industries.com/
 * Copyright:   (c)2015-2023 Electric Blue Industries Ltd.
 * Contact:     admin@electric-blue-industris.com
 * License:     GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Reference:   http://xml.cxml.org/current/cXMLReferenceGuide.pdf
-->
<cXML timestamp="0000-00-00T00:00:00+09:00" payloadID="">
    <Header>
        <From>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
            </Credential>
        </From>
        <To>
            <Credential domain="NetworkID">
                <Identity>AN01000000001</Identity>
            </Credential>
        </To>
        <Sender>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
                <SharedSecret>SharedSecret</SharedSecret>
                <CredentialMac
                    type="FromSenderCredentials"
                    algorithm="HMAC-SHA1-96"
                    creationDate="0000-00-00T00:00:00+09:00"
                    expirationDate="0000-00-00T00:00:00+09:00">CredentialMAC</CredentialMac>
            </Credential>
            <UserAgent>Procurement Application Name</UserAgent>
        </Sender>
    </Header>
    <Request>
        <ShipNoticeRequest>
            <ShipNoticeHeader shipmentID="" noticeDate="" shipmentDate="" deliveryDate="">
                <Contact role="shipFrom">
                    <Name xml:lang=""/>
                    <PostalAddress>
                        <Street/>
                        <City/>
                        <State isoStateCode=""/>
                        <PostalCode/>
                        <Country isoCountryCode=""/>
                    </PostalAddress>
                    <Phone>
                        <TelephoneNumber>
                            <CountryCode isoCountryCode=""/>
                            <AreaOrCityCode/>
                            <Number/>
                        </TelephoneNumber>
                    </Phone>
                </Contact>
                <Comments xml:lang=""/>
                <ReferenceDocumentInfo>
                    <DocumentInfo documentDate="" documentID="" documentType=""/>
                </ReferenceDocumentInfo>
            </ShipNoticeHeader>
            <ShipControl>
                <CarrierIdentifier domain=""/>
                <CarrierIdentifier domain=""/>
                <ShipmentIdentifier/>
            </ShipControl>
            <ShipNoticePortion>
                <!-- The orderID and orderDate attributes are not required in the OrderReference element. -->
                <OrderReference orderID="">
                    <DocumentReference payloadID=""/>
                </OrderReference>
            </ShipNoticePortion>
        </ShipNoticeRequest>
    </Request>
</cXML>

11.05. ReceiptRequest

DTD: B

click here to expand/close XML view
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/fulfill.dtd">
<!--
 * Author:      Electric Blue Industries Ltd.
 * Author URI:  https://electric-blue-industries.com/
 * Copyright:   (c)2015-2023 Electric Blue Industries Ltd.
 * Contact:     admin@electric-blue-industris.com
 * License:     GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Reference:   http://xml.cxml.org/current/cXMLReferenceGuide.pdf
-->
<cXML timestamp="0000-00-00T00:00:00+09:00" payloadID="">
    <Header>
        <From>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
            </Credential>
        </From>
        <To>
            <Credential domain="NetworkID">
                <Identity>AN01000000001</Identity>
            </Credential>
        </To>
        <Sender>
            <Credential domain="DUNS">
                <Identity>123456789</Identity>
                <SharedSecret>SharedSecret</SharedSecret>
                <CredentialMac
                    type="FromSenderCredentials"
                    algorithm="HMAC-SHA1-96"
                    creationDate="0000-00-00T00:00:00+09:00"
                    expirationDate="0000-00-00T00:00:00+09:00">CredentialMAC</CredentialMac>
            </Credential>
            <UserAgent>Procurement Application Name</UserAgent>
        </Sender>
    </Header>
    <Request deploymentMode="">
        <ReceiptRequest>
            <ReceiptRequestHeader receiptID="" receiptDate="" operation="">
                <DocumentReference payloadID=""/>
                <ShipNoticeIDInfo shipNoticeDate="" shipNoticeID=""/>
                <Comments xml:lang=""/>
                <Extrinsic/>
            </ReceiptRequestHeader>
            <ReceiptOrder closeForReceiving="">
                <ReceiptOrderInfo>
                    <OrderReference orderID="">
                        <DocumentReference payloadID=""/>
                    </OrderReference>
                    <MasterAgreementReference agreementID="" agreementDate="" agreementType="">
                        <DocumentReference payloadID=""/>
                    </MasterAgreementReference>
                    <OrderIDInfo orderID="" orderDate="">
                        <IdReference identifier="" domain="">
                            <Creator/>
                            <Description xml:lang=""/>
                        </IdReference>
                    </OrderIDInfo>
                    <MasterAgreementIDInfo agreementID="" agreementDate="" agreementType="">
                        <IdReference identifier="" domain="">
                            <Creator/>
                            <Description xml:lang=""/>
                        </IdReference>
                    </MasterAgreementIDInfo>
                </ReceiptOrderInfo>
                <ReceiptItem receiptLineNumber="" quantity="" type="" parentReceiptLineNumber="" itemType="" compositeItemType="" completedIndicator="">
                    <ReceiptItemReference lineNumber="">
                        <ItemID>
                            <SupplierPartID/>
                            <BuyerPartID/>
                        </ItemID>
                        <Description xml:lang=""/>
                        <ManufacturerPartID/>
                        <ManufacturerName/>
                        <ShipNoticeReference shipNoticeID="">
                            <DocumentReference payloadID=""/>
                        </ShipNoticeReference>
                        <ShipNoticeIDInfo/>
                        <ShipNoticeLineItemReference shipNoticeLineNumber=""/>
                        <ReferenceDocumentInfo/>
                    </ReceiptItemReference>
                    <UnitRate>
                        <Money currency=""/>
                        <UnitOfMeasure/>
                    </UnitRate>
                    <ReceivedAmount>
                        <Money currency=""/>
                    </ReceivedAmount>
                    <AssetInfo location="" serialNumber="" tagNumber=""/>
                    <DeliveryAddress/>
                    <Comments/>
                    <Batch>
                        <BuyerBatchID/>
                        <SupplierBatchID/>
                    </Batch>
                    <Classification domain="" code=""/>
                    <Extrinsic/>
                </ReceiptItem>
            </ReceiptOrder>
            <Total>
                <Money currency=""/>
            </Total>
        </ReceiptRequest>
    </Request>
</cXML>