oioubl · pdf filethis release is protected by creative commons license, naming 2.5 oioubl...

210
This release is protected by Creative Commons License, Naming 2.5 OIOUBL Invoice UBL 2.0 Invoice G16 Version 1.1 OIOUBL Guideline

Upload: dangthuan

Post on 13-Feb-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

This release is protected by Creative Commons License, Naming 2.5

OIOUBL Invoice

UBL 2.0 Invoice

G16

Version 1.1

OIOUBL Guideline

Colophon

Contact:National IT and Telecom Agency

E-mail: [email protected]

:

April 2007Ministry of Science, Technology and InnovationNational IT and Telecom Agency

Data Standardization OfficeHolsteinsgade 63DK-2100 Copenhagen ØPhone +45 3545 0000Fax +45 3545 0010http://[email protected]

Copyrights for this release in accordance with Creative Common, Naming 2.5:

Permission is granted to:• produce processed works based on this document• reproduce and make the document available to the public• use the document for commercial purposes

provided that the Danish National IT & Telecom Agency be clearly referenced as the source of this release.

Further information about these rights is available at http://creativecommons.org/licenses/by/2.5/deed.da .

Contents

1. How to read this document............................................................................................................................................5

1.1 Structure of this document.........................................................................................................................................51.2 Figure definitions ......................................................................................................................................................51.3 Term definitions ........................................................................................................................................................61.4 References..................................................................................................................................................................7

2. How to fill in OIOUBL document instances.................................................................................................................8

2.1 Namespace.................................................................................................................................................................82.2 Comments..................................................................................................................................................................82.3 Process instructions....................................................................................................................................................92.4 Relations to instances of other customizations..........................................................................................................92.5 Code example............................................................................................................................................................9

3. Invoice............................................................................................................................................................................10

3.1. Invoice.....................................................................................................................................................................113.2. Invoice.OrderReference..........................................................................................................................................223.2.1. Invoice.OrderReference.DocumentReference.....................................................................................................253.2.1.1. Invoice.OrderReference.DocumentReference.Attachment..............................................................................273.3. Invoice.BillingReference........................................................................................................................................293.3.1. Invoice.BillingReference.InvoiceDocumentReference.......................................................................................313.3.1.1. Invoice.BillingReference.InvoiceDocumentReference.Attachment.................................................................333.3.2. Invoice.BillingReference.SelfBilledInvoiceDocumentReference.......................................................................353.3.2.1. Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment................................................373.3.3. Invoice.BillingReference.CreditNoteDocumentReference.................................................................................393.3.3.1. Invoice.BillingReference.CreditNoteDocumentReference.Attachment...........................................................413.3.4. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.................................................................433.3.4.1. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment...........................................453.3.5. Invoice.BillingReference.ReminderDocumentReference...................................................................................473.3.5.1. Invoice.BillingReference.ReminderDocumentReference.Attachment.............................................................493.4. Invoice.DespatchDocumentReference....................................................................................................................513.4.1. Invoice.DespatchDocumentReference.Attachment.............................................................................................533.5. Invoice.ReceiptDocumentReference......................................................................................................................553.5.1. Invoice.ReceiptDocumentReference.Attachment................................................................................................573.6. Invoice.OriginatorDocumentReference..................................................................................................................593.6.1. Invoice.OriginatorDocumentReference.Attachment...........................................................................................613.7. Invoice.ContractDocumentReference.....................................................................................................................633.7.1. Invoice.ContractDocumentReference.Attachment..............................................................................................653.8. Invoice.AccountingSupplierParty...........................................................................................................................673.8.1. Invoice.AccountingSupplierParty.Party...............................................................................................................693.9. Invoice.AccountingCustomerParty.........................................................................................................................733.9.1. Invoice.AccountingCustomerParty.Party.............................................................................................................753.9.1.1. Invoice.AccountingCustomerParty.Party.Contact............................................................................................793.10. Invoice.PayeeParty...............................................................................................................................................813.11. Invoice.BuyerCustomerParty................................................................................................................................853.11.1. Invoice.BuyerCustomerParty.Party....................................................................................................................873.12. Invoice.SellerSupplierParty..................................................................................................................................913.12.1. Invoice.SellerSupplierParty.Party......................................................................................................................933.13. Invoice.Delivery...................................................................................................................................................973.14. Invoice.DeliveryTerms........................................................................................................................................1013.14.1. Invoice.DeliveryTerms.DeliveryLocation.......................................................................................................1033.15. Invoice.TaxExchangeRate..................................................................................................................................1053.15.1. Invoice.TaxExchangeRate.ForeignExchangeContract....................................................................................1083.15.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference..................................1113.15.1.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment...........1133.16. Invoice.PricingExchangeRate.............................................................................................................................1153.16.1. Invoice.PricingExchangeRate.ForeignExchangeContract...............................................................................1183.16.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference............................1213.16.1.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment.....1233.17. Invoice.PaymentExchangeRate..........................................................................................................................125

3.17.1. Invoice.PaymentExchangeRate.ForeignExchangeContract............................................................................1283.17.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference..........................1313.17.1.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment...1333.18. Invoice.PaymentAlternativeExchangeRate........................................................................................................1353.18.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract..........................................................1383.18.1.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference........1413.18.1.1.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment...1433.19. Invoice.InvoiceLine............................................................................................................................................1453.19.1. Invoice.InvoiceLine.OrderLineReference.......................................................................................................1503.19.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference..........................................................................1523.19.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.....................................1553.19.1.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment..............1573.19.2. Invoice.InvoiceLine.BillingReference.............................................................................................................1593.19.2.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference............................................................1613.19.2.1.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment.....................................1633.19.2.2. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference............................................1653.19.2.2.1. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment.....................1673.19.2.3. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference......................................................1693.19.2.3.1. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment...............................1713.19.2.4. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference......................................1733.19.2.4.1. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment...............1753.19.2.5. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference........................................................1773.19.2.5.1. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment.................................1793.19.3. Invoice.InvoiceLine.DocumentReference.......................................................................................................1813.19.3.1. Invoice.InvoiceLine.DocumentReference.Attachment.................................................................................1833.19.4. Invoice.InvoiceLine.Delivery..........................................................................................................................1853.19.5. Invoice.InvoiceLine.Item.................................................................................................................................1883.19.5.1. Invoice.InvoiceLine.Item.BuyersItemIdentification.....................................................................................1953.19.5.2. Invoice.InvoiceLine.Item.SellersItemIdentification.....................................................................................1973.19.5.3. Invoice.InvoiceLine.Item.ManufacturersItemIdentification.........................................................................1993.19.5.4. Invoice.InvoiceLine.Item.StandardItemIdentification..................................................................................2013.19.5.5. Invoice.InvoiceLine.Item.CatalogueItemIdentification................................................................................2033.19.5.6. Invoice.InvoiceLine.Item.AdditionalItemIdentification...............................................................................2053.19.5.7. Invoice.InvoiceLine.Item.CatalogueDocumentReference............................................................................2073.19.5.7.1. Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment.....................................................209

OIOUBL Invoice - UBL 2.0 Invoice Side 4

1. How to read this document

1. How to read this document

This guideline covers the use of an invoice in OIOUBL. The guideline must be read in correlation with the remaining documents included in the OIOUBL package.

1.1 Structure of this documentThis document should be seen as the normative description of an invoice. In case of any conflict, the most specific description will always apply. For example, the description on the lines of a specific element takes precedence of the description at document level. Hence, the descriptions at document level are default values for the lines. The examples in this document and related common guidelines should be seen as descriptive. The guideline text takes precedence of the figures. The document includes a reading instruction, a description of how to fill in document instances, as well as the actual class specification. The actual specification is composed of:

● A figure showing the class elements that are included in OIOUBL.

● A text specification of the class.

● A list of the UBL elements that from a business perspective make no sense in the specific context.

● A list of the fields that are included in the class.

● A list of the sub-classes that are included in the class.

● A table of key data such as definitions, names, references, and business rules for each of the class fields.

● A table of key data such as definitions, names, references, and business rules for the sub-classes of the class.

● For each of the sub-classes that is used differently that described in the class library, OIOUBL_GUIDE_LIBRARY (ref 30), a subsection contains a corresponding specification. Hence, the sub-classes that have been included in the specification are not selected based on relevance, but solely based on whether they deviate from the general definition of the library.

1.2 Figure definitions In the class specifications, the class is shown as schema documentation.

OIOUBL Invoice - UBL 2.0 Invoice Side 5

1.2 Figure definitions

1.3 Term definitions In this specification, the following terms will be used in the tables:

Term ExplanationUBL name The name that is found in the UBL 2.0 schemasDK-name The name in DanishUse Describes the cardinality, i.e. the rule describing how

may instances of the business information entity are allowed:[1] specifies that one and only one instance is allowed.[0..1] means that the business information entity is optional.[0..n] means that null to infinity instances may occur.[1..n] means that no less than one instance to an infinite number of instances may occur.

Alternative term Specifies a term which is also used to describe the business information entity.

Used Determines whether the receiver should be expected to be able to decode the described business information, if it is attached. Information that is not used may still, however, be used upon bilateral agreement.

Business rule Describes the rules that are attached to the business information entity. Business rules are normative, and will be part of the validation of the document in question.

Recommended Specifies that common practice requires the described business information entity to be attached. This is a

OIOUBL Invoice - UBL 2.0 Invoice Side 6

1.3 Term definitions

non-normative guide to the use of the business information entity.

Allowed values: Describes the value set that the business information entity should conform with.

Codelist Refers to the codelist that the value set should be found in.

Class A structure of coherent business information.

1.4 ReferencesIn this docuement reference is made to other documents within the OIOUBL package.

Filnavn Titel RefOIOUBL_GUIDE_INTRO Introduktion til OIOUBL Guidelines G01

DocumentguidelinesOIOUBL_GUIDE_APPRESPONSE UBL 2.0 ApplicationResponse G02OIOUBL_GUIDE_CATALOGUE UBL 2.0 Catalogue G03OIOUBL_GUIDE_CATALOGUEREQUREST UBL 2.0 CatalogueRequest G04OIOUBL_GUIDE_CATALOGUEDELETION UBL 2.0 CatalogueDeletion G05OIOUBL_GUIDE_CATALOGUEITEMSPECIFICATIONUPDATE UBL 2.0 CatalogueItemSpecificationUpdate G06

OIOUBL_GUIDE_CATALOGUEPRICINGUPDATE UBL 2.0 CataloguePricingUpdate G07

OIOUBL_GUIDE_ORDER UBL 2.0 Order G08OIOUBL_GUIDE_ORDERRESPONSE UBL 2.0 OrderResponse G09OIOUBL_GUIDE_ORDRERESPONSESIMPLE UBL 2.0 OrdreResponseSimple G10OIOUBL_GUIDE_ORDERCHANGE UBL 2.0 OrderChange G11OIOUBL_GUIDE_ORDERCANCELLATION UBL 2.0 Ordercancellation G12OIOUBL_GUIDE_CREDITNOTE UBL 2.0 CreditNote G13OIOUBL_GUIDE_REMINDER UBL 2.0 Reminder G14OIOUBL_GUIDE_STATEMENT UBL 2.0 Statement G15OIOUBL_GUIDE_INVOICE UBL 2.0 Invoice G16

Common guidelinesOIOUBL_GUIDE_ALLOWANCECHARGE UBL 2.0 AllowanceCharge G17OIOUBL_GUIDE_CURRENCYEXCHANGERATES UBL 2.0 CurrencyExchangeRates G18

OIOUBL_GUIDE_DELIVERY UBL 2.0 Delivery and Delivery Party G19OIOUBL_GUIDE_DELIVERYTERMS OIOUBL Leveringsbetingelser - UBL 2.0 Delivery Terms G20OIOUBL_GUIDE_DOCUMENTREF OIOUBL Dokumentreference - UBL 2.0 Document Reference G21OIOUBL_GUIDE_ENDPOINTS OIOUBL EndepunktID - UBL 2.0 Endpoints G22OIOUBL_GUIDE_PARTY OIOUBL Part - UBL 2.0 Party G23

OIOUBL_GUIDE_BETALING OIOUBL Betalingsmåder og betingelser - UBL 2.0 Payment means og payment terms G24

OIOUBL_GUIDE_PRISER OIOUBL Priser - UBL 2.0 Prices G25OIOUBL_GUIDE_PROFILER OIOUBL Profiler - UBL 2.0 Profiles G26OIOUBL_GUIDE_SKAT OIOUBL Skat - UBL 2.0 Tax G27OIOUBL_GUIDE_TOTALER OIOUBL Totaler - UBL 2.0 Totals G28OIOUBL_GUIDE_DATATYPER OIOUBL Datatyper - UBL 2.0 Datatypes G29OIOUBL_GUIDE_BIBLIOTEK OIOUBL Fælles klassebibliotek - UBL 2.0 CommonLibrary G30OIOUBL_GUIDE_SIGNATUR OIOUBL Signatur - UBL 2.0 Signature G31OIOUBL_GUIDE_UUID OIOUBL UUID - UBL 2.0 UUID G32OIOUBL_GUIDE_UDVIDELSER OIOUBL Udvidelse - UBL 2.0 Extension G33

OIOUBL Invoice - UBL 2.0 Invoice Side 7

1.4 References OIOUBL_GUIDE_KONTAKT OIOUBL Kontakt - UBL 2.0 Contact G34OIOUBL_GUIDE_RESPONS OIOUBL Bekræftelse - UBL 2.0 Respons G35OIOUBL_GUIDE_ADRESSER OIOUBL Adresser - UBL 2.0 Adress G36

Katalogspecifikke tværgående guidelinesOIOUBL_GUIDE_KATALOG_ID OIOUBL Identifikation, versionering og gyldighedsperioder i kataloger G37OIOUBL_GUIDE_KATALOG_VAREBESKRIV OIOUBL Varebeskrivelser og kategorisering i kataloger G38OIOUBL_GUIDE_KATALOG_PARTER OIOUBL Parter i kataloger G39OIOUBL_GUIDE_KATALOG_PRISER OIOUBL Pris og mængde i kataloger G40

Scenarie pakkerOIOUBL_SCENARIE_INTRO Introduction to OIOUBL Procurement Scenarios S01OIOUBL_SCENARIE_ADVORD OIOUBL ADVORD - Advanced Ordering Proucrement Cycle S02OIOUBL_SCENARIE_BASPRO OIOUBL BASPRO - Basic procurement Cycle S03OIOUBL_SCENARIE_CATEXE OIOUBL CATEXE - Catalogue Exchange S04OIOUBL_SCENARIE_COMDEL OIOUBL COMDEL - Complex Delivery Procurement Cycle S05OIOUBL_SCENARIE_COMORG OIOUBL COMORG - Complex Organisations Procurement Cycle S06OIOUBL_SCENARIE_COMPAY OIOUBL COMPAY - Comlex Payment Cycle S07

2. How to fill in OIOUBL document instances

An Invoice must follow the related UBL schema, and conform to the rules of this guideline. The instances follow the W3C XML specifications, which means that, unless otherwise stated, the normal XML rules rules apply. It is therefore recommended that an xml encoder is used for reading the documents.2.1 NamespaceA Namespace is a semantic space in which names are unique and attached to a specific interpretation. Namespaces often occur as libraries, and may be referenced via an alias-variable. The expression:<… xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" …>means that elements with the prefix “cac” (alias variable) belongs to the ”…CommomAggregateComponents-2” namespace. The namespace that is referenced by the actual document is indicated by ”xmlns =...”, i.e. without an alias variable. It is recommended to use the alias variables that are specified in UBL, but this is not a requirement. For an OIOUBL document instance to be validated the following namespaces must be specified:

Alias variable Namespaceurn:oasis:names:specification:ubl:schema:xsd:Invoice-2

cac urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2ccts urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2sdt urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2udt urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2ext urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2xsi http://www.w3.org/2001/XMLSchema-instance

2.2 CommentsComments may be used in document instances to facilitate any manual processing of the document. This is particularly relevant during the introduction phase of new systems that use OIOUBL. For those who wish to formalize these comments, we recommend the Dublin-Core metadata definitions, see ”

OIOUBL Invoice - UBL 2.0 Invoice Side 8

2.2 Comments

http://dublincore.org/documents/dcmi-terms/ ”. The following terms are used in the examples of the scenario descriptions [S01-S07] :

DC-Term Description ExampleTitle Describes the title of the document instance BASPRO_01_01_00_Invoice_v2p0.xml

Replaces Reference to the preceding instance BASPRO_01_01_00_Invoice_v0p1.xml

Publisher Describes who is responsible for the document instance.

"IT og Telestyrelsen"

Creator Describes the person or the system that created the instance.

"OIOERP v 1.0.2 release 34"

Created Date (and possibly time) of the creation of the document.

2006-09-08

Modified Date (and possibly time) when the document was last modified.

2006-09-08

Issued Date (and possibly time) when it was issued. 2006-09-08

ConformsTo Description of the context that it belongs to. OIOUBL_ScenarioPackage_BASPRO

Description General description "This document is produced as part of the OIOUBL Basic procurement scenario package"

Rights Any copyrights that apply to the instance. "It can be used following the Common Creative License"

Only use meta data that you consider applicable, and only enter valid data. From the above list we particularly recommend using the "Creator" term, as this may ease the troubleshooting at the receiver's system. Comments should be specified within the root element of the document.

2.3 Process instructionsProcess instructions are instructions that are not covered by the OIOUBL standard, but which may be used for controlling other logics. For example, when specifying that an instance is used for test purposes. A process instruction is specified by ”<?navn ... ?>” and may contain attributes as shown in the example below. Process instructions should be specified within the root element of the document.

<?TestInstance ResponseTo="smtp:[email protected]"description= "apply your comment here"

?>

2.4 Relations to instances of other customizationsAn instance is specified as being OIOUBL by entering ”CustomizationID” as ”OIOUBL-2.0”. OIOUBL instances are built upon UBL 2.0, and may therefore be interpreted directly by UBL 2.0 readers. Instances from other UBL 2.0-customizations can be read directly by OIOUBL readers by changing the "CustomizationID", provided the instance conforms to the requirements of this guideline.

2.5 Code exampleCode examples are available in the scenario descriptions [S01-S07]

OIOUBL Invoice - UBL 2.0 Invoice Side 9

3. Invoice

3. Invoice

OIOUBL Invoice - UBL 2.0 Invoice Side 10

3.1. Invoice

3.1. Invoice

OIOUBL Invoice - UBL 2.0 Invoice Side 11

3.1. Invoice

Invoice specificationName Invoice Alternative termDefinition The document used to request payment

OIOUBL Invoice - UBL 2.0 Invoice Side 12

3.1. Invoice

Example<Invoice > <cbc:UBLVersionID>2.0</cbc:UBLVersionID> <cbc:CustomizationID>OIOUBL-2.01</cbc:CustomizationID> <cbc:ProfileID schemeAgencyID="320" schemeID="urn:oioubl:id:profileid-1.1">Procurement-OrdAdv-BilSim-1.0</cbc:ProfileID> <cbc:ID>65830241</cbc:ID> <cbc:CopyIndicator>false</cbc:CopyIndicator> <cbc:UUID>569ED478-0EBE-4817-A234-DFB9ACA85432</cbc:UUID> <cbc:IssueDate>2006-04-01</cbc:IssueDate> <cbc:InvoiceTypeCode listAgencyID="320" listID="urn:oioubl:codelist:invoicetypecode-1.1">380</cbc:InvoiceTypeCode> <cbc:Note>Invoice note</cbc:Note> <cbc:DocumentCurrencyCode>DKK</cbc:DocumentCurrencyCode> <cbc:AccountingCost>5250124502</cbc:AccountingCost> + <cac:OrderReference /> + <cac:AccountingSupplierParty /> + <cac:AccountingCustomerParty /> + <cac:PayeeParty /> + <cac:Delivery /> + <cac:PaymentMeans /> + <cac:PaymentTerms /> + <cac:TaxTotal /> + <cac:LegalMonetaryTotal /> + <cac:InvoiceLine /></Invoice>

FieldsUBL-Name Name Datatype Usage CardinalityUBLVersionID UBLVersionID Identifier Yes 1CustomizationID CustomizationID Identifier Yes 1ProfileID ProfileID Identifier Yes 1ID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Yes 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 1IssueTime IssueTime Time Bilateral 0..1InvoiceTypeCode InvoiceTypeCode Code Yes 0..1Note Note Text Yes 0..nTaxPointDate TaxPointDate Date Bilateral 0..1DocumentCurrencyCode DocumentCurrencyCode Code Yes 1TaxCurrencyCode TaxCurrencyCode Code Yes 0..1PricingCurrencyCode PricingCurrencyCode Code Yes 0..1PaymentCurrencyCode PaymentCurrencyCode Code Yes 0..1PaymentAlternativeCurrencyCode PaymentAlternativeCurrencyCode Code Yes 0..1AccountingCostCode AccountingCostCode Code Bilateral 0..1AccountingCost AccountingCost Text Yes 0..1LineCountNumeric LineCountNumeric Numeric Bilateral 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 13

3.1. Invoice

Subclasses in class InvoiceUBL-Name Name Usage Cardi

nalityReference

UBLExtensions UBLExtensions Bilateral 0..1 G22InvoicePeriod InvoicePeriod Yes 0..1 G30 3.78OrderReference OrderReference Yes 0..1 3.2BillingReference BillingReference Yes 0..n 3.3DespatchDocumentReference DespatchDocumentReference Bilateral 0..n 3.4ReceiptDocumentReference ReceiptDocumentReference Bilateral 0..n 3.5OriginatorDocumentReference OriginatorDocumentReference Bilateral 0..n 3.6ContractDocumentReference ContractDocumentReference Yes 0..1 3.7AdditionalDocumentReference AdditionalDocumentReference Yes 0..n G30 3.36Signature Signature Yes 0..n G30 3.96AccountingSupplierParty AccountingSupplierParty Yes 1 3.8AccountingCustomerParty AccountingCustomerParty Yes 1 3.9PayeeParty PayeeParty Yes 0..1 3.10BuyerCustomerParty BuyerCustomerParty Yes 0..1 3.11SellerSupplierParty SellerSupplierParty Yes 0..1 3.12Delivery Delivery Yes 0..n 3.13DeliveryTerms DeliveryTerms Yes 0..1 3.14PaymentMeans PaymentMeans Yes 0..n G30 3.76PaymentTerms PaymentTerms Yes 0..n G30 3.77PrepaidPayment PrepaidPayment Yes 0..n G30 3.75AllowanceCharge AllowanceCharge Yes 0..n G30 3.4TaxExchangeRate TaxExchangeRate Yes 0..1 3.15PricingExchangeRate PricingExchangeRate Yes 0..1 3.16PaymentExchangeRate PaymentExchangeRate Yes 0..1 3.17PaymentAlternativeExchangeRate PaymentAlternativeExchangeRate Yes 0..1 3.18TaxTotal TaxTotal Yes 1..n G30 3.104LegalMonetaryTotal LegalMonetaryTotal Yes 1 G30 3.64InvoiceLine InvoiceLine Yes 1..n 3.19

OIOUBL Invoice - UBL 2.0 Invoice Side 14

3.1. Invoice

Field specifications

UBLVersionIDFieldname UBLVersionID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The version of the UBL schema being used.Legal values 2.0Example 2.0

CustomizationIDFieldname CustomizationID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for a user defined subset of UBL.Legal values OIOUBL-2.01Example OIOUBL-2.0

ProfileIDFieldname ProfileID Alternative term OIOUBL_GUIDE_PROFILESCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for a user defined profile of the subset of UBL being used. Id list urn:oioubl:id:profileid-1.1See also OIOUBL_GUIDE_PROFILES ( OIO ) Example Procurement-OrdSim-BilSim-1.0

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition An identifier for the Invoice assigned by the CreditorBusinessrules Most important information must be at the end of the IDRecommendation Maximum 35 characters is recommendedExample 298423-2

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage YesDatatype IndicatorDefinition Indicates whether a document is a copy (true) or not (false)Businessrules Default value is "false" indicating that the invoice is originalExample false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the Invoice instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 1 Usage YesDatatype DateDefinition The date assigned by the Creditor on which the Invoice was issuedExample 2006-09-01

IssueTime

OIOUBL Invoice - UBL 2.0 Invoice Side 15

3.1. Invoice

Fieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time assigned by the Creditor on which the Invoice was issued

InvoiceTypeCodeFieldname InvoiceTypeCode Alternative termCardinality 0..1 Usage YesDatatype CodeDefinition Code specifying the type of the Invoice.Businessrules If no code is specified the default value is "380" for a commercial invoiceCodelist urn:oioubl:codelist:invoicetypecode-1.1Example "380" if commerical, "325" if proforma or "393" if factoring

NoteFieldname Note Alternative termCardinality 0..n Usage YesDatatype TextDefinition Free form text applying to the Invoice. This element may contain notes or any other similar information

that is not contained explicitly in another structure.Businessrules Only one note pr. language. Dependency ../InvoiceTypeCodeExample Tak for en god handel

TaxPointDateFieldname TaxPointDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date of the Invoice used to indicate the point at which tax becomes applicable.Businessrules Not used in Denmark

DocumentCurrencyCodeFieldname DocumentCurrencyCode Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 1 Usage YesDatatype CodeDefinition The currency in which the Document is presented. This may be the same currency as the pricing or as

the tax.Codelist urn:un:unece:uncefact:codelist:specification:54217:2001See also OIOUBL_GUIDE_CURRENCY ( OIO ) Example DKK

TaxCurrencyCodeFieldname TaxCurrencyCode Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype CodeDefinition The currency used for tax amounts in the InvoiceCodelist urn:un:unece:uncefact:codelist:specification:54217:2002See also OIOUBL_GUIDE_CURRENCY ( OIO ) Example DKK

PricingCurrencyCodeFieldname PricingCurrencyCode Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype CodeDefinition The currency used for prices in the InvoiceCodelist urn:un:unece:uncefact:codelist:specification:54217:2001See also OIOUBL_GUIDE_CURRENCY ( OIO ) Example DKK

OIOUBL Invoice - UBL 2.0 Invoice Side 16

3.1. Invoice

PaymentCurrencyCodeFieldname PaymentCurrencyCode Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype CodeDefinition The currency used for payment in the InvoiceCodelist urn:un:unece:uncefact:codelist:specification:54217:2001See also OIOUBL_GUIDE_CURRENCY ( OIO ) Example DKK

PaymentAlternativeCurrencyCodeFieldname PaymentAlternativeCurrencyCode Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype CodeDefinition The alternative currency used for payment in the Invoice. Alternate currency which can be used for the

payment of the invoice.Codelist urn:un:unece:uncefact:codelist:specification:54217:2001See also OIOUBL_GUIDE_CURRENCY ( OIO ) Example DKK

AccountingCostCodeFieldname AccountingCostCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The Buyer's accounting code applied to the Invoice as a wholeBusinessrules BilateralExample 5050

AccountingCostFieldname AccountingCost Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The Buyer's accounting code applied to the Invoice as a wholeBusinessrules Only use if code not present

LineCountNumericFieldname LineCountNumeric Alternative termCardinality 0..1 Usage BilateralDatatype NumericDefinition The number of lines in the document

Class Specification

InvoicePeriodClassname InvoicePeriod Alternative termCardinality 0..1 Usage YesDatatype PeriodDefinition An association to period(s) to which the Invoice appliesSee section G30 3.78

OrderReferenceClassname OrderReference Alternative termCardinality 0..1 Usage YesDatatype OrderReferenceDefinition An association to an OrderBusinessrules For the Dependend profiles ID in OrderReference is Mandatory.Profile Dependency Mandatory in: Procurement-OrdSim-BilSim-1.0 (+R), Procurement-OrdAdv-BilSim-1.0 (+R) and

urn:www.nesubl.eu:profiles:profile7:ver1.0See section 3.2

OIOUBL Invoice - UBL 2.0 Invoice Side 17

3.1. Invoice BillingReference

Classname BillingReference Alternative termCardinality 0..n Usage YesDatatype BillingReferenceDefinition An association to other Billing documents.See section 3.3

DespatchDocumentReferenceClassname DespatchDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..n Usage BilateralDatatype DocumentReferenceDefinition An association to a Despatch AdviceSee section 3.4See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

ReceiptDocumentReferenceClassname ReceiptDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..n Usage BilateralDatatype DocumentReferenceDefinition An association to a Receipt AdviceSee section 3.5See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

OriginatorDocumentReferenceClassname OriginatorDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..n Usage BilateralDatatype DocumentReferenceDefinition An association to an Originator DocumentSee section 3.6See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

ContractDocumentReferenceClassname ContractDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to a framework agreement or contractSee section 3.7See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

AdditionalDocumentReferenceClassname AdditionalDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..n Usage YesDatatype DocumentReferenceDefinition An association to other documentsBusinessrules AdditionalDocumentReference can be used to specify, if the document contains personal data. If

DocumentTypeCode is "PersonalSecure" the security level (1, 2 eller 3) that applies to the document must be specified in ID. Group 1 level comprise regular person data as CVR-number, name, address, civil status etc. Group 2 level comprise sensitive person data like race, religion, health and sexual related isseus etc. Group 3 level comprise other personal data like criminal involvement, significant social problems ant other strictly private issues.

See section G30 3.36See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

Signature

OIOUBL Invoice - UBL 2.0 Invoice Side 18

3.1. Invoice Classname Signature Alternative term OIOUBL_GUIDE_SIGNATU

RECardinality 0..n Usage YesDatatype SignatureDefinition One or more signatures applied to the InvoiceSee section G30 3.96See also OIOUBL_GUIDE_SIGNATURE ( OIO )

AccountingSupplierPartyClassname AccountingSupplierParty Alternative termCardinality 1 Usage YesDatatype SupplierPartyDefinition An association to the Accounting Supplier PartySee section 3.8

AccountingCustomerPartyClassname AccountingCustomerParty Alternative termCardinality 1 Usage YesDatatype CustomerPartyDefinition An association to the Accounting Customer PartySee section 3.9

PayeePartyClassname PayeeParty Alternative term OIOUBL_GUIDE_PARTIESCardinality 0..1 Usage YesDatatype PartyDefinition An association to the PayeeSee section 3.10See also OIOUBL_GUIDE_PARTIES ( OIO )

BuyerCustomerPartyClassname BuyerCustomerParty Alternative termCardinality 0..1 Usage YesDatatype CustomerPartyDefinition An association to the BuyerSee section 3.11

SellerSupplierPartyClassname SellerSupplierParty Alternative termCardinality 0..1 Usage YesDatatype SupplierPartyDefinition An association to the SellerSee section 3.12

DeliveryClassname Delivery Alternative term OIOUBL_GUIDE_DELIVERYCardinality 0..n Usage YesDatatype DeliveryDefinition An association to DeliverySee section 3.13See also OIOUBL_GUIDE_DELIVERY ( OIO )

DeliveryTermsClassname DeliveryTerms Alternative term OIOUBL_GUIDE_DELIVERY

TERMSCardinality 0..1 Usage YesDatatype DeliveryTermsDefinition An association to Delivery TermsSee section 3.14See also OIOUBL_GUIDE_DELIVERYTERMS ( OIO )

PaymentMeans

OIOUBL Invoice - UBL 2.0 Invoice Side 19

3.1. Invoice Classname PaymentMeans Alternative term OIOUBL_GUIDE_PAYMENTCardinality 0..n Usage YesDatatype PaymentMeansDefinition An association to Payment MeansSee section G30 3.76See also OIOUBL_GUIDE_PAYMENT ( OIO )

PaymentTermsClassname PaymentTerms Alternative term OIOUBL_GUIDE_PAYMENTCardinality 0..n Usage YesDatatype PaymentTermsDefinition An association to Payment TermsSee section G30 3.77See also OIOUBL_GUIDE_PAYMENT ( OIO )

PrepaidPaymentClassname PrepaidPayment Alternative termCardinality 0..n Usage YesDatatype PaymentDefinition An association to prepaid payment(s)See section G30 3.75

AllowanceChargeClassname AllowanceCharge Alternative term OIOUBL_GUIDE_ALLOWAN

CECardinality 0..n Usage YesDatatype AllowanceChargeDefinition An association to Allowances and Charges that apply to the Invoice as a wholeSee section G30 3.4See also OIOUBL_GUIDE_ALLOWANCE ( OIO )

TaxExchangeRateClassname TaxExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype ExchangeRateDefinition An association to Exchange Rate between the Document Currency and the Tax CurrencySee section 3.15See also OIOUBL_GUIDE_CURRENCY ( OIO )

PricingExchangeRateClassname PricingExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype ExchangeRateDefinition An association to Exchange Rate between the Document Currency and the Pricing CurrencySee section 3.16See also OIOUBL_GUIDE_CURRENCY ( OIO )

PaymentExchangeRateClassname PaymentExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype ExchangeRateDefinition An association to Exchange Rate between the Document Currency and the Payment CurrencySee section 3.17See also OIOUBL_GUIDE_CURRENCY ( OIO )

PaymentAlternativeExchangeRate

OIOUBL Invoice - UBL 2.0 Invoice Side 20

3.1. Invoice Classname PaymentAlternativeExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YCardinality 0..1 Usage YesDatatype ExchangeRateDefinition An association to Exchange Rate between the Document Currency and the Payment Alternative

CurrencySee section 3.18See also OIOUBL_GUIDE_CURRENCY ( OIO )

TaxTotalClassname TaxTotal Alternative term OIOUBL_GUIDE_TAXCardinality 1..n Usage YesDatatype TaxTotalDefinition An association to tax total for specific tax types/ratesBusinessrules Minimum one to indicate wether the invoice is Taxable or nontaxable. See section G30 3.104See also OIOUBL_GUIDE_TAX ( OIO )

LegalMonetaryTotalClassname LegalMonetaryTotal Alternative term OIOUBL_GUIDE_TOTALSCardinality 1 Usage YesDatatype MonetaryTotalDefinition An association to the total amount payable on the Invoice including Allowances, Charges and TaxesSee section G30 3.64See also OIOUBL_GUIDE_TOTALS ( OIO )

InvoiceLineClassname InvoiceLine Alternative termCardinality 1..n Usage YesDatatype InvoiceLineDefinition An association to one or more Invoice LinesSee section 3.19

Excluded classes and fields in InvoiceName Name TypeTaxRepresentativeParty TaxRepresentativeParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 21

3.2. Invoice.OrderReference

3.2. Invoice.OrderReference

OrderReference (Invoice.OrderReference) specificationName Invoice.OrderReference Alternative termDefinition Information about an Order Reference

Example<cac:OrderReference> <cbc:ID>5002902</cbc:ID> <cbc:IssueDate>2006-04-01</cbc:IssueDate></cac:OrderReference>

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1SalesOrderID SalesOrderID Identifier Bilateral 0..1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1IssueTime IssueTime Time Bilateral 0..1CustomerReference CustomerReference Text Bilateral 0..1

Subclasses in class OrderReference (Invoice.OrderReference) UBL-Name Name Usage Cardi

nalityReference

DocumentReference DocumentReference Yes 0..1 3.2.1

OIOUBL Invoice - UBL 2.0 Invoice Side 22

3.2. Invoice.OrderReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the referenced Order assigned by the Buyer

SalesOrderIDFieldname SalesOrderID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The identifier for the referenced Order assigned by the Seller

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Order is a copy (true) or the original (false)

UUIDFieldname UUID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Order instance

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date on which the referenced Order was issued

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time on which the referenced Order was issued

CustomerReferenceFieldname CustomerReference Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition A supplementary reference for the referenced Order

Class Specification

DocumentReferenceClassname DocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Document ReferenceSee section 3.2.1See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

Excluded classes and fields in OrderReference (Invoice.OrderReference) None

OIOUBL Invoice - UBL 2.0 Invoice Side 23

OIOUBL Invoice - UBL 2.0 Invoice Side 24

3.2.1. Invoice.OrderReference.DocumentReference

3.2.1. Invoice.OrderReference.DocumentReference

DocumentReference (Invoice.OrderReference.DocumentReference) specificationName Invoice.OrderReference.DocumentReferenc

eAlternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class DocumentReference (Invoice.OrderReference.DocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Yes 0..1 3.2.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 25

3.2.1. Invoice.OrderReference.DocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.2.1.1

Excluded classes and fields in DocumentReference (Invoice.OrderReference.DocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 26

3.2.1.1. Invoice.OrderReference.DocumentReference.Attachment

3.2.1.1. Invoice.OrderReference.DocumentReference.Attachment

Attachment (Invoice.OrderReference.DocumentReference.Attachment) specificationName Invoice.OrderReference.DocumentReferenc

e.AttachmentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.OrderReference.DocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 27

3.2.1.1. Invoice.OrderReference.DocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.OrderReference.DocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 28

3.3. Invoice.BillingReference

3.3. Invoice.BillingReference

BillingReference (Invoice.BillingReference) specificationName Invoice.BillingReference Alternative termDefinition information directly relating to a related document

FieldsNone

Subclasses in class BillingReference (Invoice.BillingReference) UBL-Name Name Usage Cardi

nalityReference

InvoiceDocumentReference InvoiceDocumentReference Yes 0..1 3.3.1SelfBilledInvoiceDocumentReference SelfBilledInvoiceDocumentReference Bilateral 0..1 3.3.2CreditNoteDocumentReference CreditNoteDocumentReference Yes 0..1 3.3.3SelfBilledCreditNoteDocumentReference SelfBilledCreditNoteDocumentReference Bilateral 0..1 3.3.4ReminderDocumentReference ReminderDocumentReference Yes 0..1 3.3.5

Class Specification

InvoiceDocumentReferenceClassname InvoiceDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more invoices which are being relatedSee section 3.3.1

SelfBilledInvoiceDocumentReferenceClassname SelfBilledInvoiceDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more self billed invoices which are

being relatedSee section 3.3.2

OIOUBL Invoice - UBL 2.0 Invoice Side 29

3.3. Invoice.BillingReference

CreditNoteDocumentReferenceClassname CreditNoteDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more credit notesSee section 3.3.3

SelfBilledCreditNoteDocumentReferenceClassname SelfBilledCreditNoteDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more self billed credit notesSee section 3.3.4

ReminderDocumentReferenceClassname ReminderDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more remindersSee section 3.3.5

Excluded classes and fields in BillingReference (Invoice.BillingReference) Name Name TypeDebitNoteDocumentReference DebitNoteDocumentReference Class

AdditionalDocumentReference AdditionalDocumentReference Class

BillingReferenceLine BillingReferenceLine Class

OIOUBL Invoice - UBL 2.0 Invoice Side 30

3.3.1. Invoice.BillingReference.InvoiceDocumentReference

3.3.1. Invoice.BillingReference.InvoiceDocumentReference

InvoiceDocumentReference (Invoice.BillingReference.InvoiceDocumentReference) specification

Name Invoice.BillingReference.InvoiceDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class InvoiceDocumentReference (Invoice.BillingReference.InvoiceDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.3.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 31

3.3.1. Invoice.BillingReference.InvoiceDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.3.1.1

Excluded classes and fields in InvoiceDocumentReference (Invoice.BillingReference.InvoiceDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 32

3.3.1.1. Invoice.BillingReference.InvoiceDocumentReference.Attachment

3.3.1.1. Invoice.BillingReference.InvoiceDocumentReference.Attachment

Attachment (Invoice.BillingReference.InvoiceDocumentReference.Attachment) specificationName Invoice.BillingReference.InvoiceDocumentRe

ference.AttachmentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.BillingReference.InvoiceDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

OIOUBL Invoice - UBL 2.0 Invoice Side 33

3.3.1.1. Invoice.BillingReference.InvoiceDocumentReference.Attachment ExternalReference

Classname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.BillingReference.InvoiceDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 34

3.3.2. Invoice.BillingReference.SelfBilledInvoiceDocumentReference

3.3.2. Invoice.BillingReference.SelfBilledInvoiceDocumentReference

SelfBilledInvoiceDocumentReference (Invoice.BillingReference.SelfBilledInvoiceDocumentReference) specification

Name Invoice.BillingReference.SelfBilledInvoiceDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class SelfBilledInvoiceDocumentReference (Invoice.BillingReference.SelfBilledInvoiceDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Bilateral 0..1 3.3.2.1

OIOUBL Invoice - UBL 2.0 Invoice Side 35

3.3.2. Invoice.BillingReference.SelfBilledInvoiceDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.3.2.1

Excluded classes and fields in SelfBilledInvoiceDocumentReference (Invoice.BillingReference.SelfBilledInvoiceDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 36

3.3.2.1. Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

3.3.2.1. Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Attachment (Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment) specification

Name Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 37

3.3.2.1. Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.BillingReference.SelfBilledInvoiceDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 38

3.3.3. Invoice.BillingReference.CreditNoteDocumentReference

3.3.3. Invoice.BillingReference.CreditNoteDocumentReference

CreditNoteDocumentReference (Invoice.BillingReference.CreditNoteDocumentReference) specification

Name Invoice.BillingReference.CreditNoteDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class CreditNoteDocumentReference (Invoice.BillingReference.CreditNoteDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.3.3.1

OIOUBL Invoice - UBL 2.0 Invoice Side 39

3.3.3. Invoice.BillingReference.CreditNoteDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.3.3.1

Excluded classes and fields in CreditNoteDocumentReference (Invoice.BillingReference.CreditNoteDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 40

3.3.3.1. Invoice.BillingReference.CreditNoteDocumentReference.Attachment

3.3.3.1. Invoice.BillingReference.CreditNoteDocumentReference.Attachment

Attachment (Invoice.BillingReference.CreditNoteDocumentReference.Attachment) specification

Name Invoice.BillingReference.CreditNoteDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.BillingReference.CreditNoteDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

OIOUBL Invoice - UBL 2.0 Invoice Side 41

3.3.3.1. Invoice.BillingReference.CreditNoteDocumentReference.Attachment

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.BillingReference.CreditNoteDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 42

3.3.4. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference

3.3.4. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference

SelfBilledCreditNoteDocumentReference (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference) specification

Name Invoice.BillingReference.SelfBilledCreditNoteDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class SelfBilledCreditNoteDocumentReference (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Bilateral 0..1 3.3.4.1

OIOUBL Invoice - UBL 2.0 Invoice Side 43

3.3.4. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.3.4.1

Excluded classes and fields in SelfBilledCreditNoteDocumentReference (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 44

3.3.4.1. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

3.3.4.1. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Attachment (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment) specification

Name Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 45

3.3.4.1. Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 46

3.3.5. Invoice.BillingReference.ReminderDocumentReference

3.3.5. Invoice.BillingReference.ReminderDocumentReference

ReminderDocumentReference (Invoice.BillingReference.ReminderDocumentReference) specification

Name Invoice.BillingReference.ReminderDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ReminderDocumentReference (Invoice.BillingReference.ReminderDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.3.5.1

OIOUBL Invoice - UBL 2.0 Invoice Side 47

3.3.5. Invoice.BillingReference.ReminderDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.3.5.1

Excluded classes and fields in ReminderDocumentReference (Invoice.BillingReference.ReminderDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 48

3.3.5.1. Invoice.BillingReference.ReminderDocumentReference.Attachment

3.3.5.1. Invoice.BillingReference.ReminderDocumentReference.Attachment

Attachment (Invoice.BillingReference.ReminderDocumentReference.Attachment) specification

Name Invoice.BillingReference.ReminderDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.BillingReference.ReminderDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

OIOUBL Invoice - UBL 2.0 Invoice Side 49

3.3.5.1. Invoice.BillingReference.ReminderDocumentReference.Attachment

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.BillingReference.ReminderDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 50

3.4. Invoice.DespatchDocumentReference

3.4. Invoice.DespatchDocumentReference

DespatchDocumentReference (Invoice.DespatchDocumentReference) specificationName Invoice.DespatchDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class DespatchDocumentReference (Invoice.DespatchDocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Bilateral 0..1 3.4.1

OIOUBL Invoice - UBL 2.0 Invoice Side 51

3.4. Invoice.DespatchDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.4.1

Excluded classes and fields in DespatchDocumentReference (Invoice.DespatchDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 52

3.4.1. Invoice.DespatchDocumentReference.Attachment

3.4.1. Invoice.DespatchDocumentReference.Attachment

Attachment (Invoice.DespatchDocumentReference.Attachment) specificationName Invoice.DespatchDocumentReference.Attach

mentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.DespatchDocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 53

3.4.1. Invoice.DespatchDocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.DespatchDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 54

3.5. Invoice.ReceiptDocumentReference

3.5. Invoice.ReceiptDocumentReference

ReceiptDocumentReference (Invoice.ReceiptDocumentReference) specificationName Invoice.ReceiptDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class ReceiptDocumentReference (Invoice.ReceiptDocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Bilateral 0..1 3.5.1

OIOUBL Invoice - UBL 2.0 Invoice Side 55

3.5. Invoice.ReceiptDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.5.1

Excluded classes and fields in ReceiptDocumentReference (Invoice.ReceiptDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 56

3.5.1. Invoice.ReceiptDocumentReference.Attachment

3.5.1. Invoice.ReceiptDocumentReference.Attachment

Attachment (Invoice.ReceiptDocumentReference.Attachment) specificationName Invoice.ReceiptDocumentReference.Attachm

entAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.ReceiptDocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 57

3.5.1. Invoice.ReceiptDocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.ReceiptDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 58

3.6. Invoice.OriginatorDocumentReference

3.6. Invoice.OriginatorDocumentReference

OriginatorDocumentReference (Invoice.OriginatorDocumentReference) specificationName Invoice.OriginatorDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class OriginatorDocumentReference (Invoice.OriginatorDocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Bilateral 0..1 3.6.1

OIOUBL Invoice - UBL 2.0 Invoice Side 59

3.6. Invoice.OriginatorDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.6.1

Excluded classes and fields in OriginatorDocumentReference (Invoice.OriginatorDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 60

3.6.1. Invoice.OriginatorDocumentReference.Attachment

3.6.1. Invoice.OriginatorDocumentReference.Attachment

Attachment (Invoice.OriginatorDocumentReference.Attachment) specificationName Invoice.OriginatorDocumentReference.Attac

hmentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.OriginatorDocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 61

3.6.1. Invoice.OriginatorDocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.OriginatorDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 62

3.7. Invoice.ContractDocumentReference

3.7. Invoice.ContractDocumentReference

ContractDocumentReference (Invoice.ContractDocumentReference) specificationName Invoice.ContractDocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ContractDocumentReference (Invoice.ContractDocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Yes 0..1 3.7.1

OIOUBL Invoice - UBL 2.0 Invoice Side 63

3.7. Invoice.ContractDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.7.1

Excluded classes and fields in ContractDocumentReference (Invoice.ContractDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 64

3.7.1. Invoice.ContractDocumentReference.Attachment

3.7.1. Invoice.ContractDocumentReference.Attachment

Attachment (Invoice.ContractDocumentReference.Attachment) specificationName Invoice.ContractDocumentReference.Attach

mentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.ContractDocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 65

3.7.1. Invoice.ContractDocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.ContractDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 66

3.8. Invoice.AccountingSupplierParty

3.8. Invoice.AccountingSupplierParty

AccountingSupplierParty (Invoice.AccountingSupplierParty) specificationName Invoice.AccountingSupplierParty Alternative termDefinition Information about the Supplier Party

Example<cac:AccountingSupplierParty> + <cac:Party /></cac:AccountingSupplierParty>

FieldsUBL-Name Name Datatype Usage CardinalityCustomerAssignedAccountID CustomerAssignedAccountID Identifier Bilateral 0..1AdditionalAccountID AdditionalAccountID Identifier Bilateral 0..n

Subclasses in class AccountingSupplierParty (Invoice.AccountingSupplierParty) UBL-Name Name Usage Cardi

nalityReference

Party Party Yes 1 3.8.1DespatchContact DespatchContact Bilateral 0..1 G30 3.21AccountingContact AccountingContact Bilateral 0..1 G30 3.21SellerContact SellerContact Bilateral 0..1 G30 3.21

OIOUBL Invoice - UBL 2.0 Invoice Side 67

3.8. Invoice.AccountingSupplierParty

Field specifications

CustomerAssignedAccountIDFieldname CustomerAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier for the Supplier assigned by the Customer; the Customer's internal reference for the

Supplier

AdditionalAccountIDFieldname AdditionalAccountID Alternative termCardinality 0..n Usage BilateralDatatype IdentifierDefinition An identifier for the Supplier assigned by a third party

Class Specification

PartyClassname Party Alternative termCardinality 1 Usage YesDatatype PartyDefinition An association to PartySee section 3.8.1

DespatchContactClassname DespatchContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to DespatchSee section G30 3.21

AccountingContactClassname AccountingContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to the Supplier Accounting ContactSee section G30 3.21

SellerContactClassname SellerContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to the SellerSee section G30 3.21

Excluded classes and fields in AccountingSupplierParty (Invoice.AccountingSupplierParty) Name Name TypeDataSendingCapability DataSendingCapability Field

OIOUBL Invoice - UBL 2.0 Invoice Side 68

3.8.1. Invoice.AccountingSupplierParty.Party

3.8.1. Invoice.AccountingSupplierParty.Party

Party (Invoice.AccountingSupplierParty.Party) specificationName Invoice.AccountingSupplierParty.Party Alternative term OIOUBL_GUIDE_PARTIESDefinition Information about an organisation, sub-organisation or individual fulfilling a role in a business processSee also OIOUBL_GUIDE_PARTIES ( OIO )

Example<cac:Party> <cbc:EndpointID schemeID="DK:CVR">DK73624230</cbc:EndpointID> + <cac:PartyIdentification /> + <cac:PartyName /> + <cac:PostalAddress /> + <cac:PartyTaxScheme /> + <cac:PartyLegalEntity /></cac:Party>

FieldsUBL-Name Name Datatype Usage CardinalityWebsiteURI WebsiteURI Identifier Bilateral 0..1LogoReferenceID LogoReferenceID Identifier Bilateral 0..1EndpointID EndpointID Identifier Yes 1

OIOUBL Invoice - UBL 2.0 Invoice Side 69

3.8.1. Invoice.AccountingSupplierParty.Party

Subclasses in class Party (Invoice.AccountingSupplierParty.Party) UBL-Name Name Usage Cardi

nalityReference

PartyIdentification PartyIdentification Yes 0..n G30 3.71PartyName PartyName Yes 0..n G30 3.73Language Language Bilateral 0..1 G30 3.56PostalAddress PostalAddress Yes 0..1 G30 3.1PhysicalLocation PhysicalLocation Bilateral 0..1 G30 3.30.1PartyTaxScheme PartyTaxScheme Yes 0..n G30 3.74PartyLegalEntity PartyLegalEntity Yes 1 G30 3.72Contact Contact Yes 0..1 G30 3.21Person Person Yes 0..1 G30 3.79

Field specifications

WebsiteURIFieldname WebsiteURI Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The Uniform Resource Identifier (URI) of the Party

LogoReferenceIDFieldname LogoReferenceID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A Party's logo

EndpointIDFieldname EndpointID Alternative term OIOUBL_GUIDE_ENDPOINTCardinality 1 Usage YesDatatype IdentifierDefinition Identifies the end point of the routing service, e.g. EAN Location Number, GLNId schemelist urn:oioubl:scheme:endpointid-1.1See also OIOUBL_GUIDE_ENDPOINT ( OIO )

Class Specification

PartyIdentificationClassname PartyIdentification Alternative termCardinality 0..n Usage YesDatatype PartyIdentificationDefinition An association to Party IdentificationSee section G30 3.71

PartyNameClassname PartyName Alternative termCardinality 0..n Usage YesDatatype PartyNameDefinition An association to Party Name. Party Name must be used where no Party Identification is used.Businessrules Mandatory if PartyIdentification.ID not used. Only use more than 1 if multilanguage.Recommendation At Header level PartyName should be suppliedDependency ../PartyIdentificationSee section G30 3.73

Language

OIOUBL Invoice - UBL 2.0 Invoice Side 70

3.8.1. Invoice.AccountingSupplierParty.Party Classname Language Alternative termCardinality 0..1 Usage BilateralDatatype LanguageDefinition An association to LanguageSee section G30 3.56

PostalAddressClassname PostalAddress Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype AddressDefinition The Party's postal addressRecommendation The Address should be specified on header level and must be of the type StructuredDK.See section G30 3.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

PhysicalLocationClassname PhysicalLocation Alternative termCardinality 0..1 Usage BilateralDatatype LocationDefinition The Party's visiting addressRecommendation Only if different from PostalAddressSee section G30 3.30.1

PartyTaxSchemeClassname PartyTaxScheme Alternative term OIOUBL_GUIDE_TAXCardinality 0..n Usage YesDatatype PartyTaxSchemeDefinition An association to Party Tax SchemeSee section G30 3.74See also OIOUBL_GUIDE_TAX ( OIO )

PartyLegalEntityClassname PartyLegalEntity Alternative term OIOUBL_GUIDE_TAXCardinality 1 Usage YesDatatype PartyLegalEntityDefinition An association to Party Legal EntitySee section G30 3.72See also OIOUBL_GUIDE_TAX ( OIO )

ContactClassname Contact Alternative term OIOUBL_GUIDE_CONTACTCardinality 0..1 Usage YesDatatype ContactDefinition An association to ContactSee section G30 3.21See also OIOUBL_GUIDE_CONTACT ( G23 )

PersonClassname Person Alternative termCardinality 0..1 Usage YesDatatype PersonDefinition An association to a Person.See section G30 3.79

Excluded classes and fields in Party (Invoice.AccountingSupplierParty.Party) Name Name TypeMarkCareIndicator MarkCareIndicator Field

MarkAttentionIndicator MarkAttentionIndicator Field

AgentParty AgentParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 71

3.8.1. Invoice.AccountingSupplierParty.Party

OIOUBL Invoice - UBL 2.0 Invoice Side 72

3.9. Invoice.AccountingCustomerParty

3.9. Invoice.AccountingCustomerParty

AccountingCustomerParty (Invoice.AccountingCustomerParty) specificationName Invoice.AccountingCustomerParty Alternative termDefinition Information about the Customer Party

Example<cac:AccountingCustomerParty> + <cac:Party /></cac:AccountingCustomerParty>

FieldsUBL-Name Name Datatype Usage CardinalityCustomerAssignedAccountID CustomerAssignedAccountID Identifier Bilateral 0..1SupplierAssignedAccountID SupplierAssignedAccountID Identifier Bilateral 0..1AdditionalAccountID AdditionalAccountID Identifier Bilateral 0..n

Subclasses in class AccountingCustomerParty (Invoice.AccountingCustomerParty) UBL-Name Name Usage Cardi

nalityReference

Party Party Yes 1 3.9.1DeliveryContact DeliveryContact Bilateral 0..1 G30 3.29AccountingContact AccountingContact Bilateral 0..1BuyerContact BuyerContact Bilateral 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 73

3.9. Invoice.AccountingCustomerParty

Field specifications

CustomerAssignedAccountIDFieldname CustomerAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by the Customer itself

SupplierAssignedAccountIDFieldname SupplierAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by the Supplier

AdditionalAccountIDFieldname AdditionalAccountID Alternative termCardinality 0..n Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by a third party

Class Specification

PartyClassname Party Alternative termCardinality 1 Usage YesDatatype PartyDefinition An association to PartySee section 3.9.1

DeliveryContactClassname DeliveryContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Delivery Contact.See section G30 3.29

AccountingContactClassname AccountingContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Customer Accounting Contact.See section G30 3.

BuyerContactClassname BuyerContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Buyer Contact.See section G30 3.

Excluded classes and fields in AccountingCustomerParty (Invoice.AccountingCustomerParty) None

OIOUBL Invoice - UBL 2.0 Invoice Side 74

3.9.1. Invoice.AccountingCustomerParty.Party

3.9.1. Invoice.AccountingCustomerParty.Party

Party (Invoice.AccountingCustomerParty.Party) specificationName Invoice.AccountingCustomerParty.Party Alternative term OIOUBL_GUIDE_PARTIESDefinition Information about an organisation, sub-organisation or individual fulfilling a role in a business processSee also OIOUBL_GUIDE_PARTIES ( OIO )

Example<cac:Party> <cbc:EndpointID schemeID="DK:CVR">DK11223344</cbc:EndpointID> + <cac:PartyIdentification /> + <cac:PartyName /> + <cac:PostalAddress /> + <cac:PartyTaxScheme /> + <cac:PartyLegalEntity /> + <cac:Contact /></cac:Party>

FieldsUBL-Name Name Datatype Usage CardinalityWebsiteURI WebsiteURI Identifier Bilateral 0..1LogoReferenceID LogoReferenceID Identifier Bilateral 0..1EndpointID EndpointID Identifier Yes 1

OIOUBL Invoice - UBL 2.0 Invoice Side 75

3.9.1. Invoice.AccountingCustomerParty.Party

Subclasses in class Party (Invoice.AccountingCustomerParty.Party) UBL-Name Name Usage Cardi

nalityReference

PartyIdentification PartyIdentification Yes 0..n G30 3.71PartyName PartyName Yes 0..n G30 3.73Language Language Bilateral 0..1 G30 3.56PostalAddress PostalAddress Yes 0..1 G30 3.1PhysicalLocation PhysicalLocation Bilateral 0..1 G30 3.30.1PartyTaxScheme PartyTaxScheme Yes 0..n G30 3.74PartyLegalEntity PartyLegalEntity Yes 1 G30 3.72Contact Contact Yes 1 3.9.1.1Person Person Yes 0..1 G30 3.79

Field specifications

WebsiteURIFieldname WebsiteURI Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The Uniform Resource Identifier (URI) of the Party

LogoReferenceIDFieldname LogoReferenceID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A Party's logo

EndpointIDFieldname EndpointID Alternative term OIOUBL_GUIDE_ENDPOINTCardinality 1 Usage YesDatatype IdentifierDefinition Identifies the end point of the routing service, e.g. EAN Location Number, GLNId schemelist urn:oioubl:scheme:endpointid-1.1See also OIOUBL_GUIDE_ENDPOINT ( OIO )

Class Specification

PartyIdentificationClassname PartyIdentification Alternative termCardinality 0..n Usage YesDatatype PartyIdentificationDefinition An association to Party IdentificationSee section G30 3.71

PartyNameClassname PartyName Alternative termCardinality 0..n Usage YesDatatype PartyNameDefinition An association to Party Name. Party Name must be used where no Party Identification is used.Businessrules Mandatory if PartyIdentification.ID not used. Only use more than 1 if multilanguage.Recommendation At Header level PartyName should be suppliedDependency ../PartyIdentificationSee section G30 3.73

Language

OIOUBL Invoice - UBL 2.0 Invoice Side 76

3.9.1. Invoice.AccountingCustomerParty.Party Classname Language Alternative termCardinality 0..1 Usage BilateralDatatype LanguageDefinition An association to LanguageSee section G30 3.56

PostalAddressClassname PostalAddress Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype AddressDefinition The Party's postal addressRecommendation The Address should be specified on header level and must be of the type StructuredDK.See section G30 3.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

PhysicalLocationClassname PhysicalLocation Alternative termCardinality 0..1 Usage BilateralDatatype LocationDefinition The Party's visiting addressRecommendation Only if different from PostalAddressSee section G30 3.30.1

PartyTaxSchemeClassname PartyTaxScheme Alternative term OIOUBL_GUIDE_TAXCardinality 0..n Usage YesDatatype PartyTaxSchemeDefinition An association to Party Tax SchemeSee section G30 3.74See also OIOUBL_GUIDE_TAX ( OIO )

PartyLegalEntityClassname PartyLegalEntity Alternative term OIOUBL_GUIDE_TAXCardinality 1 Usage YesDatatype PartyLegalEntityDefinition An association to Party Legal EntitySee section G30 3.72See also OIOUBL_GUIDE_TAX ( OIO )

ContactClassname Contact Alternative term OIOUBL_GUIDE_CONTACTCardinality 1 Usage YesDatatype ContactDefinition An association to ContactSee section 3.9.1.1See also OIOUBL_GUIDE_CONTACT ( G23 )

PersonClassname Person Alternative termCardinality 0..1 Usage YesDatatype PersonDefinition An association to a Person.See section G30 3.79

Excluded classes and fields in Party (Invoice.AccountingCustomerParty.Party) Name Name TypeMarkCareIndicator MarkCareIndicator Field

MarkAttentionIndicator MarkAttentionIndicator Field

AgentParty AgentParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 77

3.9.1. Invoice.AccountingCustomerParty.Party

OIOUBL Invoice - UBL 2.0 Invoice Side 78

3.9.1.1. Invoice.AccountingCustomerParty.Party.Contact

3.9.1.1. Invoice.AccountingCustomerParty.Party.Contact

Contact (Invoice.AccountingCustomerParty.Party.Contact) specificationName Invoice.AccountingCustomerParty.Party.Cont

actAlternative term

Definition Information about a contactable person or organisation department

Example<cac:Contact> <cbc:ID>37854993</cbc:ID> <cbc:Name>Jens Troelsen</cbc:Name> <cbc:Telephone>26532150</cbc:Telephone> <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail></cac:Contact>

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1Name Name Name Yes 0..1Telephone Telephone Text Yes 0..1Telefax Telefax Text Yes 0..1ElectronicMail ElectronicMail Text Yes 0..1Note Note Text Yes 0..1

Subclasses in class Contact (Invoice.AccountingCustomerParty.Party.Contact) UBL-Name Name Usage Cardi

nalityReference

OtherCommunication OtherCommunication Yes 0..1 G30 3.19

OIOUBL Invoice - UBL 2.0 Invoice Side 79

3.9.1.1. Invoice.AccountingCustomerParty.Party.Contact

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition An identifier for the ContactBusinessrules The customer reference to person initiating the process

NameFieldname Name Alternative termCardinality 0..1 Usage YesDatatype NameDefinition The name of the Contact

TelephoneFieldname Telephone Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The telephone number of the Contact

TelefaxFieldname Telefax Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The fax number of the ContactExample 89113434

ElectronicMailFieldname ElectronicMail Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The Email address of the ContactExample [email protected]

NoteFieldname Note Alternative termCardinality 0..1 Usage YesDatatype TextDefinition A note describing the circumstances in which the Contact can be used such as 'Emergency' or 'After

Hours'Example Can only be used between 14 and 17

Class Specification

OtherCommunicationClassname OtherCommunication Alternative termCardinality 0..1 Usage YesDatatype CommunicationDefinition An association to Other CommunicationSee section G30 3.19

Excluded classes and fields in Contact (Invoice.AccountingCustomerParty.Party.Contact) None

OIOUBL Invoice - UBL 2.0 Invoice Side 80

3.10. Invoice.PayeeParty

3.10. Invoice.PayeeParty

PayeeParty (Invoice.PayeeParty) specificationName Invoice.PayeeParty Alternative termDefinition Information about the Customer Party

Example<cac:PayeeParty> <cbc:EndpointID schemeID="DK:CVR">DK73624570</cbc:EndpointID> + <cac:PartyIdentification /> + <cac:PartyName /> + <cac:PostalAddress /> + <cac:PartyLegalEntity /></cac:PayeeParty>

FieldsUBL-Name Name Datatype Usage CardinalityWebsiteURI WebsiteURI Identifier Bilateral 0..1LogoReferenceID LogoReferenceID Identifier Bilateral 0..1EndpointID EndpointID Identifier Yes 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 81

3.10. Invoice.PayeeParty

Subclasses in class PayeeParty (Invoice.PayeeParty) UBL-Name Name Usage Cardi

nalityReference

PartyIdentification PartyIdentification Yes 0..n G30 3.71PartyName PartyName Yes 0..n G30 3.73Language Language Bilateral 0..1 G30 3.56PostalAddress PostalAddress Yes 0..1 G30 3.1PhysicalLocation PhysicalLocation Bilateral 0..1 G30 3.30.1PartyTaxScheme PartyTaxScheme Yes 0..n G30 3.74PartyLegalEntity PartyLegalEntity Yes 1 G30 3.72Contact Contact Yes 0..1 G30 3.21Person Person Yes 0..1 G30 3.79

Field specifications

WebsiteURIFieldname WebsiteURI Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The Uniform Resource Identifier (URI) of the Party

LogoReferenceIDFieldname LogoReferenceID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A Party's logo

EndpointIDFieldname EndpointID Alternative term OIOUBL_GUIDE_ENDPOINTCardinality 0..1 Usage YesDatatype IdentifierDefinition Identifies the end point of the routing service, e.g. EAN Location Number, GLNId schemelist urn:oioubl:scheme:endpointid-1.1See also OIOUBL_GUIDE_ENDPOINT ( OIO )

Class Specification

PartyIdentificationClassname PartyIdentification Alternative termCardinality 0..n Usage YesDatatype PartyIdentificationDefinition An association to Party IdentificationSee section G30 3.71

PartyNameClassname PartyName Alternative termCardinality 0..n Usage YesDatatype PartyNameDefinition An association to Party Name. Party Name must be used where no Party Identification is used.Businessrules Mandatory if PartyIdentification.ID not used. Only use more than 1 if multilanguage.Recommendation At Header level PartyName should be suppliedDependency ../PartyIdentificationSee section G30 3.73

Language

OIOUBL Invoice - UBL 2.0 Invoice Side 82

3.10. Invoice.PayeeParty Classname Language Alternative termCardinality 0..1 Usage BilateralDatatype LanguageDefinition An association to LanguageSee section G30 3.56

PostalAddressClassname PostalAddress Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype AddressDefinition The Party's postal addressRecommendation The Address should be specified on header level and must be of the type StructuredDK.See section G30 3.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

PhysicalLocationClassname PhysicalLocation Alternative termCardinality 0..1 Usage BilateralDatatype LocationDefinition The Party's visiting addressRecommendation Only if different from PostalAddressSee section G30 3.30.1

PartyTaxSchemeClassname PartyTaxScheme Alternative term OIOUBL_GUIDE_TAXCardinality 0..n Usage YesDatatype PartyTaxSchemeDefinition An association to Party Tax SchemeSee section G30 3.74See also OIOUBL_GUIDE_TAX ( OIO )

PartyLegalEntityClassname PartyLegalEntity Alternative term OIOUBL_GUIDE_TAXCardinality 1 Usage YesDatatype PartyLegalEntityDefinition An association to Party Legal EntitySee section G30 3.72See also OIOUBL_GUIDE_TAX ( OIO )

ContactClassname Contact Alternative term OIOUBL_GUIDE_CONTACTCardinality 0..1 Usage YesDatatype ContactDefinition An association to ContactSee section G30 3.21See also OIOUBL_GUIDE_CONTACT ( G23 )

PersonClassname Person Alternative termCardinality 0..1 Usage YesDatatype PersonDefinition An association to a Person.See section G30 3.79

Excluded classes and fields in PayeeParty (Invoice.PayeeParty) Name Name TypeMarkCareIndicator MarkCareIndicator Field

MarkAttentionIndicator MarkAttentionIndicator Field

AgentParty AgentParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 83

3.10. Invoice.PayeeParty

OIOUBL Invoice - UBL 2.0 Invoice Side 84

3.11. Invoice.BuyerCustomerParty

3.11. Invoice.BuyerCustomerParty

BuyerCustomerParty (Invoice.BuyerCustomerParty) specificationName Invoice.BuyerCustomerParty Alternative termDefinition Information about the Customer Party

FieldsUBL-Name Name Datatype Usage CardinalityCustomerAssignedAccountID CustomerAssignedAccountID Identifier Bilateral 0..1SupplierAssignedAccountID SupplierAssignedAccountID Identifier Bilateral 0..1AdditionalAccountID AdditionalAccountID Identifier Bilateral 0..n

Subclasses in class BuyerCustomerParty (Invoice.BuyerCustomerParty) UBL-Name Name Usage Cardi

nalityReference

Party Party Yes 1 3.11.1DeliveryContact DeliveryContact Bilateral 0..1 G30 3.29AccountingContact AccountingContact Bilateral 0..1BuyerContact BuyerContact Bilateral 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 85

3.11. Invoice.BuyerCustomerParty

Field specifications

CustomerAssignedAccountIDFieldname CustomerAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by the Customer itself

SupplierAssignedAccountIDFieldname SupplierAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by the Supplier

AdditionalAccountIDFieldname AdditionalAccountID Alternative termCardinality 0..n Usage BilateralDatatype IdentifierDefinition An identifier refering to an account for the Customer assigned by a third party

Class Specification

PartyClassname Party Alternative termCardinality 1 Usage YesDatatype PartyDefinition An association to PartySee section 3.11.1

DeliveryContactClassname DeliveryContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Delivery Contact.See section G30 3.29

AccountingContactClassname AccountingContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Customer Accounting Contact.See section G30 3.

BuyerContactClassname BuyerContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to Buyer Contact.See section G30 3.

Excluded classes and fields in BuyerCustomerParty (Invoice.BuyerCustomerParty) None

OIOUBL Invoice - UBL 2.0 Invoice Side 86

3.11.1. Invoice.BuyerCustomerParty.Party

3.11.1. Invoice.BuyerCustomerParty.Party

Party (Invoice.BuyerCustomerParty.Party) specificationName Invoice.BuyerCustomerParty.Party Alternative term OIOUBL_GUIDE_PARTIESDefinition Information about an organisation, sub-organisation or individual fulfilling a role in a business processSee also OIOUBL_GUIDE_PARTIES ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityWebsiteURI WebsiteURI Identifier Bilateral 0..1LogoReferenceID LogoReferenceID Identifier Bilateral 0..1EndpointID EndpointID Identifier Yes 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 87

3.11.1. Invoice.BuyerCustomerParty.Party

Subclasses in class Party (Invoice.BuyerCustomerParty.Party) UBL-Name Name Usage Cardi

nalityReference

PartyIdentification PartyIdentification Yes 0..n G30 3.71PartyName PartyName Yes 0..n G30 3.73Language Language Bilateral 0..1 G30 3.56PostalAddress PostalAddress Yes 0..1 G30 3.1PhysicalLocation PhysicalLocation Bilateral 0..1 G30 3.30.1PartyTaxScheme PartyTaxScheme Yes 0..n G30 3.74PartyLegalEntity PartyLegalEntity Yes 1 G30 3.72Contact Contact Yes 0..1 G30 3.21Person Person Yes 0..1 G30 3.79

Field specifications

WebsiteURIFieldname WebsiteURI Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The Uniform Resource Identifier (URI) of the Party

LogoReferenceIDFieldname LogoReferenceID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A Party's logo

EndpointIDFieldname EndpointID Alternative term OIOUBL_GUIDE_ENDPOINTCardinality 0..1 Usage YesDatatype IdentifierDefinition Identifies the end point of the routing service, e.g. EAN Location Number, GLNId schemelist urn:oioubl:scheme:endpointid-1.1See also OIOUBL_GUIDE_ENDPOINT ( OIO )

Class Specification

PartyIdentificationClassname PartyIdentification Alternative termCardinality 0..n Usage YesDatatype PartyIdentificationDefinition An association to Party IdentificationSee section G30 3.71

PartyNameClassname PartyName Alternative termCardinality 0..n Usage YesDatatype PartyNameDefinition An association to Party Name. Party Name must be used where no Party Identification is used.Businessrules Mandatory if PartyIdentification.ID not used. Only use more than 1 if multilanguage.Recommendation At Header level PartyName should be suppliedDependency ../PartyIdentificationSee section G30 3.73

Language

OIOUBL Invoice - UBL 2.0 Invoice Side 88

3.11.1. Invoice.BuyerCustomerParty.Party Classname Language Alternative termCardinality 0..1 Usage BilateralDatatype LanguageDefinition An association to LanguageSee section G30 3.56

PostalAddressClassname PostalAddress Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype AddressDefinition The Party's postal addressRecommendation The Address should be specified on header level and must be of the type StructuredDK.See section G30 3.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

PhysicalLocationClassname PhysicalLocation Alternative termCardinality 0..1 Usage BilateralDatatype LocationDefinition The Party's visiting addressRecommendation Only if different from PostalAddressSee section G30 3.30.1

PartyTaxSchemeClassname PartyTaxScheme Alternative term OIOUBL_GUIDE_TAXCardinality 0..n Usage YesDatatype PartyTaxSchemeDefinition An association to Party Tax SchemeSee section G30 3.74See also OIOUBL_GUIDE_TAX ( OIO )

PartyLegalEntityClassname PartyLegalEntity Alternative term OIOUBL_GUIDE_TAXCardinality 1 Usage YesDatatype PartyLegalEntityDefinition An association to Party Legal EntitySee section G30 3.72See also OIOUBL_GUIDE_TAX ( OIO )

ContactClassname Contact Alternative term OIOUBL_GUIDE_CONTACTCardinality 0..1 Usage YesDatatype ContactDefinition An association to ContactSee section G30 3.21See also OIOUBL_GUIDE_CONTACT ( G23 )

PersonClassname Person Alternative termCardinality 0..1 Usage YesDatatype PersonDefinition An association to a Person.See section G30 3.79

Excluded classes and fields in Party (Invoice.BuyerCustomerParty.Party) Name Name TypeMarkCareIndicator MarkCareIndicator Field

MarkAttentionIndicator MarkAttentionIndicator Field

AgentParty AgentParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 89

3.11.1. Invoice.BuyerCustomerParty.Party

OIOUBL Invoice - UBL 2.0 Invoice Side 90

3.12. Invoice.SellerSupplierParty

3.12. Invoice.SellerSupplierParty

SellerSupplierParty (Invoice.SellerSupplierParty) specificationName Invoice.SellerSupplierParty Alternative termDefinition Information about the Supplier Party

FieldsUBL-Name Name Datatype Usage CardinalityCustomerAssignedAccountID CustomerAssignedAccountID Identifier Bilateral 0..1AdditionalAccountID AdditionalAccountID Identifier Bilateral 0..n

Subclasses in class SellerSupplierParty (Invoice.SellerSupplierParty) UBL-Name Name Usage Cardi

nalityReference

Party Party Yes 1 3.12.1DespatchContact DespatchContact Bilateral 0..1 G30 3.21AccountingContact AccountingContact Bilateral 0..1 G30 3.21SellerContact SellerContact Bilateral 0..1 G30 3.21

Field specifications

CustomerAssignedAccountIDFieldname CustomerAssignedAccountID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An identifier for the Supplier assigned by the Customer; the Customer's internal reference for the

Supplier

AdditionalAccountIDFieldname AdditionalAccountID Alternative termCardinality 0..n Usage BilateralDatatype IdentifierDefinition An identifier for the Supplier assigned by a third party

OIOUBL Invoice - UBL 2.0 Invoice Side 91

3.12. Invoice.SellerSupplierParty

Class Specification

PartyClassname Party Alternative termCardinality 1 Usage YesDatatype PartyDefinition An association to PartySee section 3.12.1

DespatchContactClassname DespatchContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to DespatchSee section G30 3.21

AccountingContactClassname AccountingContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to the Supplier Accounting ContactSee section G30 3.21

SellerContactClassname SellerContact Alternative termCardinality 0..1 Usage BilateralDatatype ContactDefinition An association to the SellerSee section G30 3.21

Excluded classes and fields in SellerSupplierParty (Invoice.SellerSupplierParty) Name Name TypeDataSendingCapability DataSendingCapability Field

OIOUBL Invoice - UBL 2.0 Invoice Side 92

3.12.1. Invoice.SellerSupplierParty.Party

3.12.1. Invoice.SellerSupplierParty.Party

Party (Invoice.SellerSupplierParty.Party) specificationName Invoice.SellerSupplierParty.Party Alternative term OIOUBL_GUIDE_PARTIESDefinition Information about an organisation, sub-organisation or individual fulfilling a role in a business processSee also OIOUBL_GUIDE_PARTIES ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityWebsiteURI WebsiteURI Identifier Bilateral 0..1LogoReferenceID LogoReferenceID Identifier Bilateral 0..1EndpointID EndpointID Identifier Yes 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 93

3.12.1. Invoice.SellerSupplierParty.Party

Subclasses in class Party (Invoice.SellerSupplierParty.Party) UBL-Name Name Usage Cardi

nalityReference

PartyIdentification PartyIdentification Yes 0..n G30 3.71PartyName PartyName Yes 0..n G30 3.73Language Language Bilateral 0..1 G30 3.56PostalAddress PostalAddress Yes 0..1 G30 3.1PhysicalLocation PhysicalLocation Bilateral 0..1 G30 3.30.1PartyTaxScheme PartyTaxScheme Yes 0..n G30 3.74PartyLegalEntity PartyLegalEntity Yes 1 G30 3.72Contact Contact Yes 0..1 G30 3.21Person Person Yes 0..1 G30 3.79

Field specifications

WebsiteURIFieldname WebsiteURI Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The Uniform Resource Identifier (URI) of the Party

LogoReferenceIDFieldname LogoReferenceID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A Party's logo

EndpointIDFieldname EndpointID Alternative term OIOUBL_GUIDE_ENDPOINTCardinality 0..1 Usage YesDatatype IdentifierDefinition Identifies the end point of the routing service, e.g. EAN Location Number, GLNId schemelist urn:oioubl:scheme:endpointid-1.1See also OIOUBL_GUIDE_ENDPOINT ( OIO )

Class Specification

PartyIdentificationClassname PartyIdentification Alternative termCardinality 0..n Usage YesDatatype PartyIdentificationDefinition An association to Party IdentificationSee section G30 3.71

PartyNameClassname PartyName Alternative termCardinality 0..n Usage YesDatatype PartyNameDefinition An association to Party Name. Party Name must be used where no Party Identification is used.Businessrules Mandatory if PartyIdentification.ID not used. Only use more than 1 if multilanguage.Recommendation At Header level PartyName should be suppliedDependency ../PartyIdentificationSee section G30 3.73

Language

OIOUBL Invoice - UBL 2.0 Invoice Side 94

3.12.1. Invoice.SellerSupplierParty.Party Classname Language Alternative termCardinality 0..1 Usage BilateralDatatype LanguageDefinition An association to LanguageSee section G30 3.56

PostalAddressClassname PostalAddress Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype AddressDefinition The Party's postal addressRecommendation The Address should be specified on header level and must be of the type StructuredDK.See section G30 3.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

PhysicalLocationClassname PhysicalLocation Alternative termCardinality 0..1 Usage BilateralDatatype LocationDefinition The Party's visiting addressRecommendation Only if different from PostalAddressSee section G30 3.30.1

PartyTaxSchemeClassname PartyTaxScheme Alternative term OIOUBL_GUIDE_TAXCardinality 0..n Usage YesDatatype PartyTaxSchemeDefinition An association to Party Tax SchemeSee section G30 3.74See also OIOUBL_GUIDE_TAX ( OIO )

PartyLegalEntityClassname PartyLegalEntity Alternative term OIOUBL_GUIDE_TAXCardinality 1 Usage YesDatatype PartyLegalEntityDefinition An association to Party Legal EntitySee section G30 3.72See also OIOUBL_GUIDE_TAX ( OIO )

ContactClassname Contact Alternative term OIOUBL_GUIDE_CONTACTCardinality 0..1 Usage YesDatatype ContactDefinition An association to ContactSee section G30 3.21See also OIOUBL_GUIDE_CONTACT ( G23 )

PersonClassname Person Alternative termCardinality 0..1 Usage YesDatatype PersonDefinition An association to a Person.See section G30 3.79

Excluded classes and fields in Party (Invoice.SellerSupplierParty.Party) Name Name TypeMarkCareIndicator MarkCareIndicator Field

MarkAttentionIndicator MarkAttentionIndicator Field

AgentParty AgentParty Class

OIOUBL Invoice - UBL 2.0 Invoice Side 95

3.12.1. Invoice.SellerSupplierParty.Party

OIOUBL Invoice - UBL 2.0 Invoice Side 96

3.13. Invoice.Delivery

3.13. Invoice.Delivery

Delivery (Invoice.Delivery) specificationName Invoice.Delivery Alternative term OIOUBL_GUIDE_DELIVERYDefinition An association to DeliverySee also OIOUBL_GUIDE_DELIVERY ( OIO )

Example<cac:Delivery> <cbc:ActualDeliveryDate>2006-04-02</cbc:ActualDeliveryDate></cac:Delivery>

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 0..1Quantity Quantity Quantity Bilateral 0..1MinimumQuantity MinimumQuantity Quantity Bilateral 0..1MaximumQuantity MaximumQuantity Quantity Bilateral 0..1ActualDeliveryDate ActualDeliveryDate Date Yes 0..1ActualDeliveryTime ActualDeliveryTime Time Bilateral 0..1LatestDeliveryDate LatestDeliveryDate Date Bilateral 0..1LatestDeliveryTime LatestDeliveryTime Time Bilateral 0..1TrackingID TrackingID Identifier Bilateral 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 97

3.13. Invoice.Delivery

Subclasses in class Delivery (Invoice.Delivery) UBL-Name Name Usage Cardi

nalityReference

DeliveryLocation DeliveryLocation Yes 0..1 G30 3.30.1RequestedDeliveryPeriod RequestedDeliveryPeriod Yes 0..1 G30 3.78DeliveryParty DeliveryParty Yes 0..1 G30 3.70Despatch Despatch Bilateral 0..1 G30 3.32

OIOUBL Invoice - UBL 2.0 Invoice Side 98

3.13. Invoice.Delivery

Field specifications

IDFieldname ID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition Identification for Delivery

QuantityFieldname Quantity Alternative termCardinality 0..1 Usage BilateralDatatype QuantityDefinition The quantity for a Delivery

MinimumQuantityFieldname MinimumQuantity Alternative termCardinality 0..1 Usage BilateralDatatype QuantityDefinition The Minimum quantity for a Delivery

MaximumQuantityFieldname MaximumQuantity Alternative termCardinality 0..1 Usage BilateralDatatype QuantityDefinition The Maximum quantity for a Delivery

ActualDeliveryDateFieldname ActualDeliveryDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The actual date of Delivery

ActualDeliveryTimeFieldname ActualDeliveryTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The actual time of Delivery

LatestDeliveryDateFieldname LatestDeliveryDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The latest possible date of Delivery

LatestDeliveryTimeFieldname LatestDeliveryTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The latest possible time of Delivery

TrackingIDFieldname TrackingID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The tracking ID of the Delivery (for transport tracking)

Class Specification

DeliveryLocation

OIOUBL Invoice - UBL 2.0 Invoice Side 99

3.13. Invoice.Delivery Classname DeliveryLocation Alternative term OIOUBL_GUIDE_ADDRESSCardinality 0..1 Usage YesDatatype LocationDefinition An association to LocationRecommendation The Address must be of the type StructuredDK.See section G30 3.30.1See also OIOUBL_GUIDE_ADDRESS ( OIO )

RequestedDeliveryPeriodClassname RequestedDeliveryPeriod Alternative termCardinality 0..1 Usage YesDatatype PeriodDefinition The requested Delivery periodBusinessrules For customer originated messagesSee section G30 3.78

DeliveryPartyClassname DeliveryParty Alternative termCardinality 0..1 Usage YesDatatype PartyDefinition The Party who the goods/services are delivered to.Businessrules Use if different from the buyer party.See section G30 3.70

DespatchClassname Despatch Alternative termCardinality 0..1 Usage BilateralDatatype DespatchDefinition The Party who dispatched the DeliverySee section G30 3.32

Excluded classes and fields in Delivery (Invoice.Delivery) Name Name TypeDeliveryAddress DeliveryAddress Class

PromisedDeliveryPeriod PromisedDeliveryPeriod Class

EstimatedDeliveryPeriod EstimatedDeliveryPeriod Class

OIOUBL Invoice - UBL 2.0 Invoice Side 100

3.14. Invoice.DeliveryTerms

3.14. Invoice.DeliveryTerms

DeliveryTerms (Invoice.DeliveryTerms) specificationName Invoice.DeliveryTerms Alternative term OIOUBL_GUIDE_DELIVERY

TERMSDefinition Information about Delivery TermsSee also OIOUBL_GUIDE_DELIVERYTERMS ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 0..1SpecialTerms SpecialTerms Text Yes 0..1LossRiskResponsibilityCode LossRiskResponsibilityCode Code Bilateral 0..1LossRisk LossRisk Text Bilateral 0..1

Subclasses in class DeliveryTerms (Invoice.DeliveryTerms) UBL-Name Name Usage Cardi

nalityReference

DeliveryLocation DeliveryLocation Yes 0..1 3.14.1

OIOUBL Invoice - UBL 2.0 Invoice Side 101

3.14. Invoice.DeliveryTerms

Field specifications

IDFieldname ID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition The identifier for the Delivery TermsBusinessrules If used use INCO terms.Legal values INCOTERMSExample INCOTERMS

SpecialTermsFieldname SpecialTerms Alternative termCardinality 0..1 Usage YesDatatype TextDefinition A description of special conditions relating to the Delivery TermsBusinessrules Used instead of INCO terms.Dependency ../ID

LossRiskResponsibilityCodeFieldname LossRiskResponsibilityCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition An identifier for the responsibility for loss risk in the context of the Delivery Terms; expressed as a codeDependency ../LossRiskExample FOB

LossRiskFieldname LossRisk Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition A description of the loss risk in the context of the Delivery TermsBusinessrules Only used if no INCO terms code fits. Dependency ../LossRiskResponsibilityCode

Class Specification

DeliveryLocationClassname DeliveryLocation Alternative termCardinality 0..1 Usage YesDatatype LocationDefinition An association to Location eg. a port.Businessrules Only used if the location is required together with the INCO terms code. It could be a name of a

harbour. This location has nothing to do with Delivery Party.Recommendation Mandatory for certain INCOTERMSSee section 3.14.1

Excluded classes and fields in DeliveryTerms (Invoice.DeliveryTerms) Name Name TypeAllowanceCharge AllowanceCharge Class

OIOUBL Invoice - UBL 2.0 Invoice Side 102

3.14.1. Invoice.DeliveryTerms.DeliveryLocation

3.14.1. Invoice.DeliveryTerms.DeliveryLocation

DeliveryLocation (Invoice.DeliveryTerms.DeliveryLocation) specificationName Invoice.DeliveryTerms.DeliveryLocation Alternative termDefinition Information about location

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1Description Description Text Bilateral 0..1Conditions Conditions Text Bilateral 0..1CountrySubentity CountrySubentity Text Bilateral 0..1CountrySubentityCode CountrySubentityCode Code Bilateral 0..1

Subclasses in class DeliveryLocation (Invoice.DeliveryTerms.DeliveryLocation) UBL-Name Name Usage Cardi

nalityReference

ValidityPeriod ValidityPeriod Bilateral 0..n G30 3.78Address Address Bilateral 0..1 G30 3.1

OIOUBL Invoice - UBL 2.0 Invoice Side 103

3.14.1. Invoice.DeliveryTerms.DeliveryLocation

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The unique identifier for the location e.g. EAN Location Number, GLNBusinessrules If ID not specified, Address is mandatory.

DescriptionFieldname Description Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition The Description or name of the Location

ConditionsFieldname Conditions Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition Conditions describing the location

CountrySubentityFieldname CountrySubentity Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition A territorial division of a country such as a county or state

CountrySubentityCodeFieldname CountrySubentityCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The territorial division of a country such as a county or state expresssed as a code

Class Specification

ValidityPeriodClassname ValidityPeriod Alternative termCardinality 0..n Usage BilateralDatatype PeriodDefinition Period(s) in which the Location can be used e.g. for deliverySee section G30 3.78

AddressClassname Address Alternative termCardinality 0..1 Usage BilateralDatatype AddressDefinition Association to the address of the locationBusinessrules If ID not specified, Address is mandatory.See section G30 3.1

Excluded classes and fields in DeliveryLocation (Invoice.DeliveryTerms.DeliveryLocation) None

OIOUBL Invoice - UBL 2.0 Invoice Side 104

3.15. Invoice.TaxExchangeRate

3.15. Invoice.TaxExchangeRate

TaxExchangeRate (Invoice.TaxExchangeRate) specificationName Invoice.TaxExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YDefinition Information about Exchange RateSee also OIOUBL_GUIDE_CURRENCY ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalitySourceCurrencyCode SourceCurrencyCode Code Yes 1SourceCurrencyBaseRate SourceCurrencyBaseRate Rate Yes 0..1TargetCurrencyCode TargetCurrencyCode Code Yes 1TargetCurrencyBaseRate TargetCurrencyBaseRate Rate Yes 0..1ExchangeMarketID ExchangeMarketID Identifier Yes 0..1CalculationRate CalculationRate Rate Yes 0..1MathematicOperatorCode MathematicOperatorCode Code Yes 0..1Date Date Date Yes 0..1

Subclasses in class TaxExchangeRate (Invoice.TaxExchangeRate) UBL-Name Name Usage Cardi

nalityReference

ForeignExchangeContract ForeignExchangeContract Yes 0..1 3.15.1

OIOUBL Invoice - UBL 2.0 Invoice Side 105

3.15. Invoice.TaxExchangeRate

Field specifications

SourceCurrencyCodeFieldname SourceCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The reference currency for the Exchange Rate; the currency from which the exchange is being made

(CC Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example DKK

SourceCurrencyBaseRateFieldname SourceCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the source currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 0.34

TargetCurrencyCodeFieldname TargetCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The target currency for the Exchange Rate; the currency to which the exchange is being made (CC

Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example EUR

TargetCurrencyBaseRateFieldname TargetCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the target currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 3.21

ExchangeMarketIDFieldname ExchangeMarketID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition The identifier for the currency exchange market used as the source of the Exchange RateExample Danmarks Nationalbank

CalculationRateFieldname CalculationRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The factor applied to the source currency to calculate the target currencyExample 0.1300

MathematicOperatorCodeFieldname MathematicOperatorCode Alternative termCardinality 0..1 Usage YesDatatype CodeDefinition An identifier for whether the Calculation Rate should be used to multiply or to divide; expressed as a

codeCodelist urn:oasis:names:specification:ubl:schema:xsd:OperatorCodeExample Multiply

Date

OIOUBL Invoice - UBL 2.0 Invoice Side 106

3.15. Invoice.TaxExchangeRate

Fieldname Date Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date of the ExchangeExample 39041

Class Specification

ForeignExchangeContractClassname ForeignExchangeContract Alternative termCardinality 0..1 Usage YesDatatype ContractDefinition An association to Foreign Exchange ContractSee section 3.15.1

Excluded classes and fields in TaxExchangeRate (Invoice.TaxExchangeRate) None

OIOUBL Invoice - UBL 2.0 Invoice Side 107

3.15.1. Invoice.TaxExchangeRate.ForeignExchangeContract

3.15.1. Invoice.TaxExchangeRate.ForeignExchangeContract

ForeignExchangeContract (Invoice.TaxExchangeRate.ForeignExchangeContract) specification

Name Invoice.TaxExchangeRate.ForeignExchangeContract

Alternative term

Definition Information about a Contract

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1IssueDate IssueDate Date Bilateral 0..1IssueTime IssueTime Time Bilateral 0..1ContractTypeCode ContractTypeCode Code Bilateral 0..1ContractType ContractType Text Yes 0..1

Subclasses in class ForeignExchangeContract (Invoice.TaxExchangeRate.ForeignExchangeContract)

UBL-Name Name Usage Cardinality

Reference

ValidityPeriod ValidityPeriod Bilateral 0..1 G30 3.78ContractDocumentReference ContractDocumentReference Yes 0..1 3.15.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 108

3.15.1. Invoice.TaxExchangeRate.ForeignExchangeContract

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the ContractBusinessrules An identifier known by relevant partiesExample CC23

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date on which the Contract was issued.

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time at which the Contract was issued.

ContractTypeCodeFieldname ContractTypeCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The type of Contract expressed as a codeBusinessrules A bilateral specified code if applicableExample D1

ContractTypeFieldname ContractType Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The type of Contract expressed as textBusinessrules Use if no code is applicable.Recommendation OptionalDependency ../ContractTypeCodeExample Framework contract

Class Specification

ValidityPeriodClassname ValidityPeriod Alternative termCardinality 0..1 Usage BilateralDatatype PeriodDefinition An association to Validity PeriodSee section G30 3.78

ContractDocumentReferenceClassname ContractDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Contract Document ReferenceSee section 3.15.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 109

3.15.1. Invoice.TaxExchangeRate.ForeignExchangeContract

Excluded classes and fields in ForeignExchangeContract (Invoice.TaxExchangeRate.ForeignExchangeContract) None

OIOUBL Invoice - UBL 2.0 Invoice Side 110

3.15.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference

3.15.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference

ContractDocumentReference (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference) specification

Name Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ContractDocumentReference (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.15.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 111

3.15.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.15.1.1.1

Excluded classes and fields in ContractDocumentReference (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 112

3.15.1.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

3.15.1.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Attachment (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) specification

Name Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

OIOUBL Invoice - UBL 2.0 Invoice Side 113

3.15.1.1.1. Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.TaxExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 114

3.16. Invoice.PricingExchangeRate

3.16. Invoice.PricingExchangeRate

PricingExchangeRate (Invoice.PricingExchangeRate) specificationName Invoice.PricingExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YDefinition Information about Exchange RateSee also OIOUBL_GUIDE_CURRENCY ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalitySourceCurrencyCode SourceCurrencyCode Code Yes 1SourceCurrencyBaseRate SourceCurrencyBaseRate Rate Yes 0..1TargetCurrencyCode TargetCurrencyCode Code Yes 1TargetCurrencyBaseRate TargetCurrencyBaseRate Rate Yes 0..1ExchangeMarketID ExchangeMarketID Identifier Yes 0..1CalculationRate CalculationRate Rate Yes 0..1MathematicOperatorCode MathematicOperatorCode Code Yes 0..1Date Date Date Yes 0..1

Subclasses in class PricingExchangeRate (Invoice.PricingExchangeRate) UBL-Name Name Usage Cardi

nalityReference

ForeignExchangeContract ForeignExchangeContract Yes 0..1 3.16.1

OIOUBL Invoice - UBL 2.0 Invoice Side 115

3.16. Invoice.PricingExchangeRate

Field specifications

SourceCurrencyCodeFieldname SourceCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The reference currency for the Exchange Rate; the currency from which the exchange is being made

(CC Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example DKK

SourceCurrencyBaseRateFieldname SourceCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the source currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 0.34

TargetCurrencyCodeFieldname TargetCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The target currency for the Exchange Rate; the currency to which the exchange is being made (CC

Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example EUR

TargetCurrencyBaseRateFieldname TargetCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the target currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 3.21

ExchangeMarketIDFieldname ExchangeMarketID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition The identifier for the currency exchange market used as the source of the Exchange RateExample Danmarks Nationalbank

CalculationRateFieldname CalculationRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The factor applied to the source currency to calculate the target currencyExample 0.1300

MathematicOperatorCodeFieldname MathematicOperatorCode Alternative termCardinality 0..1 Usage YesDatatype CodeDefinition An identifier for whether the Calculation Rate should be used to multiply or to divide; expressed as a

codeCodelist urn:oasis:names:specification:ubl:schema:xsd:OperatorCodeExample Multiply

Date

OIOUBL Invoice - UBL 2.0 Invoice Side 116

3.16. Invoice.PricingExchangeRate

Fieldname Date Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date of the ExchangeExample 39041

Class Specification

ForeignExchangeContractClassname ForeignExchangeContract Alternative termCardinality 0..1 Usage YesDatatype ContractDefinition An association to Foreign Exchange ContractSee section 3.16.1

Excluded classes and fields in PricingExchangeRate (Invoice.PricingExchangeRate) None

OIOUBL Invoice - UBL 2.0 Invoice Side 117

3.16.1. Invoice.PricingExchangeRate.ForeignExchangeContract

3.16.1. Invoice.PricingExchangeRate.ForeignExchangeContract

ForeignExchangeContract (Invoice.PricingExchangeRate.ForeignExchangeContract) specification

Name Invoice.PricingExchangeRate.ForeignExchangeContract

Alternative term

Definition Information about a Contract

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1IssueDate IssueDate Date Bilateral 0..1IssueTime IssueTime Time Bilateral 0..1ContractTypeCode ContractTypeCode Code Bilateral 0..1ContractType ContractType Text Yes 0..1

Subclasses in class ForeignExchangeContract (Invoice.PricingExchangeRate.ForeignExchangeContract)

UBL-Name Name Usage Cardinality

Reference

ValidityPeriod ValidityPeriod Bilateral 0..1 G30 3.78ContractDocumentReference ContractDocumentReference Yes 0..1 3.16.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 118

3.16.1. Invoice.PricingExchangeRate.ForeignExchangeContract

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the ContractBusinessrules An identifier known by relevant partiesExample CC23

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date on which the Contract was issued.

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time at which the Contract was issued.

ContractTypeCodeFieldname ContractTypeCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The type of Contract expressed as a codeBusinessrules A bilateral specified code if applicableExample D1

ContractTypeFieldname ContractType Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The type of Contract expressed as textBusinessrules Use if no code is applicable.Recommendation OptionalDependency ../ContractTypeCodeExample Framework contract

Class Specification

ValidityPeriodClassname ValidityPeriod Alternative termCardinality 0..1 Usage BilateralDatatype PeriodDefinition An association to Validity PeriodSee section G30 3.78

ContractDocumentReferenceClassname ContractDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Contract Document ReferenceSee section 3.16.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 119

3.16.1. Invoice.PricingExchangeRate.ForeignExchangeContract

Excluded classes and fields in ForeignExchangeContract (Invoice.PricingExchangeRate.ForeignExchangeContract) None

OIOUBL Invoice - UBL 2.0 Invoice Side 120

3.16.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference

3.16.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference

ContractDocumentReference (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference) specification

Name Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ContractDocumentReference (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.16.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 121

3.16.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.16.1.1.1

Excluded classes and fields in ContractDocumentReference (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 122

3.16.1.1.1.Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

3.16.1.1.1. Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Attachment (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) specification

Name Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

OIOUBL Invoice - UBL 2.0 Invoice Side 123

3.16.1.1.1.Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.PricingExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 124

3.17. Invoice.PaymentExchangeRate

3.17. Invoice.PaymentExchangeRate

PaymentExchangeRate (Invoice.PaymentExchangeRate) specificationName Invoice.PaymentExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YDefinition Information about Exchange RateSee also OIOUBL_GUIDE_CURRENCY ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalitySourceCurrencyCode SourceCurrencyCode Code Yes 1SourceCurrencyBaseRate SourceCurrencyBaseRate Rate Yes 0..1TargetCurrencyCode TargetCurrencyCode Code Yes 1TargetCurrencyBaseRate TargetCurrencyBaseRate Rate Yes 0..1ExchangeMarketID ExchangeMarketID Identifier Yes 0..1CalculationRate CalculationRate Rate Yes 0..1MathematicOperatorCode MathematicOperatorCode Code Yes 0..1Date Date Date Yes 0..1

Subclasses in class PaymentExchangeRate (Invoice.PaymentExchangeRate) UBL-Name Name Usage Cardi

nalityReference

ForeignExchangeContract ForeignExchangeContract Yes 0..1 3.17.1

OIOUBL Invoice - UBL 2.0 Invoice Side 125

3.17. Invoice.PaymentExchangeRate

Field specifications

SourceCurrencyCodeFieldname SourceCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The reference currency for the Exchange Rate; the currency from which the exchange is being made

(CC Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example DKK

SourceCurrencyBaseRateFieldname SourceCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the source currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 0.34

TargetCurrencyCodeFieldname TargetCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The target currency for the Exchange Rate; the currency to which the exchange is being made (CC

Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example EUR

TargetCurrencyBaseRateFieldname TargetCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the target currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 3.21

ExchangeMarketIDFieldname ExchangeMarketID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition The identifier for the currency exchange market used as the source of the Exchange RateExample Danmarks Nationalbank

CalculationRateFieldname CalculationRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The factor applied to the source currency to calculate the target currencyExample 0.1300

MathematicOperatorCodeFieldname MathematicOperatorCode Alternative termCardinality 0..1 Usage YesDatatype CodeDefinition An identifier for whether the Calculation Rate should be used to multiply or to divide; expressed as a

codeCodelist urn:oasis:names:specification:ubl:schema:xsd:OperatorCodeExample Multiply

Date

OIOUBL Invoice - UBL 2.0 Invoice Side 126

3.17. Invoice.PaymentExchangeRate

Fieldname Date Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date of the ExchangeExample 39041

Class Specification

ForeignExchangeContractClassname ForeignExchangeContract Alternative termCardinality 0..1 Usage YesDatatype ContractDefinition An association to Foreign Exchange ContractSee section 3.17.1

Excluded classes and fields in PaymentExchangeRate (Invoice.PaymentExchangeRate) None

OIOUBL Invoice - UBL 2.0 Invoice Side 127

3.17.1. Invoice.PaymentExchangeRate.ForeignExchangeContract

3.17.1. Invoice.PaymentExchangeRate.ForeignExchangeContract

ForeignExchangeContract (Invoice.PaymentExchangeRate.ForeignExchangeContract) specification

Name Invoice.PaymentExchangeRate.ForeignExchangeContract

Alternative term

Definition Information about a Contract

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1IssueDate IssueDate Date Bilateral 0..1IssueTime IssueTime Time Bilateral 0..1ContractTypeCode ContractTypeCode Code Bilateral 0..1ContractType ContractType Text Yes 0..1

Subclasses in class ForeignExchangeContract (Invoice.PaymentExchangeRate.ForeignExchangeContract)

UBL-Name Name Usage Cardinality

Reference

ValidityPeriod ValidityPeriod Bilateral 0..1 G30 3.78ContractDocumentReference ContractDocumentReference Yes 0..1 3.17.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 128

3.17.1. Invoice.PaymentExchangeRate.ForeignExchangeContract

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the ContractBusinessrules An identifier known by relevant partiesExample CC23

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date on which the Contract was issued.

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time at which the Contract was issued.

ContractTypeCodeFieldname ContractTypeCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The type of Contract expressed as a codeBusinessrules A bilateral specified code if applicableExample D1

ContractTypeFieldname ContractType Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The type of Contract expressed as textBusinessrules Use if no code is applicable.Recommendation OptionalDependency ../ContractTypeCodeExample Framework contract

Class Specification

ValidityPeriodClassname ValidityPeriod Alternative termCardinality 0..1 Usage BilateralDatatype PeriodDefinition An association to Validity PeriodSee section G30 3.78

ContractDocumentReferenceClassname ContractDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Contract Document ReferenceSee section 3.17.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 129

3.17.1. Invoice.PaymentExchangeRate.ForeignExchangeContract

Excluded classes and fields in ForeignExchangeContract (Invoice.PaymentExchangeRate.ForeignExchangeContract) None

OIOUBL Invoice - UBL 2.0 Invoice Side 130

3.17.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference

3.17.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference

ContractDocumentReference (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference) specification

Name Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ContractDocumentReference (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.17.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 131

3.17.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.17.1.1.1

Excluded classes and fields in ContractDocumentReference (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 132

3.17.1.1.1.Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

3.17.1.1.1. Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Attachment (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) specification

Name Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

OIOUBL Invoice - UBL 2.0 Invoice Side 133

3.17.1.1.1.Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.PaymentExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 134

3.18. Invoice.PaymentAlternativeExchangeRate

3.18. Invoice.PaymentAlternativeExchangeRate

PaymentAlternativeExchangeRate (Invoice.PaymentAlternativeExchangeRate) specificationName Invoice.PaymentAlternativeExchangeRate Alternative term OIOUBL_GUIDE_CURRENC

YDefinition Information about Exchange RateSee also OIOUBL_GUIDE_CURRENCY ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalitySourceCurrencyCode SourceCurrencyCode Code Yes 1SourceCurrencyBaseRate SourceCurrencyBaseRate Rate Yes 0..1TargetCurrencyCode TargetCurrencyCode Code Yes 1TargetCurrencyBaseRate TargetCurrencyBaseRate Rate Yes 0..1ExchangeMarketID ExchangeMarketID Identifier Yes 0..1CalculationRate CalculationRate Rate Yes 0..1MathematicOperatorCode MathematicOperatorCode Code Yes 0..1Date Date Date Yes 0..1

Subclasses in class PaymentAlternativeExchangeRate (Invoice.PaymentAlternativeExchangeRate)

UBL-Name Name Usage Cardinality

Reference

ForeignExchangeContract ForeignExchangeContract Yes 0..1 3.18.1

OIOUBL Invoice - UBL 2.0 Invoice Side 135

3.18. Invoice.PaymentAlternativeExchangeRate

Field specifications

SourceCurrencyCodeFieldname SourceCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The reference currency for the Exchange Rate; the currency from which the exchange is being made

(CC Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example DKK

SourceCurrencyBaseRateFieldname SourceCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the source currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 0.34

TargetCurrencyCodeFieldname TargetCurrencyCode Alternative termCardinality 1 Usage YesDatatype CodeDefinition The target currency for the Exchange Rate; the currency to which the exchange is being made (CC

Definition)Codelist urn:un:unece:uncefact:codelist:specification:54217:2001Example EUR

TargetCurrencyBaseRateFieldname TargetCurrencyBaseRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The unit base of the target currency for currencies with small denominations.Businessrules Only used for minor currencies.Example 3.21

ExchangeMarketIDFieldname ExchangeMarketID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition The identifier for the currency exchange market used as the source of the Exchange RateExample Danmarks Nationalbank

CalculationRateFieldname CalculationRate Alternative termCardinality 0..1 Usage YesDatatype RateDefinition The factor applied to the source currency to calculate the target currencyExample 0.1300

MathematicOperatorCodeFieldname MathematicOperatorCode Alternative termCardinality 0..1 Usage YesDatatype CodeDefinition An identifier for whether the Calculation Rate should be used to multiply or to divide; expressed as a

codeCodelist urn:oasis:names:specification:ubl:schema:xsd:OperatorCodeExample Multiply

Date

OIOUBL Invoice - UBL 2.0 Invoice Side 136

3.18. Invoice.PaymentAlternativeExchangeRate

Fieldname Date Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date of the ExchangeExample 39041

Class Specification

ForeignExchangeContractClassname ForeignExchangeContract Alternative termCardinality 0..1 Usage YesDatatype ContractDefinition An association to Foreign Exchange ContractSee section 3.18.1

Excluded classes and fields in PaymentAlternativeExchangeRate (Invoice.PaymentAlternativeExchangeRate) None

OIOUBL Invoice - UBL 2.0 Invoice Side 137

3.18.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract

3.18.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract

ForeignExchangeContract (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract) specification

Name Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract

Alternative term

Definition Information about a Contract

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1IssueDate IssueDate Date Bilateral 0..1IssueTime IssueTime Time Bilateral 0..1ContractTypeCode ContractTypeCode Code Bilateral 0..1ContractType ContractType Text Yes 0..1

Subclasses in class ForeignExchangeContract (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract)

UBL-Name Name Usage Cardinality

Reference

ValidityPeriod ValidityPeriod Bilateral 0..1 G30 3.78ContractDocumentReference ContractDocumentReference Yes 0..1 3.18.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 138

3.18.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the ContractBusinessrules An identifier known by relevant partiesExample CC23

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date on which the Contract was issued.

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time at which the Contract was issued.

ContractTypeCodeFieldname ContractTypeCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The type of Contract expressed as a codeBusinessrules A bilateral specified code if applicableExample D1

ContractTypeFieldname ContractType Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The type of Contract expressed as textBusinessrules Use if no code is applicable.Recommendation OptionalDependency ../ContractTypeCodeExample Framework contract

Class Specification

ValidityPeriodClassname ValidityPeriod Alternative termCardinality 0..1 Usage BilateralDatatype PeriodDefinition An association to Validity PeriodSee section G30 3.78

ContractDocumentReferenceClassname ContractDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Contract Document ReferenceSee section 3.18.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 139

3.18.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract

Excluded classes and fields in ForeignExchangeContract (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract) None

OIOUBL Invoice - UBL 2.0 Invoice Side 140

3.18.1.1.Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference

3.18.1.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference

ContractDocumentReference (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference) specification

Name Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ContractDocumentReference (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.18.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 141

3.18.1.1.Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.18.1.1.1

Excluded classes and fields in ContractDocumentReference (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 142

3.18.1.1.1.Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

3.18.1.1.1. Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Attachment (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) specification

Name Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

OIOUBL Invoice - UBL 2.0 Invoice Side 143

3.18.1.1.1.Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.PaymentAlternativeExchangeRate.ForeignExchangeContract.ContractDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 144

3.19. Invoice.InvoiceLine

3.19. Invoice.InvoiceLine

InvoiceLine (Invoice.InvoiceLine) specificationName Invoice.InvoiceLine Alternative termDefinition Information about an Invoice Line

OIOUBL Invoice - UBL 2.0 Invoice Side 145

3.19. Invoice.InvoiceLine

Example<cac:InvoiceLine> <cbc:ID>1</cbc:ID> <cbc:InvoicedQuantity unitCode="EA">1.00</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="DKK">7985.00</cbc:LineExtensionAmount> + <cac:TaxTotal /> + <cac:Item /> + <cac:Price /></cac:InvoiceLine>

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1UUID UUID Identifier Bilateral 0..1Note Note Text Yes 0..1InvoicedQuantity InvoicedQuantity Quantity Yes 1LineExtensionAmount LineExtensionAmount Amount Yes 1TaxPointDate TaxPointDate Date Bilateral 0..1AccountingCostCode AccountingCostCode Code Bilateral 0..1AccountingCost AccountingCost Text Yes 0..1FreeOfChargeIndicator FreeOfChargeIndicator Indicator Yes 0..1

Subclasses in class InvoiceLine (Invoice.InvoiceLine) UBL-Name Name Usage Cardi

nalityReference

OrderLineReference OrderLineReference Yes 0..1 3.19.1DespatchLineReference DespatchLineReference Bilateral 0..n G30 3.58ReceiptLineReference ReceiptLineReference Bilateral 0..n G30 3.58BillingReference BillingReference Bilateral 0..n 3.19.2PricingReference PricingReference Bilateral 0..1 G30 3.83DocumentReference DocumentReference Yes 0..n G30 3.36OriginatorParty OriginatorParty Bilateral 0..1 G30 3.70Delivery Delivery Yes 0..n 3.19.3AllowanceCharge AllowanceCharge Yes 0..n G30 3.4TaxTotal TaxTotal Yes 1..n G30 3.104Item Item Yes 1 3.19.4Price Price Yes 1 G30 3.81

OIOUBL Invoice - UBL 2.0 Invoice Side 146

3.19. Invoice.InvoiceLine

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Invoice Line

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the Invoice Line instanceSee also OIOUBL_GUIDE_UUID ( G32 )

NoteFieldname Note Alternative termCardinality 0..1 Usage YesDatatype TextDefinition Free form text applying to the Invoice Line. This element may contain notes or any other similar

information that is not contained explicitly in another structure.

InvoicedQuantityFieldname InvoicedQuantity Alternative termCardinality 1 Usage YesDatatype QuantityDefinition The quantity (of Items) on the Invoice Line

LineExtensionAmountFieldname LineExtensionAmount Alternative termCardinality 1 Usage YesDatatype AmountDefinition The total amount for the Invoice Line including Allowance Charges but net of taxes

TaxPointDateFieldname TaxPointDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date of the Invoice Line used to indicate the point at which tax becomes applicable.Businessrules Not used in Denmark

AccountingCostCodeFieldname AccountingCostCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition The Buyer's accounting code applied to the Invoice LineRecommendation Only used in Procurement-BilSim, Procurement-BilSimR, Procurement-BilBas-1.0

AccountingCostFieldname AccountingCost Alternative termCardinality 0..1 Usage YesDatatype TextDefinition The Buyer's accounting code applied to the Invoice LineRecommendation Only used in Procurement-BilSim, Procurement-BilSimR, Procurement-BilBas-1.0

FreeOfChargeIndicator

OIOUBL Invoice - UBL 2.0 Invoice Side 147

3.19. Invoice.InvoiceLine

Fieldname FreeOfChargeIndicator Alternative termCardinality 0..1 Usage YesDatatype IndicatorDefinition Indicates whether the Invoice Line is Free Of Charge (default = False)Businessrules Used to specify that items are free of charge, no matter the price.

Class Specification

OrderLineReferenceClassname OrderLineReference Alternative termCardinality 0..1 Usage YesDatatype OrderLineReferenceDefinition An association to Order Line ReferenceBusinessrules Only use if OrderReference is specified on header levelDependency /Invoice.OrderReference.IDSee section 3.19.1

DespatchLineReferenceClassname DespatchLineReference Alternative termCardinality 0..n Usage BilateralDatatype LineReferenceDefinition An association to Despatch Line ReferenceSee section G30 3.58

ReceiptLineReferenceClassname ReceiptLineReference Alternative termCardinality 0..n Usage BilateralDatatype LineReferenceDefinition An association to Receipt Line ReferenceSee section G30 3.58

BillingReferenceClassname BillingReference Alternative termCardinality 0..n Usage BilateralDatatype BillingReferenceDefinition An association to Billing ReferenceSee section 3.19.2

PricingReferenceClassname PricingReference Alternative termCardinality 0..1 Usage BilateralDatatype PricingReferenceDefinition An association to Pricing ReferenceSee section G30 3.83

DocumentReferenceClassname DocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..n Usage YesDatatype DocumentReferenceDefinition An association to Document ReferenceSee section G30 3.36See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

OriginatorPartyClassname OriginatorParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition The party who originated Order (to which the Invoice is related)See section G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 148

3.19. Invoice.InvoiceLine

DeliveryClassname Delivery Alternative term OIOUBL_GUIDE_DELIVERYCardinality 0..n Usage YesDatatype DeliveryDefinition An association to DeliveryBusinessrules Only use if not specified on header levelSee section 3.19.3See also OIOUBL_GUIDE_DELIVERY ( OIO )

AllowanceChargeClassname AllowanceCharge Alternative term OIOUBL_GUIDE_ALLOWAN

CECardinality 0..n Usage YesDatatype AllowanceChargeDefinition An association to Allowance ChargeSee section G30 3.4See also OIOUBL_GUIDE_ALLOWANCE ( OIO )

TaxTotalClassname TaxTotal Alternative term OIOUBL_GUIDE_TAXCardinality 1..n Usage YesDatatype TaxTotalDefinition An association to Tax TotalSee section G30 3.104See also OIOUBL_GUIDE_TAX ( OIO )

ItemClassname Item Alternative termCardinality 1 Usage YesDatatype ItemDefinition An association to ItemSee section 3.19.4

PriceClassname Price Alternative term OIOUBL_GUIDE_PRICESCardinality 1 Usage YesDatatype PriceDefinition An association to agreed PriceSee section G30 3.81See also OIOUBL_GUIDE_PRICES ( OIO )

Excluded classes and fields in InvoiceLine (Invoice.InvoiceLine) Name Name TypePaymentTerms PaymentTerms Class

DeliveryTerms DeliveryTerms Class

OIOUBL Invoice - UBL 2.0 Invoice Side 149

3.19.1. Invoice.InvoiceLine.OrderLineReference

3.19.1. Invoice.InvoiceLine.OrderLineReference

OrderLineReference (Invoice.InvoiceLine.OrderLineReference) specificationName Invoice.InvoiceLine.OrderLineReference Alternative termDefinition Information about an Order Line Reference

Example<cac:OrderLineReference> <cbc:LineID>2</cbc:LineID></cac:OrderLineReference>

FieldsUBL-Name Name Datatype Usage CardinalityLineID LineID Identifier Yes 1SalesOrderLineID SalesOrderLineID Identifier Bilateral 0..1UUID UUID Identifier Bilateral 0..1LineStatusCode LineStatusCode Code Bilateral 0..1

Subclasses in class OrderLineReference (Invoice.InvoiceLine.OrderLineReference) UBL-Name Name Usage Cardi

nalityReference

OrderReference OrderReference Bilateral 0..1 3.19.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 150

3.19.1. Invoice.InvoiceLine.OrderLineReference

Field specifications

LineIDFieldname LineID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the referenced Order Line assigned by the Buyer

SalesOrderLineIDFieldname SalesOrderLineID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The identifier for the referenced Order Line assigned by the Seller

UUIDFieldname UUID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Order Line instance

LineStatusCodeFieldname LineStatusCode Alternative termCardinality 0..1 Usage BilateralDatatype CodeDefinition Identifies the status of the referenced Order Line with respect to its original state

Class Specification

OrderReferenceClassname OrderReference Alternative termCardinality 0..1 Usage BilateralDatatype OrderReferenceDefinition An association to Order ReferenceRecommendation Only reference to one order is allowedSee section 3.19.1.1

Excluded classes and fields in OrderLineReference (Invoice.InvoiceLine.OrderLineReference) None

OIOUBL Invoice - UBL 2.0 Invoice Side 151

3.19.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference

3.19.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference

OrderReference (Invoice.InvoiceLine.OrderLineReference.OrderReference) specificationName Invoice.InvoiceLine.OrderLineReference.Ord

erReferenceAlternative term

Definition Information about an Order Reference

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1SalesOrderID SalesOrderID Identifier Bilateral 0..1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Bilateral 0..1IssueTime IssueTime Time Bilateral 0..1CustomerReference CustomerReference Text Bilateral 0..1

Subclasses in class OrderReference (Invoice.InvoiceLine.OrderLineReference.OrderReference)

UBL-Name Name Usage Cardinality

Reference

DocumentReference DocumentReference Yes 0..1 3.19.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 152

3.19.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the referenced Order assigned by the Buyer

SalesOrderIDFieldname SalesOrderID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The identifier for the referenced Order assigned by the Seller

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Order is a copy (true) or the original (false)

UUIDFieldname UUID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Order instance

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date on which the referenced Order was issued

IssueTimeFieldname IssueTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The time on which the referenced Order was issued

CustomerReferenceFieldname CustomerReference Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition A supplementary reference for the referenced Order

Class Specification

DocumentReferenceClassname DocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition An association to Document ReferenceSee section 3.19.1.1.1See also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

Excluded classes and fields in OrderReference (Invoice.InvoiceLine.OrderLineReference.OrderReference) None

OIOUBL Invoice - UBL 2.0 Invoice Side 153

3.19.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference

OIOUBL Invoice - UBL 2.0 Invoice Side 154

3.19.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference

3.19.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference

DocumentReference (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference) specification

Name Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class DocumentReference (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.19.1.1.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 155

3.19.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.1.1.1.1

Excluded classes and fields in DocumentReference (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 156

3.19.1.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment

3.19.1.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment

Attachment (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment) specification

Name Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 157

3.19.1.1.1.1. Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.OrderLineReference.OrderReference.DocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 158

3.19.2. Invoice.InvoiceLine.BillingReference

3.19.2. Invoice.InvoiceLine.BillingReference

BillingReference (Invoice.InvoiceLine.BillingReference) specificationName Invoice.InvoiceLine.BillingReference Alternative termDefinition information directly relating to a related document

FieldsNone

Subclasses in class BillingReference (Invoice.InvoiceLine.BillingReference) UBL-Name Name Usage Cardi

nalityReference

InvoiceDocumentReference InvoiceDocumentReference Yes 0..1 3.19.2.1SelfBilledInvoiceDocumentReference SelfBilledInvoiceDocumentReference Bilateral 0..1 3.19.2.2CreditNoteDocumentReference CreditNoteDocumentReference Yes 0..1 3.19.2.3SelfBilledCreditNoteDocumentReference SelfBilledCreditNoteDocumentReference Bilateral 0..1 3.19.2.4ReminderDocumentReference ReminderDocumentReference Yes 0..1 3.19.2.5BillingReferenceLine BillingReferenceLine Yes 0..1 G30 3.7

Class Specification

InvoiceDocumentReferenceClassname InvoiceDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more invoices which are being relatedSee section 3.19.2.1

SelfBilledInvoiceDocumentReference

OIOUBL Invoice - UBL 2.0 Invoice Side 159

3.19.2. Invoice.InvoiceLine.BillingReference Classname SelfBilledInvoiceDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more self billed invoices which are

being relatedSee section 3.19.2.2

CreditNoteDocumentReferenceClassname CreditNoteDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more credit notesSee section 3.19.2.3

SelfBilledCreditNoteDocumentReferenceClassname SelfBilledCreditNoteDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more self billed credit notesSee section 3.19.2.4

ReminderDocumentReferenceClassname ReminderDocumentReference Alternative termCardinality 0..1 Usage YesDatatype DocumentReferenceDefinition Provides a means of associating a Line (optionally) with one or more remindersSee section 3.19.2.5

BillingReferenceLineClassname BillingReferenceLine Alternative termCardinality 0..1 Usage YesDatatype BillingReferenceLineDefinition an association to Billing Reference LineBusinessrules Use this in lines only.See section G30 3.7

Excluded classes and fields in BillingReference (Invoice.InvoiceLine.BillingReference) Name Name TypeDebitNoteDocumentReference DebitNoteDocumentReference Class

AdditionalDocumentReference AdditionalDocumentReference Class

OIOUBL Invoice - UBL 2.0 Invoice Side 160

3.19.2.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference

3.19.2.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference

InvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference) specification

Name Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class InvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.19.2.1.1

OIOUBL Invoice - UBL 2.0 Invoice Side 161

3.19.2.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.2.1.1

Excluded classes and fields in InvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 162

3.19.2.1.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment

3.19.2.1.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 163

3.19.2.1.1. Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.BillingReference.InvoiceDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 164

3.19.2.2. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference

3.19.2.2. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference

SelfBilledInvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference) specification

Name Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class SelfBilledInvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Bilateral 0..1 3.19.2.2.1

OIOUBL Invoice - UBL 2.0 Invoice Side 165

3.19.2.2. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.2.2.1

Excluded classes and fields in SelfBilledInvoiceDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 166

3.19.2.2.1. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

3.19.2.2.1. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 167

3.19.2.2.1. Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledInvoiceDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 168

3.19.2.3. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference

3.19.2.3. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference

CreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference) specification

Name Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class CreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.19.2.3.1

OIOUBL Invoice - UBL 2.0 Invoice Side 169

3.19.2.3. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.2.3.1

Excluded classes and fields in CreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 170

3.19.2.3.1. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment

3.19.2.3.1. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 171

3.19.2.3.1. Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.BillingReference.CreditNoteDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 172

3.19.2.4. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference

3.19.2.4. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference

SelfBilledCreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference) specification

Name Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class SelfBilledCreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Bilateral 0..1 3.19.2.4.1

OIOUBL Invoice - UBL 2.0 Invoice Side 173

3.19.2.4. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.2.4.1

Excluded classes and fields in SelfBilledCreditNoteDocumentReference (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 174

3.19.2.4.1. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

3.19.2.4.1. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 175

3.19.2.4.1. Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.BillingReference.SelfBilledCreditNoteDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 176

3.19.2.5. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference

3.19.2.5. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference

ReminderDocumentReference (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference) specification

Name Invoice.InvoiceLine.BillingReference.ReminderDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class ReminderDocumentReference (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Yes 0..1 3.19.2.5.1

OIOUBL Invoice - UBL 2.0 Invoice Side 177

3.19.2.5. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.2.5.1

Excluded classes and fields in ReminderDocumentReference (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 178

3.19.2.5.1. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment

3.19.2.5.1. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 179

3.19.2.5.1. Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment

Class Specification

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.BillingReference.ReminderDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 180

3.19.3. Invoice.InvoiceLine.DocumentReference

3.19.3. Invoice.InvoiceLine.DocumentReference

DocumentReference (Invoice.InvoiceLine.DocumentReference) specificationName Invoice.InvoiceLine.DocumentReference Alternative term OIOUBL_GUIDE_DOCUME

NTREFDefinition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Yes 0..1IssueDate IssueDate Date Yes 0..1XPath XPath Text Yes 0..n

Subclasses in class DocumentReference (Invoice.InvoiceLine.DocumentReference) UBL-Name Name Usage Cardi

nalityReference

Attachment Attachment Yes 0..1 3.19.3.1

OIOUBL Invoice - UBL 2.0 Invoice Side 181

3.19.3. Invoice.InvoiceLine.DocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage YesDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage YesDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage YesDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.3.1

Excluded classes and fields in DocumentReference (Invoice.InvoiceLine.DocumentReference) None

OIOUBL Invoice - UBL 2.0 Invoice Side 182

3.19.3.1. Invoice.InvoiceLine.DocumentReference.Attachment

3.19.3.1. Invoice.InvoiceLine.DocumentReference.Attachment

Attachment (Invoice.InvoiceLine.DocumentReference.Attachment) specificationName Invoice.InvoiceLine.DocumentReference.Atta

chmentAlternative term OIOUBL_GUIDE_ATTACHM

ENTDefinition Information about an attached document. An attachment can be referred to externally (with the URI

element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.DocumentReference.Attachment) UBL-Name Name Usage Cardi

nalityReference

ExternalReference ExternalReference Yes 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

ExternalReference

OIOUBL Invoice - UBL 2.0 Invoice Side 183

3.19.3.1. Invoice.InvoiceLine.DocumentReference.Attachment Classname ExternalReference Alternative termCardinality 0..1 Usage YesDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.DocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 184

3.19.4. Invoice.InvoiceLine.Delivery

3.19.4. Invoice.InvoiceLine.Delivery

Delivery (Invoice.InvoiceLine.Delivery) specificationName Invoice.InvoiceLine.Delivery Alternative termDefinition An association to Delivery

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 0..1Quantity Quantity Quantity Yes 0..1MinimumQuantity MinimumQuantity Quantity Bilateral 0..1MaximumQuantity MaximumQuantity Quantity Bilateral 0..1ActualDeliveryDate ActualDeliveryDate Date Yes 0..1ActualDeliveryTime ActualDeliveryTime Time Bilateral 0..1TrackingID TrackingID Identifier Bilateral 0..1

Subclasses in class Delivery (Invoice.InvoiceLine.Delivery) UBL-Name Name Usage Cardi

nalityReference

DeliveryLocation DeliveryLocation Yes 0..1 G30 3.30.1RequestedDeliveryPeriod RequestedDeliveryPeriod Yes 0..1 G30 3.78DeliveryParty DeliveryParty Yes 0..1 G30 3.70Despatch Despatch Bilateral 0..1 G30 3.32

OIOUBL Invoice - UBL 2.0 Invoice Side 185

3.19.4. Invoice.InvoiceLine.Delivery

Field specifications

IDFieldname ID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition Identification for Delivery

QuantityFieldname Quantity Alternative termCardinality 0..1 Usage YesDatatype QuantityDefinition The quantity for a Delivery

MinimumQuantityFieldname MinimumQuantity Alternative termCardinality 0..1 Usage BilateralDatatype QuantityDefinition The Minimum quantity for a Delivery

MaximumQuantityFieldname MaximumQuantity Alternative termCardinality 0..1 Usage BilateralDatatype QuantityDefinition The Maximum quantity for a Delivery

ActualDeliveryDateFieldname ActualDeliveryDate Alternative termCardinality 0..1 Usage YesDatatype DateDefinition The actual date of Delivery

ActualDeliveryTimeFieldname ActualDeliveryTime Alternative termCardinality 0..1 Usage BilateralDatatype TimeDefinition The actual time of Delivery

TrackingIDFieldname TrackingID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition The tracking ID of the Delivery (for transport tracking)

Class Specification

DeliveryLocationClassname DeliveryLocation Alternative termCardinality 0..1 Usage YesDatatype LocationDefinition An association to LocationBusinessrules All deliveries for one line must go to the same delvery locationRecommendation The Address must be of the type StructuredDK.See section G30 3.30.1

RequestedDeliveryPeriod

OIOUBL Invoice - UBL 2.0 Invoice Side 186

3.19.4. Invoice.InvoiceLine.Delivery Classname RequestedDeliveryPeriod Alternative termCardinality 0..1 Usage YesDatatype PeriodDefinition The requested Delivery periodBusinessrules For customer originated messagesSee section G30 3.78

DeliveryPartyClassname DeliveryParty Alternative term OIOUBL_GUIDE_PARTIESCardinality 0..1 Usage YesDatatype PartyDefinition The Party who the goods/services are delivered to.Businessrules Use if different from the buyer party.See section G30 3.70See also OIOUBL_GUIDE_PARTIES ( OIO )

DespatchClassname Despatch Alternative termCardinality 0..1 Usage BilateralDatatype DespatchDefinition The Party who dispatched the DeliverySee section G30 3.32

Excluded classes and fields in Delivery (Invoice.InvoiceLine.Delivery) Name Name TypeLatestDeliveryDate LatestDeliveryDate Field

LatestDeliveryTime LatestDeliveryTime Field

DeliveryAddress DeliveryAddress Class

PromisedDeliveryPeriod PromisedDeliveryPeriod Class

EstimatedDeliveryPeriod EstimatedDeliveryPeriod Class

OIOUBL Invoice - UBL 2.0 Invoice Side 187

3.19.5. Invoice.InvoiceLine.Item

3.19.5. Invoice.InvoiceLine.Item

OIOUBL Invoice - UBL 2.0 Invoice Side 188

3.19.5. Invoice.InvoiceLine.Item

Item (Invoice.InvoiceLine.Item) specificationName Invoice.InvoiceLine.Item Alternative termDefinition Information directly relating to an item

Example<cac:Item> <cbc:Description>LIFEBOOK E8020 with 15,4� widescreen display</cbc:Description> <cbc:Name>LIFEBOOK E8020</cbc:Name> + <cac:SellersItemIdentification /></cac:Item>

FieldsUBL-Name Name Datatype Usage CardinalityDescription Description Text Yes 0..nPackQuantity PackQuantity Quantity Yes 0..1PackSizeNumeric PackSizeNumeric Numeric Yes 0..1CatalogueIndicator CatalogueIndicator Indicator Bilateral 0..1Name Name Name Yes 1HazardousRiskIndicator HazardousRiskIndicator Indicator Bilateral 0..1AdditionalInformation AdditionalInformation Text Bilateral 0..1Keyword Keyword Text Bilateral 0..1BrandName BrandName Name Bilateral 0..1ModelName ModelName Name Bilateral 0..1

OIOUBL Invoice - UBL 2.0 Invoice Side 189

3.19.5. Invoice.InvoiceLine.Item

Subclasses in class Item (Invoice.InvoiceLine.Item) UBL-Name Name Usage Cardi

nalityReference

BuyersItemIdentification BuyersItemIdentification Yes 0..1 3.19.5.1SellersItemIdentification SellersItemIdentification Yes 0..1 3.19.5.2ManufacturersItemIdentification ManufacturersItemIdentification Bilateral 0..1 3.19.5.3StandardItemIdentification StandardItemIdentification Yes 0..1 3.19.5.4CatalogueItemIdentification CatalogueItemIdentification Bilateral 0..1 3.19.5.5AdditionalItemIdentification AdditionalItemIdentification Bilateral 0..1 3.19.5.6CatalogueDocumentReference CatalogueDocumentReference Bilateral 0..1 3.19.5.7ItemSpecificationDocumentReference ItemSpecificationDocumentReference Bilateral 0..1 G30 3.36OriginCountry OriginCountry Bilateral 0..1 G30 3.24CommodityClassification CommodityClassification Yes 0..n G30 3.18TransactionConditions TransactionConditions Bilateral 0..n G30 3.107HazardousItem HazardousItem Bilateral 0..n G30 3.47ClassifiedTaxCategory ClassifiedTaxCategory Bilateral 0..n G30 3.101AdditionalItemProperty AdditionalItemProperty Bilateral 0..n G30 3.54ManufacturerParty ManufacturerParty Bilateral 0..n G30 3.70InformationContentProviderParty InformationContentProviderParty Bilateral 0..1 G30 3.70OriginAddress OriginAddress Yes 0..1 G30 3.1ItemInstance ItemInstance Yes 0..n G30 3.52

OIOUBL Invoice - UBL 2.0 Invoice Side 190

3.19.5. Invoice.InvoiceLine.Item

Field specifications

DescriptionFieldname Description Alternative termCardinality 0..n Usage YesDatatype TextDefinition A free form field that can be used to give a text description of the item.Businessrules Use only one note per language

PackQuantityFieldname PackQuantity Alternative termCardinality 0..1 Usage YesDatatype QuantityDefinition The unit packaging quantity.

PackSizeNumericFieldname PackSizeNumeric Alternative termCardinality 0..1 Usage YesDatatype NumericDefinition The number of items in a pack.

CatalogueIndicatorFieldname CatalogueIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition An indicator that denotes whether the item was ordered from a catalogue (true) or not (false).

NameFieldname Name Alternative termCardinality 1 Usage YesDatatype NameDefinition A shortname (optionally) given to an item, such as a name from a catalogue, as distinct to a descriptionDependency ../SellersItemIdentification

HazardousRiskIndicatorFieldname HazardousRiskIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition An indicator as to whether the item as delivered is hazardous

AdditionalInformationFieldname AdditionalInformation Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition To provide more details of the item (eg URL of a relevant web page).

KeywordFieldname Keyword Alternative termCardinality 0..1 Usage BilateralDatatype TextDefinition A Seller Party-defined search string for the item. Also could be synonyms.

BrandNameFieldname BrandName Alternative termCardinality 0..1 Usage BilateralDatatype NameDefinition The brand name for the item.

ModelName

OIOUBL Invoice - UBL 2.0 Invoice Side 191

3.19.5. Invoice.InvoiceLine.Item

Fieldname ModelName Alternative termCardinality 0..1 Usage BilateralDatatype NameDefinition Model name for the item

Class Specification

BuyersItemIdentificationClassname BuyersItemIdentification Alternative termCardinality 0..1 Usage YesDatatype ItemIdentificationDefinition Associates the item with its identification according to the buyers system.See section 3.19.5.1

SellersItemIdentificationClassname SellersItemIdentification Alternative termCardinality 0..1 Usage YesDatatype ItemIdentificationDefinition Associates the item with its identification according to the sellers system.See section 3.19.5.2

ManufacturersItemIdentificationClassname ManufacturersItemIdentification Alternative termCardinality 0..1 Usage BilateralDatatype ItemIdentificationDefinition Associates the item with its identification according to the manufacturers system.See section 3.19.5.3

StandardItemIdentificationClassname StandardItemIdentification Alternative termCardinality 0..1 Usage YesDatatype ItemIdentificationDefinition Associates the item with its identification according to a standard system.See section 3.19.5.4

CatalogueItemIdentificationClassname CatalogueItemIdentification Alternative termCardinality 0..1 Usage BilateralDatatype ItemIdentificationDefinition Associates the item with its identification according to a cataloging system.See section 3.19.5.5

AdditionalItemIdentificationClassname AdditionalItemIdentification Alternative termCardinality 0..1 Usage BilateralDatatype ItemIdentificationDefinition Associates the item with other identification meansSee section 3.19.5.6

CatalogueDocumentReferenceClassname CatalogueDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition Associates the item with the catalogue from which the item was selected.See section 3.19.5.7

ItemSpecificationDocumentReference

OIOUBL Invoice - UBL 2.0 Invoice Side 192

3.19.5. Invoice.InvoiceLine.Item Classname ItemSpecificationDocumentReference Alternative termCardinality 0..1 Usage BilateralDatatype DocumentReferenceDefinition An association to item specificationSee section G30 3.36

OriginCountryClassname OriginCountry Alternative termCardinality 0..1 Usage BilateralDatatype CountryDefinition Associates the item with its country of originSee section G30 3.24

CommodityClassificationClassname CommodityClassification Alternative termCardinality 0..n Usage YesDatatype CommodityClassificationDefinition Associates the item with its classification(s) according to a commodity classifying system.See section G30 3.18

TransactionConditionsClassname TransactionConditions Alternative termCardinality 0..n Usage BilateralDatatype TransactionConditionsDefinition Associates the item with sales conditions appertaining to it.See section G30 3.107

HazardousItemClassname HazardousItem Alternative termCardinality 0..n Usage BilateralDatatype HazardousItemDefinition Associates the item with its hazardous item information.See section G30 3.47

ClassifiedTaxCategoryClassname ClassifiedTaxCategory Alternative termCardinality 0..n Usage BilateralDatatype TaxCategoryDefinition Classifies the item using one or more categories of taxesSee section G30 3.101

AdditionalItemPropertyClassname AdditionalItemProperty Alternative termCardinality 0..n Usage BilateralDatatype ItemPropertyDefinition Associates the item with a set of additional propertiesSee section G30 3.54

ManufacturerPartyClassname ManufacturerParty Alternative termCardinality 0..n Usage BilateralDatatype PartyDefinition Associates the manufacturer of the item.See section G30 3.70

InformationContentProviderPartyClassname InformationContentProviderParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition Associates the item with the party responsible for the technical specifications of the item.See section G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 193

3.19.5. Invoice.InvoiceLine.Item

OriginAddressClassname OriginAddress Alternative termCardinality 0..1 Usage YesDatatype AddressDefinition Associates the item with the region of origin (ie not the country)See section G30 3.1

ItemInstanceClassname ItemInstance Alternative termCardinality 0..n Usage YesDatatype ItemInstanceDefinition An association to Item InstanceSee section G30 3.52

Excluded classes and fields in Item (Invoice.InvoiceLine.Item) Name Name TypeOriginCountry OriginCountry Class

OIOUBL Invoice - UBL 2.0 Invoice Side 194

3.19.5.1. Invoice.InvoiceLine.Item.BuyersItemIdentification

3.19.5.1. Invoice.InvoiceLine.Item.BuyersItemIdentification

BuyersItemIdentification (Invoice.InvoiceLine.Item.BuyersItemIdentification) specificationName Invoice.InvoiceLine.Item.BuyersItemIdentific

ationAlternative term

Definition Information about Item identification

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1ExtendedID ExtendedID Identifier Yes 0..1

Subclasses in class BuyersItemIdentification (Invoice.InvoiceLine.Item.BuyersItemIdentification)

UBL-Name Name Usage Cardinality

Reference

IssuerParty IssuerParty Bilateral 0..1 G30 3.70

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

OIOUBL Invoice - UBL 2.0 Invoice Side 195

3.19.5.1. Invoice.InvoiceLine.Item.BuyersItemIdentification

Class Specification

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation Is only used if IssuerParty is not the issuer of the ItemIdentificationSee section G30 3.70

Excluded classes and fields in BuyersItemIdentification (Invoice.InvoiceLine.Item.BuyersItemIdentification)

Name Name TypePhysicalAttribute PhysicalAttribute Class

MeasurementDimension MeasurementDimension Class

OIOUBL Invoice - UBL 2.0 Invoice Side 196

3.19.5.2. Invoice.InvoiceLine.Item.SellersItemIdentification

3.19.5.2. Invoice.InvoiceLine.Item.SellersItemIdentification

SellersItemIdentification (Invoice.InvoiceLine.Item.SellersItemIdentification) specificationName Invoice.InvoiceLine.Item.SellersItemIdentifica

tionAlternative term

Definition Information about Item identification

Example<cac:SellersItemIdentification> <cbc:ID>VFY:C1320BT-11DK</cbc:ID></cac:SellersItemIdentification>

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1ExtendedID ExtendedID Identifier Yes 0..1

Subclasses in class SellersItemIdentification (Invoice.InvoiceLine.Item.SellersItemIdentification)

UBL-Name Name Usage Cardinality

Reference

PhysicalAttribute PhysicalAttribute Yes 0..n G30 3.80MeasurementDimension MeasurementDimension Yes 0..n G30 3.34IssuerParty IssuerParty Bilateral 0..1 G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 197

3.19.5.2. Invoice.InvoiceLine.Item.SellersItemIdentification

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

Class Specification

PhysicalAttributeClassname PhysicalAttribute Alternative termCardinality 0..n Usage YesDatatype PhysicalAttributeDefinition An association to Physical AttributeSee section G30 3.80

MeasurementDimensionClassname MeasurementDimension Alternative termCardinality 0..n Usage YesDatatype DimensionDefinition An association to Measurement DimensionSee section G30 3.34

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation Is only used if IssuerParty is not the issuer of the ItemIdentificationSee section G30 3.70

Excluded classes and fields in SellersItemIdentification (Invoice.InvoiceLine.Item.SellersItemIdentification) None

OIOUBL Invoice - UBL 2.0 Invoice Side 198

3.19.5.3. Invoice.InvoiceLine.Item.ManufacturersItemIdentification

3.19.5.3. Invoice.InvoiceLine.Item.ManufacturersItemIdentification

ManufacturersItemIdentification (Invoice.InvoiceLine.Item.ManufacturersItemIdentification) specification

Name Invoice.InvoiceLine.Item.ManufacturersItemIdentification

Alternative term

Definition Information about Item identification

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1ExtendedID ExtendedID Identifier Bilateral 0..1

Subclasses in class ManufacturersItemIdentification (Invoice.InvoiceLine.Item.ManufacturersItemIdentification)

UBL-Name Name Usage Cardinality

Reference

IssuerParty IssuerParty Bilateral 0..1 G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 199

3.19.5.3. Invoice.InvoiceLine.Item.ManufacturersItemIdentification

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

Class Specification

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation Is only used if IssuerParty is not the issuer of the ItemIdentificationSee section G30 3.70

Excluded classes and fields in ManufacturersItemIdentification (Invoice.InvoiceLine.Item.ManufacturersItemIdentification)

Name Name TypePhysicalAttribute PhysicalAttribute Class

MeasurementDimension MeasurementDimension Class

OIOUBL Invoice - UBL 2.0 Invoice Side 200

3.19.5.4. Invoice.InvoiceLine.Item.StandardItemIdentification

3.19.5.4. Invoice.InvoiceLine.Item.StandardItemIdentification

StandardItemIdentification (Invoice.InvoiceLine.Item.StandardItemIdentification) specification

Name Invoice.InvoiceLine.Item.StandardItemIdentification

Alternative term

Definition Information about Item identification

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Yes 1ExtendedID ExtendedID Identifier Yes 0..1

Subclasses in class StandardItemIdentification (Invoice.InvoiceLine.Item.StandardItemIdentification)

UBL-Name Name Usage Cardinality

Reference

IssuerParty IssuerParty Bilateral 0..1 G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 201

3.19.5.4. Invoice.InvoiceLine.Item.StandardItemIdentification

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage YesDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage YesDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

Class Specification

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation Is only used if IssuerParty is not the issuer of the ItemIdentificationSee section G30 3.70

Excluded classes and fields in StandardItemIdentification (Invoice.InvoiceLine.Item.StandardItemIdentification)

Name Name TypePhysicalAttribute PhysicalAttribute Class

MeasurementDimension MeasurementDimension Class

OIOUBL Invoice - UBL 2.0 Invoice Side 202

3.19.5.5. Invoice.InvoiceLine.Item.CatalogueItemIdentification

3.19.5.5. Invoice.InvoiceLine.Item.CatalogueItemIdentification

CatalogueItemIdentification (Invoice.InvoiceLine.Item.CatalogueItemIdentification) specification

Name Invoice.InvoiceLine.Item.CatalogueItemIdentification

Alternative term

Definition Information about Item identification

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1ExtendedID ExtendedID Identifier Bilateral 0..1

Subclasses in class CatalogueItemIdentification (Invoice.InvoiceLine.Item.CatalogueItemIdentification)

UBL-Name Name Usage Cardinality

Reference

IssuerParty IssuerParty Bilateral 0..1 G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 203

3.19.5.5. Invoice.InvoiceLine.Item.CatalogueItemIdentification

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

Class Specification

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation If "Qualified" ItemIdentification is the issuer of the Identification this is not usedSee section G30 3.70

Excluded classes and fields in CatalogueItemIdentification (Invoice.InvoiceLine.Item.CatalogueItemIdentification)

Name Name TypePhysicalAttribute PhysicalAttribute Class

MeasurementDimension MeasurementDimension Class

OIOUBL Invoice - UBL 2.0 Invoice Side 204

3.19.5.6. Invoice.InvoiceLine.Item.AdditionalItemIdentification

3.19.5.6. Invoice.InvoiceLine.Item.AdditionalItemIdentification

AdditionalItemIdentification (Invoice.InvoiceLine.Item.AdditionalItemIdentification) specification

Name Invoice.InvoiceLine.Item.AdditionalItemIdentification

Alternative term

Definition Information about Item identification

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1ExtendedID ExtendedID Identifier Bilateral 0..1

Subclasses in class AdditionalItemIdentification (Invoice.InvoiceLine.Item.AdditionalItemIdentification)

UBL-Name Name Usage Cardinality

Reference

IssuerParty IssuerParty Bilateral 0..1 G30 3.70

OIOUBL Invoice - UBL 2.0 Invoice Side 205

3.19.5.6. Invoice.InvoiceLine.Item.AdditionalItemIdentification

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition An identifier for an ItemExample 4732

ExtendedIDFieldname ExtendedID Alternative termCardinality 0..1 Usage BilateralDatatype IdentifierDefinition An extended identifier for the item which identifies the item with specific properties e.g. Item 123 =

Chair / Item 123 Ext 45 = Brown chairExample PO3X89

Class Specification

IssuerPartyClassname IssuerParty Alternative termCardinality 0..1 Usage BilateralDatatype PartyDefinition An association to Issuer Party i.e. the Party that issued the Item IdentificationRecommendation If "Qualified" ItemIdentification is the issuer of the Identification this is not usedSee section G30 3.70

Excluded classes and fields in AdditionalItemIdentification (Invoice.InvoiceLine.Item.AdditionalItemIdentification)

Name Name TypePhysicalAttribute PhysicalAttribute Class

MeasurementDimension MeasurementDimension Class

OIOUBL Invoice - UBL 2.0 Invoice Side 206

3.19.5.7. Invoice.InvoiceLine.Item.CatalogueDocumentReference

3.19.5.7. Invoice.InvoiceLine.Item.CatalogueDocumentReference

CatalogueDocumentReference (Invoice.InvoiceLine.Item.CatalogueDocumentReference) specification

Name Invoice.InvoiceLine.Item.CatalogueDocumentReference

Alternative term OIOUBL_GUIDE_DOCUMENTREF

Definition Information about a Document referred to in another DocumentSee also OIOUBL_GUIDE_DOCUMENTREF ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityID ID Identifier Bilateral 1CopyIndicator CopyIndicator Indicator Bilateral 0..1UUID UUID Identifier Bilateral 0..1IssueDate IssueDate Date Bilateral 0..1XPath XPath Text Bilateral 0..n

Subclasses in class CatalogueDocumentReference (Invoice.InvoiceLine.Item.CatalogueDocumentReference)

UBL-Name Name Usage Cardinality

Reference

Attachment Attachment Bilateral 0..1 3.19.5.7.1

OIOUBL Invoice - UBL 2.0 Invoice Side 207

3.19.5.7. Invoice.InvoiceLine.Item.CatalogueDocumentReference

Field specifications

IDFieldname ID Alternative termCardinality 1 Usage BilateralDatatype IdentifierDefinition The identifier for the Document being referred toExample 428.34

CopyIndicatorFieldname CopyIndicator Alternative termCardinality 0..1 Usage BilateralDatatype IndicatorDefinition Indicates whether the referenced Document is a copy (true) or the original (false)Example false

UUIDFieldname UUID Alternative term OIOUBL_GUIDE_UUIDCardinality 0..1 Usage BilateralDatatype IdentifierDefinition A computer-generated universally unique identifier (UUID) for the referenced Document instanceSee also OIOUBL_GUIDE_UUID ( G32 )

IssueDateFieldname IssueDate Alternative termCardinality 0..1 Usage BilateralDatatype DateDefinition The date assigned by the sender of the referenced Document on which the referenced Document was

issuedExample 2006-09-01

XPathFieldname XPath Alternative termCardinality 0..n Usage BilateralDatatype TextDefinition Refers to another part of the same document instanceExample /DocumentReference[ID='428.22']

Class Specification

AttachmentClassname Attachment Alternative termCardinality 0..1 Usage BilateralDatatype AttachmentDefinition An attached document, external refered to, refered in the MIME location or embedded.See section 3.19.5.7.1

Excluded classes and fields in CatalogueDocumentReference (Invoice.InvoiceLine.Item.CatalogueDocumentReference)

Name Name TypeDocumentTypeCode DocumentTypeCode Field

DocumentType DocumentType Field

OIOUBL Invoice - UBL 2.0 Invoice Side 208

3.19.5.7.1. Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment

3.19.5.7.1. Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment

Attachment (Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment) specification

Name Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment

Alternative term OIOUBL_GUIDE_ATTACHMENT

Definition Information about an attached document. An attachment can be referred to externally (with the URI element), internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).

See also OIOUBL_GUIDE_ATTACHMENT ( OIO )

FieldsUBL-Name Name Datatype Usage CardinalityEmbeddedDocumentBinaryObject EmbeddedDocumentBinaryObject Binary Object Bilateral 0..1

Subclasses in class Attachment (Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment)

UBL-Name Name Usage Cardinality

Reference

ExternalReference ExternalReference Bilateral 0..1 G30 3.41

Field specifications

EmbeddedDocumentBinaryObjectFieldname EmbeddedDocumentBinaryObject Alternative termCardinality 0..1 Usage BilateralDatatype Binary ObjectDefinition Contains an embedded document as a BLOB,Businessrules Only allowed if no ExternalReference is specified and if bilateral agreed. Dependency ../ExternalReference

Class Specification

OIOUBL Invoice - UBL 2.0 Invoice Side 209

3.19.5.7.1. Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment

ExternalReferenceClassname ExternalReference Alternative termCardinality 0..1 Usage BilateralDatatype ExternalReferenceDefinition An attached document, external refered to, refered in the MIME location or embedded.Businessrules Used if no EmbeddedDocumentBinaryObject specifiedDependency ../EmbeddedDocumentBinaryObjectSee section G30 3.41

Excluded classes and fields in Attachment (Invoice.InvoiceLine.Item.CatalogueDocumentReference.Attachment) None

OIOUBL Invoice - UBL 2.0 Invoice Side 210