← トランザクション個別解説 目次へ戻る
タイムカードは臨時社員およびコントラクタに関連した発注に使用されます。これらはバイヤーまたはサプライヤによって生成および送信されます。どちらであるかはタイムカード情報がどちらのシステムで取得されるかによります。
タイムカードには双方向の性質があるため、TimeCard要素に関する Request には、TimeCardRequestおよびTimeCardInfoRequest の 2 つが存在します。該当する臨時社員として業務を行うコントラクタは、状況によってバイヤーまたはサプライヤのいずれかのシステムにタイムカード情報を入力します。したがってバイヤーまたはサプライヤのどちらもTimeCardドキュメントを送信でき、また、TimeCardドキュメントはいずれの方向にも転送されます。このように、タイムカードは、通常はサプライヤからのみ送信される請求書とは異なります。
12.01. TimeCardRequest
サプライヤからバイヤーへのRequest。TimeCardRequest には、人材派遣会社などのサプライヤからバイヤーに送信されるTimeCardドキュメントが記述されます。fromおよびsenderはサプライヤの認証情報で、toはバイヤーの認証情報です。タイムカードが承認されると、バイヤーはタイムカードが承認されたか却下されたかを示すDocumentApprovalStatus要素とともにStatusUpdateRequest を送信します。
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>
<TimeCardRequest>
<TimeCard type="" status="" timeCardID="">
<OrderInfo />
<Contractor>
<ContractorIdentifier domain="" />
<Contact />
</Contractor>
<ReportedTime>
<Period />
<TimeCardTimeInterval duration="" payCode="" isNonBillable ="" />
<Expense expenseDate="" expenseType ="" isNonBillable="" />
<ExpenseAmount />
<TimeRange startDate="" endDate="" />
</ReportedTime>
<SubmitterInfo>
<Contact />
</SubmitterInfo>
<ApprovalInfo approvedDate="" />
<Comments />
<DocumentReference />
</TimeCard>
</TimeCardRequest>
</Request>
</cXML>
12.02. TimeCardInfoRequest
バイヤーからサプライヤへのRequest。TimeCardInfoRequestには、バイヤーからサプライヤへ送信されるTimeCardドキュメントが記述されます。fromはバイヤーの認証情報で、toはサプライヤの認証情報です。
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>
<TimeCardInfoRequest>
<TimeCard type="" status="" timeCardID="">
<OrderInfo />
<Contractor>
<ContractorIdentifier domain="" />
<Contact />
</Contractor>
<ReportedTime>
<Period />
<TimeCardTimeInterval duration="" payCode="" isNonBillable ="" />
<Expense expenseDate="" expenseType ="" isNonBillable="" />
<ExpenseAmount />
<TimeRange startDate="" endDate="" />
</ReportedTime>
<SubmitterInfo>
<Contact />
</SubmitterInfo>
<ApprovalInfo approvedDate="" />
<Comments />
<DocumentReference />
</TimeCard>
</TimeCardInfoRequest>
</Request>
</cXML>