Download

Download the example XML: Standard WH 1-INV.xml


Standard Warehouse Invoice
<?xml version="1.0" encoding="UTF-8"?>
<invoices>
   <invoice amountTypeCode="Debit" currency="GBP" id="INV-20150514T160745-1" invoiceTypeCode="Invoice">
      <invoiceDate>20150515T000000</invoiceDate>
      <addresses>
         <address partnerID="8714253023236" type="BillFrom">
            <name>Onetrail Test Seller</name>
            <addressLine1>Huis ter Heideweg 46</addressLine1>
            <cityName>Zeist</cityName>
            <nationalPostalCode>3705 LZ</nationalPostalCode>
            <globalCountryCode>NL</globalCountryCode>
            <taxIdentifier>Unavailable</taxIdentifier>
         </address>
         <address partnerID="8714253023236" type="TradingPartnerFrom">
            <name>Onetrail Test Seller</name>
            <addressLine1>Huis ter Heideweg 46</addressLine1>
            <cityName>Zeist</cityName>
            <nationalPostalCode>3705 LZ</nationalPostalCode>
            <globalCountryCode>NL</globalCountryCode>
            <taxIdentifier>Unavailable</taxIdentifier>
         </address>
         <address partnerID="8714253023366" type="TradingPartnerTo">
            <name>Onetrail Test Buyer</name>
            <addressLine1>Huis ter Heideweg 46</addressLine1>
            <cityName>Zeist</cityName>
            <nationalPostalCode>3705 LZ</nationalPostalCode>
            <globalCountryCode>NL</globalCountryCode>
            <taxIdentifier>Unavailable</taxIdentifier>
         </address>
         <address partnerID="8714253023397" type="BillTo">
            <name>Onetrail Test Buyer</name>
            <addressLine1>Huis ter Heideweg 46</addressLine1>
            <cityName>Zeist</cityName>
            <nationalPostalCode>3705 LZ</nationalPostalCode>
            <globalCountryCode>NL</globalCountryCode>
            <taxIdentifier>Unavailable</taxIdentifier>
         </address>
         <address partnerID="8714253023380" type="ShipTo">
            <name>Onetrail Test Buyer</name>
            <addressLine1>Huis ter Heideweg 46</addressLine1>
            <cityName>Zeist</cityName>
            <nationalPostalCode>3705 LZ</nationalPostalCode>
            <globalCountryCode>NL</globalCountryCode>
            <taxIdentifier>Unavailable</taxIdentifier>
         </address>
      </addresses>
      <invoiceLines>
         <invoiceLine>
            <orderIdentifications>
               <orderIdentification type="DesAdv">PKB-20150514T160745-1</orderIdentification>
               <orderIdentification type="Buyer">Standard WH 1</orderIdentification>
               <orderIdentification type="Invoice">INV-20150514T160745-1</orderIdentification>
               <orderIdentification type="Seller">SIM-Standard WH 1</orderIdentification>
            </orderIdentifications>
            <lineNumbers>
               <lineNumber type="Buyer">1</lineNumber>
               <lineNumber type="Invoice">1</lineNumber>
            </lineNumbers>
            <amounts>
               <monetaryAmount amountTypeCode="Debit" currency="GBP" type="Unit">316.96</monetaryAmount>
               <monetaryAmount amountTypeCode="Debit" currency="GBP" type="Line">8874.88</monetaryAmount>
            </amounts>
            <unitOfMeasurement>EACH</unitOfMeasurement>
            <productDescription>Most Wonderful Product there is</productDescription>
            <invoicedQuantity>28</invoicedQuantity>
            <productIdentifiers>
               <productIdentifier type="Buyer">BuyerPN1</productIdentifier>
               <productIdentifier type="EAN">8712345678921</productIdentifier>
               <productIdentifier type="Manufacturer">AP8853</productIdentifier>
               <productIdentifier type="Seller">SellerPN1</productIdentifier>
               <productIdentifier type="Manufacturer">AP8853</productIdentifier>
            </productIdentifiers>
            <taxes>
               <tax origrate="21" type="NationalTax">
                  <monetaryAmount amountTypeCode="Debit" currency="GBP">1863.72</monetaryAmount>
               </tax>
            </taxes>
            <orderHistory>
               <date type="Order">20150514T160745</date>
               <date type="DespatchAdvice">20150515T000000</date>
            </orderHistory>
         </invoiceLine>
      </invoiceLines>
      <paymentDueDate origcode="Z339" type="Calculated">20150614T000000</paymentDueDate>
      <paymentTerms>
         <paymentTerm>
            <paymentCondition origcode="Z329" period="8">A discount of 0.5% if paid before 23-05-2015</paymentCondition>
            <values>
               <value type="Percentage">0.500</value>
            </values>
         </paymentTerm>
         <paymentTerm>
            <paymentCondition origcode="Z339" period="30">No deduction if paid before 14-06-2015</paymentCondition>
            <values>
               <value type="Percentage">0</value>
            </values>
         </paymentTerm>
      </paymentTerms>
      <shipmentTermsCode>EXW</shipmentTermsCode>
      <taxSummary>
         <tax origrate="HIGH" rate="21" type="NationalTax">
            <monetaryAmount amountTypeCode="Debit" currency="GBP" type="TotalTaxes">1863.72</monetaryAmount>
         </tax>
      </taxSummary>
      <charges>
         <charge origcode="Freight" type="Freight">
            <description/>
            <monetaryAmount amountTypeCode="Debit" currency="GBP">0.00</monetaryAmount>
         </charge>
      </charges>
      <amountSummary>
         <monetaryAmount amountTypeCode="Debit" currency="GBP" type="NetTotal">8874.88</monetaryAmount>
         <monetaryAmount amountTypeCode="Debit" currency="GBP" type="EndTotal">10738.60</monetaryAmount>
      </amountSummary>
   </invoice>
</invoices>
  • No labels