Skip to content

Main content

XBRL Tag Context Period Type Selector Lookup

Build XBRL civil-date period elements from caller taxonomy instant/duration metadata, rejecting inconsistent start field; not concept identification, XML serialization, taxonomy validation or time-zone/dateTime context semantics.

Loading tool…

Description

XBRL concepts distinguish an instant from a duration period.

XBRL concepts distinguish an instant from a duration period. Caller taxonomy metadata determines which civil-date elements this tool builds.1

The returned values include Xbrl period element names, Xbrl period element values, Inclusive civil date count. The How section below explains the calculation, input rules and interpretation.

When to use XBRL Tag Context Period Type Selector Lookup

Use XBRL Tag Context Period Type Selector Lookup when you need to evaluate the supplied records under the calculation and evidence rules below. No concept identification, XML serialization, taxonomy validation or XBRL dateTime/time-zone semantics are supplied.

Gather the source balances and explicit accounting policy. Monetary inputs use integer minor units in one currency; for a currency with 100 minor units per major unit, 12345 represents 123.45. One basis point is 0.01 percentage points; 10000 basis points is 100%. Dates and posting signs follow the individual rules below.

How to use XBRL Tag Context Period Type Selector Lookup and understand its results

  1. Gather the source balances and explicit accounting policy. Monetary inputs use integer minor units in one currency; for a currency with 100 minor units per major unit, 12345 represents 123.45. One basis point is 0.01 percentage points; 10000 basis points is 100%. Dates and posting signs follow the individual rules below.
  2. Enter callerConceptPeriodType, contextStartDate, contextEndOrInstantDate using the field table and calculation rules, then run the tool.
  3. Read xbrlPeriodElementNames, xbrlPeriodElementValues, inclusiveCivilDateCount. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
callerConceptPeriodTypeCaller concept period typestringRequired
contextStartDateContext start datestringRequired
contextEndOrInstantDateContext end or instant datestringRequired

Enter exact token instant or duration and a real Gregorian end/instant date in YYYY-MM-DD format, years 1900–2199. For instant require the start field exactly empty and return one instant element plus count one. For duration require a real supported start date at most end; return both element names/values and inclusive calendar-day count.

instant→[instant]; duration→[startDate,endDate]; inclusiveDays=end−start+1

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
xbrlPeriodElementNamesXbrl period element nameslist of string
xbrlPeriodElementValuesXbrl period element valueslist of string
inclusiveCivilDateCountInclusive civil date countnumber
json
{
  "input": {
    "callerConceptPeriodType": "duration",
    "contextStartDate": "2025-01-01",
    "contextEndOrInstantDate": "2025-12-31"
  },
  "output": {
    "xbrlPeriodElementNames": [
      "startDate",
      "endDate"
    ],
    "xbrlPeriodElementValues": [
      "2025-01-01",
      "2025-12-31"
    ],
    "inclusiveCivilDateCount": 365
  }
}

Limitations and assumptions

No concept identification, XML serialization, taxonomy validation or XBRL dateTime/time-zone semantics are supplied.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing fields without a declared default, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Month End Close Countdown Days Checklist Tool: Close-checklist due dates are caller offsets from period end. Signed remaining days distinguish future tasks from incomplete overdue tasks. For a complementary task, use Revenue Cutoff Shipping Terms FOB Checker: Revenue cutoff follows an explicitly established control-transfer event. FOB wording alone cannot determine that event or satisfy all recognition criteria.

References

  1. XBRL Tag Context Period Type Selector Lookup — tool.io

Similar or alternative tools