Exemple de facture cXML avec clé de référence de correspondance pour la correspondance entre la ligne de facture directe à 3 voies et la réception
Utilisez cet exemple de cXML pour la correspondance entre la ligne de facture à 3 voies et le reçu afin de tester votre intégration Coupa.
<?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>Votre propre agent 1.23</UserAgent> </Sender> </Header> <Request deploymentMode="production"> <InvoiceDetailRequest> <InvoiceDetailRequestHeader invoiceID="AZ_15" purpose="standard" operation="new" invoiceDate="30/04/2015T11: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">Agrafeuse à ligne pivotante rouge</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> <Description xml:lang="en">total des impôts</Description> <TaxDetail purpose="tax" category="Taux standard" 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>