Crossfoot

The crossfoot command line.

One binary with three commands: validate, dump and facts. It reads XBRL instances, Inline XBRL documents (one file or a document set) and taxonomies, and downloads the taxonomies a filing needs unless you tell it not to.

Install

Binaries for Linux, macOS and Windows come with the first release (v0.1.0) on the releases page. Until then, build it with a current stable Rust toolchain:

cargo install --git https://github.com/Huckcity/crossfoot crossfoot-cli
crossfoot --version

crossfoot validate

Validates an instance, an inline document set or a taxonomy, and prints each error and inconsistency with the rule it breaks.

crossfoot validate accounts.html
crossfoot validate --json accounts.html > report.json
crossfoot validate part1.html part2.html          # an Inline XBRL document set
OptionEffect
--jsonDiagnostics as JSON, one object per finding.
--calc 21|11|11t|offCalculation checks: XBRL 2.1 (default), Calculations 1.1 rounding, 1.1 truncation, or none.
--no-dimensionsSkip XBRL Dimensions validation.
--formulaRun Formula 1.0 assertions (Pro).

crossfoot dump

Prints the canonical fact dump as JSON: every fact with its concept, context, unit, decimals and value, in a stable order. The conformance judges and the Arelle comparison use exactly this output.

crossfoot dump accounts.html > facts.json

crossfoot facts

Lists the facts as a table for reading in a terminal.

crossfoot facts accounts.html | less -S

Taxonomies, offline use and packages

Crossfoot fetches each taxonomy file once from its publisher and keeps it in ~/.cache/crossfoot/taxonomies (set CROSSFOOT_CACHE to move it). These options apply to every command:

OptionEffect
--offlineNever download. Use only the cache, --cache folders and --package files. A missing file is reported, not fetched.
--package FILE.zipLoad a taxonomy package (the zip a regulator or standard setter publishes) before resolving. Repeat for several.
--cache DIRRead an extra cache folder in Arelle's layout (DIR/http/host/path), so an existing Arelle cache works as it is.
crossfoot validate --offline --package frc-2026.zip accounts.html

Licence activation

The free commands need no key. Pro, Team and Server/SDK features read a licence key from CROSSFOOT_LICENCE if it is set, otherwise from ~/.config/crossfoot/licence.key. The licence commands below arrive in the release that ships the first Pro features.

crossfoot licence activate CFP1.eyJ2Ijox…      # check the key and save it
crossfoot licence status                        # tier, seats, paid through, days of grace left
crossfoot licence refresh                       # fetch this year's key after a renewal

export CROSSFOOT_LICENCE="CFP1.eyJ2Ijox…"       # CI: set the key as a secret instead

The key is checked offline against a public key built into the binary. Online, the CLI downloads the list of cancelled and refunded licences at most once a day and, near the end of a paid year, fetches the renewed key; it sends the key and nothing else. With --offline, or no network, it uses the last list it saw. A key works for 14 days after its paid year ends.

Lost your key? Get it again by email.