AnyTax Filing Eligibility Check API

Pre-filing eligibility questionnaire, computed server-side. Callable either from your own backend pre-signup (partner bearer token from POST /api/v1/partner/token) or by a logged-in end user (their own session token) — same questions, same evaluate() engine either way.

GitHub OpenAPI

Operations 3

GET /api/v1/filing-eligibility-check/questions Fetch the eligibility question set for a tax year #
POST /api/v1/filing-eligibility-check/evaluate Evaluate a (possibly partial) set of eligibility answers #
POST /api/v1/filing-eligibility-check/notify Capture a "notify me when supported" email for an unsupported result #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anytax:anytax-filing-eligibility-check-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anytax-filing-eligibility-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anytax Filing Eligibility Check API
  contact: {}
  version: '1.0'
  description: 'Operations tagged Filing Eligibility Check across 3 of this provider''s published API definitions: anytax-openapi.json, anytax-openapi.json, anytax-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Filing Eligibility Check
  description: Pre-filing eligibility questionnaire, computed server-side. Callable either from your own backend pre-signup (partner bearer token from POST /api/v1/partner/token) or by a logged-in end user (their own session token) — same questions, same evaluate() engine either way.
paths:
  /api/v1/filing-eligibility-check/questions:
    get:
      description: 'Auth: either a partner bearer token from POST /api/v1/partner/token (no end-user account required — for a partner backend calling on behalf of an anonymous, pre-signup end user), or your own normal session token if you''re already logged in. Returns all 4 questions with stable question/option ids, copy, helper text, callout blocks, exclusive/clearing flags, and a questionSetVersion. Cache by (taxYear, locale) — content only changes when questionSetVersion changes.


        **Responses**


        | Status | Meaning |

        | ------ | ------- |

        | `200` | — |'
      operationId: FilingEligibilityCheckApiController_getQuestions
      parameters:
      - name: taxYear
        required: true
        in: query
        description: Tax year the questions apply to
        schema:
          example: 2025
          type: number
      - name: locale
        required: true
        in: query
        description: Language to return question copy in
        schema:
          type: string
          enum:
          - en
          - de
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                - data
                - meta
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/EligibilityQuestionsResponseDto'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
      summary: Fetch the eligibility question set for a tax year
      tags:
      - Filing Eligibility Check
      security:
      - bearer: []
      x-anytax-docs-enriched: true
  /api/v1/filing-eligibility-check/evaluate:
    post:
      description: 'Auth: either a partner bearer token (anonymous, pre-signup — nothing is created for the end user until they later register with AnyTax) or your own session token if logged in (pass `scenarioUUID` in that case so the result ties into the same filing-eligibility gate as the rest of the filing flow). Accepts partial answer sets. Returns "unsupported" as soon as any submitted question is disqualifying, without requiring the rest. Returns "supported" only once all 4 questions are present and clean. Otherwise returns "pending". Evaluates against the exact questionSetVersion requested, even if it is no longer the current one, so a caller mid-flow on a cached version is never broken by a later wording bump.


        **Request body**


        | Field | Type | Required | Constraints |

        | ----- | ---- | -------- | ----------- |

        | `taxYear` | number | Yes | Tax year the answers apply to |

        | `questionSetVersion` | string | Yes | The questionSetVersion returned by GET /filing-eligibility-check/questions for this taxYear |

        | `locale` | enum | Yes | en, de |

        | `answers` | object | Yes | Answers so far, keyed by questionId. Partial answer sets are accepted — omit a question that has not been answered yet. |

        | `scenarioUUID` | string (uuid) | No | UUID |


        **Responses**


        | Status | Meaning |

        | ------ | ------- |

        | `200` | — |'
      operationId: FilingEligibilityCheckApiController_evaluate
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvaluateEligibilityDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                - data
                - meta
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/EvaluateEligibilityResponseDto'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
      summary: Evaluate a (possibly partial) set of eligibility answers
      tags:
      - Filing Eligibility Check
      security:
      - bearer: []
      x-anytax-docs-enriched: true
  /api/v1/filing-eligibility-check/notify:
    post:
      description: 'Auth: either a partner bearer token (anonymous — no end-user account, login, or session required; `email` in the body is required) or your own session token if logged in (the `email` in the body is ignored in that case — we use your account''s own address, so you can''t register someone else''s email under your session). Lands in the same store either way. Repeat signups for the same email/taxYear/partner update the existing record rather than creating duplicates.


        **Request body**


        | Field | Type | Required | Constraints |

        | ----- | ---- | -------- | ----------- |

        | `email` | string | No | Where to send a message once this taxYear becomes supported. Required when calling with a partner bearer token. Ignored (and not required) when calling with your own logged-in session — we use your account''s own email instead, so you can''t register someone else''s email under your session. |

        | `taxYear` | number | Yes | Which tax year this signup is about — usually the taxYear you just evaluated. |

        | `questionSetVersion` | string | No | The questionSetVersion you evaluated against, if you have one. Purely a record-keeping field — omit it if this signup didn''t follow an evaluate() call. |

        | `triggeredBy` | object[] | No | items: TriggeredByEntryDto |


        **Responses**


        | Status | Meaning |

        | ------ | ------- |

        | `201` | — |'
      operationId: FilingEligibilityCheckApiController_notify
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotifyEligibilityDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                - data
                - meta
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/NotifyEligibilityResponseDto'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
      summary: Capture a "notify me when supported" email for an unsupported result
      tags:
      - Filing Eligibility Check
      security:
      - bearer: []
      x-anytax-docs-enriched: true
components:
  schemas:
    EligibilityQuestionsResponseDto:
      type: object
      properties:
        taxYear:
          type: number
          description: Echoes back the taxYear you requested.
          example: 2025
        locale:
          type: string
          enum:
          - en
          - de
          description: Echoes back the locale you requested — every copy field above is in this language.
        questionSetVersion:
          type: string
          description: Identifies exactly which version of the question content you were shown. Store it alongside the user's answers and pass it back unchanged into evaluate()/notify() below — that's how we score against the rules the user actually saw, even if the content changes later.
          example: '2026-08-11'
        questions:
          description: Always exactly 4 questions, in the fixed order to present them in. Render them one at a time or all at once — evaluate() accepts answers for any subset, in any order.
          type: array
          items:
            $ref: '#/components/schemas/EligibilityQuestionResponseDto'
      required:
      - taxYear
      - locale
      - questionSetVersion
      - questions
    NotifyEligibilityDto:
      type: object
      properties:
        email:
          type: string
          description: Where to send a message once this taxYear becomes supported. Required when calling with a partner bearer token. Ignored (and not required) when calling with your own logged-in session — we use your account's own email instead, so you can't register someone else's email under your session.
          example: user@example.com
        taxYear:
          type: number
          description: Which tax year this signup is about — usually the taxYear you just evaluated.
          example: 2025
        questionSetVersion:
          type: string
          description: The questionSetVersion you evaluated against, if you have one. Purely a record-keeping field — omit it if this signup didn't follow an evaluate() call.
          example: '2026-08-11'
        triggeredBy:
          description: The `triggeredBy` you got back from the evaluate() call that led to this signup, if any — lets us see what kind of case this signup is for. Optional; omit if you don't have it.
          type: array
          items:
            $ref: '#/components/schemas/TriggeredByEntryDto'
      required:
      - taxYear
    NotifyEligibilityResponseDto:
      type: object
      properties:
        uuid:
          type: string
          description: Opaque reference for this signup. Not needed for anything — the signup is looked up by (email, taxYear, partner) if you ever need to reference it again.
          example: b3f1e2a4-1234-4a5b-8c9d-abcdef123456
      required:
      - uuid
    EligibilityCalloutDto:
      type: object
      properties:
        lead:
          type: string
          description: Bold lead-in sentence for the info callout. Q1 only. Render before `body`.
          example: Foreign investments are fine.
        body:
          type: string
          description: Body copy for the info callout, continuing from `lead`. Render both together as a single highlighted info box under Q1's bullet list — this is the "foreign investments are fine" clarification the ticket calls out explicitly, so partners reproduce it faithfully.
          example: If your only foreign connection is dividends, interest or share sales through a bank or broker, answer No — we support those, including foreign withholding tax.
      required:
      - lead
      - body
    TriggeredByEntryDto:
      type: object
      properties:
        questionId:
          type: string
          description: Which question was disqualifying — matches a questionId from GET .../questions.
          example: incomeSources
        selectedOptionIds:
          description: Exactly what the user/partner submitted for that question — kept for your own records.
          example:
          - abroad
          type: array
          items:
            type: string
      required:
      - questionId
      - selectedOptionIds
    EligibilityOptionResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Stable identifier for this option, scoped to its question. Never changes once published — use it (not the label) as the key you send back in evaluate()'s answers map, and to persist which option a user picked.
          example: none
        label:
          type: string
          description: Display copy for this option, in the locale you requested. Render this as the option's visible text — it can change on a wording-only questionSetVersion bump, so don't key any logic off it.
          example: None of these
        helperText:
          type: string
          description: Secondary/explanatory copy shown under the option label (e.g. examples or a plain-language gloss of a tax term). Render smaller/muted under `label` when present; many options have none.
          example: Freelancers and professionals (Freiberufler)
        isClearing:
          type: boolean
          description: True only for the single option on this question that means "this doesn't apply to me" (or "No" on the yes/no question). In your UI, selecting this option should deselect every other option on the same question, and selecting any other option should deselect this one — that mutual-exclusivity rule ships with the content so you don't have to hardcode it per question.
          example: true
      required:
      - id
      - label
      - isClearing
    EvaluateEligibilityResponseDto:
      type: object
      properties:
        outcome:
          type: string
          enum:
          - supported
          - unsupported
          - pending
          description: '"supported" only once all 4 questions were present and clean in this call. "unsupported" as soon as any submitted question was disqualifying. "pending" otherwise — keep asking questions and calling evaluate() again.'
        taxYear:
          type: number
          description: Echoes back the taxYear you sent.
          example: 2025
        questionSetVersion:
          type: string
          description: Echoes back the questionSetVersion you sent — this is what was actually scored.
          example: '2026-08-11'
        triggeredBy:
          description: Empty unless outcome is "unsupported". Which question(s)/option(s) disqualified this result — for your own visibility into what kinds of cases you're turning away. Never show this to the end user; show only the generic `message` below.
          type: array
          items:
            $ref: '#/components/schemas/TriggeredByEntryDto'
        message:
          type: string
          description: Null unless outcome is "unsupported". The same generic rejection copy shown in the AnyTax player — render this to the end user verbatim, in the locale you requested. Do not pair it with anything from `triggeredBy`.
          example: Some parts of your return require a more complex filing than our current version supports. We're actively working on expanding coverage — your case may be supported in a future update. In the meantime, you can file directly via ELSTER or speak to a tax advisor.
        notifyOffer:
          type: boolean
          description: True only when outcome is "unsupported". Show the end user a "notify me when supported" option when this is true, and call POST .../notify below if they opt in.
          example: true
      required:
      - outcome
      - taxYear
      - questionSetVersion
      - triggeredBy
      - notifyOffer
    EligibilityQuestionResponseDto:
      type: object
      properties:
        id:
          type: string
          description: 'Stable identifier for this question. Never changes once published — use it as the key in evaluate()''s answers map ({ questionId: [optionId, ...] }), not the heading text.'
          example: foreignTies
        heading:
          type: string
          description: Question title, in the locale you requested. Render as the question's main heading.
          example: Did you have foreign income or live outside Germany in 2025?
        subtext:
          type: string
          description: Short instruction line shown under the heading, above the options.
          example: 'Answer Yes if any of these applied to you:'
        bullets:
          description: Bullet list of example situations, shown under `subtext` before the options. Present on Q1 only — omit this block entirely for questions where it's absent, don't render an empty list.
          example:
          - Salary, self-employment or business income from abroad
          type: array
          items:
            type: string
        callout:
          description: Highlighted info box to render after the bullet list. Present on Q1 only — omit this block entirely when absent.
          allOf:
          - $ref: '#/components/schemas/EligibilityCalloutDto'
        allowMultiple:
          type: boolean
          description: 'Tells you which input control to render: false = radio buttons (exactly one answer, e.g. the yes/no question), true = checkboxes (any number of options, including none yet). Purely a rendering hint — evaluate()''s clean/disqualifying logic is identical either way.'
          example: false
        options:
          description: The selectable options for this question, in display order.
          type: array
          items:
            $ref: '#/components/schemas/EligibilityOptionResponseDto'
      required:
      - id
      - heading
      - subtext
      - allowMultiple
      - options
    EvaluateEligibilityDto:
      type: object
      properties:
        taxYear:
          type: number
          description: Tax year the answers apply to
          example: 2025
        questionSetVersion:
          type: string
          description: The questionSetVersion returned by GET /filing-eligibility-check/questions for this taxYear
          example: '2026-08-11'
        locale:
          type: string
          enum:
          - en
          - de
          description: Language for the generic unsupported message, if returned
        answers:
          type: object
          description: Answers so far, keyed by questionId. Partial answer sets are accepted — omit a question that has not been answered yet.
          example:
            foreignTies:
            - 'no'
            incomeSources:
            - none
        scenarioUUID:
          type: string
          description: 'Only meaningful when called with your own logged-in session (not a partner bearer token): the scenario this check is for, so the result ties into the same filing-eligibility gate as the rest of the filing flow. Ignored on partner-bearer calls.'
          format: uuid
      required:
      - taxYear
      - questionSetVersion
      - locale
      - answers
    ApiMeta:
      type: object
      required:
      - timestamp
      properties:
        timestamp:
          type: string
          format: date-time
          example: '2025-01-19T10:30:00.000Z'
        responseTime:
          type: number
          example: 42
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for programmatic authentication
x-refined-from:
- anytax-openapi.json
- anytax-openapi.json
- anytax-openapi.yml
x-tagGroups:
- name: Partner platform
  tags:
  - Partner platform
  - Filing Eligibility Check
- name: User Management
  tags:
  - Auth API
  - User API
- name: Tax Services
  tags:
  - Filing API
  - Scenario API
  - Question API
  - Answer API
  - Navigation API
  - Wage Tax API
  - Tax Saving Tip API
  - ELSTER Import API