After your Wdesk document is completed, you need to apply XBRL tags to all facts. Facts include all numeric values, dates, and sometimes text that support the values and dates. Each fact requires a concept to identify the fact and a date for the time range the fact applies to.
Before you begin, consider the following to help you tag facts in your document:
- Make sure you are in the correct taxonomy and section within the taxonomy.
- Do not open two different documents tagged with two different taxonomies at the same time. The first document you have open will inherit the taxonomy from the second document you open.
- Date type:
- Be aware that each concept has a period type, either Instant for one specific date identified by a clock icon and Duration for a range of dates identified by a calendar icon.
- Make sure you select the concept with the correct period type for your fact.
Tagging with a Concept
First, you tag the fact with a concept. With your document open in Wdesk, turn on XBRL.
There are three ways to tag a concept:
- Use Search Line Item Concepts from the XBRL Detail Tagging dialog box.
- Drag concepts from the XBRL Outline panel on the right side of your document in the Wdesk editor.
- Copy concepts from the Taxonomy Analyzer and paste them into the XBRL Detail Tagging dialog box. See the Using the XBRL Taxonomy Analyzer article for more information.
This article uses the Search function as the primary way to tag. Reach out to your CSM if you have questions about the other ways to tag a fact.
To begin tagging, click the cell that contains a value you want to tag. In the XBRL Detail Tagging dialog box, click Search Line Item Concepts.
The XBRL Concept Search dialog box opens. Type a keyword or phrase in the search box and press Enter. Use the Filter By options to narrow down the search results.
To learn more about a concept before choosing it, click the blue Information icon next to the concept title in the search results. More information about the concept opens in the panel on the right, which helps you understand the concept and make sure it fits the fact.
NOTE: When you tag a monetary fact with a concept, make sure the Balance Type matches the meaning of the number — either debit or credit.
When you find the right concept, click the green Accept button next to the concept title in the search results to apply the concept to the fact.
You’ll notice that after applying the concept, the table cell turns red. This indicates it is missing information. A complete tagging requires both a concept and a date. In our example, the fact is incomplete because it is missing the date.
NOTE: If the fact is still red after adding a concept and date, you may need to add a unit in Fact Properties (see Tagging Numeric Facts with Units).
Tagging with a Date
With the XBRL Detail Tagging dialog box open, click the Search Dates/Date Ranges field. This opens the XBRL Dates dialog box.
Each concept already has either an Instant or Duration period type associated with it. So, the dates you can select from in the XBRL Dates dialog box for your fact are based on the concept’s period type. XBRL for HMRC documents have only four types of dates Duration current YTD and previous YTD or Instant current YTD and previous YTD.
For either Instant or Duration periods, you can find a date using the following:
In Doc: Click this button to show only the dates already identified in your document. TIP: Use this option before creating a new date.
Calendar: Click this icon to choose a specific date. The XBRL Dates list narrows down to only the options that include the date you chose.
Add Date: Click this button to add a new date and date options.
When you find the correct date, select it and click Apply. The XBRL Dates dialog box closes, the date is applied to the fact, and the table cell turns green to show it is fully tagged. If the cell is still red, make sure the value has the correct unit applied to it in Fact Properties.