Exemple cXML pour soumettre une facture de correction avec un lien vers une facture contestée
Utilisez cet exemple cXML pour résoudre les factures contestées afin de tester votre intégration Coupa.
Aperçu
<DocumentReference payloadID="INV_Int4_127"/>
lie la facture corrigée (INV_cor3_127
) à la facture contestée INV_Int4_127
.
Exemple cXML
<?xml version="1.0"?>
<!DOCTYPE cXML
SYSTEM 'http://xml.cXML.org/schemas/cXML/1.2...oiceDetail.dtd'>
<cXML payloadID="i1240598937@SUBDOMAIN.coupahost.com" timestamp="2017-01-24 15:18:07 +0530" version="1.0">
<Header>
<From>
<Credential domain="sudo">
<Identity>suid127</Identity>
</Credential>
</From>
<To>
<Credential domain="budo">
<Identity>buid</Identity>
</Credential>
</To>
<Sender>
<Credential domain="sudo">
<Identity>suid127</Identity>
<SharedSecret>secret</SharedSecret>
</Credential>
<UserAgent></UserAgent>
</Sender>
</Header>
<Request deploymentMode="production">
<InvoiceDetailRequest>
<InvoiceDetailRequestHeader invoiceDate="2017-01-24 15:18:07 +0530" invoiceID="INV_Cor3_127" operation="new" purpose="standard">
<InvoiceDetailHeaderIndicator/>
<InvoiceDetailLineIndicator isAccountingInLine="yes"/>
<DocumentReference payloadID="INV_Int4_127"/>
<PaymentTerm payInNumberOfDays="30"/>
</InvoiceDetailRequestHeader>
<InvoiceDetailOrder>
<InvoiceDetailOrderInfo>
<MasterAgreementReference>
<DocumentReference payloadID=" "/>
</MasterAgreementReference>
</InvoiceDetailOrderInfo>
<InvoiceDetailItem invoiceLineNumber="1" quantity="1">
<UnitOfMeasure>EA</UnitOfMeasure>
<UnitPrice>
<Money currency="USD">5281.06</Money>
</UnitPrice>
<InvoiceDetailItemReference lineNumber="1">
<Description xml:lang="en">Sandcrawler</Description>
</InvoiceDetailItemReference>
<SubtotalAmount>
<Money currency="USD">1018.26</Money>
</SubtotalAmount>
</InvoiceDetailItem>
</InvoiceDetailOrder>
<InvoiceDetailSummary>
<SubtotalAmount>
<Money currency="USD">2174.62</Money>
</SubtotalAmount>
<Tax>
<Money currency="USD">181.99</Money>
<Description xml:lang="en">Total Tax</Description>
<TaxDetail category="VAT" percentageRate="1" purpose="tax" taxPointDate="2017-01-24 15:18:07 +0530">
<TaxableAmount>
<Money currency="USD">100.19</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="USD">156.68</Money>
</TaxAmount>
<TaxLocation xml:lang="en">CA</TaxLocation>
</TaxDetail>
</Tax>
<NetAmount>
<Money currency="USD"/>
</NetAmount>
</InvoiceDetailSummary>
</InvoiceDetailRequest>
</Request>
</cXML>
Veuillez noter que certaines parties de ce contenu peuvent avoir été générées par traduction automatique.