whatisgithub

What is ibd6?

mortimergoro/ibd6 — explained in plain English

Analysis updated 2026-08-07 · repo last pushed 2021-03-22

Audience · generalComplexity · 1/5DormantSetup · easy

In one sentence

IBD6 is a web tool that converts Interactive Brokers FlexQuery exports into the .aforixm file format required for Spain's annual D6 foreign investment report, saving taxpayers from manual paperwork.

Mindmap

mindmap
  root((repo))
    What it does
      Converts broker data
      Generates D6 file
      Runs in browser
    Inputs
      FlexQuery export file
      Broker account data
    Outputs
      Aforixm file
      Ready for tax filing
    Use cases
      Individual investors
      Small accounting firms
      Spanish tax compliance
    Audience
      Spanish residents
      Interactive Brokers users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a D6-ready .aforixm file from your Interactive Brokers FlexQuery export.

USE CASE 2

Automate tax filing paperwork for Spanish clients with Interactive Brokers accounts.

USE CASE 3

Convert broker year-end positions into the format Spanish tax authorities require.

What is it built with?

JavaScriptHTMLCSS

How does it compare?

mortimergoro/ibd6000madz000/rfid-attendance00kaku/gallery-slider-block
LanguageTypeScriptJavaScript
Last pushed2021-03-222024-07-222021-05-19
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity1/52/52/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Hosted web page with nothing to install, but you need an Interactive Brokers account and a FlexQuery export to use it.

No license information is provided in the explanation, so the terms of use are unclear.

So what is it?

IBD6 is a web tool that helps Spanish taxpayers generate a required financial report from their Interactive Brokers account data. Spain requires residents to file an annual "D6 report" declaring certain foreign investments. Rather than manually compiling that paperwork, a user can export a FlexQuery from their broker, upload it to this app, and get back a .aforixm file ready for the D6 filing. The process is straightforward. Interactive Brokers offers a feature called FlexQuery that lets customers export their account data in a structured format. The app takes that exported file as input, reads the relevant positions and balances, and formats everything into the specific file structure the Spanish tax authorities expect for the D6 report. The result is a file you can use directly in your tax submission. This tool is aimed at individual investors or small accounting firms in Spain who have brokerage accounts with Interactive Brokers and need to comply with Spanish reporting requirements. For example, if you're a Spanish resident who holds foreign securities through that broker, you'd normally need to gather your year-end positions and translate them into the D6 format by hand, this app automates that conversion. The app is available as a hosted web page, so there's nothing to install. The README includes a standard disclaimer that the software may contain errors and should be used at your own risk, which is worth noting since it handles tax-related data. It also points to official Spanish tax authority documentation for Modelo 720, a related filing for declaring foreign assets, though the tool itself is specifically for the D6 report.

Copy-paste prompts

Prompt 1
I have an Interactive Brokers FlexQuery export and need to file Spain's D6 report. What steps do I follow using IBD6 to generate the .aforixm file?
Prompt 2
Can you walk me through how to export a FlexQuery from Interactive Brokers so that the IBD6 tool can process it correctly for the Spanish D6 filing?
Prompt 3
What fields and data does the IBD6 tool extract from the FlexQuery, and how does it map them into the .aforixm format for Spanish tax authorities?
Prompt 4
I'm a small accounting firm in Spain with multiple clients on Interactive Brokers. How can I use IBD6 to streamline D6 report generation for each client?

Frequently asked questions

What is ibd6?

IBD6 is a web tool that converts Interactive Brokers FlexQuery exports into the .aforixm file format required for Spain's annual D6 foreign investment report, saving taxpayers from manual paperwork.

Is ibd6 actively maintained?

Dormant — no commits in 2+ years (last push 2021-03-22).

What license does ibd6 use?

No license information is provided in the explanation, so the terms of use are unclear.

How hard is ibd6 to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ibd6 for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.