Sample cXML for submitting a correction invoice with a link to a disputed invoice
Use this sample cXML for resolving disputed invoice to test your Coupa integration.
Overview
<DocumentReference payloadID="INV_Int4_127"/>
links the corrected invoice (INV_cor3_127
) to the disputed invoice INV_Int4_127
.
Sample 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>