<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ontologforum.com/index.php?action=history&amp;feed=atom&amp;title=CCTRepAmount</id>
	<title>CCTRepAmount - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ontologforum.com/index.php?action=history&amp;feed=atom&amp;title=CCTRepAmount"/>
	<link rel="alternate" type="text/html" href="https://ontologforum.com/index.php?title=CCTRepAmount&amp;action=history"/>
	<updated>2026-08-02T20:17:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://ontologforum.com/index.php?title=CCTRepAmount&amp;diff=1002&amp;oldid=prev</id>
		<title>imported&gt;KennethBaclawski: Fix PurpleMediaWiki references</title>
		<link rel="alternate" type="text/html" href="https://ontologforum.com/index.php?title=CCTRepAmount&amp;diff=1002&amp;oldid=prev"/>
		<updated>2016-01-09T05:54:37Z</updated>

		<summary type="html">&lt;p&gt;Fix PurpleMediaWiki references&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= [[CCTRepAmount]]  =&lt;br /&gt;
&lt;br /&gt;
== 01-000 Amount. Type  ==&lt;br /&gt;
&lt;br /&gt;
'''01-000 Amount. Type''' is a Core Component Type (CCT) and represents a number of monetary units specified in a currency where the unit of currency is explicit or implied. The content component is '''Amount. Content''' and contains the value of the '''Amount. Type''' CCT. To indicate the currency identifier and the version of the currency identifier, the CCT specification defines two supplementary components, '''Amount Currency. Identifier''' and '''Amount Currency. Code List. Version''' . &lt;br /&gt;
&lt;br /&gt;
=== Amount  ===&lt;br /&gt;
&lt;br /&gt;
The following diagram shows one possible mapping between the Amount core component type and classes in the SUMO. &lt;br /&gt;
&lt;br /&gt;
http://ontolog.cim3.net/file/work/CCT-Representation/wip/CCTRepKB/amount.jpg &lt;br /&gt;
&lt;br /&gt;
=== Example: Amount. Type  ===&lt;br /&gt;
&lt;br /&gt;
For a Core Component Type of '''Amount. Type''' , the Content Component carries the value of 12. This value has no semantic meaning on its own. But 12 EUR, where EUR is the Supplementary Component that gives essential extra definition to the Content Component, does have meaning. &lt;br /&gt;
&lt;br /&gt;
[[[ScottLHolmes]]] This example differs from the technical specification of CCT 2.01 in that the proper three character code (EUR) as defined in the '''Amount. Currency. Identifier''' is used here, whereas the technical specification uses the term Euro which is not a valid reference. &lt;br /&gt;
&lt;br /&gt;
Given a UBL Invoice instance document, a typical element that uses the Amount. Type CCT is '''PriceAmount''' which is defined in the UBL to be of type '''[[PriceAmountType]]''' which is an extension of '''sdt:UBLAmountType''' . UBLAmountType is a Specialized Data Type in the UBL that is essentially a representation of the CCT Amount. Type. Note that in version 1.0 of the UBL, the attribute '''amount[[CurrencyCodeListVersionID]]''' is fixed at &amp;quot;0.3&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PriceAmount&lt;br /&gt;
&lt;br /&gt;
xmlns=&amp;quot;urn:oasis:names:specification:ubl:schema:xsd:[[CommonBasicComponents]]-1.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
amount[[CurrencyID]]=&amp;quot;EUR&amp;quot;&lt;br /&gt;
&lt;br /&gt;
amount[[CurrencyCodeListVersionID]]=&amp;quot;0.3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
12&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/PriceAmount&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== OC: Amount  ===&lt;br /&gt;
&lt;br /&gt;
=== PT: Type  ===&lt;br /&gt;
&lt;br /&gt;
=== Amount. Type Map to SUMO CurrencyMeasure  ===&lt;br /&gt;
&lt;br /&gt;
CCT Amount. Type maps to a SUMO CurrencyMeasure expressed using MeasureFn in the second argument being a RealNumber with the first argument being an instance [[UnitOfMeasure]] and subclass of CurrencyMeasure. The resulting CurrencyMeasure can be related to a thing with the relation monetaryValue &lt;br /&gt;
&lt;br /&gt;
== 01-001 Amount. Content  ==&lt;br /&gt;
&lt;br /&gt;
'''01-001 Amount. Content''' is a Content Component that represents a number of monetary units specified in a currency where the unit of currency is explicit or implied. This is a decimal number. &lt;br /&gt;
&lt;br /&gt;
=== PDT: decimal  ===&lt;br /&gt;
&lt;br /&gt;
=== Amount. Content Map to SUMO RealNumber  ===&lt;br /&gt;
&lt;br /&gt;
CCT Amount. Content maps to a SUMO RealNumber part of an expression using MeasureFn. &lt;br /&gt;
&lt;br /&gt;
== 01-002 Amount Currency. Code List Version. Identifier  ==&lt;br /&gt;
&lt;br /&gt;
'''01-002 Amount Currency. Code List Version. Identifier''' is a supplementary component that represents the version of the UN/ECE Rec.9 code list. If not used, the latest version code list is assumed. &lt;br /&gt;
&lt;br /&gt;
[[[ScottLHolmes]]] As this list is maintained in a Microsoft Access database, finding an accurate version is currently a challenge. The PDF document for Rec 9 is marked '''ECE/TRADE/203 [Edition 96.1]''' which ''could be'' the version but Rec 9 does not specifically mark it as such. &lt;br /&gt;
&lt;br /&gt;
=== PDT: string  ===&lt;br /&gt;
&lt;br /&gt;
=== Amount Currency. Code List Version to SUMO uniqueIdentifier  ===&lt;br /&gt;
&lt;br /&gt;
'''Amount Currency. Code List Version''' maps to a SUMO '''SymbolicString''' that is related to a '''[[UnitOfMeasure]]''' part of a subclass of '''CurrencyMeasure''' by the '''uniqueIdentifier''' relation. &lt;br /&gt;
&lt;br /&gt;
== 01-003 Amount Currency. Identifier  ==&lt;br /&gt;
&lt;br /&gt;
'''01-003 Amount Currency. Identifier''' is a supplementary component that represents the currency of the value of '''Amount. Content''' . The value should reference UN/ECE Rec. 9, using 3-letter alphabetic codes. The UN/ECE Rec. 9 is also published as ISO 4217. Both the UN/ECE and the ISO offer free publications of these specifications. It is recommended that the currency code is provided in this SC rather than in a separately defined BBIE. &lt;br /&gt;
&lt;br /&gt;
=== PDT: string  ===&lt;br /&gt;
&lt;br /&gt;
=== Amount. Currency. Identifier Map to SUMO [[SymbolicString]]  ===&lt;br /&gt;
&lt;br /&gt;
'''Amount. Currency. Identifier''' maps to a SUMO '''SymbolicString''' that is related to a '''[[UnitOfMeasure]]''' part of a subclass of '''CurrencyMeasure''' by the '''uniqueIdentifier''' relation. &lt;br /&gt;
&lt;br /&gt;
== References  ==&lt;br /&gt;
&lt;br /&gt;
[http://www.unece.org/cefact/recommendations/rec09/rec09_ecetrd203.pdf UNECE TDTD Rec 9] Recommendation No. 9 - Alphabetic Code for the Representation of Currencies &lt;br /&gt;
&lt;br /&gt;
[http://www.unece.org/cefact/codesfortrade/codes_index.htm UNECE Codes for Trade] Updated currencies as of ISO-4217 and ISO-3166-1 country codes&lt;br /&gt;
Note: This is a link to a copy of the data maintained by UNECE. The master data is available from ISO. &lt;br /&gt;
&lt;br /&gt;
[http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html Currency codes - ISO 4217] The master data for updated currencies as of ISO-4217 and ISO-3166-1 country codes is available for download directly from the ISO. &lt;br /&gt;
&lt;br /&gt;
== Amount. Type to SUMO  ==&lt;br /&gt;
&lt;br /&gt;
The Core Component Type '''Amount. Type''' can be represented in SUMO using the '''CurrencyMeasure''' class. A CurrencyMeasure is a type of ConstantQuantity. All ConstantQuantites are expressed with a BinaryFunction called MeasureFn.  MeasureFn has two arguments, the first is a Number and the second is a [[UnitOfMeasure]]. The content component of Amount. Type serves as the Number and the supplementary component Amount Currency. Identifier serves as the [[UnitOfMeasure]]. &lt;br /&gt;
&lt;br /&gt;
The [[UnitOfMeasure]] is identified by the uniqueIdentifier relation which is mapped to the supplementary component Amount Currency. Code List Version. Identifier. &lt;br /&gt;
&lt;br /&gt;
http://ontolog.cim3.net/file/work/CCT-Representation/wip/CCTRepKB/amountmap.jpg &lt;br /&gt;
&lt;br /&gt;
== SUMO Mapping  ==&lt;br /&gt;
&lt;br /&gt;
Amount. Content is a SUMO RealNumber. Amount Currency Identifier is a SUMO [[SymbolicString]] and Amount Currency. Code List Version. Identifier is a SUMO SymbolicString. Amount. Content and Amount Currency. Identifier together form a SUMO CurrencyMeasure expressed by a SUMO MeasureFn. &lt;br /&gt;
&lt;br /&gt;
Typical instances expressed in CCT terms: &lt;br /&gt;
&lt;br /&gt;
* Amount. Content: 12 &lt;br /&gt;
* Amount Currency. Identifier: &amp;quot;EUR&amp;quot; &lt;br /&gt;
* Amount Currency. Code List Version. Identifier: &amp;quot;ECE/TRADE/203 [Edition 96.1]&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Typical instances expressed in SUMO terms: &lt;br /&gt;
&lt;br /&gt;
* RealNumber: 12 &lt;br /&gt;
* [[SymbolicString]]: &amp;quot;EUR&amp;quot; &lt;br /&gt;
* [[SymbolicString]]: &amp;quot;ECE/TRADE/203 [Edition 96.1]&amp;quot; &lt;br /&gt;
&lt;br /&gt;
[[Category:WorkSpace]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;KennethBaclawski</name></author>
	</entry>
</feed>