arelle.ValidateUtr
¶
See COPYRIGHT.md for copyright information.
Module Contents¶
Classes¶
Functions¶
Parses the units from modelXbrl.modelManager.disclosureStystem.utrUrl, and sets them on modelXbrl.modelManager.disclosureSystem.utrItemTypeEntries |
|
Data¶
API¶
- arelle.ValidateUtr.DIVISOR¶
‘DIV’
- class arelle.ValidateUtr.UtrEntry¶
- __slots__¶
(‘id’, ‘unitId’, ‘unitName’, ‘nsUnit’, ‘itemType’, ‘nsItemType’, ‘isSimple’, ‘numeratorItemType’, ‘n…
- __repr__()¶
- arelle.ValidateUtr.loadUtr(modelXbrl, statusFilters=None)¶
Parses the units from modelXbrl.modelManager.disclosureStystem.utrUrl, and sets them on modelXbrl.modelManager.disclosureSystem.utrItemTypeEntries
- Parameters:
modelXbrl – the loaded xbrl model
statusFilters – the list of statuses to keep. If unset, ‘REC’ status is the default filter
- Returns:
None
- arelle.ValidateUtr.validateFacts(modelXbrl) None ¶
- arelle.ValidateUtr.utrEntries(modelType, modelUnit)¶
- arelle.ValidateUtr.utrSymbol(modelType, unitMeasures)¶
- class arelle.ValidateUtr.ValidateUtr(modelXbrl: arelle.ModelXbrl.ModelXbrl, messageLevel: str = 'ERROR', messageCode: str = 'utre:error-NumericFactUtrInvalid')¶
Initialization
- validateFacts()¶
- measuresMatch(typeMatched, mulMeas, divMeas, typeName=None, typeNS=None, *divArgs)¶
- utrEntries(modelType, unit)¶
- utrSymbol(multMeasures, divMeasures)¶