EvoHub DocsEvoHub Docs Sign in

Set the tax number

Use with AI
View as MarkdownThis page as plain text, for pasting into an AI tool Open in ClaudeAsk Claude questions about this page Open in ChatGPTAsk ChatGPT questions about this page
Connect to Cursor / VS Code / ClaudeSearch and read these docs from your AI tool (MCP server)

MCP server URL

https://docs.evohub.io/mcp

Claude Code

claude mcp add --transport http evohub-docs https://docs.evohub.io/mcp

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector, and paste the URL above.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "evohub-docs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://docs.evohub.io/mcp"
      ]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "evohub-docs": {
      "url": "https://docs.evohub.io/mcp"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "evohub-docs": {
      "type": "http",
      "url": "https://docs.evohub.io/mcp"
    }
  }
}
PUT/api/v1/billing/tax-details

Replaces the tax number on file, filed under the type the organization's country uses. An empty tax_id removes it. To change the address or entity type too, set the billing details instead.

Answers with the tax details as saved.

Requires the billing:profile:write scope.

Authorization

Any one of:

Request body required

Content type: application/json

Type: object

  • tax_id string
    The tax registration number, or "" to remove it.

Responses

200

The tax details as saved.

Content type: application/json

Type: object

  • data TaxDetails
    Show TaxDetails properties
    • country string
    • tax_id string
    • tax_id_type string
      Left out when there is no number.
    • editable boolean
      Whether a tax number can be filed for this country.

400

The body is not JSON (INVALID_BODY), or the number was not accepted — usually one that does not match its country's format (TAX_ID_REJECTED).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

401

No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

403

The key lacks the scope this endpoint needs (FORBIDDEN).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

409

No billing details or card have been saved yet (NO_PAYMENT_SETUP), or a number was given while the organization's country is not known (COUNTRY_UNKNOWN) — set the billing details first.

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

429

Too many requests (RATE_LIMITED). Wait for Retry-After seconds.

Headers

  • Retry-After integer
    Seconds to wait before retrying.

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

503

Payments are not enabled on this environment (PAYMENTS_DISABLED).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: STATEMENT_NOT_FOUND
    • message string required
      Example: No statement for that period.
    • request_id string

Example request

curl -X PUT 'https://evohub.io/api/v1/billing/tax-details' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <TOKEN>' \
  -d '{
  "tax_id": "IE1234567T"
}'