Skip to content

DAC7 Platform Reporting

Generate and XSD-check DAC7 DPI v1.0 XML for EU exchange or Irish Revenue.

$0.15/seller · $1 free credit every month, no card · MCP and REST

curl https://api.kanagu.dev/v1/dac7/generate \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":{"profile":"ireland"},"reportingYear":2026,"messageId":"example-marketplace-01","timestamp":"2027-01-07T13:00:00Z","report":{"kind":"new","history":[],"operator":{"name":"North Quay Markets Ltd","businessNames":["North Quay Markets"],"residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"1234567AB"}],"addresses":[{"country":"IE","text":"10 Quay Road, Dublin"}]},"sellers":[{"id":"seller-42","seller":{"identity":{"kind":"individual","firstName":"Orla","lastName":"Byrne","birthDate":"1991-06-14","residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"2345678CD"}],"addresses":[{"country":"IE","text":"14 Market Street, Galway"}]},"activities":{"saleOfGoods":[{"consideration":{"amount":"2400","currency":"EUR"},"activities":31,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}}]}}}]}}'
const res = await fetch("https://api.kanagu.dev/v1/dac7/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "destination": {
      "profile": "ireland"
    },
    "reportingYear": 2026,
    "messageId": "example-marketplace-01",
    "timestamp": "2027-01-07T13:00:00Z",
    "report": {
      "kind": "new",
      "history": [],
      "operator": {
        "name": "North Quay Markets Ltd",
        "businessNames": [
          "North Quay Markets"
        ],
        "residenceCountries": [
          "IE"
        ],
        "tins": [
          {
            "issuedBy": "IE",
            "value": "1234567AB"
          }
        ],
        "addresses": [
          {
            "country": "IE",
            "text": "10 Quay Road, Dublin"
          }
        ]
      },
      "sellers": [
        {
          "id": "seller-42",
          "seller": {
            "identity": {
              "kind": "individual",
              "firstName": "Orla",
              "lastName": "Byrne",
              "birthDate": "1991-06-14",
              "residenceCountries": [
                "IE"
              ],
              "tins": [
                {
                  "issuedBy": "IE",
                  "value": "2345678CD"
                }
              ],
              "addresses": [
                {
                  "country": "IE",
                  "text": "14 Market Street, Galway"
                }
              ]
            },
            "activities": {
              "saleOfGoods": [
                {
                  "consideration": {
                    "amount": "2400",
                    "currency": "EUR"
                  },
                  "activities": 31,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
curl https://api.kanagu.dev/mcp \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_operation","arguments":{"operation":"dac7.generate","input":{"destination":{"profile":"ireland"},"reportingYear":2026,"messageId":"example-marketplace-01","timestamp":"2027-01-07T13:00:00Z","report":{"kind":"new","history":[],"operator":{"name":"North Quay Markets Ltd","businessNames":["North Quay Markets"],"residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"1234567AB"}],"addresses":[{"country":"IE","text":"10 Quay Road, Dublin"}]},"sellers":[{"id":"seller-42","seller":{"identity":{"kind":"individual","firstName":"Orla","lastName":"Byrne","birthDate":"1991-06-14","residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"2345678CD"}],"addresses":[{"country":"IE","text":"14 Market Street, Galway"}]},"activities":{"saleOfGoods":[{"consideration":{"amount":"2400","currency":"EUR"},"activities":31,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}}]}}}]}}}}}'

Checked against Council Directive (EU) 2021/514, Annex V 2021/514 (2021-03-22). Reviewed 2026-11-26. All sources

Coverage and standards

Pinned jurisdictions, specification versions, official sources, and verification method from the API registry.

Jurisdictions
Jurisdictions: EU, IE
Last reviewed
How output is verified
Both operations run libxml2 against the official DPI 1.0 XSD and check report structure, local rules and supplied filing history.
StandardVersionOfficial source
Council Directive (EU) 2021/514, Annex V

2021-03-22

2021/514Sourcefor Council Directive (EU) 2021/514, Annex V
DG TAXUD DAC7 DPI XML Schema and User Guide

2023-06-07

4.00 EN / XSD 1.0Sourcefor DG TAXUD DAC7 DPI XML Schema and User Guide
Irish Revenue DAC7/MRDP XSD

2024-11-14

1.0Sourcefor Irish Revenue DAC7/MRDP XSD
Irish Revenue OECD common types

2026-01-22

1.0Sourcefor Irish Revenue OECD common types
Irish Revenue DPI ISO types (including country and currency codes)

2026-01-22

1.0Sourcefor Irish Revenue DPI ISO types (including country and currency codes)
Irish Revenue DAC7/MRDP registration and filing FAQs

2026-09-25

2026-09-25 snapshotSourcefor Irish Revenue DAC7/MRDP registration and filing FAQs
Irish Revenue DPI Schema User Guide

2022-12-15

3.00 ENSourcefor Irish Revenue DPI Schema User Guide
Irish Revenue DAC7 API Functional Design Specifications

2026-01-22

1.3Sourcefor Irish Revenue DAC7 API Functional Design Specifications

Run it on the live API

The sample request is ready to run. Sign in to run it on your $1 of monthly free credit.

$0.15/seller

 

Response

Run the request to see the live response here.

Operations, REST and MCP

OperationPrice
dac7.generate

Generate and XSD-check DAC7 DPI v1.0 XML for EU exchange or Irish Revenue. Supports new, additional, replacement and deletion records, up to 500 sellers per file.

$0.15/seller
dac7.validate

Check DAC7 DPI v1.0 against the official XSD, EU or Irish Revenue rules, and supplied DocRefId history. Up to 500 sellers per file.

$0.15/seller
curl https://api.kanagu.dev/v1/dac7/generate \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":{"profile":"ireland"},"reportingYear":2026,"messageId":"example-marketplace-01","timestamp":"2027-01-07T13:00:00Z","report":{"kind":"new","history":[],"operator":{"name":"North Quay Markets Ltd","businessNames":["North Quay Markets"],"residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"1234567AB"}],"addresses":[{"country":"IE","text":"10 Quay Road, Dublin"}]},"sellers":[{"id":"seller-42","seller":{"identity":{"kind":"individual","firstName":"Orla","lastName":"Byrne","birthDate":"1991-06-14","residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"2345678CD"}],"addresses":[{"country":"IE","text":"14 Market Street, Galway"}]},"activities":{"saleOfGoods":[{"consideration":{"amount":"2400","currency":"EUR"},"activities":31,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}}]}}}]}}'
const res = await fetch("https://api.kanagu.dev/v1/dac7/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "destination": {
      "profile": "ireland"
    },
    "reportingYear": 2026,
    "messageId": "example-marketplace-01",
    "timestamp": "2027-01-07T13:00:00Z",
    "report": {
      "kind": "new",
      "history": [],
      "operator": {
        "name": "North Quay Markets Ltd",
        "businessNames": [
          "North Quay Markets"
        ],
        "residenceCountries": [
          "IE"
        ],
        "tins": [
          {
            "issuedBy": "IE",
            "value": "1234567AB"
          }
        ],
        "addresses": [
          {
            "country": "IE",
            "text": "10 Quay Road, Dublin"
          }
        ]
      },
      "sellers": [
        {
          "id": "seller-42",
          "seller": {
            "identity": {
              "kind": "individual",
              "firstName": "Orla",
              "lastName": "Byrne",
              "birthDate": "1991-06-14",
              "residenceCountries": [
                "IE"
              ],
              "tins": [
                {
                  "issuedBy": "IE",
                  "value": "2345678CD"
                }
              ],
              "addresses": [
                {
                  "country": "IE",
                  "text": "14 Market Street, Galway"
                }
              ]
            },
            "activities": {
              "saleOfGoods": [
                {
                  "consideration": {
                    "amount": "2400",
                    "currency": "EUR"
                  },
                  "activities": 31,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
claude mcp add --transport http kanagu https://api.kanagu.dev/mcp \
  --header "Authorization: Bearer $KANAGU_KEY"
{
  "mcpServers": {
    "kanagu": {
      "url": "https://api.kanagu.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${env:KANAGU_KEY}"
      }
    }
  }
}
curl https://api.kanagu.dev/mcp \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_operation","arguments":{"operation":"dac7.generate","input":{"destination":{"profile":"ireland"},"reportingYear":2026,"messageId":"example-marketplace-01","timestamp":"2027-01-07T13:00:00Z","report":{"kind":"new","history":[],"operator":{"name":"North Quay Markets Ltd","businessNames":["North Quay Markets"],"residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"1234567AB"}],"addresses":[{"country":"IE","text":"10 Quay Road, Dublin"}]},"sellers":[{"id":"seller-42","seller":{"identity":{"kind":"individual","firstName":"Orla","lastName":"Byrne","birthDate":"1991-06-14","residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"2345678CD"}],"addresses":[{"country":"IE","text":"14 Market Street, Galway"}]},"activities":{"saleOfGoods":[{"consideration":{"amount":"2400","currency":"EUR"},"activities":31,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}}]}}}]}}}}}'

Every request field, response schema, and error code is in the dac7.generate reference.

$0.15/seller, billed only on success

$1 of free credit every month after sign-in. Then pay as you go with no base fee, or the $9/month Bundle with $9 of usage included across every Kanagu product. Compare plans

Sign in with GitHub or Google to create a key and spend $1 of free credit each month, no card needed. Subscribe from your dashboard when you need higher volume. Polar is the merchant of record and handles payment, tax, and invoices.

Create an API key

Sign in with GitHub or Google for $1 of monthly free credit, no card needed. Run calls from the console, your code, or an MCP agent.