DE Simple Backed and Unbacked Lines Service Invoice (Amount Based)
Sample cXML amount-based, invoice with backed and unbacked lines and the corresponding PDF version for Denmark.
You can download this example as an XML file and the corresponding PDF version.
<?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.020" xml:lang="en-US" timestamp="2017-11-15T23:51:34-08:00" payloadID="2017-11-15T23:51:34-08:00">
<Header>
<From>
<Credential domain="DUNS">
<Identity>DENMARK</Identity>
</Credential>
</From>
<To>
<Credential domain="DUNS">
<Identity>DENMARKCOUPA</Identity>
</Credential>
</To>
<Sender>
<Credential domain="DUNS">
<Identity>DENMARK</Identity>
<SharedSecret>DEN</SharedSecret>
</Credential>
<UserAgent>Coupa Procurement 1.0</UserAgent>
</Sender>
</Header>
<Request deploymentMode="production">
<InvoiceDetailRequest>
<InvoiceDetailRequestHeader invoiceDate="2017-11-15T23:51:34-08:00" operation="new" purpose="standard" invoiceOrigin="supplier" invoiceID="Denmark_Service">
<InvoiceDetailHeaderIndicator />
<InvoiceDetailLineIndicator isAccountingInLine="yes" isTaxInLine="yes" />
<InvoicePartner>
<Contact role="soldTo">
<Name xml:lang="en-US">Customer Contact</Name>
<PostalAddress>
<DeliverTo>Customer Name</DeliverTo>
<Street>123 City Street</Street>
<City>Denmark</City>
<PostalCode>D1</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
</Contact>
</InvoicePartner>
<InvoicePartner>
<Contact role="billTo">
<Name xml:lang="en">AceCorporateDK</Name>
<PostalAddress name="default">
<Street>28 Nevada Blvd</Street>
<City>Laughlin</City>
<PostalCode>94301</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
<Phone>
<TelephoneNumber>
<CountryCode isoCountryCode="US" />
<AreaOrCityCode>41</AreaOrCityCode>
<Number>43 210 9664</Number>
</TelephoneNumber>
</Phone>
</Contact>
</InvoicePartner>
<InvoicePartner>
<Contact role="remitTo" addressID="DEN">
<Name xml:lang="en">Denmark Supplier</Name>
<PostalAddress name="default">
<Street>DENMARK 123</Street>
<City>DENMARK</City>
<PostalCode>1234</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
</Contact>
<IdReference domain="taxPrefix" identifier="DK" />
<IdReference domain="taxNumber" identifier="12345678" />
</InvoicePartner>
<InvoicePartner>
<Contact role="invoiceFrom" addressID="DEN">
<Name xml:lang="en">Denmark Supplier</Name>
<PostalAddress name="default">
<Street>DENMARK 123</Street>
<City>DENMARK</City>
<PostalCode>1234</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
</Contact>
<IdReference domain="taxPrefix" identifier="DK" />
<IdReference domain="taxNumber" identifier="12345678" />
</InvoicePartner>
<InvoiceDetailShipping>
<Contact role="shipFrom" addressID="DEN">
<Name xml:lang="en">Denmark Supplier</Name>
<PostalAddress name="default">
<Street>DENMARK 123</Street>
<City>DENMARK</City>
<PostalCode>1234</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
</Contact>
<Contact role="shipTo">
<Name xml:lang="en-US">Hr. Niels Henriksen</Name>
<PostalAddress>
<DeliverTo>Kastanievej 15</DeliverTo>
<Street />
<City>SKANDERBORG</City>
<PostalCode>8660</PostalCode>
<Country isoCountryCode="DK">Denmark</Country>
</PostalAddress>
</Contact>
</InvoiceDetailShipping>
<PaymentTerm payInNumberOfDays="30" />
<Comments xml:lang="en-US">NA</Comments>
<Extrinsic name="ExchangeRate">1.00</Extrinsic>
</InvoiceDetailRequestHeader>
<InvoiceDetailOrder>
<InvoiceDetailOrderInfo>
<OrderReference>
<DocumentReference payloadID="3020" />
</OrderReference>
</InvoiceDetailOrderInfo>
<InvoiceDetailServiceItem invoiceLineNumber="1" quantity="">
<InvoiceDetailServiceItemReference lineNumber="1" />
<SubtotalAmount>
<Money currency="DKK">20.00</Money>
</SubtotalAmount>
<Tax>
<Money currency="SEK">25.00</Money>
<Description xml:lang="en-GB">VAT</Description>
<TaxDetail purpose="tax" category="vat" percentageRate="25">
<TaxableAmount>
<Money currency="DKK">20.00</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="DKK">2.00</Money>
</TaxAmount>
</TaxDetail>
</Tax>
</InvoiceDetailServiceItem>
</InvoiceDetailOrder>
<InvoiceDetailOrder>
<InvoiceDetailOrderInfo>
<MasterAgreementReference>
<DocumentReference payloadID="9090" />
</MasterAgreementReference>
</InvoiceDetailOrderInfo>
<InvoiceDetailServiceItem invoiceLineNumber="2">
<InvoiceDetailServiceItemReference lineNumber="1">
<Description xml:lang="en">Art and Crafts by Michelle</Description>
</InvoiceDetailServiceItemReference>
<SubtotalAmount>
<Money currency="DKK">50</Money>
</SubtotalAmount>
<Tax>
<Money currency="DKK">5.00</Money>
<Description xml:lang="en-GB">VAT</Description>
<TaxDetail purpose="tax" category="vat" percentageRate="25">
<TaxableAmount>
<Money currency="DKK">50.00</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="DKK">5.00</Money>
</TaxAmount>
</TaxDetail>
</Tax>
</InvoiceDetailServiceItem>
</InvoiceDetailOrder>
<InvoiceDetailSummary>
<SubtotalAmount>
<Money currency="DKK">70</Money>
</SubtotalAmount>
<Tax>
<Money currency="DKK">0</Money>
<Description xml:lang="en-US" />
<TaxDetail purpose="tax" category="DKK" percentageRate="0" taxPointDate="2017-11-15T23:51:34-08:00">
<TaxableAmount>
<Money currency="DKK">70</Money>
</TaxableAmount>
<TaxAmount>
<Money currency="DKK">0</Money>
</TaxAmount>
<TaxLocation xml:lang="en">DKK</TaxLocation>
</TaxDetail>
</Tax>
<NetAmount>
<Money currency="DKK">70.00</Money>
</NetAmount>
</InvoiceDetailSummary>
</InvoiceDetailRequest>
</Request>
</cXML>