Altova RaptorXML+XBRL Server 2025

The valxbrl | xbrl command validates one or more XBRL instance documents according to the XBRL 2.1, Dimensions 1.0 and Formula 1.0 specifications.

 

raptorxmlxbrl valxbrl | xbrl [options] InputFile

 

The InputFile argument is the XBRL instance document to validate.

To validate multiple documents, either: (i) list the files to be validated on the CLI, with each file separated from the next by a space; or (ii) list the files to be validated in a text file (.txt file), with one filename per line, and supply this text file as the InputFile argument together with the --listfile option set to true (see the Options list below).

 

Note:The XBRL instance document must not be nested in another XML document and must have the xbrl element as its root element.
<xbrl xmlns="http://www.xbrl.org/2003/instance"> ... </xbrl>

 

EDGAR validation

EDGAR (Electronic Data Gathering, Analysis, and Retrieval) is a system that performs automated collection, validation, and indexing of financial statements filed by companies to the United States SEC (Securities and Exchange Commission). raptorxmlxbrl supports EDGAR validation via Raptor's Python API. To run an EDGAR validation on an XBRL instance file, use the --script option to run the EDGAR validation Python script. In raptorxmlxbrl, this script, efm-validation.py, is located in the etc\scripts\sec-edgar-tools folder of the application folder:

 

valxbrl --script="C:\Program Files\Altova\RaptorXMLXBRLServer2025\etc\scripts\sec-edgar-tools\efm-validation.py" myinstance.xbrl

 

Examples

Examples of the valxbrl command:

 

raptorxmlxbrl valxbrl c:\Test.xbrl

raptorxmlxbrl xbrl --formula-execution=true --formula-output=c:\FormulaOutput.xml c:\Test.xbrl

raptorxmlxbrl xbrl --formula-execution --assertions-output=c:\AssertionsOutput.xml c:\Test.xbrl

raptorxmlxbrl xbrl --formula-execution --formula-output=c:\FormulaOutput.xml --assertions-output=c:\AssertionsOutput.xml c:\Test.xbrl

 

 

Options

Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.

 

 

 

© 2018-2024 Altova GmbH