請求アカウント分布を含むcXML請求書のサンプル

Coupa統合をテストするには、分散型請求アカウントを含むこのサンプルcXML請求書を使用してください。

Coupaでは、cXMLを介して推奨される請求アカウントを使用して請求書を投稿できます。 仕様の唯一の違いは、個々の会計ディストリビューションのそれぞれとそれぞれの割合を指定する Distribution ノードの使用です。

請求アカウントの配布を含むcXML請求書のサンプル

Coupa統合をテストするには、分散型請求アカウントを含むこのサンプルcXML請求書を使用してください。

... <Distribution> <Accounting name="Buyer assigned accounting code 1"> <AccountingSegment> <Name xml:lang="en">Purchase</Name> <Description xml:lang="en">Production Control</Description> </AccountingSegment> <AccountingSegment id="IT"> <Name xml:lang="en">Seg Name</Name> <Description xml:lang="en">Seg Code</Description> </AccountingSegment> </Accounting> <Charge> <Money currency="USD">100</Money> </Charge> </Distribution> <Distribution> <Accounting name="Buyer assigned accounting code 2"> <AccountingSegment id="ABC000000001"> <Name xml:lang="en">Trade</Name> <Description xml:lang="en">Misc (Expensed)</Description> </AccountingSegment> </Accounting> <Charge> <Money currency="USD">245</Money> </Charge> </Distribution>...

契約に対するcXML請求書

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.020/InvoiceDetail.dtd"> <cXML version="1.0" payloadID="1240598937@SUBDOMAIN.coupahost.com" timestamp="2009-05-01T01:24:51-07:00"> <Header> <From> <Credential domain="DUNS"> <Identity>Kyle</Identity> </Credential> </From> <To> <Credential domain="DUNS"> <Identity>Coupa</Identity> </Credential> </To> <Sender> <Credential domain="DUNS"> <Identity>Kyle</Identity> <SharedSecret>Shhh</SharedSecret> </Credential> <UserAgent>あなた自身のエージェント1.23</UserAgent> </Sender> </Header> <Request deploymentMode="production"> <InvoiceDetailRequest> <InvoiceDetailRequestHeader invoiceID="735675n3" purpose="standard" operation="new" invoiceDate="2009-05-01T11:45:51-07:00"> <InvoiceDetailHeaderIndicator /> <InvoiceDetailLineIndicator isAccountingInLine="yes" /> <PaymentTerm payInNumberOfDays="30" /> </InvoiceDetailRequestHeader> <InvoiceDetailOrder> <InvoiceDetailOrderInfo> <MasterAgreementReference> payloadIDは<!--契約番号--> <DocumentReference payloadID="2257" /> </MasterAgreementReference> </InvoiceDetailOrderInfo> 最初の請求書数量<!--行です。 --> <InvoiceDetailItem invoiceLineNumber="1" quantity="1"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">365</Money> </UnitPrice> <!--ここのlineNumberは裏付けのPO行番号です。つまり、この場合、PO # 10 --> <InvoiceDetailItemReference lineNumber="1"> の2行目の<!--説明が請求書の行の説明に表示されます。 何でも構いませんが、Coupaはこれを裏付けのPOラインの説明と同じにすることをお勧めします。 --> <Description xml:lang="en">NEW 1 NINTENDO WIIゲームコンソール+ WIIフィットバンドル+ゲーム</Description> </InvoiceDetailItemReference> 請求<!--書行に「合計」として表示さ-->れます <SubtotalAmount> <Money currency="USD">365</Money> </SubtotalAmount> <!--請求アカウントセグメント。 --> <Distribution> <Accounting name="Chart of Accounts"> <!-- id value represents the segment in Coupa --> <AccountingSegment> <Name xml:lang="en">購入</Name> <Description xml:lang="en">生産管理</Description> </AccountingSegment> <AccountingSegment id="IT"> <Name xml:lang="en">セグメント名</Name> <Description xml:lang="en">セグメントコード</Description> </AccountingSegment> </Accounting> <Charge> <Money currency="USD">100</Money> </Charge> </Distribution> <Distribution> <Accounting name="Buyer assigned accounting code 2"> <AccountingSegment id="ABC000000001"> <Name xml:lang="en">取引</Name> <Description xml:lang="en">その他(費用計上)</Description> </AccountingSegment> </Accounting> <Charge> <Money currency="USD">245</Money> </Charge> </Distribution> </InvoiceDetailItem> </InvoiceDetailOrder> <InvoiceDetailSummary> <!-- Should add-up and be consistent with the subtotals on the invoice lines --> <SubtotalAmount> <Money currency="USD">365</Money> </SubtotalAmount> <Tax> <Money currency="USD">8</Money> <Description xml:lang="en">税金合計</Description> <TaxDetail purpose="tax" category="VAT" percentageRate="1" taxPointDate="2009-04-24T11:45:51-07:00"> <TaxableAmount> <Money currency="USD">365</Money> </TaxableAmount> <TaxAmount> <Money currency="USD">8</Money> </TaxAmount> <TaxLocation xml:lang="en">CA</TaxLocation> </TaxDetail> </Tax> <SpecialHandlingAmount> <Money currency="USD">5</Money> </SpecialHandlingAmount> <!-- Shipping costs --> <ShippingAmount> <Money currency="USD">30</Money> </ShippingAmount> <NetAmount> <Money currency="USD" /> </NetAmount> </InvoiceDetailSummary> </InvoiceDetailRequest> </Request> </cXML>