Advertisement
Guest User

Jeremy

a guest
Jul 7th, 2009
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.52 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Order xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
  3.     xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
  4.     xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2">
  5.  
  6.   <cbc:UBLVersionID>2.0</cbc:UBLVersionID> 
  7.  
  8.   <cbc:ID>Order1234</cbc:ID>
  9.  
  10.   <cbc:IssueDate>2002-07-25</cbc:IssueDate>
  11.  
  12.   <cbc:Note>THIS IS A HEADER COMMENT 1</cbc:Note>
  13.   <cbc:Note>THIS IS ANOTHER TEST COMMENT 2</cbc:Note>
  14.   <cbc:Note>THIS IS ANOTHER TEST COMMENT 3</cbc:Note>
  15.  
  16.   <cbc:CustomerReference>OrderRef1</cbc:CustomerReference>
  17.  
  18.   <cac:QuotationDocumentReference>
  19.     <cbc:ID>Quote1</cbc:ID>
  20.   </cac:QuotationDocumentReference>
  21.  
  22.   <cac:AdditionalDocumentReference>
  23.     <cbc:ID>Payload1</cbc:ID>
  24.   </cac:AdditionalDocumentReference>
  25.  
  26.   <cac:BuyerCustomerParty>
  27.     <cbc:CustomerAssignedAccountID>200</cbc:CustomerAssignedAccountID>
  28.     <cbc:AdditionalAccountID>12345</cbc:AdditionalAccountID>
  29.     <cac:Party>
  30.       <cac:PartyIdentification>
  31.         <cbc:ID schemeURI="http://www.dnb.com/US/duns_update/">111111111</cbc:ID>
  32.       </cac:PartyIdentification>    
  33.       <cac:PartyName>
  34.         <cbc:Name>PRGMR TEST BR</cbc:Name>
  35.       </cac:PartyName>
  36.       <cac:PostalAddress>
  37.         <cbc:CityName>Grand Rapids</cbc:CityName>
  38.         <cbc:PostalZone>49504</cbc:PostalZone>
  39.         <cbc:CountrySubentityCode>MI</cbc:CountrySubentityCode>
  40.         <cac:AddressLine>
  41.           <cbc:Line>1234 State St.</cbc:Line>
  42.         </cac:AddressLine>
  43.         <cac:Country>
  44.           <cbc:IdentificationCode>US</cbc:IdentificationCode>
  45.         </cac:Country>
  46.       </cac:PostalAddress>
  47.       <cac:Contact>
  48.         <cbc:Name>BRCH MGR</cbc:Name>
  49.         <cbc:Telephone>1234567890</cbc:Telephone>
  50.         <cbc:Telefax>1234567890</cbc:Telefax>
  51.         <cbc:ElectronicMail>mail@mail.com</cbc:ElectronicMail>
  52.       </cac:Contact>
  53.     </cac:Party>
  54.   </cac:BuyerCustomerParty>
  55.  
  56.   <cac:SellerSupplierParty>
  57.     <cac:Party>
  58.       <cac:PartyIdentification>
  59.         <cbc:ID schemeURI="http://www.dnb.com/US/duns_update/">222222222</cbc:ID>
  60.       </cac:PartyIdentification>
  61.     </cac:Party>
  62.   </cac:SellerSupplierParty>
  63.  
  64.   <cac:AccountingCustomerParty>
  65.     <cbc:CustomerAssignedAccountID>100</cbc:CustomerAssignedAccountID>
  66.     <cac:Party>
  67.       <cac:PartyName>
  68.         <cbc:Name>Corp Test Account</cbc:Name>
  69.       </cac:PartyName>
  70.       <cac:PostalAddress>
  71.         <cbc:CityName>Ann Arbor</cbc:CityName>
  72.         <cbc:PostalZone>44101</cbc:PostalZone>
  73.         <cbc:CountrySubentityCode>MI</cbc:CountrySubentityCode>
  74.         <cac:AddressLine>
  75.           <cbc:Line>P.O. Box 1234</cbc:Line>
  76.         </cac:AddressLine>
  77.         <cac:Country>
  78.           <cbc:IdentificationCode>US</cbc:IdentificationCode>
  79.         </cac:Country>
  80.       </cac:PostalAddress>
  81.     </cac:Party>
  82.   </cac:AccountingCustomerParty>
  83.  
  84.   <cac:Delivery>
  85.     <cac:RequestedDeliveryPeriod>
  86.       <cbc:EndDate>2010-12-30</cbc:EndDate>
  87.     </cac:RequestedDeliveryPeriod>
  88.     <cac:DeliveryParty>
  89.       <cac:PostalAddress>
  90.         <cbc:ID>1234</cbc:ID>
  91.         <cbc:CityName>Muskegon</cbc:CityName>
  92.         <cbc:PostalZone>49441</cbc:PostalZone>
  93.         <cbc:CountrySubentityCode>MI</cbc:CountrySubentityCode>
  94.         <cac:AddressLine>
  95.           <cbc:Line>TEST ACCOUNT</cbc:Line>
  96.         </cac:AddressLine>
  97.         <cac:AddressLine>
  98.           <cbc:Line>123 MAIN STREET</cbc:Line>
  99.         </cac:AddressLine>
  100.         <cac:AddressLine>
  101.           <cbc:Line>Suite 456</cbc:Line>
  102.         </cac:AddressLine>
  103.         <cac:Country>
  104.           <cbc:IdentificationCode>US</cbc:IdentificationCode>
  105.         </cac:Country>
  106.       </cac:PostalAddress>
  107.       <cac:Contact>
  108.         <cbc:Name>Joe Smith</cbc:Name>
  109.         <cbc:Telefax>1234567890</cbc:Telefax>
  110.       </cac:Contact>
  111.     </cac:DeliveryParty>
  112.     <cac:Despatch>
  113.       <cac:DespatchParty>
  114.         <cac:PartyName>
  115.           <cbc:Name>UPS Ground</cbc:Name>
  116.         </cac:PartyName>
  117.       </cac:DespatchParty>
  118.     </cac:Despatch>
  119.   </cac:Delivery>
  120.  
  121.   <cac:DeliveryTerms>
  122.     <cbc:ID>FOB</cbc:ID>
  123.     <cbc:SpecialTerms>Origin: Freight-Collect</cbc:SpecialTerms>
  124.   </cac:DeliveryTerms>
  125.  
  126.   <cac:OrderLine>
  127.     <cac:LineItem>
  128.       <cbc:ID>1</cbc:ID>
  129.       <cbc:Note>LINE 1 / COMMENT 1
  130.       LINE 1 / COMMENT 2
  131.       LINE 1 / COMMENT 3</cbc:Note>
  132.       <cbc:Quantity unitCode="EA">5</cbc:Quantity>
  133.       <cac:Delivery>
  134.         <cac:RequestedDeliveryPeriod>
  135.           <cbc:EndDate>2002-08-15</cbc:EndDate>
  136.         </cac:RequestedDeliveryPeriod>
  137.       </cac:Delivery>
  138.       <cac:Price>
  139.         <cbc:PriceAmount currencyID="USD">2.018</cbc:PriceAmount>
  140.       </cac:Price>
  141.       <cac:Item>
  142.         <cbc:Description>52385330000100</cbc:Description>
  143.         <cac:BuyersItemIdentification>
  144.           <cbc:ID>3111526</cbc:ID>
  145.         </cac:BuyersItemIdentification>
  146.         <cac:SellersItemIdentification>
  147.           <cbc:ID>1234B7</cbc:ID>
  148.         </cac:SellersItemIdentification>
  149.         <cac:StandardItemIdentification>
  150.           <cbc:ID>001234509876</cbc:ID>
  151.         </cac:StandardItemIdentification>
  152.         <cac:ManufacturerParty>
  153.           <cac:PartyIdentification>
  154.             <cbc:ID>ABC123</cbc:ID>
  155.           </cac:PartyIdentification>
  156.         </cac:ManufacturerParty>
  157.       </cac:Item>
  158.     </cac:LineItem>
  159.   </cac:OrderLine>
  160.  
  161.   <cac:OrderLine>
  162.     <cac:LineItem>
  163.       <cbc:ID>2</cbc:ID>
  164.       <cbc:Note>LINE 2 / COMMENT 1
  165.       LINE 2 / COMMENT 2
  166.       LINE 2 / COMMENT 3
  167.       LINE 2 / COMMENT 4
  168.       LINE 2 / COMMENT 5</cbc:Note>
  169.       <cbc:Quantity unitCode="EA">8</cbc:Quantity>
  170.       <cac:Delivery>
  171.         <cac:RequestedDeliveryPeriod>
  172.           <cbc:EndDate>2002-07-25</cbc:EndDate>
  173.         </cac:RequestedDeliveryPeriod>
  174.       </cac:Delivery>
  175.       <cac:Price>
  176.         <cbc:PriceAmount currencyID="USD">8.00</cbc:PriceAmount>
  177.       </cac:Price>
  178.       <cac:Item>
  179.         <cbc:Description>CASE STUDY #9 - REPLY</cbc:Description>
  180.         <cac:BuyersItemIdentification>
  181.           <cbc:ID>3110975</cbc:ID>
  182.         </cac:BuyersItemIdentification>
  183.         <cac:SellersItemIdentification>
  184.           <cbc:ID>165L050</cbc:ID>
  185.         </cac:SellersItemIdentification>
  186.         <cac:StandardItemIdentification>
  187.           <cbc:ID>001234523456</cbc:ID>
  188.         </cac:StandardItemIdentification>
  189.         <cac:ManufacturerParty>
  190.           <cac:PartyIdentification>
  191.             <cbc:ID>ABC123</cbc:ID>
  192.           </cac:PartyIdentification>
  193.         </cac:ManufacturerParty>
  194.       </cac:Item>
  195.     </cac:LineItem>
  196.   </cac:OrderLine>
  197. </Order>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement