Support Center

Supplier sends Invoice - InvoiceDetailRequest

An invoice is sent from the Supplier’s Solution.

The cXML InvoiceDetailRequest document represents an invoice.

It enables suppliers to send invoices to buying organizations or marketplaces. This transaction supports invoice details for a wide variety of business scenarios, including standard invoices, credit memos, line-item credit memos, debit memos, and receipts.

In invoices, positive amounts are debits the buying organization owes the supplier; negative amounts are credits issued by the supplier to the buying organization.

The structure of the InvoiceDetailRequest document is:
 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.026/InvoiceDetail.dtd">
<cXML payloadID="cXML-VAT-100" timestamp="2001-04-20T23:59:45-07:00" xml:lang="en-US">
<Header>
<From>
<!-- Supplier -->
<Credential domain="NetworkUserId">
<Identity>dchen@.com</Identity>
</Credential>
</From>
<To>
<!-- The buying marketplace -->
<Credential domain="NetworkUserId" type="marketplace">
<Identity>bigadmin@marketplace.org</Identity>
</Credential>
<!-- The buying member organization. -->
<Credential domain="NetworkUserId">
<Identity>admin@acme.com</Identity>
</Credential>
</To>
<Sender>
<!-- Supplier -->
<Credential domain="NetworkUserId">
<Identity>dchen@.com</Identity>
<SharedSecret>password</SharedSecret>
</Credential>
<UserAgent>V1.1</UserAgent>
</Sender>
</Header>
<Request deploymentMode="test">
<InvoiceDetailRequest>
<InvoiceDetailRequestHeader invoiceID="cXML-VAT-100"
purpose="standard" operation="new"
invoiceDate="2001-04-20T23:59:20-07:00">
<InvoiceDetailHeaderIndicator/>
<InvoiceDetailLineIndicator
isTaxInLine="yes"
isShippingInLine="yes"
isAccountingInLine="yes"/>
<InvoicePartner>
<Contact role="soldTo" addressID="B2.4.319">
<Name xml:lang="en">Mike Smith</Name>
<PostalAddress name="default">
<DeliverTo>Mike Smith</DeliverTo>
<Street>15 Camino del Cerro</Street>
<City>Los Gatos</City>
<State>CA</State>
<PostalCode>95032</PostalCode>
<Country
isoCountryCode="US">United States</Country>
</PostalAddress>
<Email name="default">admin@.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode
isoCountryCode="US">1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582000</Number>
</TelephoneNumber>
</Phone>
<Fax name="work">
<TelephoneNumber>
<CountryCode
isoCountryCode="US">1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582100</Number>
</TelephoneNumber>
</Fax>
</Contact>
</InvoicePartner>
<InvoicePartner>
<Contact role="remitTo" addressID="Billing">
<Name xml:lang="en">Lisa King</Name>
<PostalAddress name="billing department">
<DeliverTo>Lisa King</DeliverTo>
<Street>16 Castro Street</Street>
<City>Mountain View</City>
<State>CA</State>
<PostalCode>95035</PostalCode>
<Country
isoCountryCode="US">United States</Country>
</PostalAddress>
<Email name="default">lking@supplierbank.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode
isoCountryCode="US">1</CountryCode>
<AreaOrCityCode>650</AreaOrCityCode>
<Number>9990000</Number>
</TelephoneNumber>
</Phone>
</Contact>
<IdReference identifier="00000-11111"
domain="accountReceivableID">
<Creator xml:lang="en">Supplier ERP</Creator>
</IdReference>
<IdReference identifier="123456789"
domain="bankRoutingID">
<Creator xml:lang="en">Supplier Bank</Creator>
</IdReference>
</InvoicePartner>
<InvoicePartner>
<Contact role="subsequentBuyer" addressID="Billing">
<Name xml:lang="en">Lisa King</Name>
<Email name="default">lking@supplierbank.com</Email>
</Contact>
<IdReference identifier="VAT123" domain="vatID">
<Creator xml:lang="en">Supplier ERP</Creator>
</IdReference>
</InvoicePartner>
<InvoiceDetailPaymentTerm payInNumberOfDays="10"
percentageRate="10"/>
<InvoiceDetailPaymentTerm payInNumberOfDays="20"
percentageRate="5"/>
<InvoiceDetailPaymentTerm payInNumberOfDays="30"
percentageRate="0"/>
<InvoiceDetailPaymentTerm payInNumberOfDays="40"
percentageRate="-5"/>
<InvoiceDetailPaymentTerm payInNumberOfDays="50"
percentageRate="-10"/>
</InvoiceDetailRequestHeader>
<InvoiceDetailOrder>
<InvoiceDetailOrderInfo>
<OrderReference>
<DocumentReference payloadID="25510.10.81.230"/>
</OrderReference>
<MasterAgreementReference>
<DocumentReference payloadID="25510.10.81.002"/>
</MasterAgreementReference>
</InvoiceDetailOrderInfo>
<InvoiceDetailItem invoiceLineNumber="1" quantity="30">
<UnitOfMeasure>EA</UnitOfMeasure>
<UnitPrice>
<Money currency="USD">130</Money>
</UnitPrice>
<InvoiceDetailItemReference lineNumber="2">
<ItemID>
<SupplierPartID>TEX08134</SupplierPartID>
</ItemID>
<Description xml:lang="en">
Texas Instruments Superview Calculator - Heavy-Duty 12-Digit Print/Display
</Description>
</InvoiceDetailItemReference>
<SubtotalAmount>
<Money currency="USD">3900</Money>
</SubtotalAmount>
<Tax>
<Money currency="USD">390</Money>
<Description xml:lang="en">total item tax
</Description>
<TaxDetail purpose="tax" category="VAT"
percentageRate="10" taxPointDate="2001-04-20T23:59:45-07:00"
paymentDate="2001-04-20T23:59:45-07:00" isTriangularTransaction="yes">
<TaxableAmount>
<Money currency="USD">3900</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="USD">390</Money>
</TaxAmount>
<TaxLocation xml:lang="en">FR</TaxLocation>
<TriangularTransactionLawReference xml:lang="en">VAT-123
</TriangularTransactionLawReference>
</TaxDetail>
</Tax>
<InvoiceDetailLineShipping>
<InvoiceDetailShipping>
<Contact role="shipFrom" addressID="1000487">
<Name xml:lang="en">Los Gatos</Name>
<PostalAddress name="default">
<Street>15 Camino del Cerro</Street>
<City>Los Gatos</City>
<State>CA</State>
<PostalCode>95032</PostalCode>
<Country isoCountryCode="US">
United States</Country>
</PostalAddress>
<Email name="default">admin@.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582000</Number>
</TelephoneNumber>
</Phone>
<Fax name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582100</Number>
</TelephoneNumber>
</Fax>
</Contact>
<Contact role="shipTo" addressID="1000487">
<Name xml:lang="en">Los Gatos</Name>
<PostalAddress name="default">
<DeliverTo>Jason Lynch</DeliverTo>
<Street>34 Castro Street</Street>
<City>Mountain View</City>
<State>CA</State>
<PostalCode>95035</PostalCode>
<Country isoCountryCode="US">
United States</Country>
</PostalAddress>
<Email name="default">admin@.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582000</Number>
</TelephoneNumber>
</Phone>
<Fax name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582100</Number>
</TelephoneNumber>
</Fax>
</Contact>
</InvoiceDetailShipping>
<Money currency="USD">20</Money>
</InvoiceDetailLineShipping>
<GrossAmount>
<Money currency="USD">4310</Money>
</GrossAmount>
<NetAmount>
<Money currency="USD">4310</Money>
</NetAmount>
<Distribution>
<Accounting name="Buyer assigned accounting code 1">
<AccountingSegment id="ABC123456789">
<Name xml:lang="en">Purchase</Name>
<Description xml:lang="en">Production Control</Description>
</AccountingSegment>
</Accounting>
<Charge>
<Money currency="USD">2000</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">2310</Money>
</Charge>
</Distribution>
</InvoiceDetailItem>
</InvoiceDetailOrder>
<InvoiceDetailOrder>
<InvoiceDetailOrderInfo>
<OrderReference>
<DocumentReference payloadID="25510.128.32.230"/>
</OrderReference>
<MasterAgreementReference>
<DocumentReference payloadID="25510.128.32.003"/>
</MasterAgreementReference>
</InvoiceDetailOrderInfo>
<InvoiceDetailItem invoiceLineNumber="2" quantity="50">
<UnitOfMeasure>EA</UnitOfMeasure>
<UnitPrice>
<Money currency="USD">20</Money>
</UnitPrice>
<InvoiceDetailItemReference lineNumber="5">
<ItemID>
<SupplierPartID>3244322</SupplierPartID>
</ItemID>
<Description xml:lang="en">Dell Mousepad
</Description>
</InvoiceDetailItemReference>
<SubtotalAmount>
<Money currency="USD">1000</Money>
</SubtotalAmount>
<Tax>
<Money currency="USD">100</Money>
<Description xml:lang="en">total item tax
</Description>
<TaxDetail purpose="tax" category="VAT"
percentageRate="10" taxPointDate="2001-04-20T23:59:45-07:00"
paymentDate="2001-04-20T23:59:45-07:00" isTriangularTransaction="yes">
<TaxableAmount>
<Money currency="USD">1000</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="USD">100</Money>
</TaxAmount>
<TaxLocation xml:lang="en">FR</TaxLocation>
<TriangularTransactionLawReference xml:lang="en">VAT-123
</TriangularTransactionLawReference>
</TaxDetail>
</Tax>
<InvoiceDetailLineShipping>
<InvoiceDetailShipping>
<Contact role="shipFrom" addressID="1000487">
<Name xml:lang="en">Los Gatos</Name>
<PostalAddress name="default">
<Street>15 Camino del Cerro</Street>
<City>Los Gatos</City>
<State>CA</State>
<PostalCode>95032</PostalCode>
<Country isoCountryCode="US">
United States</Country>
</PostalAddress>
<Email name="default">admin@.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582000</Number>
</TelephoneNumber>
</Phone>
<Fax name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582100</Number>
</TelephoneNumber>
</Fax>
</Contact>
<Contact role="shipTo" addressID="1000487">
<Name xml:lang="en">Los Gatos</Name>
<PostalAddress name="default">
<DeliverTo>Jason Lynch</DeliverTo>
<Street>34 Castro Street</Street>
<City>Mountain View</City>
<State>CA</State>
<PostalCode>95035</PostalCode>
<Country isoCountryCode="US">
United States</Country>
</PostalAddress>
<Email name="default">admin@.com</Email>
<Phone name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582000</Number>
</TelephoneNumber>
</Phone>
<Fax name="work">
<TelephoneNumber>
<CountryCode isoCountryCode="US">
1</CountryCode>
<AreaOrCityCode>408</AreaOrCityCode>
<Number>3582100</Number>
</TelephoneNumber>
</Fax>
</Contact>
</InvoiceDetailShipping>
<Money currency="USD">10</Money>
</InvoiceDetailLineShipping>
<GrossAmount>
<Money currency="USD">1110</Money>
</GrossAmount>
<NetAmount>
<Money currency="USD">1110</Money>
</NetAmount>
<Distribution>
<Accounting name="Buyer assigned accounting code 1">
<AccountingSegment id="ABC123450002">
<Name xml:lang="en">Purchase</Name>
<Description xml:lang="en">Production Control</Description>
</AccountingSegment>
</Accounting>
<Charge>
<Money currency="USD">500</Money>
</Charge>
</Distribution>
<Distribution>
<Accounting name="Buyer assigned accounting code 2">
<AccountingSegment id="ABC000000002">
<Name xml:lang="en">Trade</Name>
<Description xml:lang="en">Misc (Expensed)</Description>
</AccountingSegment>
</Accounting>
<Charge>
<Money currency="USD">610</Money>
</Charge>
</Distribution>
</InvoiceDetailItem>
</InvoiceDetailOrder>
<InvoiceDetailSummary>
<SubtotalAmount>
<Money currency="USD">4900</Money>
</SubtotalAmount>
<Tax>
<Money currency="USD">490</Money>
<Description xml:lang="en">total tax</Description>
<TaxDetail purpose="tax" category="VAT"
percentageRate="10" taxPointDate="2001-04-20T23:59:45-07:00"
paymentDate="2001-04-20T23:59:45-07:00" isTriangularTransaction="yes">
<TaxableAmount>
<Money currency="USD">4900</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="USD">490</Money>
</TaxAmount>
<TaxLocation xml:lang="en">FR</TaxLocation>
<TriangularTransactionLawReference xml:lang="en">VAT-123
</TriangularTransactionLawReference>
</TaxDetail>
</Tax>
<ShippingAmount>
<Money currency="USD">30</Money>
</ShippingAmount>
<GrossAmount>
<Money currency="USD">5420</Money>
</GrossAmount>
<NetAmount>
<Money currency="USD">5420</Money>
</NetAmount>
<DueAmount>
<Money currency="USD">5420</Money>
</DueAmount>
</InvoiceDetailSummary>
</InvoiceDetailRequest>
</Request>
</cXML>

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk