Beispiel cXML-Rechnung mit MatchReference-Schlüssel für 3-Wege-Direct Invoice Line to Receipt Matching

Verwenden Sie dieses Beispiel cXML für den 3-Wege-Direktabgleich von Rechnungsposition zu Beleg, um Ihre Coupa-Integration zu testen.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.020/InvoiceDetail.dtd">

<cXML version="1.2.033" payloadID="frieslandcampina-dev.coupahost.com" timestamp="2017-04-20T16:29:14+00:00">

   <Header>

      <From>

         <Credential domain="987654">

            <Identity>987654</Identity>

            <SharedSecret>987654</SharedSecret>

         </Credential>

      </From>

      <To>

         <Credential domain="987654">

            <Identity>987654</Identity>

         </Credential>

      </To>

      <Sender>

         <Credential domain="987654">

            <Identity>987654</Identity>

            <SharedSecret>987654</SharedSecret>

         </Credential>

         <UserAgent>Ihr ganz eigener Agent 1.23</UserAgent>

      </Sender>

   </Header>

   <Request deploymentMode="production">

      <InvoiceDetailRequest>

         <InvoiceDetailRequestHeader invoiceID="AZ_15" purpose="standard" operation="new"

         invoiceDate="2015-04-30T11:45:51-07:00">

            <InvoiceDetailHeaderIndicator />

            <InvoiceDetailLineIndicator isAccountingInLine="yes" />

            <PaymentTerm payInNumberOfDays="30" />

         </InvoiceDetailRequestHeader>

         <InvoiceDetailOrder>

            <InvoiceDetailOrderInfo>

               <OrderReference>

                  <DocumentReference payloadID="ADAMZ_PO_3way_004" />

               </OrderReference>

               <SupplierOrderInfo orderID="ADAMZ_PO_3way_004" />

            </InvoiceDetailOrderInfo>

            <!-- First invoice quantity line. -->

            <InvoiceDetailItem invoiceLineNumber="1" quantity="1">

               <UnitOfMeasure>EA</UnitOfMeasure>

               <UnitPrice>

                  <Money currency="USD">16.2</Money>

               </UnitPrice>

               <InvoiceDetailItemReference lineNumber="1">

                  <Description xml:lang="en">Der rote Swingline Staplert</Description>

               </InvoiceDetailItemReference>

               <SubtotalAmount>

                  <Money currency="USD">16.2</Money>

               </SubtotalAmount>

               <Extrinsic name="MatchReference">ADAMCXML1</Extrinsic>

            </InvoiceDetailItem>

         </InvoiceDetailOrder>

         <InvoiceDetailSummary>

            <SubtotalAmount>

               <Money currency="USD">16.2</Money>

            </SubtotalAmount>

            <Tax>

               <Money currency="USD" alternateAmount="0" alternateCurrency="EUR">0</Money>

               steuern <Description xml:lang="en">gesamt</Description>

               <TaxDetail purpose="tax" category="Standardsatz" percentageRate="0"

               taxPointDate="2014-06-30T11:45:51-07:00">

                  <TaxableAmount>

                     <Money currency="USD">16.2</Money>

                  </TaxableAmount>

                  <TaxAmount>

                     <Money currency="USD">0</Money>

                  </TaxAmount>

                  <TaxLocation xml:lang="en" />

               </TaxDetail>

            </Tax>

            <NetAmount>

               <Money currency="USD" />

            </NetAmount>

         </InvoiceDetailSummary>

      </InvoiceDetailRequest>

   </Request>

</cXML>

Hinweis: Einige Inhalte wurden maschinell übersetzt.