New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing of Presentation Linkbase for UK submissions #20
Comments
Yes, the presentation linkbase structures the different facts from the instance document into multiple sections and tables. |
The presentation linkbase describes by its hierarchy the order in which the concepts of the taxonomy are to be arranged. The screenshot is from a parsed instance document from adobe. Feel free to ask here, or also in the discussion form if you need further explaination. |
I think you have shared a wrong url. There is no way to extract a linkbase from a doc file. |
ahh sorry |
I am also having problems getting information from the the presentation linkbase. In my case I am getting the information from: microsoft 10k-2020 instance document and the object |
@shadow111 On first sight it seems to me as the instance document you are referencing is a submission from the uk companies house, correct? The UK follows a strict reporting policy and thus does not allow for company specific extension taxonomies. <link:schemaRef xlink:type="simple" xlink:href="https://xbrl.frc.org.uk/FRS-102/2019-01-01/FRS-102-2019-01-01.xsd" /> In the past i really only tested on SEC Submissions which use custom extension taxonomies. So it could well be that there are problems parsing uk submissions. I will check today or tomorrow if the parser correctly parses the presentation linkbase. |
@shadow111 I started with the question from @Pablompg, because I am already very familiar how the SEC EDGAR submissions are structured. But perhaps the explaination also helps you: Later today i will have a look at the same thing with the UK submission you referenced. |
I was able to print the presentation linkbase for the submission you provided with the same code that I have shown in #21 (comment). Differences between open and closed reporting:
More information: https://www.xbrl.org/guidance/xbrl-and-ixbrl/#3-open-and-closed-reporting @shadow111
Yes it would be possible but it currently would require a bit of effort to map the facts to the presentation linkbase.
Here is a snipped from the console output that the code in #21 (comment) produces for the given instance document:
|
Thanks, it's working fine for uk submissions |
These are the naming conventions I have seen, they are useful for selecting the correct fact if listed multiple places.
How can I list facts under a given section in an efficient way? eg:
Or decide if fact belongs to given presentation arc 'aapl-20200926.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS' ? |
Answered in #66 |
Hello,
is possible to map the extract facts to these subreport :
cashFlow,
balanceSheet,
profitAndLoss
Best
The text was updated successfully, but these errors were encountered: