Skip to content
Toby Chaloner edited this page Mar 22, 2026 · 1 revision

Validating XHTML document ixbrl tags

Benefit

This allows you to see the tags associated with the tag that provides a value.

The following sort of sets of tags can be inferred (output abbreviated for brevity)

[ Period: 2023-09-01 - 2024-08-31, TurnoverRevenue: 11000.23 ]
[ Period: 2023-09-01 - 2024-08-31, GrossProfitLoss 300.78 ]
[ Period: 2023-09-01 - 2024-08-31, DetailedAnalysisDimension, Item1, CountriesRegionsDimension = UK, TurnoverRevenue = 0.0 ]
[ Period: 2023-09-01 - 2024-08-31, BusinessTypeDimension = Trade, LossReformDimension = Post-lossReform, TerritoryDimension = UK, ProfitLossPerAccounts: -21.73 (GBP) ]
[ Period: 2023-09-01 - 2024-08-31, BusinessTypeDimension = Trade, LossReformDimension = Post-lossReform, TerritoryDimension = UK, AdjustmentsDepreciation: 562.0 (GBP) ]

install

using

assuming your xhtml output is in ../my-accounts/accts-ct.xhtml

ixbrl-dump ../my-accounts/accts-ct.xhtml

It produced output like

Entity: 01844556 (http://www.companieshouse.gov.uk/)
    Instant: 2025-09-01
        Dimension: {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}BusinessTypeDimension = {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}Company
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}NameOfProductionSoftware: ixbrl-reporter
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}VersionOfProductionSoftware: 1.2.0
        Dimension: {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}BusinessTypeDimension = {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}Company
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}CompanyIsAPartnerInAFirm: false
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}FinancialYear1CoveredByTheReturn: 2025
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}FinancialYear2CoveredByTheReturn: 2025
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}OffPayrollWorkingApplicable: true
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}AdjustedTradingProfitOfThisPeriod: 0.0 (GBP)
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}TradingLossesBroughtForward: 0.0 (GBP)

Clone this wiki locally