When you ask an AI agent to generate an iXBRL filing from scratch, the prompt is the contract. Agents default to plausible structures, not always correct ones, and the difference between a prompt that produces a clean filing and one that produces six rounds of validator chasing is almost always specificity at the start. The cheapest way to save yourself a week is to spend five minutes on the scaffold.
Tell the agent the regime and the operative taxonomy version on the first line. "You are generating an ESEF iXBRL filing for FY2025 against the ESEF Taxonomy 2024 (esef_cor.xsd) extending IFRS Accounting Taxonomy 2024 published 2024-03-27." The financial-year boundary matters because ESEF 2024 is not the same as ESEF 2025, and an agent without a version will pick a plausible one that may not match. Mismatched versions break schema imports and produce subtly wrong concept identities.
Tell the agent the entity identifier and its scheme. "Use scheme http://standard.iso.org/iso/17442 with LEI value 529900T8BM49AURSDO55. Every xbrli:identifier element must use this exact scheme URI." Identifier scheme constancy is the single most boring check that silently kills a filing if mixed across an instance.
Tell the agent the units. iso4217:EUR for monetary, xbrli:pure for ratios, xbrli:shares for share counts, xbrli:divide combining iso4217:EUR and xbrli:shares for per-share facts. Tell the agent the period model: balance-sheet concepts use xbrli:instant on the period-end, flow concepts use xbrli:startDate and xbrli:endDate covering the financial year. This single sentence prevents most period-type mismatch defects.
Tell the agent the sign convention. "Tag canonical values per concept balance attribute. Use sign="-" only when the canonical value is negative. Use preferredLabel="negatedLabel" on presentation arcs for credit-balance contras." This sentence alone prevents the most common substantive ESEF error.
Tell the agent the forbidden patterns explicitly. Do not emit dimension-default members. Do not use decimals="INF". Do not use precision. Do not place numeric facts in ix:hidden. Do not anchor extensions to abstract concepts. Stating prohibitions is more reliable than stating permissions, because agents tend to follow positive instructions and improvise around gaps.
Tell the agent the regime and operative taxonomy version. 'You are generating an ESEF iXBRL filing for FY2025 against ESEF Taxonomy 2024 (esef_cor.xsd) extending IFRS Accounting Taxonomy 2024 published 2024-03-27.' Specificity reduces hallucinated taxonomies.
Tell the agent the entity identifier and scheme. 'Use scheme http://standards.iso.org/iso/17442 with LEI value 529900T8BM49AURSDO55. Every xbrli:identifier must use this exact scheme.'
Tell the agent the units. 'Use iso4217:EUR for all monetary facts. Use xbrli:pure for ratios. Use xbrli:divide combining iso4217:EUR and xbrli:shares for per-share facts.'
Tell the agent the period model. 'Balance-sheet concepts use xbrli:instant on the period-end. Income statement, OCI, cash flow, and changes-in-equity flows use xbrli:startDate plus xbrli:endDate covering the financial year.'
Tell the agent the sign convention. 'Tag canonical values per concept balance attribute. Use sign="-" only when the canonical value is negative. Use preferredLabel="negatedLabel" on presentation arcs for credit-balance contras.'
Tell the agent the forbidden patterns. 'Do not emit dimension-default members explicitly. Do not use decimals="INF". Do not use precision. Do not place numeric facts in ix:hidden. Do not anchor extensions to abstract concepts.'
# Example prompt scaffold
You are generating an ESEF iXBRL filing for ACME N.V. (LEI 529900T8BM49AURSDO55) for FY ending 2025-12-31, against ESEF Taxonomy 2024 (esef_cor.xsd) extending IFRS Taxonomy 2024.
Constraints:
- xbrli:identifier scheme = http://standards.iso.org/iso/17442
- Monetary facts: iso4217:EUR; ratios: xbrli:pure; shares: xbrli:shares
- Balance-sheet concepts: xbrli:instant on 2025-12-31
- Flow concepts: xbrli:startDate 2025-01-01, endDate 2025-12-31
- decimals only (no precision); never decimals="INF"
- Place dimensional members in xbrli:scenario only (no segment)
- Do not emit default members explicitly
- Anchor extensions to closest concrete wider IFRS concept (never abstract)
Output: well-formed XHTML 1.1 with ix:header, ix:references (schemaRef to extension entry point), and ix:resources.3 questions. Druk op 1 tot 4 om te kiezen, Enter om te bevestigen.
Door deze quiz af te ronden, markeer je deze sectie als voltooid.
Tip: kies met 1 tot en met 4 en bevestig met Enter.