docling-project / docling-project/docling

XBRL: enable Doling Graph with structured graph data from Docling document

Open
#3,035 1 comment 0 reactions 0 assignees View on GitHub
enhancement xml
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Requested feature

XBRL (eXtensible Business Reporting Language) is an open, international standard for digital business reporting that makes financial data machine-readable.
Docling supports the parsing of XBRL instance reports from version [2.75.0](https://github.com/docling-project/docling/releases/tag/v2.75.0), through the backend parser [XBRLDocumentBackend](https://github.com/docling-project/docling/blob/main/docling/backend/xml/xbrl_backend.py#L61).

There is currently an effort to strengthen the parsing of the rich taxonomy in XBRL reports in Docling, leveraging the current implementation and keeping an eye on a refactoring of Docling's data model, which will impact the key-value pair models in [GraphData](https://github.com/docling-project/docling-core/blob/9eca661df795b9335fcf05b32705614be674e60f/docling_core/types/doc/document.py#L2470).

In order to support several uses cases for the XBRL reports (for instance, https://github.com/finos-labs/ai-evals-framework/issues/23), we would like to enable [Docling Graph](https://github.com/docling-project/docling-graph) with the pydantic models and the ability to process graph data represented in Docling document data model as structured information, so that the structure in XBRL reports can be preserved in Docling documents and reconstructed later with Docling Graph.

This issue depends on https://github.com/docling-project/docling/issues/3034.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.