Online OIOUBL Dokumentation



CreditNote specification

Name CreditNote (Show as PDF) Alternative Term  
Definition OIOUBL Invoice is an official document for the exchange of electronic creditnotes. CreditNote can be used in a single creditnote as well as a creditnote which is part of a coherent order-to-invoice flow. The CreditNote is structured following the principles in the UBL Party model for identifaction of the different parties involved in the order process and the roles they play. The primary parties in a credit note are AccountingCustomerParty and AccountingSupplierParty. The CreditNote is structured to fulfill the formal requirements for a valid creditnote for use in Denmark as well as in foreign countries, including taxnumber, time of delivery, specifications etc. Apart from the formal demands on sender and receiver and the creditnote 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. EndPointID must be registered in the mandatory address register for the routing of electronic documents. PersonReference is used to identify the person responsible for processing the received electronic document. Order number or requisition number is used in cases where a creditnote is issued with a reference to a previous order or requistion. In certain cases where no previous order exists, the number can be omitted if the electronic creditnote is sent with a ProfileID that doesn't need an order number or request number. References: For a basic understanding of this document guideline and the associated general classes guidelines and codelists it is recommended that one reads the documents "Introduction to the OIOUBL package" and "Introduction to OIOUBL Procurement Scenarios".


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
TaxPointDate TaxPointDate Date Bilateral 0..1
Note Note Text Yes 0..n
DocumentCurrencyCode DocumentCurrencyCode Code Yes 1
TaxCurrencyCode TaxCurrencyCode Code Yes 0..1
PricingCurrencyCode PricingCurrencyCode Code Yes 0..1
PaymentCurrencyCode PaymentCurrencyCode Code Yes 0..1
PaymentAlternativeCurrencyCode PaymentAlternativeCurrencyCode Code Yes 0..1
AccountingCostCode AccountingCostCode Code Bilateral 0..1
AccountingCost AccountingCost Text Yes 0..1
LineCountNumeric LineCountNumeric Numeric Bilateral 0..1

Subclasses in class CreditNote

UBL-Name Name Usage Cardinality Reference to the printed documentation See also
UBLExtensions UBLExtensions Yes 0..1   OIOUBL_GUIDE_EXTENSION
InvoicePeriod InvoicePeriod Yes 0..1 Common Library, 3.78  
DiscrepancyResponse DiscrepancyResponse Yes 0..1 3.2  
OrderReference OrderReference Yes 0..1 3.3  
BillingReference BillingReference Yes 0..n 3.4  
DespatchDocumentReference DespatchDocumentReference Bilateral 0..n 3.5  
ReceiptDocumentReference ReceiptDocumentReference Bilateral 0..n 3.6  
ContractDocumentReference ContractDocumentReference Bilateral 0..n 3.7 OIOUBL_GUIDE_DOCUMENTREF
AdditionalDocumentReference AdditionalDocumentReference Yes 0..n Common Library, 3.36 OIOUBL_GUIDE_DOCUMENTREF
Signature Signature Yes 0..n Common Library, 3.96 OIOUBL_GUIDE_SIGNATURE
AccountingSupplierParty AccountingSupplierParty Yes 1 3.8  
AccountingCustomerParty AccountingCustomerParty Yes 1 3.9  
PayeeParty PayeeParty Yes 0..1 3.10 OIOUBL_GUIDE_PARTIES
TaxExchangeRate TaxExchangeRate Yes 0..1 3.11 OIOUBL_GUIDE_CURRENCY
PricingExchangeRate PricingExchangeRate Yes 0..1 3.12 OIOUBL_GUIDE_CURRENCY
PaymentExchangeRate PaymentExchangeRate Yes 0..1 3.13 OIOUBL_GUIDE_CURRENCY
PaymentAlternativeExchangeRate PaymentAlternativeExchangeRate Yes 0..1 3.14 OIOUBL_GUIDE_CURRENCY
AllowanceCharge AllowanceCharge Yes 0..n Common Library, 3.4 OIOUBL_GUIDE_ALLOWANCE
TaxTotal TaxTotal Yes 1..n Common Library, 3.104 OIOUBL_GUIDE_TAX
LegalMonetaryTotal LegalMonetaryTotal Yes 1 Common Library, 3.64 OIOUBL_GUIDE_TOTALS
CreditNoteLine CreditNoteLine Yes 1..n 3.15  

Excluded classes and fields in CreditNote

Name Name Type
TaxRepresentativeParty TaxRepresentativeParty Class


<CreditNote >
<cbc:ProfileID schemeDataURI="urn:oioubl:id:profileid-1.0">Procurement-OrdSimR-BilSim-1.0</cbc:ProfileID>
<cbc:Note>Note på kreditnota</cbc:Note>
+ <cac:InvoicePeriod />
+ <cac:DiscrepancyResponse />
+ <cac:OrderReference />
+ <cac:BillingReference />
+ <cac:Signature />
+ <cac:AccountingSupplierParty />
+ <cac:AccountingCustomerParty />
+ <cac:PayeeParty />
+ <cac:TaxExchangeRate />
+ <cac:PricingExchangeRate />
+ <cac:PaymentExchangeRate />
+ <cac:AllowanceCharge />
+ <cac:TaxTotal />
+ <cac:LegalMonetaryTotal />
+ <cac:CreditNoteLine />