Online OIOUBL Dokumentation



Order specification

Name Order (Show as PDF) Alternative Term  
Definition OIOUBL Order is used for the exchange of electronic orders. The order can be used in a coherent order-to-invoice flow. Order is sent from BuyerCustomerParty to SellerSupplierParty. Order is structured to fulfill the formal requirements for a valid order change for use in Denmark, including taxnumber, time of delivery, specifications etc. Apart from the formal demands on sender and receiver and the order content, the electronic version must contain EndPointID, a Personreference and usually an order number or request number. It also has to fulfill the requirements in this document guideline. EndPointID is used to identify the "electronic mailbox" where the electronic document is to be delivered and also provides the basis for routing the message. PersonReference is used to identify the person responsible for placing the order. Order number or requisition number is used to identify the order. These three types of information are used subsequently when the electronic invoice is issued with reference to a previous order or requisition. Depending on the profile used, the order can form part of an advanced order flow allowing the exchange of order changes, order deletions and order responses.


UBL-Name Name Datatype Usage Cardinality
UBLVersionID UBLVersionID Identifier Yes 1
CustomizationID CustomizationID Identifier Yes 1
ProfileID ProfileID Identifier Yes 1
ID ID Identifier Yes 1
CopyIndicator CopyIndicator Indicator Yes 0..1
UUID UUID Identifier Yes 0..1
IssueDate IssueDate Date Yes 1
IssueTime IssueTime Time Bilateral 0..1
Note Note Text Yes 0..n
RequestedInvoiceCurrencyCode RequestedInvoiceCurrencyCode Code Yes 0..1
DocumentCurrencyCode DocumentCurrencyCode Code Yes 0..1
PricingCurrencyCode PricingCurrencyCode Code Yes 0..1
TaxCurrencyCode TaxCurrencyCode Code Yes 0..1
CustomerReference CustomerReference Text Bilateral 0..1
AccountingCostCode AccountingCostCode Code Bilateral 0..1
AccountingCost AccountingCost Text Yes 0..1

Subclasses in class Order

UBL-Name Name Usage Cardinality Reference to the printed documentation See also
UBLExtensions UBLExtensions Bilateral 0..1   OIOUBL_GUIDE_EXTENSION
ValidityPeriod ValidityPeriod Yes 0..1 Common Library, 3.78  
QuotationDocumentReference QuotationDocumentReference Yes 0..1 3.2 OIOUBL_GUIDE_DOCUMENTREF
OriginatorDocumentReference OriginatorDocumentReference Bilateral 0..1 3.3 OIOUBL_GUIDE_DOCUMENTREF
AdditionalDocumentReference AdditionalDocumentReference Yes 0..n Common Library, 3.36 OIOUBL_GUIDE_DOCUMENTREF
Contract Contract Yes 0..1 3.4 OIOUBL_GUIDE_DOCUMENTREF
Signature Signature Yes 0..1 Common Library, 3.96 OIOUBL_GUIDE_SIGNATURE
BuyerCustomerParty BuyerCustomerParty Yes 1 3.5  
SellerSupplierParty SellerSupplierParty Yes 1 3.6  
OriginatorCustomerParty OriginatorCustomerParty Yes 0..1 Common Library, 3.27 OIOUBL_GUIDE_PARTIES
FreightForwarderParty FreightForwarderParty Bilateral 0..1 Common Library, 3.70 OIOUBL_GUIDE_PARTIES
AccountingCustomerParty AccountingCustomerParty Yes 0..1 3.7  
Delivery Delivery Yes 0..1 3.8 OIOUBL_GUIDE_DELIVERY
DeliveryTerms DeliveryTerms Yes 0..1 Common Library, 3.30 OIOUBL_GUIDE_DELIVERYTERMS
PaymentMeans PaymentMeans Bilateral 0..1 Common Library, 3.76 OIOUBL_GUIDE_PAYMENT
TransactionConditions TransactionConditions Bilateral 0..1 Common Library, 3.107  
AllowanceCharge AllowanceCharge Yes 0..1 Common Library, 3.4 OIOUBL_GUIDE_ALLOWANCE
DestinationCountry DestinationCountry Bilateral 0..1 Common Library, 3.24  
TaxTotal TaxTotal Yes 0..1 Common Library, 3.104 OIOUBL_GUIDE_TAX
AnticipatedMonetaryTotal AnticipatedMonetaryTotal Yes 0..1 Common Library, 3.64 OIOUBL_GUIDE_TOTALS
OrderLine OrderLine Yes 1..n 3.9  

Excluded classes and fields in Order

Name Name Type
SalesOrderID SalesOrderID Field
LineCountNumeric LineCountNumeric Field
OrderDocumentReference OrderDocumentReference Class


<Order >
<cbc:ProfileID schemeDataURI="urn:oioubl:id:profileid-1.0">Procurement-OrdSimR-BilSim-1.0</cbc:ProfileID>
<cbc:Note>Note på ordreheader</cbc:Note>
+ <cac:ValidityPeriod />
+ <cac:QuotationDocumentReference />
+ <cac:AdditionalDocumentReference />
+ <cac:Contract />
+ <cac:Signature />
+ <cac:BuyerCustomerParty />
+ <cac:SellerSupplierParty />
+ <cac:OriginatorCustomerParty />
+ <cac:AccountingCustomerParty />
+ <cac:Delivery />
+ <cac:DeliveryTerms />
+ <cac:AllowanceCharge />
+ <cac:TaxTotal />
+ <cac:AnticipatedMonetaryTotal />
+ <cac:OrderLine />