Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Tiedosto on ubl2.0 order tyyppinen.

<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:cts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:udt="urn:un:unece:uncefact:data:draft:UnqualifiedDataTypesSchemaModule:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2">
	<cbc:ID>35423/1</cbc:ID>
	<!--Tilauksen numero. Kun / perässä tarkoittaa että on jälkitoimitus osa 1. Perässä voisi olla verkkokaupan tilauksen numero - merkillä erottena -->
	<cbc:SalesOrderID>78139</cbc:SalesOrderID>
	<!--Tässä verkkokaupan tilausnumero, toinen tapa erottaa verkkokauppa. Määrättävissä asetuksissa-->
	<cbc:IssueDate>2013-10-08</cbc:IssueDate>
	<!--Tilauspäivä -->
	<cbc:Note>Noutopiste:peräkylä</cbc:Note>
	<!--Tilauksen kommentit. voi olla tietoa myymälänoudosta tai verkkokaupan toimituksen tarkennus. Myymälänouto "Valittu myymälä: Helsinki Kamppi, Urho Kekkosen katu 1 (Kampin liikekeskus E-taso), 00100 HELSINKI"   verkkokaupan toimituspiste(huomaa rivinvaihto noutupiste sanan jälkeen) "Noutopiste:
Kiuruvesi mh-asiamies Asematie 12, 74700 Kiuruvesi"-->
	<cbc:CustomerReference/>	<!--Asiakkaan viite eli viitteenne-->
	<cac:AdditionalDocumentReference>
		<cbc:ID>12345</cbc:ID>	<!--Asiakkaan tilausnumero-->
		<cbc:DocumentType>CUSTOMERSORDERID</cbc:DocumentType>
		<!--Vakioteksti-->
	</cac:AdditionalDocumentReference>

	<cac:BuyerCustomerParty> 		<!--Tilaajan tiedot (toimitusasiakas) -->
		<cbc:SupplierAssignedAccountID>110053</cbc:SupplierAssignedAccountID>		<!--Asiakasnumero -->
		<cac:Party>
			<cac:PartyName>
				<cbc:Name>Pertti Peräkylä</cbc:Name>
			</cac:PartyName>
			<cac:PostalAddress>
				<cbc:StreetName>harjulavägen 1257</cbc:StreetName>
				<cbc:CityName>perkylä</cbc:CityName>
				<cbc:PostalZone>22420</cbc:PostalZone>
			</cac:PostalAddress>
			<cac:Contact>
				<cbc:Telephone>0441233455</cbc:Telephone>
				<cbc:ElectronicMail>pentti@hotmail.com</cbc:ElectronicMail>
			</cac:Contact>
			<cac:PartyTaxScheme>   <!-- asiakkaan y-tunnus jos tiedossa -->
			<cbc:CompanyID>y-tunnus</cbc:CompanyID> 
			<cac:TaxScheme></cac:TaxScheme>
			</cac:PartyTaxScheme>
		</cac:Party>
	</cac:BuyerCustomerParty>

	<cac:SellerSupplierParty>  <!--Myyjäorganisaation tiedot -->
		<cac:Party>
			<cac:PartyName>
				<cbc:Name>OY COMPANY AB</cbc:Name>
			</cac:PartyName>
		</cac:Party>
		<cac:SellerContact>
			<cbc:ID>100/9</cbc:ID> <!--Myyjän numero / tilauksen myymälän numero-->
		</cac:SellerContact>
	</cac:SellerSupplierParty>

	<cac:PaymentMeans>
	<cbc:PaymentMeansCode>9</cbc:PaymentMeansCode> <!--tilauksen veloitustapakoodi skj:ssä-->
	<cbc:InstructionNote>Välitetty verkkomaksu</cbc:InstructionNote> <!--veloitustavan nimi-->
	</cac:PaymentMeans>

	<cac:Delivery> <!-- toimitustiedot-->
		<cac:DeliveryAddress>
			<cbc:ID>3;;Bussipaketti</cbc:ID>  <!--toimitustavan numero SKJ:ssä  ;; toimitustavan nimi. HUOM Voi olla myös cac:ID tagilla (riippu asetuksesta. cbc:ID on virheellinen tässäkohden)-->
			<cbc:StreetName>harjulavägen 57</cbc:StreetName>
			<cbc:CityName>perkylä</cbc:CityName>
			<cbc:PostalZone>22420</cbc:PostalZone>
		</cac:DeliveryAddress>
		<cac:RequestedDeliveryPeriod> <!--toimituspäivä -->
			<cbc:StartDate>2013-10-08</cbc:StartDate>
			<cbc:EndDate>2013-10-08</cbc:EndDate>
		</cac:RequestedDeliveryPeriod>
		<cac:DeliveryParty>
			<cbc:EndpointID>1234</cbc:EndpointID>   <!--Matkahuollon asiamiestunnus (4 numeroa) tai smartpost ID;smartpost service routingcode kun posti-->
			<cac:PartyName>
				<cbc:Name>Pentti Peräkylä</cbc:Name>
			</cac:PartyName>
			<cac:PartyIdentification>
			  <cbc:ID>1231</cbc:ID>  <!--Kun myymälätoimitus, myymälän asiakasnumero-->
			</cac:PartyIdentification>		
			<cbc:Contact>  <!--voi olla myös cac:Contact, sama asetus kuin ylempänä cbc:ID deliveryAddress alla-->
				<cbc:Telephone>0441233455</cbc:Telephone>
				<cbc:ElectronicMail>pentti@hotmail.com</cbc:ElectronicMail>
			</cbc:Contact>
		</cac:DeliveryParty>
	</cac:Delivery>

	<cac:TransactionConditions> <!--tulee vain jos tilausmerkattu kiireelliseksi-->
	<cbc:Description>KIIRE</cbc:Description>
	</cac:TransactionConditions>
	
	<cac:OrderLine>  <!--tuoterivit -->
		<cac:LineItem>  <!--toistuu tarvittavan määrän. Jälkitoimituksessa jo toimitettuja riviejä ei tule-->
			<cbc:ID>2</cbc:ID>  <!--Rivin numero skj:ssä, paluusanoman pitää käyttää tätä-->
			<cbc:Quantity>1.00</cbc:Quantity>  <!--määrä-->
			<cbc:LineExtensionAmount currencyID="EUR">17.702</cbc:LineExtensionAmount>  <!--veroton hinta-->
			<cbc:TotalTaxAmount currencyID="EUR">4.25</cbc:TotalTaxAmount> <!--vero-->
			<cac:OriginatorParty>
				<cac:PartyIdentification>
					<cbc:ID>3</cbc:ID>  <!--Varastopaikan tunnus, tulee joko tilausriviltä tai siirron asetuksien ylikirjoittamana -->
				</cac:PartyIdentification>
			</cac:OriginatorParty>
			<cbc:Delivery>  <!--Vain jos riville laitettu toimituspäivä-->
				<cbc:LatestDeliveryDate>2017-06-11</cbc:LatestDeliveryDate>
			</cbc:Delivery>
			<cac:Price>  
				<cbc:PriceAmount currencyID="EUR">17.702</cbc:PriceAmount>  <!--veroton ahinta -->
				<cbc:PriceChangeReason>0.00%</cbc:PriceChangeReason> <!--Alennusprosentti, tulee tosin VAIN jos <> 0 tässä nyt vaan esimerkkinä 0-->
			</cac:Price>
			<cac:Item>
				<cbc:Name>Satunainen tuote</cbc:Name>  <!--tuotteen nimi-->
				<cac:BuyersItemIdentification>
					<cbc:ID>1SBB-2364-0</cbc:ID> <!--Tuotteen koodi-->
					<cbc:ExtentedID>PAKETTI</cbc:ExtentedID> <!--Tai  KOMPONENTTI kun tuoterivi on joko paketin emo tai komponenttirivi, muussa tapauksessa tätä tägiä ei tule. -->
					<cac:AdditionalItemIdentification> <!--tulee jos myyntitilausrivillä on kuvaus1-->
					<cbc:ID>kuvaus1</cbc:ID>  <!--Kuvaus1 kenttä-->
					<cac:IssuerParty>ROWSUPPLIER</cac:IssuerParty>  <!--vakio jos AdditionalItemIdentification tagi tulee-->
					</cac:AdditionalItemIdentification>  
				</cac:BuyersItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
	<cac:OrderLine>
		<cac:LineItem>
			<cbc:ID>3</cbc:ID>
			<cbc:Quantity>1.00</cbc:Quantity>
			<cbc:LineExtensionAmount currencyID="EUR">17.702</cbc:LineExtensionAmount>
			<cbc:TotalTaxAmount currencyID="EUR">4.25</cbc:TotalTaxAmount>
			<cac:OriginatorParty>
				<cac:PartyIdentification>
					<cbc:ID>3</cbc:ID>
				</cac:PartyIdentification>
			</cac:OriginatorParty>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">17.702</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>toinen tuote</cbc:Name>
				<cac:BuyersItemIdentification>
					<cbc:ID>1SBB-2474-0</cbc:ID>
				</cac:BuyersItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
	<cac:OrderLine>
		<cac:LineItem>
			<cbc:ID>4</cbc:ID>
			<cbc:Quantity>1.00</cbc:Quantity>
			<cbc:LineExtensionAmount currencyID="EUR">2.379</cbc:LineExtensionAmount>
			<cbc:TotalTaxAmount currencyID="EUR">0.57</cbc:TotalTaxAmount>
			<cac:OriginatorParty>
				<cac:PartyIdentification>
					<cbc:ID>3</cbc:ID>
				</cac:PartyIdentification>
			</cac:OriginatorParty>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">2.379</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>Laskutuslisä</cbc:Name>
				<cac:BuyersItemIdentification>
					<cbc:ID>9999998</cbc:ID>
				</cac:BuyersItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
	<cac:OrderLine>
		<cac:LineItem>
			<cbc:ID>5</cbc:ID>
			<cbc:Quantity>1.00</cbc:Quantity>
			<cbc:LineExtensionAmount currencyID="EUR">3.952</cbc:LineExtensionAmount>
			<cbc:TotalTaxAmount currencyID="EUR">0.95</cbc:TotalTaxAmount>
			<cac:OriginatorParty>
				<cac:PartyIdentification>
					<cbc:ID>3</cbc:ID>
				</cac:PartyIdentification>
			</cac:OriginatorParty>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">3.952</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>Toimituskulut</cbc:Name>
				<cac:BuyersItemIdentification>
					<cbc:ID>9999999</cbc:ID>
				</cac:BuyersItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
</Order>


<?xml version="1.0" encoding="UTF-8"?><Order xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:cts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:udt="urn:un:unece:uncefact:data:draft:UnqualifiedDataTypesSchemaModule:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2">
<cbc:ID>35423/1</cbc:ID>
<!--Tilauksen numero. Kun / perässä tarkoittaa että on jälkitoimitus osa 1. Perässä voisi olla verkkokaupan tilauksen numero - merkillä erottena -->
<cbc:SalesOrderID>78139</cbc:SalesOrderID>
<!--Tässä verkkokaupan tilausnumero, toinen tapa erottaa verkkokauppa. Määrättävissä asetuksissa-->
<cbc:IssueDate>2013-10-08</cbc:IssueDate>
<!--Tilauspäivä -->
<cbc:Note>Noutopiste:peräkylä</cbc:Note>
<!--Tilauksen kommentit. voi olla tietoa myymälänoudosta tai verkkokaupan toimituksen tarkennus. Myymälänouto "Valittu myymälä: Helsinki Kamppi, Urho Kekkosen katu 1 (Kampin liikekeskus E-taso), 00100 HELSINKI"   verkkokaupan toimituspiste(huomaa rivinvaihto noutupiste sanan jälkeen) "Noutopiste:Kiuruvesi mh-asiamies Asematie 12, 74700 Kiuruvesi"-->
<cbc:CustomerReference/>
<!--Asiakkaan viite eli viitteenne-->
<cac:AdditionalDocumentReference>
<cbc:ID>12345</cbc:ID>
<!--Asiakkaan tilausnumero-->
<cbc:DocumentType>CUSTOMERSORDERID</cbc:DocumentType>
<!--Vakioteksti-->
</cac:AdditionalDocumentReference>

<cac:BuyerCustomerParty>
<!--Tilaajan tiedot (toimitusasiakas) -->
<cbc:SupplierAssignedAccountID>110053</cbc:SupplierAssignedAccountID>
<!--Asiakasnumero -->
<cac:Party>
<cac:PartyName>
<cbc:Name>Pertti Peräkylä</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>harjulavägen 1257</cbc:StreetName>
<cbc:CityName>perkylä</cbc:CityName>
<cbc:PostalZone>22420</cbc:PostalZone>
</cac:PostalAddress>
<cac:Contact>
<cbc:Telephone>0441233455</cbc:Telephone>
<cbc:ElectronicMail>pentti@hotmail.com</cbc:ElectronicMail>
</cac:Contact>
<cac:PartyTaxScheme>   <!-- asiakkaan y-tunnus jos tiedossa -->
<cbc:CompanyID>y-tunnus</cbc:CompanyID> 
<cac:TaxScheme></cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:BuyerCustomerParty>

<cac:SellerSupplierParty>  <!--Myyjäorganisaation tiedot -->
<cac:Party>
<cac:PartyName>
<cbc:Name>OY COMPANY AB</cbc:Name>
</cac:PartyName>
</cac:Party>
<cac:SellerContact>
<cbc:ID>100/9</cbc:ID> <!--Myyjän numero / tilauksen myymälän numero-->
</cac:SellerContact>
</cac:SellerSupplierParty>

<cac:PaymentMeans>
<cbc:PaymentMeansCode>9</cbc:PaymentMeansCode> <!--tilauksen veloitustapakoodi skj:ssä-->
<cbc:InstructionNote>Välitetty verkkomaksu</cbc:InstructionNote> <!--veloitustavan nimi-->
</cac:PaymentMeans>

<cac:Delivery> <!-- toimitustiedot-->
<cac:DeliveryAddress>
<cbc:ID>3;;Bussipaketti</cbc:ID>  <!--toimitustavan numero SKJ:ssä  ;; toimitustavan nimi. HUOM Voi olla myös cac:ID tagilla (riippu asetuksesta. cbc:ID on virheellinen tässäkohden)-->
<cbc:StreetName>harjulavägen 57</cbc:StreetName>
<cbc:CityName>perkylä</cbc:CityName>
<cbc:PostalZone>22420</cbc:PostalZone>
</cac:DeliveryAddress>
<cac:RequestedDeliveryPeriod> <!--toimituspäivä -->
<cbc:StartDate>2013-10-08</cbc:StartDate>
<cbc:EndDate>2013-10-08</cbc:EndDate>
</cac:RequestedDeliveryPeriod>
<cac:DeliveryParty>
<cbc:EndpointID>1234</cbc:EndpointID>   <!--Matkahuollon asiamiestunnus (4 numeroa) tai smartpost ID;smartpost service routingcode kun posti-->
<cac:PartyName>
<cbc:Name>Pentti Peräkylä</cbc:Name>
</cac:PartyName>
<cac:PartyIdentification>
 <cbc:ID>1231</cbc:ID>  <!--Kun myymälätoimitus, myymälän asiakasnumero-->
</cac:PartyIdentification>

<cbc:Contact>  <!--voi olla myös cac:Contact, sama asetus kuin ylempänä cbc:ID deliveryAddress alla-->
<cbc:Telephone>0441233455</cbc:Telephone>
<cbc:ElectronicMail>pentti@hotmail.com</cbc:ElectronicMail>
</cbc:Contact>
</cac:DeliveryParty>
</cac:Delivery>

<cac:TransactionConditions> <!--tulee vain jos tilausmerkattu kiireelliseksi-->
<cbc:Description>KIIRE</cbc:Description>
</cac:TransactionConditions>

<cac:OrderLine>  <!--tuoterivit -->
<cac:LineItem>  <!--toistuu tarvittavan määrän. Jälkitoimituksessa jo toimitettuja riviejä ei tule-->
<cbc:ID>2</cbc:ID>  <!--Rivin numero skj:ssä, paluusanoman pitää käyttää tätä-->
<cbc:Quantity>1.00</cbc:Quantity>  <!--määrä-->
<cbc:LineExtensionAmount currencyID="EUR">17.702</cbc:LineExtensionAmount>  <!--veroton hinta-->
<cbc:TotalTaxAmount currencyID="EUR">4.25</cbc:TotalTaxAmount> <!--vero-->
<cac:OriginatorParty>
<cac:PartyIdentification>
<cbc:ID>3</cbc:ID>  <!--Varastopaikan tunnus, tulee joko tilausriviltä tai siirron asetuksien ylikirjoittamana -->
</cac:PartyIdentification>
</cac:OriginatorParty>
<cbc:Delivery>  <!--Vain jos riville laitettu toimituspäivä-->
<cbc:LatestDeliveryDate>2017-06-11</cbc:LatestDeliveryDate>
</cbc:Delivery>
<cac:Price>  
<cbc:PriceAmount currencyID="EUR">17.702</cbc:PriceAmount>  <!--veroton ahinta -->
<cbc:PriceChangeReason>0.00%</cbc:PriceChangeReason> <!--Alennusprosentti, tulee tosin VAIN jos <> 0 tässä nyt vaan esimerkkinä 0-->
</cac:Price>
<cac:Item>
<cbc:Name>Satunainen tuote</cbc:Name>  <!--tuotteen nimi-->
<cac:BuyersItemIdentification>
<cbc:ID>1SBB-2364-0</cbc:ID> <!--Tuotteen koodi-->
<cbc:ExtentedID>PAKETTI</cbc:ExtentedID> <!--Tai  KOMPONENTTI kun tuoterivi on joko paketin emo tai komponenttirivi, muussa tapauksessa tätä tägiä ei tule. -->
<cac:AdditionalItemIdentification> <!--tulee jos myyntitilausrivillä on kuvaus1-->
<cbc:ID>kuvaus1</cbc:ID>  <!--Kuvaus1 kenttä-->
<cac:IssuerParty>ROWSUPPLIER</cac:IssuerParty>  <!--vakio jos AdditionalItemIdentification tagi tulee-->
</cac:AdditionalItemIdentification>  
</cac:BuyersItemIdentification>
</cac:Item>
</cac:LineItem>
</cac:OrderLine>
<cac:OrderLine>
<cac:LineItem>
<cbc:ID>3</cbc:ID>
<cbc:Quantity>1.00</cbc:Quantity>
<cbc:LineExtensionAmount currencyID="EUR">17.702</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="EUR">4.25</cbc:TotalTaxAmount>
<cac:OriginatorParty>
<cac:PartyIdentification>
<cbc:ID>3</cbc:ID>
</cac:PartyIdentification>
</cac:OriginatorParty>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">17.702</cbc:PriceAmount>
</cac:Price>
<cac:Item>
<cbc:Name>toinen tuote</cbc:Name>
<cac:BuyersItemIdentification>
<cbc:ID>1SBB-2474-0</cbc:ID>
</cac:BuyersItemIdentification>
</cac:Item>
</cac:LineItem>
</cac:OrderLine>
<cac:OrderLine>
<cac:LineItem>
<cbc:ID>4</cbc:ID>
<cbc:Quantity>1.00</cbc:Quantity>
<cbc:LineExtensionAmount currencyID="EUR">2.379</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="EUR">0.57</cbc:TotalTaxAmount>
<cac:OriginatorParty>
<cac:PartyIdentification>
<cbc:ID>3</cbc:ID>
</cac:PartyIdentification>
</cac:OriginatorParty>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">2.379</cbc:PriceAmount>
</cac:Price>
<cac:Item>
<cbc:Name>Laskutuslisä</cbc:Name>
<cac:BuyersItemIdentification>
<cbc:ID>9999998</cbc:ID>
</cac:BuyersItemIdentification>
</cac:Item>
</cac:LineItem>
</cac:OrderLine>
<cac:OrderLine>
<cac:LineItem>
<cbc:ID>5</cbc:ID>
<cbc:Quantity>1.00</cbc:Quantity>
<cbc:LineExtensionAmount currencyID="EUR">3.952</cbc:LineExtensionAmount>
<cbc:TotalTaxAmount currencyID="EUR">0.95</cbc:TotalTaxAmount>
<cac:OriginatorParty>
<cac:PartyIdentification>
<cbc:ID>3</cbc:ID>
</cac:PartyIdentification>
</cac:OriginatorParty>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">3.952</cbc:PriceAmount>
</cac:Price>
<cac:Item>
<cbc:Name>Toimituskulut</cbc:Name>
<cac:BuyersItemIdentification>
<cbc:ID>9999999</cbc:ID>
</cac:BuyersItemIdentification>
</cac:Item>
</cac:LineItem>
</cac:OrderLine></Order>

  • No labels