Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleDownload
Download the example XML:   OTOrdReq.EUR-Standard-WH1Onetrail UBL Warehouse Order Example.xml


Code Block
languagexml
titleStandard Warehouse Order
<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2" xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
	<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order:3</cbc:CustomizationID>
	<cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:order_only:3</cbc:ProfileID>
	<!-- Ordernumber -->
	<cbc:ID>UBL-0000002</cbc:ID>
	<cbc:IssueDate>2024-12-03</cbc:IssueDate>
	<cbc:IssueTime>09:58:19</cbc:IssueTime>
	<!-- optional -->
	<cbc:Note>Warehouse order from Onetrail XML test buyer</cbc:Note>
	<cbc:DocumentCurrencyCode listID="ISO4217">EUR</cbc:DocumentCurrencyCode>
	<cac:ValidityPeriod>
		<cbc:EndDate>2024-12-03</cbc:EndDate>
	</cac:ValidityPeriod>
	<cac:BuyerCustomerParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">8714231442455</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0088">8714253023236</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
				<cbc:Name>Onetrail XML Test Buyer</cbc:Name>
			</cac:PartyName>
			<cac:PostalAddress>
				<cbc:StreetName>Stadsring 115</cbc:StreetName>
				<cbc:CityName>Amersfoort</cbc:CityName>
				<cbc:PostalZone>3817 AX</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>NL</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>Onetrail XML Test Buyer</cbc:RegistrationName>
			</cac:PartyLegalEntity>
			<!-- Purchaser to contact in case of questions related to this order-->
			<cac:Contact>
				<cbc:Name>Demo User</cbc:Name>
				<cbc:Telephone>+31-243579888</cbc:Telephone>
				<cbc:ElectronicMail>demo.user@onetrail.com</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:BuyerCustomerParty>
	<cac:SellerSupplierParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">8714253023236</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0088">8714253023236</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
				<cbc:Name>Onetrail XML Test Seller</cbc:Name>
			</cac:PartyName>
			<cac:PostalAddress>
				<cbc:StreetName>Stadsring 115</cbc:StreetName>
				<cbc:CityName>Amersfoort</cbc:CityName>
				<cbc:PostalZone>3817 AX</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>NL</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>Onetrail XML Test Seller</cbc:RegistrationName>
			</cac:PartyLegalEntity>
			<cac:Contact>
				<cbc:Name>Demo User</cbc:Name>
				<cbc:Telephone>+31-243579888</cbc:Telephone>
				<cbc:ElectronicMail>demo.user@onetrail.com</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:SellerSupplierParty>
	<!-- optional, used for Interconnect network partners -->
	<cac:OriginatorCustomerParty>
		<cac:Party>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0088">8714231441632</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
				<cbc:Name>Onetrail XML Test Buyer</cbc:Name>
			</cac:PartyName>
			<cac:Contact>
				<cbc:Name>Demo User</cbc:Name>
				<cbc:Telephone>+31-243579888</cbc:Telephone>
				<cbc:ElectronicMail>demo.user@onetrail.com</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:OriginatorCustomerParty>
	<!-- optional, to be used if the Bill-to address is different than the Buying party -->
	<cac:AccountingCustomerParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">8714231441632</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0088">8714231441632</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Stadsring 115</cbc:StreetName>
				<cbc:CityName>Amersfoort</cbc:CityName>
				<cbc:PostalZone>3817 AX</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>NL</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>Onetrail XML Test Buyer</cbc:RegistrationName>
			</cac:PartyLegalEntity>
			<cac:Contact>
				<cbc:Name>Demo User</cbc:Name>
				<cbc:Telephone>+31-243579888</cbc:Telephone>
				<cbc:ElectronicMail>demo.user@onetrail.com</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:AccountingCustomerParty>
	<cac:Delivery>
		<cac:DeliveryLocation>
			<!-- ID is optional and to be used for warehouse delivery -->
			<cbc:ID schemeID="0088">8714231441632</cbc:ID>
			<cac:Address>
				<cbc:StreetName>Stadsring 115</cbc:StreetName>
				<cbc:CityName>Amersfoort</cbc:CityName>
				<cbc:PostalZone>3817 AX</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>NL</cbc:IdentificationCode>
				</cac:Country>
			</cac:Address>
		</cac:DeliveryLocation>
		<cac:RequestedDeliveryPeriod>
			<cbc:StartDate>2010-02-10</cbc:StartDate>
			<cbc:EndDate>2010-02-25</cbc:EndDate>
			<!-- start- and end time is optional -->
			<cbc:StartTime>12:30:00Z</cbc:StartTime>
			<cbc:EndTime>12:30:00Z</cbc:EndTime>
		</cac:RequestedDeliveryPeriod>
	</cac:Delivery>
	<!-- Total amount for the order excl. VAT-->
	<cac:AnticipatedMonetaryTotal>
		<cbc:LineExtensionAmount currencyID="EUR">950.70</cbc:LineExtensionAmount>
		<cbc:PayableAmount currencyID="EUR">950.70</cbc:PayableAmount>
	</cac:AnticipatedMonetaryTotal>
	<cac:OrderLine>
		<!-- optional -->
		<cbc:Note>Example note for order line 1</cbc:Note>
		<cac:LineItem>
			<cbc:ID>1</cbc:ID>
			<cbc:Quantity unitCode="EA" unitCodeListID="UNECERec20">10</cbc:Quantity>
			<!-- Total line amount excluding VAT-->
			<cbc:LineExtensionAmount currencyID="EUR">899.90</cbc:LineExtensionAmount>
			<cbc:PartialDeliveryIndicator>false</cbc:PartialDeliveryIndicator>
			<!-- optional -->
			<cac:Delivery>
				<cac:RequestedDeliveryPeriod>
					<cbc:StartDate>2024-12-04</cbc:StartDate>
					<cbc:EndDate>2024-12-04</cbc:EndDate>
					<!-- optional times -->
					<cbc:StartTime>12:30:00Z</cbc:StartTime>
					<cbc:EndTime>12:30:00Z</cbc:EndTime>
				</cac:RequestedDeliveryPeriod>
			</cac:Delivery>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">89.99</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>Canon 719 - Black - original - toner cartridge - for i-SENSYS LBP251, LBP252, LBP253, LBP6310, MF411, MF416, MF418, MF419, MF6140, MF6180</cbc:Name>
				<!-- optional buyer item number -->
				<cac:SellersItemIdentification>
					<cbc:ID>SKUB002</cbc:ID>
				</cac:SellersItemIdentification>
				<cac:ManufacturersItemIdentification>
					<cbc:ID>3479B002</cbc:ID>
				</cac:ManufacturersItemIdentification>
				<!-- optional GTIN -->
				<cac:StandardItemIdentification>
					<cbc:ID schemeID="0160">4960999650289</cbc:ID>
				</cac:StandardItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
	<cac:OrderLine>
		<!-- optional -->
		<cbc:Note>Example note for order line 2</cbc:Note>
		<cac:LineItem>
			<cbc:ID>2</cbc:ID>
			<cbc:Quantity unitCode="EA" unitCodeListID="UNECERec20">5</cbc:Quantity>
			<!-- Total line amount excluding VAT-->
			<cbc:LineExtensionAmount currencyID="EUR">50.80</cbc:LineExtensionAmount>
			<cbc:PartialDeliveryIndicator>false</cbc:PartialDeliveryIndicator>
			<!-- optional -->
			<cac:Delivery>
				<cac:RequestedDeliveryPeriod>
					<cbc:StartDate>2024-12-04</cbc:StartDate>
					<cbc:EndDate>2024-12-04</cbc:EndDate>
					<!-- optional times -->
					<cbc:StartTime>12:30:00Z</cbc:StartTime>
					<cbc:EndTime>12:30:00Z</cbc:EndTime>
				</cac:RequestedDeliveryPeriod>
			</cac:Delivery>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">10.16</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>HP Toner Collection Unit - Waste toner collector</cbc:Name>
				<cac:SellersItemIdentification>
					<cbc:ID>SKUB003</cbc:ID>
				</cac:SellersItemIdentification>
				<cac:ManufacturersItemIdentification>
					<cbc:ID>4C8T4A</cbc:ID>
				</cac:ManufacturersItemIdentification>
				<!-- optional GTIN -->
				<cac:StandardItemIdentification>
					<cbc:ID schemeID="0160">00196068583491</cbc:ID>
				</cac:StandardItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
</Order>

...