07. ServiceSheet

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



07.01. ServiceEntryRequest

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>
        <ServiceEntryRequest>
            <ServiceEntryRequestHeader>
                <PartnerContact/>
                    <DocumentReference/>
                    <DocumentInfo/>
                <ServiceEntryDetailLineIndicator/>
                <ServiceEntryDetailShipping/>
                <ShipNoticeIDInfo/>
                <PaymentTerm/>
                <Period/>
                <Comments/>
                <Extrinsic/>
            </ServiceEntryRequestHeader>
            <ServiceEntryOrder>
                <ServiceEntryOrderInfo/>
                <ServiceEntryItem>
                    <ItemReference/>
                    <MasterAgreementReference/>
                    <MasterAgreementIDInfo/>
                    <UnitRate/>
                    <UnitPrice/>
                    <UnitOfMeasure/>
                    <PriceBasisQuantity/>
                    <Period/>
                    <SubtotalAmount/>
                    <Tax/>
                    <GrossAmount/>
                    <ServiceEntryDetailLineSpecialHandling/>
                    <ServiceEntryDetailLineShipping/>
                    <ShipNoticeIDInfo/>
                    <ServiceEntryDetailDiscount/>
                    <ServiceEntryItemModifications/>
                    <TotalCharges/>
                    <TotalAllowances/>
                    <TotalAmountWithoutTax/>
                    <NetAmount/>
                    <Distribution/>
                    <Comments/>
                    <Extrinsic/>
                </ServiceEntryItem>
            </ServiceEntryOrder>
            <ServiceEntrySummary>
                <SubtotalAmount/>
                <Tax/>
                <SpecialHandlingAmount/>
                <ShippingAmount/>
                <GrossAmount/>
                <ServiceEntryDetailDiscount/>
                <ServiceEntryHeaderModifications/>
                <ServiceEntrySummaryLineItemModifications/>
                <TotalCharges/>
                <TotalAllowances/>
                <TotalAmountWithoutTax/>
                <NetAmount/>
                <DepositAmount/>
                <DueAmount/>
            </ServiceEntrySummary>
        </ServiceEntryRequest>
    </Request>
</cXML>

下記が返送されるServiceEntryResponseの例です。他のAPIと同様にHeaderは存在しません。

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE cXML SYSTEM "https://electric-blue-industries.com/schemas/cXML/1.2.052/cXML.dtd">
<cXML>
    <Response>
        <ServiceEntryResponse effectiveDate="2023-07-01T05:24:29-08:00" lastRefresh="2023-07-08T05:24:29-08:00">
            
        </ServiceEntryResponse>
    </Response>
</cXML>