XINCE is an expression syntax that allows the creation of XBRL reports using a XULE processor.
The XINCE language uses the XULE syntax to define facts in an XBRL instances either in a JSON or XML format.
Creating Facts with XINCE
The XINCE syntax allows a user to define the data included in an XBRL instance. The XINCE syntax supports associating dimensions with a fact. These include the period the concept, the entity the unit and any other taxonomy defined dimensions. XINCE can be used to create as many facts as required. Every fact that is created must specify the instance document that it belongs too.
XINCE created facts can then be written to an instance or multiple instances.
Fact Generation Example
The following expression will take every monetary fact in an instance document, multiply the value by 10% and output the result as a new instance called myInstance.
output createInstance
true
instance-name “myInstance”
instance-taxonomy ‘https://www.sec.gov/Archives/edgar/data/891166/000089116622000114/uve-20220930.xsd‘
output add_fact_values
{@concept.data-type = xbrli:monetaryItemType}
true
fact-value $rule-value * 1.1
fact-concept $rule-value.concept.to-xince
fact-unit $rule-value.unit.to-xince
fact-entity $rule-value.entity.to-xince
fact-period $rule-value.period.to-xince
fact-decimals $rule-value.decimals
fact-dimensions $rule-value.dimensions.to-xince
fact-instance “myInstance”
Comment
You must be logged in to post a comment.