{
  "data": {
    "a": {
      "slug": "kintsugi",
      "name": "Kintsugi",
      "vendor": "Kintsugi AI, Inc.",
      "vendorUrl": "https://trykintsugi.com",
      "company": "trykintsugi.com",
      "kind": "http-api",
      "category": "tax",
      "summary": "Kintsugi is a hosted sales tax, VAT and GST compliance platform. Its API estimates tax, records transactions, customers and exemptions, and manages nexus, registrations and filings. Two MCP servers connect AI assistants to the API and to account data.",
      "url": "https://www.anchorterminal.com/tools/kintsugi",
      "markdownUrl": "https://www.anchorterminal.com/tools/kintsugi.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/kintsugi.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/kintsugi.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/kintsugi.json",
      "dns": "kintsugi.grade.anchorterminal.com",
      "repo": "https://github.com/kintsugi-tax/kintsugi-tax-python-sdk",
      "license": "Proprietary service under the Kintsugi Terms of Service. The Python SDK repository is MIT",
      "transports": [
        "http",
        "streamable-http"
      ],
      "remoteUrl": "https://api.trykintsugi.com",
      "packages": [
        {
          "registry": "pypi",
          "name": "kintsugi-tax-platform-sdk"
        },
        {
          "registry": "npm",
          "name": "@kintsugi-tax/tax-platform-sdk"
        }
      ],
      "auth": "mixed",
      "authNotes": "API keys are self-serve in the app under Configuration, API Keys, but only on a paid plan that includes them, and the pricing page lists API access under Premium, which is arranged through sales. The Tenanted API takes the key in `Api-Key`. v1, the SDKs and the docs MCP server take `x-api-key` with `x-organization-id`. A key belongs to one organisation, can expire, and has no scopes. Key and user management endpoints accept only an Owner or Admin session token. The account-data MCP server uses OAuth 2.1 with PKCE, dynamic client registration and the scope `read:user_data`, signed in with the app login.",
      "pricing": "paid",
      "pricingNotes": "API access is listed only under Premium, which is priced on request. Free is $0 with no card and covers exposure monitoring, CSV imports and no-code integrations, without API keys. Starter is $75 per action (registration, filing, back filing, re-file, amended return or deregistration) in the US and Canada, and Scale and Premium are custom flat-rate plans. No free tier or sandbox with live API access was found, so an agent can't start on the API without a Premium plan. The API Lab in the docs runs against simulated responses (https://trykintsugi.com/pricing, checked 2026-11-03).",
      "priceSummary": "$75 / tx",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the API docs, the OpenAPI file or the pricing page (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": 41,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 71,
        "pypiWeekly": 10,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://docs.trykintsugi.com",
      "llmsTxt": "https://docs.trykintsugi.com/llms.txt",
      "openapi": "https://api.trykintsugi.com/openapi.json",
      "capabilities": [
        "tax.calculate",
        "tax.transactions",
        "tax.filing",
        "tax.exemptions"
      ],
      "tags": [
        "hosted",
        "paid",
        "closed-source",
        "api-key",
        "oauth",
        "mcp",
        "openapi",
        "llms-txt",
        "python",
        "typescript",
        "java",
        "php",
        "ruby",
        "sales-led",
        "status-page",
        "soc2"
      ],
      "lastRelease": "2026-11-02",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 61.2,
        "grade": "C",
        "agentReady": false,
        "rank": 785,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 5,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 75,
          "maintenance": 78,
          "payments": 20,
          "reliability": 71,
          "schema": 87,
          "security": 52,
          "transparency": 60
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-03"
        },
        "negative": -3,
        "negativeNotes": [
          "2 October to 2 November 2026. The API changelog marks changes applied to pinned Tenanted releases as breaking, each documented with migration steps on the day it took effect, while the docs say a pinned release can't change an integration. Among them, address access rules and import `userId` (2 October), a filing pause window and a changed error code (5 October), billing callers (7 October), PATCH replacing PUT for registration credentials (14 October), an invitation limit with no limit before (15 October), the filing enhanced-data endpoints removed from every Tenanted release (27 October) and `set-primary` removed (28 October). Repeats of one kind fold into one term at the minimum of 3. No advance notice was found (https://docs.trykintsugi.com/reference/changelog)"
        ],
        "verdict": "The docs are built for machine readers, with llms.txt, Markdown pages, a dated changelog and an MCP server whose write tools carry annotations. API keys need the custom-priced Premium plan and carry no scopes, no rate limit with a number is published, and breaking changes kept reaching pinned releases through October 2026.",
        "bestFor": "An agent working for a seller that already has Kintsugi Premium and wants estimates, transaction sync, exemptions, nexus, registrations and filing status through one API, or read-only answers about an account through the OAuth MCP server.",
        "strengths": [
          "Docs served for agents. `llms.txt` indexes 715 pages, every page has a `.md` twin, and `llms-full.txt` holds the full text",
          "Every reference page has a Markdown twin with typed fields, enums and required marks, and the API guides carry request examples",
          "The docs MCP server lists 41 tools, one per Customer API operation, and the docs say write tools are annotated so a client asks first",
          "A second MCP server at `https://mcp.trykintsugi.com/mcp` uses OAuth 2.1 with PKCE and dynamic client registration, and Kintsugi says its 46 tools are all read-only",
          "One error envelope on the Tenanted API with a stable `code`, a `requestId` and field-level `errors`, and creates that are idempotent on `externalId` and `source`"
        ],
        "weaknesses": [
          "API access, SDKs and real-time tax calculation are listed only under Premium, which is priced on request. API keys need a paid plan that includes them",
          "Changelog entries from 2 October to 2 November 2026 apply changes marked breaking to the pinned 2026-07-21 and 2026-10-06 releases. No advance notice was found",
          "No rate limit with a number is published, and `Retry-After` is documented only for the invitation endpoint",
          "API keys act on a whole organisation with no scopes or read-only mode. Expiry is the only setting",
          "No `security.txt`, disclosure policy, bug bounty, uptime SLA document or subprocessor list was found on the public pages"
        ],
        "agentNotes": [
          "Send `Api-Key` and pin `Api-Version` (for example `2026-10-06`) on Tenanted API calls to `https://api.trykintsugi.com`. Without the header a request runs against `2026-07-21`",
          "Use `x-api-key` and `x-organization-id` with `/v1` paths for the SDKs and the docs MCP server. They don't cover the Tenanted API",
          "Call `POST /tax-estimations` for a quote. Nothing is stored. Record the sale with a transaction create, which answers 202, then check `processingStatus` before reading tax totals",
          "Always send `externalId` on creates. A repeat with the same `externalId` and `source` returns the stored record with 200 and doesn't apply the new fields",
          "Branch on the error `code`, not the message. Retry 429, 500 and 503 with exponential backoff, and restart paging from the first page on `stale_cursor`"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 1.8,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 61.2
          }
        ],
        "editorialScores": {
          "ergonomics": 75,
          "maintenance": 78,
          "payments": 20,
          "reliability": 71,
          "schema": 87,
          "security": 52,
          "transparency": 44
        },
        "provenanceScore": 76,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-03",
            "maintenance": "2026-11-03",
            "payments": "2026-11-03",
            "reliability": "2026-11-03",
            "schema": "2026-11-03",
            "security": "2026-11-03",
            "transparency": "2026-11-03"
          },
          "last": "2026-11-03",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-03",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install kintsugi-tax-platform-sdk",
        "http": "curl https://api.trykintsugi.com/products/categories \\\n  -H \"Api-Key: $KINTSUGI_API_KEY\" \\\n  -H \"Api-Version: 2026-07-21\"",
        "config": {
          "mcpServers": {
            "kintsugi": {
              "headers": {
                "X-API-KEY": "your-api-key",
                "X-ORGANIZATION-ID": "your-org-id"
              },
              "url": "https://docs.trykintsugi.com/mcp"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/tax.calculate",
        "tool": "https://letme.dev/kintsugi"
      },
      "area": "domain-data",
      "unitPrices": [
        {
          "item": "Starter plan, per filing or registration",
          "unit": "tx",
          "usd": 75,
          "note": "Starting price. API access is not included in Starter and is listed only under Premium, which is quoted by sales"
        }
      ],
      "provenance": {
        "legalEntity": "Kintsugi AI, Inc.",
        "domain": "trykintsugi.com",
        "domainRegistered": "2023-03-10",
        "endpointOnVendorDomain": true,
        "terms": "https://trykintsugi.com/terms-of-service",
        "privacy": "https://trykintsugi.com/privacy-policy",
        "statusPage": "https://status.trykintsugi.com",
        "changelog": "https://docs.trykintsugi.com/reference/changelog",
        "securityTxt": "none",
        "checked": "2026-10-08",
        "notes": [
          "The terms of service (last updated 29 September 2026) name Kintsugi AI, Inc., a Delaware corporation at 2261 Market St, Suite 5931, San Francisco, and cover the platform unless a signed Customer Agreement applies.",
          "The terms incorporate the privacy policy (last updated 13 April 2025) and the Data Processing Agreement at trykintsugi.com/data-processing-agreement (last updated 26 August 2026).",
          "The API answers at api.trykintsugi.com and the MCP servers at docs.trykintsugi.com and mcp.trykintsugi.com, all on the vendor's domain.",
          "trykintsugi.com/.well-known/security.txt returns 404. The security page names no disclosure address or bug bounty.",
          "RDAP for trykintsugi.com gives a registration date of 2023-03-10 and GoDaddy as registrar."
        ],
        "score": 76
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/kintsugi.json",
      "live": {
        "slug": "kintsugi",
        "probe": {
          "target": "https://api.trykintsugi.com",
          "method": "get",
          "lastAt": "2026-11-23T17:54:07.755680209Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 576,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 575,
          "p95ms24h": 667,
          "samples24h": 243,
          "samples30d": 7730,
          "days": [
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-29",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-30",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-31",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-11-01",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-11-02",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-11-03",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-11-04",
              "probes": 246,
              "ok": 246
            },
            {
              "date": "2026-11-05",
              "probes": 185,
              "ok": 185
            },
            {
              "date": "2026-11-06",
              "probes": 241,
              "ok": 241
            },
            {
              "date": "2026-11-07",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-08",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-09",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-10",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-11",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-12",
              "probes": 245,
              "ok": 245
            },
            {
              "date": "2026-11-13",
              "probes": 238,
              "ok": 238
            },
            {
              "date": "2026-11-14",
              "probes": 244,
              "ok": 244
            },
            {
              "date": "2026-11-15",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-16",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-17",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-18",
              "probes": 240,
              "ok": 240
            },
            {
              "date": "2026-11-19",
              "probes": 243,
              "ok": 243
            },
            {
              "date": "2026-11-20",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-21",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-22",
              "probes": 242,
              "ok": 242
            },
            {
              "date": "2026-11-23",
              "probes": 181,
              "ok": 181
            }
          ],
          "since": "2026-10-08T00:00:00Z"
        },
        "vendorStatus": {
          "page": "https://status.trykintsugi.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-23T17:47:34.847290139Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "kintsugi-tax/kintsugi-tax-python-sdk",
            "version": "v0.13.0",
            "released": "2026-09-15",
            "seenAt": "2026-11-23T00:20:31.55971219Z"
          },
          {
            "registry": "npm",
            "name": "@kintsugi-tax/tax-platform-sdk",
            "version": "0.10.2",
            "seenAt": "2026-11-23T00:20:31.085847196Z"
          },
          {
            "registry": "pypi",
            "name": "kintsugi-tax-platform-sdk",
            "version": "0.13.0",
            "released": "2026-09-15",
            "seenAt": "2026-11-23T00:20:30.879810882Z"
          }
        ],
        "githubStars": 0,
        "npmWeekly": 33,
        "pypiWeekly": 12,
        "securityTxt": {
          "url": "https://trykintsugi.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-23T16:42:13.436345221Z"
        },
        "llmsTxt": {
          "url": "https://docs.trykintsugi.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:40:00.006453561Z"
        },
        "domain": {
          "domain": "trykintsugi.com",
          "registered": "2023-03-10",
          "source": "https://rdap.verisign.com/com/v1/domain/trykintsugi.com",
          "checkedAt": "2026-11-22T16:00:31.734408329Z"
        },
        "pages": [
          {
            "url": "https://docs.trykintsugi.com/reference/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-23T00:26:10.246316477Z",
            "changedAt": "2026-11-21T23:45:18.719111754Z",
            "fingerprint": "0e25c91b03b2"
          },
          {
            "url": "https://trykintsugi.com/pricing",
            "kind": "pricing",
            "status": 304,
            "checkedAt": "2026-11-23T00:41:13.935659966Z",
            "changedAt": "2026-11-18T21:56:48.759480858Z",
            "fingerprint": "a74fbf2e7f31"
          },
          {
            "url": "https://trykintsugi.com/privacy-policy",
            "kind": "privacy",
            "status": 304,
            "checkedAt": "2026-11-23T00:41:16.169911561Z",
            "changedAt": "2026-11-18T21:56:51.805747382Z",
            "fingerprint": "7da596bbe225"
          },
          {
            "url": "https://trykintsugi.com/terms-of-service",
            "kind": "terms",
            "status": 304,
            "checkedAt": "2026-11-23T00:41:18.061800156Z",
            "changedAt": "2026-11-18T21:56:53.675489092Z",
            "fingerprint": "7e71972e94c7"
          }
        ],
        "mcpTools": {
          "url": "https://docs.trykintsugi.com/mcp",
          "checkedAt": "2026-11-23T05:39:48.177872625Z",
          "status": "ok",
          "protocol": "2026-07-28",
          "tools": [
            {
              "name": "search",
              "title": "Search",
              "description": "POST /v1/address_validation/search\n\nThis API validates and enriches address information submitted by the user. It ensures that the address is standardized, accurate, and compliant with geographical and postal standards. The API also adds additional fields, such as county, when possible.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/search",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "city": {
                        "description": "City where the customer resides.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code in ISO 3166-1 alpha-2 format"
                      },
                      "county": {
                        "description": "County or district of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "full_address": {
                        "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "phone": {
                        "description": "Phone number associated with the address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postal_code": {
                        "description": "ZIP or Postal code of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "state": {
                        "description": "State or province of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_1": {
                        "description": "Primary street address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_2": {
                        "description": "Additional street address details, such as an apartment or suite number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Search"
              }
            },
            {
              "name": "suggestions",
              "title": "Suggestions",
              "description": "POST /v1/address_validation/suggestions\n\nThis API endpoint provides address suggestions based on partial input data. It helps users auto-complete and validate addresses efficiently by returning a list of suggested addresses that match the input criteria. This improves accuracy, increases speed, reduces errors, and streamlines the data entry process.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/suggestions",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "city": {
                        "description": "The city or town name for the address",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US' for the United States). Defaults to 'US'. should not be empty. Not validating here as the validation structure can be different for different providers",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "county": {
                        "description": "County or district name for the address",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "fullAddress": {
                        "description": "A complete address string that can be used as an alternative to providing individual fields.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "id": {
                        "anyOf": [
                          {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Unique identifier for the request, if applicable"
                      },
                      "line1": {
                        "description": "Primary address line, such as street name and number",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "line2": {
                        "description": "Additional address details, such as an apartment or suite number",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "line3": {
                        "description": "Additional address details for complex addresses",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postalCode": {
                        "description": "ZIP or postal code for the address. Can be empty for some locales. Not validating here as the validation structure can be different for different providers",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "state": {
                        "description": "State, province, or region of the address",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Suggestions"
              }
            },
            {
              "name": "get-customers",
              "title": "Get customers",
              "description": "GET /v1/customers\n\nThe Get Customers API retrieves a paginated list of customers based on specified filters. This API allows searching, filtering by country and state, and sorting the results.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-customers",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "connection_id__in": {
                    "description": "Filter customers by connection ID (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "country": {
                    "anyOf": [
                      {
                        "items": {
                          "anyOf": [
                            {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US')"
                  },
                  "order_by": {
                    "description": "Comma-separated list of fields to sort results by.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "search_query": {
                    "description": "Search term to filter customers by name or other details",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "source__in": {
                    "description": "Filter customers by source (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "state": {
                    "description": "State or province code to filter customers",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get customers"
              }
            },
            {
              "name": "create-customer",
              "title": "Create customer",
              "description": "POST /v1/customers\n\nThe Create Customer API enables the creation of a new customer record with essential details like name, contact information, and address, along with optional metadata.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-customer",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "address_status": {
                        "enum": [
                          "UNVERIFIED",
                          "INVALID",
                          "PARTIALLY_VERIFIED",
                          "VERIFIED",
                          "UNVERIFIABLE",
                          "BLANK"
                        ],
                        "type": "string"
                      },
                      "city": {
                        "description": "City where the customer resides.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "company_name": {
                        "description": "Registered or legal business name of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "connection_id": {
                        "description": "Identifier for the connection source, if applicable.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code in ISO 3166-1 alpha-2 format"
                      },
                      "county": {
                        "description": "County or district of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "customer_tax_registrations": {
                        "description": "Customer tax registrations associated with the customer.",
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "country_code": {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            "customer_id": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "is_valid": {
                              "type": "boolean"
                            },
                            "tax_id": {
                              "type": "string"
                            },
                            "tax_type": {
                              "description": "Enum for customer tax registration types.",
                              "enum": [
                                "gst",
                                "hst",
                                "gst_hst",
                                "qst",
                                "pst",
                                "rst",
                                "vat",
                                "unknown"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "customer_id",
                            "country_code",
                            "tax_type",
                            "tax_id",
                            "is_valid"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "email": {
                        "description": "Customer's email address",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_friendly_id": {
                        "description": "External friendly identifier associated with the customer. We need it for netsuite.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "External identifier associated with the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "full_address": {
                        "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "description": "Name of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "phone": {
                        "description": "Customer's phone number",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postal_code": {
                        "description": "ZIP or Postal code of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "registration_number": {
                        "description": "Registration number of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "anyOf": [
                          {
                            "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "BIGCOMMERCE",
                              "BESTBUY",
                              "BUNNY",
                              "CHARGEBEE",
                              "SHOPIFY",
                              "SHOPLINE",
                              "ECWID",
                              "STRIPE"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Source of the customer's record."
                      },
                      "state": {
                        "description": "State or province of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "ACTIVE",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "street_1": {
                        "description": "Primary street address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_2": {
                        "description": "Additional street address details, such as an apartment or suite number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create customer"
              }
            },
            {
              "name": "get-customer-by-external-id",
              "title": "Get customer by external id",
              "description": "GET /v1/customers/external/{external_id}\n\nThe Get Customer By External ID API retrieves the details of a single customer using their external identifier. This endpoint is useful for accessing customer data when only an external ID is available.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-customer-by-external-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "external_id": {
                    "description": "The external identifier of the customer to retrieve.",
                    "type": "string"
                  }
                },
                "required": [
                  "external_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get customer by external id"
              }
            },
            {
              "name": "get-customer-by-id",
              "title": "Get customer by id",
              "description": "GET /v1/customers/{customer_id}\n\nThe Get Customer By ID API retrieves the details of a single customer using their unique identifier. It returns customer-specific data, including contact information, address, name and metadata, etc.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-customer-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "customer_id": {
                    "description": "Unique identifier of the customer",
                    "type": "string"
                  }
                },
                "required": [
                  "customer_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get customer by id"
              }
            },
            {
              "name": "update-customer",
              "title": "Update customer",
              "description": "PUT /v1/customers/{customer_id}\n\nThe Update Customer API allows you to modify an existing customer's information using their unique identifier, enabling updates to their details as needed.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-customer",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "address_status": {
                        "enum": [
                          "UNVERIFIED",
                          "INVALID",
                          "PARTIALLY_VERIFIED",
                          "VERIFIED",
                          "UNVERIFIABLE",
                          "BLANK"
                        ],
                        "type": "string"
                      },
                      "city": {
                        "description": "City where the customer resides.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "company_name": {
                        "description": "Registered or legal business name of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code in ISO 3166-1 alpha-2 format"
                      },
                      "county": {
                        "description": "County or district of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "email": {
                        "description": "Email address of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_friendly_id": {
                        "description": "External friendly identifier associated with the customer. We need it for netsuite.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "External identifier associated with the customer",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "full_address": {
                        "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "description": "Name of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "phone": {
                        "description": "Phone number associated with the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postal_code": {
                        "description": "ZIP or Postal code of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "anyOf": [
                          {
                            "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "BIGCOMMERCE",
                              "BESTBUY",
                              "BUNNY",
                              "CHARGEBEE",
                              "SHOPIFY",
                              "SHOPLINE",
                              "ECWID",
                              "STRIPE"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Source of the customer's record"
                      },
                      "state": {
                        "description": "State or province of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "anyOf": [
                          {
                            "enum": [
                              "ACTIVE",
                              "ARCHIVED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Status of the customer."
                      },
                      "street_1": {
                        "description": "Primary street address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_2": {
                        "description": "Additional street address details, such as an apartment or suite number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "customer_id": {
                    "description": "Unique identifier of the customer to be retrieved.",
                    "type": "string"
                  }
                },
                "required": [
                  "customer_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update customer"
              }
            },
            {
              "name": "upsert-customer-tax-registration",
              "title": "Upsert customer tax registration",
              "description": "POST /v1/customers/{customer_id}/tax-registrations\n\nCreates or updates a customer tax registration record. If a registration already exists for this customer with the same tax type and country code, it will be updated.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/upsert-customer-tax-registration",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "tax_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "tax_id"
                    ],
                    "type": "object"
                  },
                  "customer_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "customer_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Upsert customer tax registration"
              }
            },
            {
              "name": "get-transactions-by-customer-id",
              "title": "Get transactions by customer id",
              "description": "GET /v1/customers/{customer_id}/transactions\n\nGet a list of transactions for a customer by their unique ID. When pagination params are provided, this endpoint returns a paginated response. When omitted, it returns the legacy list response format (deprecated).\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-transactions-by-customer-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "customer_id": {
                    "type": "string"
                  },
                  "page": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "size": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "customer_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get transactions by customer id"
              }
            },
            {
              "name": "create-transaction-by-customer-id",
              "title": "Create transaction by customer id",
              "description": "POST /v1/customers/{customer_id}/transactions\n\nCreate a new transaction for a specific customer.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-transaction-by-customer-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "address_status": {
                        "enum": [
                          "UNVERIFIED",
                          "INVALID",
                          "PARTIALLY_VERIFIED",
                          "VERIFIED",
                          "UNVERIFIABLE",
                          "BLANK"
                        ],
                        "type": "string"
                      },
                      "addresses": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "organization_id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          }
                        ]
                      },
                      "city": {
                        "description": "City of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "connection_id": {
                        "description": "Connection Identifier",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "conversion_rate": {
                        "description": "Currency conversion rate.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_subtotal": {
                        "description": "Converted subtotal amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_taxable_amount": {
                        "description": "Converted taxable amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_total_amount": {
                        "description": "Converted total amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_total_discount": {
                        "description": "Converted total discount amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_total_tax_amount_calculated": {
                        "description": "Converted calculated tax amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_total_tax_amount_imported": {
                        "description": "Converted imported tax amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "converted_total_tax_liability_amount": {
                        "description": "Converted total tax liability amount.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code (ISO Alpha-2)."
                      },
                      "county": {
                        "description": "County of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "created_from": {
                        "description": "Identifier of the invoice that created from a sales order.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "customer": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "address_status": {
                                "enum": [
                                  "UNVERIFIED",
                                  "INVALID",
                                  "PARTIALLY_VERIFIED",
                                  "VERIFIED",
                                  "UNVERIFIABLE",
                                  "BLANK"
                                ],
                                "type": "string"
                              },
                              "city": {
                                "description": "City where the customer resides.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company_name": {
                                "description": "Registered or legal business name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "connection_id": {
                                "description": "Identifier for the connection source, if applicable.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Country code in ISO 3166-1 alpha-2 format"
                              },
                              "county": {
                                "description": "County or district of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "customer_tax_registrations": {
                                "description": "Customer tax registrations associated with the customer.",
                                "items": {
                                  "additionalProperties": {},
                                  "properties": {
                                    "country_code": {},
                                    "customer_id": {
                                      "type": "string"
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "is_valid": {
                                      "type": "boolean"
                                    },
                                    "tax_id": {
                                      "type": "string"
                                    },
                                    "tax_type": {}
                                  },
                                  "required": [
                                    "id",
                                    "customer_id",
                                    "country_code",
                                    "tax_type",
                                    "tax_id",
                                    "is_valid"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "email": {
                                "description": "Customer's email address",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_friendly_id": {
                                "description": "External friendly identifier associated with the customer. We need it for netsuite.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_id": {
                                "description": "External identifier associated with the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "full_address": {
                                "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "description": "Name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "phone": {
                                "description": "Customer's phone number",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "postal_code": {
                                "description": "ZIP or Postal code of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "registration_number": {
                                "description": "Registration number of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "BIGCOMMERCE",
                                      "BESTBUY",
                                      "BUNNY",
                                      "CHARGEBEE",
                                      "SHOPIFY",
                                      "SHOPLINE",
                                      "ECWID",
                                      "STRIPE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Source of the customer's record."
                              },
                              "state": {
                                "description": "State or province of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              },
                              "street_1": {
                                "description": "Primary street address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "street_2": {
                                "description": "Additional street address details, such as an apartment or suite number.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "customer_id": {
                        "description": "Unique identifier of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "date": {
                        "description": "Transaction date and time",
                        "type": "string"
                      },
                      "description": {
                        "description": "Description of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "destination_currency": {
                        "anyOf": [
                          {
                            "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AED",
                              "AFN",
                              "ALL",
                              "AMD",
                              "ANG",
                              "AOA",
                              "ARS",
                              "AUD"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Destination currency code (ISO 4217, e.g., USD)"
                      },
                      "document_type": {
                        "anyOf": [
                          {
                            "enum": [
                              "INVOICE",
                              "SALES_ORDER",
                              "CASH_SALE",
                              "CASH_REFUND"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Document type distinguishing invoices from sales orders."
                      },
                      "exempt": {
                        "anyOf": [
                          {
                            "description": "Based on transaction item exempt status. NOT EXEMPT: None of the items are NOT EXEMPT PARTIALLY EXEMPT: At least some of the items are NOT EXEMPT FULLY_EXEMPT: All items sold in the transaction are EXEMPT ZERO_RATE_NOT_EXEMPT: All items sold in the transaction are zero-rated",
                            "enum": [
                              "NOT_EXEMPT",
                              "PARTIALLY_EXEMPT",
                              "FULLY_EXEMPT",
                              "ZERO_RATE_NOT_EXEMPT"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Exemption status (e.g., NOT_EXEMPT)"
                      },
                      "exemptions": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "description": "Public read schema mirroring the ORM ``Exemption`` for /v1 transaction embedding. A non-table twin of ``exemptions.models.Exemption``: it re-declares the exact fields the ORM adds on top of ``ExemptionBase``/``TableBase`` (id, organization_id, certificate_import_id, source, certificate_type) so ``TransactionSerializerBase.exemptions`` can be typed without importing the private ORM model (CP-4895). Its serialized shape is byte-identical to the ORM's — ``from_attributes`` reads the same attributes off each ORM row — so the /v1 response payload is unchanged. Keep it in lockstep with ``Exemption`` if the ORM's public columns change (a JSON-schema parity test guards it).",
                              "properties": {
                                "FEIN": {
                                  "description": "Federal Employer Identification Number associated with the exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_import_id": {
                                  "description": "FK to bulk-imported certificate; NULL for manually-created exemptions",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_type": {
                                  "description": "Partial-exemption certificate form code. Null when the exemption is not a partial exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country_code": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US')"
                                },
                                "created_at": {
                                  "description": "Timestamp when transaction was created in Kintsugi.",
                                  "type": "string"
                                },
                                "customer_id": {
                                  "description": "Unique identifier for the customer associated with the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "end_date": {
                                  "description": "End date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "exemption_type": {
                                  "enum": [
                                    "customer",
                                    "wholesale",
                                    "transaction",
                                    "reverse_charge",
                                    "partial"
                                  ],
                                  "type": "string"
                                },
                                "id": {
                                  "description": "Unique identifier for the exemption",
                                  "type": "string"
                                },
                                "jurisdiction": {
                                  "description": "The jurisdiction identifier for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "organization_id": {
                                  "type": "string"
                                },
                                "reseller": {
                                  "description": "Indicates whether the exemption is for a reseller",
                                  "type": "boolean"
                                },
                                "sales_tax_id": {
                                  "description": "Sales tax ID for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "source": {
                                  "anyOf": [
                                    {
                                      "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                      "enum": [
                                        "NETSUITE",
                                        "QUICKBOOKS",
                                        "INTUIT_ENTERPRISE_SUITE",
                                        "SAGE_INTACCT",
                                        "SHOPIFY",
                                        "XERO",
                                        "STRIPE",
                                        "BIGCOMMERCE",
                                        "MAGENTO",
                                        "MAXIO",
                                        "CHARGEBEE",
                                        "ZUORA",
                                        "MICROSOFT_DYNAMICS_365",
                                        "DUALENTRY",
                                        "RECURLY",
                                        "SHOPLINE",
                                        "ORB",
                                        "ZENSKAR",
                                        "HYPERLINE",
                                        "ODOO",
                                        "ZOHO_BOOKS",
                                        "UNLEASHED",
                                        "MANUAL",
                                        "BULK_UPLOAD",
                                        "EMAIL",
                                        "CHECKOUT",
                                        "API",
                                        "MISSING_CERTIFICATE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Source of exemption."
                                },
                                "start_date": {
                                  "description": "Start date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": "string"
                                },
                                "status": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "ACTIVE",
                                        "INACTIVE",
                                        "EXPIRED",
                                        "DEACTIVATED",
                                        "ARCHIVED"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The status of the exemption. Defaults to ACTIVE if not provided."
                                },
                                "transaction_id": {
                                  "description": "Unique identifier for the transaction associated with the exemption, if applicable.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "updated_at": {
                                  "description": "Timestamp when transaction was last updated.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "exemption_type",
                                "start_date"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "List of exemptions applied (if any)."
                      },
                      "external_friendly_id": {
                        "description": "Friendly identifier of the original item.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "External identifier of the transaction.",
                        "type": "string"
                      },
                      "filing_id": {
                        "description": "Filing identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_duplicate": {
                        "type": "boolean"
                      },
                      "is_tax_inclusive": {
                        "description": "Whether source amounts include tax. NULL means the source did not say.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "locked": {
                        "description": "Transaction lock status.",
                        "type": "boolean"
                      },
                      "marketplace": {
                        "description": "Indicates if transaction is marketplace-based.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "organization_id": {
                        "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "processing_status": {
                        "description": "Our transaction state, used to determine when/if a transaction needs additional processing.",
                        "enum": [
                          "NEW",
                          "UPDATED",
                          "QUEUED",
                          "ADDRESS_DONE",
                          "EXEMPT_DONE",
                          "NEXUS_DONE",
                          "PROCESSED",
                          "FILING_STARTED",
                          "FILING_DONE",
                          "LOCKED",
                          "PENDING",
                          "ARCHIVED",
                          "NEEDS_REFETCH",
                          "EXCLUDED_IN_CALCULATION",
                          "DEFERRED_FROM_FILING"
                        ],
                        "type": "string"
                      },
                      "refund_status": {
                        "anyOf": [
                          {
                            "description": "Shopify has 2 order statuses for refund case: refunded and partially_refunded If the given order has different status from these 2, we will set the transaction's refund_status to PARTIALLY_REFUNDED by default.",
                            "enum": [
                              "FULLY_REFUNDED",
                              "PARTIALLY_REFUNDED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Status of refund, if applicable"
                      },
                      "related_to": {
                        "description": "Related transaction identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "requires_exemption": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "FEIN": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country_code": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "customer_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "end_date": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "exemption_type": {
                                "enum": [
                                  "customer",
                                  "wholesale",
                                  "transaction",
                                  "reverse_charge",
                                  "partial"
                                ],
                                "type": "string"
                              },
                              "jurisdiction": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "organization_id": {
                                "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                                "type": "string"
                              },
                              "reseller": {
                                "type": "boolean"
                              },
                              "sales_tax_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                    "enum": [
                                      "NETSUITE",
                                      "QUICKBOOKS",
                                      "INTUIT_ENTERPRISE_SUITE",
                                      "SAGE_INTACCT",
                                      "SHOPIFY",
                                      "XERO",
                                      "STRIPE",
                                      "BIGCOMMERCE",
                                      "MAGENTO",
                                      "MAXIO",
                                      "CHARGEBEE",
                                      "ZUORA",
                                      "MICROSOFT_DYNAMICS_365",
                                      "DUALENTRY",
                                      "RECURLY",
                                      "SHOPLINE",
                                      "ORB",
                                      "ZENSKAR",
                                      "HYPERLINE",
                                      "ODOO",
                                      "ZOHO_BOOKS",
                                      "UNLEASHED",
                                      "MANUAL",
                                      "BULK_UPLOAD",
                                      "EMAIL",
                                      "CHECKOUT",
                                      "API",
                                      "MISSING_CERTIFICATE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "start_date": {
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "INACTIVE",
                                  "EXPIRED",
                                  "DEACTIVATED",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "organization_id",
                              "exemption_type",
                              "start_date",
                              "status",
                              "reseller"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Indicates if transaction requires tax exemption."
                      },
                      "secondary_external_id": {
                        "description": "Secondary External Identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "secondary_source": {
                        "description": "Secondary source information",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date": {
                        "description": "Transaction date in the shop's local timezone",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date_tz": {
                        "description": "Timezone of the shop",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "BIGCOMMERCE",
                          "BESTBUY",
                          "BUNNY",
                          "CHARGEBEE",
                          "SHOPIFY",
                          "SHOPLINE",
                          "ECWID",
                          "STRIPE"
                        ],
                        "type": "string"
                      },
                      "state": {
                        "description": "State of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "PENDING",
                          "COMMITTED",
                          "CANCELLED",
                          "FULLY_REFUNDED",
                          "PARTIALLY_REFUNDED",
                          "INVALID",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "tax_id": {
                        "description": "Tax ID associated with the transaction. DEPRECATED: This field is only populated for QuickBooks integrations and will be removed in a future version.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "tax_liability_source": {
                        "anyOf": [
                          {
                            "enum": [
                              "CALCULATED",
                              "COLLECTED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Source of tax liability."
                      },
                      "tax_rate_calculated": {
                        "description": "Calculated tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "tax_rate_imported": {
                        "description": "Imported tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "taxable_amount": {
                        "description": "Taxable amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_amount": {
                        "description": "Total amount of the transaction.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_calculated": {
                        "description": "Calculated tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_imported": {
                        "description": "Imported tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_liability_amount": {
                        "description": "Total tax liability amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "transaction_items": {
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "Item amount.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "converted_amount": {
                              "description": "Converted item amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_subtotal": {
                              "description": "Converted subtotal amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_calculated": {
                              "description": "Converted calculated tax amount",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_imported": {
                              "description": "Converted imported tax amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_taxable_amount": {
                              "description": "Converted taxable amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_total_discount": {
                              "description": "Converted total discount amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "date": {
                              "description": "Date/time of item.",
                              "type": "string"
                            },
                            "description": {
                              "description": "Item description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "destination_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Destination currency code."
                            },
                            "discount_builder": {
                              "anyOf": [
                                {
                                  "additionalProperties": {},
                                  "properties": {
                                    "applied_to": {},
                                    "discount_amount": {
                                      "anyOf": [
                                        {},
                                        {}
                                      ],
                                      "description": "Absolute discount amount for the line or transaction. Send a positive value for sales; credit notes may use a negative value so subtotal = amount + total_discount stays coherent."
                                    },
                                    "external_id": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "applied_to"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "exempt": {
                              "description": "Indicates if the item is exempt.",
                              "type": "boolean"
                            },
                            "external_id": {
                              "description": "External item identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "external_product_id": {
                              "description": "External product identifier.",
                              "type": "string"
                            },
                            "is_tax_inclusive": {
                              "description": "Whether this line's source amount includes tax. NULL means the source did not say.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "organization_id": {
                              "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "original_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Original currency code."
                            },
                            "product": {
                              "description": "Product name",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_description": {
                              "description": "Product description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_id": {
                              "description": "Product identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_name": {
                              "description": "Product name (detailed)",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity of item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_calculated": {
                              "description": "Calculated tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_imported": {
                              "description": "Imported tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_exemption": {
                              "anyOf": [
                                {
                                  "description": "This enum is used to determine if a transaction is exempt from tax.",
                                  "enum": [
                                    "PRODUCT",
                                    "TRANSACTION",
                                    "CUSTOMER",
                                    "WHOLESALE",
                                    "PARTIAL_CERTIFICATE",
                                    "REGION",
                                    "REVERSE_CHARGE",
                                    "ZERO_RATE_TAX",
                                    "HIGH_VALUE_PHYSICAL_GOODS",
                                    "EXPORT",
                                    "ZERO_VALUE_ITEM",
                                    "NO_RULE_FOUND",
                                    "IMPORTED",
                                    "ZERO_RATE_NOT_EXEMPT"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Tax exemption status."
                            },
                            "tax_items": {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "converted_amount": {
                                    "anyOf": [
                                      {
                                        "anyOf": [
                                          {},
                                          {}
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "destination_currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "external_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_name": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_type": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "description": "Deprecated: use `jurisdiction_type` instead",
                                    "type": "string"
                                  },
                                  "organization_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rate": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "rule_id": {
                                    "description": "The rule ID of the tax item",
                                    "type": "string"
                                  },
                                  "type": {}
                                },
                                "required": [
                                  "rate",
                                  "amount",
                                  "name",
                                  "organization_id"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "tax_rate_calculated": {
                              "description": "Calculated tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_rate_imported": {
                              "description": "Imported tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "taxable_amount": {
                              "description": "Taxable amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            }
                          },
                          "required": [
                            "organization_id",
                            "date",
                            "external_product_id"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "organization_id",
                      "external_id",
                      "date",
                      "addresses",
                      "transaction_items"
                    ],
                    "type": "object"
                  },
                  "customer_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "customer_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create transaction by customer id"
              }
            },
            {
              "name": "get-exemptions",
              "title": "Get exemptions",
              "description": "GET /v1/exemptions\n\nRetrieve a list of exemptions based on filters.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-exemptions",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "connection_id__in": {
                    "description": "Filter exemptions by customer connection ID (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "country_code": {
                    "anyOf": [
                      {
                        "items": {
                          "anyOf": [
                            {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Country code in ISO 3166-1 alpha-2 format"
                  },
                  "customer_id": {
                    "description": "Customer ID to filter exemptions",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "end_date": {
                    "description": "Include exemptions whose validity end date is on or before this date (YYYY-MM-DD). Open-ended exemptions (null end date) are excluded when this filter is set.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "jurisdiction": {
                    "description": "Jurisdiction identifier",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "order_by": {
                    "description": "Fields to sort by (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "search_query": {
                    "description": "Search term to filter exemptions by exemption ID, customer name, or customer email",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "start_date": {
                    "description": "Include exemptions whose validity start date is on or after this date (YYYY-MM-DD)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status__in": {
                    "description": "Filter exemptions by their status",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transaction_id": {
                    "description": "Transaction ID to filter exemptions",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get exemptions"
              }
            },
            {
              "name": "create-exemption",
              "title": "Create exemption",
              "description": "POST /v1/exemptions\n\nThe Create Exemption API allows you to create a new exemption record. This includes defining details such as exemption type, jurisdiction, Country, State, validity dates, etc.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-exemption",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "FEIN": {
                        "description": "Federal Employer Identification Number",
                        "type": "string"
                      },
                      "certificate_type": {
                        "description": "Partial-exemption certificate form code. Required when exemption_type is partial; must be absent otherwise.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country_code": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US')"
                      },
                      "customer_id": {
                        "description": "Unique identifier for the customer associated with the exemption",
                        "type": "string"
                      },
                      "end_date": {
                        "description": "End date for the exemption validity period (YYYY-MM-DD format)",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "exemption_type": {
                        "enum": [
                          "customer",
                          "wholesale",
                          "transaction",
                          "reverse_charge",
                          "partial"
                        ],
                        "type": "string"
                      },
                      "jurisdiction": {
                        "description": "The jurisdiction identifier for the exemption",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reseller": {
                        "description": "Indicates whether the exemption is for a reseller",
                        "type": "boolean"
                      },
                      "sales_tax_id": {
                        "description": "Sales tax ID for the exemption",
                        "type": "string"
                      },
                      "start_date": {
                        "description": "Start date for the exemption validity period (YYYY-MM-DD format)",
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "ACTIVE",
                          "INACTIVE",
                          "EXPIRED",
                          "DEACTIVATED",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "transaction_id": {
                        "description": "Unique identifier for the transaction, if applicable",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "exemption_type",
                      "start_date",
                      "customer_id",
                      "FEIN",
                      "sales_tax_id",
                      "status"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create exemption"
              }
            },
            {
              "name": "list-partial-certificate-types",
              "title": "List partial certificate types",
              "description": "GET /v1/exemptions/partial-certificate-types\n\nCertificate forms a partial exemption may use. Pass jurisdiction to limit the list to that state.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/list-partial-certificate-types",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "jurisdiction": {
                    "description": "Jurisdiction code. Only forms for this jurisdiction are returned.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "List partial certificate types"
              }
            },
            {
              "name": "get-exemption-by-id",
              "title": "Get exemption by id",
              "description": "GET /v1/exemptions/{exemption_id}\n\nThe Get Exemption By ID API retrieves a specific exemption record by its unique ID. This API is useful for retrieving detailed information about a particular exemption, including its associated customer, organisation id, status, etc.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-exemption-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "exemption_id": {
                    "description": "The unique identifier for the exemption being retrieved.",
                    "type": "string"
                  }
                },
                "required": [
                  "exemption_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get exemption by id"
              }
            },
            {
              "name": "get-attachments-for-exemption",
              "title": "Get attachments for exemption",
              "description": "GET /v1/exemptions/{exemption_id}/attachments\n\nThe Get Attachments for Exemption API retrieves all attachments associated with a specific exemption. This is used to view and manage supporting documents like exemption certificates uploaded for a particular exemption record.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-attachments-for-exemption",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "exemption_id": {
                    "description": "The unique identifier for the exemption whose attachments are being retrieved.",
                    "type": "string"
                  }
                },
                "required": [
                  "exemption_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get attachments for exemption"
              }
            },
            {
              "name": "upload-exemption-certificate",
              "title": "Upload exemption certificate",
              "description": "POST /v1/exemptions/{exemption_id}/attachments\n\nThe Upload Exemption Certificate API allows you to upload a file attachment (e.g., exemption certificate) for a specific exemption. This is primarily used to associate supporting documents with an exemption record to ensure compliance and facilitate verification.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/upload-exemption-certificate",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "exemption_id": {
                    "description": "The unique identifier for the exemption to which the attachment will be associated.",
                    "type": "string"
                  }
                },
                "required": [
                  "exemption_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Upload exemption certificate"
              }
            },
            {
              "name": "get-filings",
              "title": "Get filings",
              "description": "GET /v1/filings\n\nThe Get Filings API retrieves a paginated list of filings based on filters such as dates, jurisdiction, Country, status, etc. This helps track and manage tax filings efficiently across multiple jurisdictions.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-filings",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "country_code": {
                    "anyOf": [
                      {
                        "items": {
                          "anyOf": [
                            {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter filings by country code in ISO 3166-1 alpha-2 format (e.g., US)."
                  },
                  "date_filed__gte": {
                    "description": "Filter filings filed on or after this date.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "date_filed__lte": {
                    "description": "Filter filings filed on or before this date.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "end_date": {
                    "description": "Filter filings with an end date less than or equal to this date.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "filing_category__in": {
                    "description": "Filter filings by category (e.g., REGULAR, BACK_FILING, AMENDMENT).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "order_by": {
                    "description": "Comma-separated list of fields to sort the results.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "start_date": {
                    "description": "Filter filings with a start date greater than or equal to this date.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "state_code": {
                    "description": "Filter filings by state code (e.g., CA for California).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status__in": {
                    "description": "Filter filings by status",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "tax_type__in": {
                    "description": "Filter filings by tax type. Multiple tax types can be passed, separated by commas (SALES_TAX, USE_TAX, SALES_AND_USE_TAX).",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get filings"
              }
            },
            {
              "name": "create-back-filing-request",
              "title": "Create back filing request",
              "description": "POST /v1/filings/back-filing-request\n\nCreate unapproved BACK_FILING rows for requested in-bounds periods.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-back-filing-request",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "requests": {
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "periods": {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "end_date": {
                                    "type": "string"
                                  },
                                  "start_date": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "start_date",
                                  "end_date"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "registration_id": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "registration_id",
                            "periods"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "requests"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create back filing request"
              }
            },
            {
              "name": "get-back-filing-request-options",
              "title": "Get back filing request options",
              "description": "GET /v1/filings/back-filing-request/options\n\nEligible US registrations and periods for a customer back-filing request.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-back-filing-request-options",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {},
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get back filing request options"
              }
            },
            {
              "name": "get-current-back-filing-terms",
              "title": "Get current back filing terms",
              "description": "GET /v1/filings/back-filing-terms/current\n\nCurrent back filing terms shown before BACK_FILING approval.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-current-back-filing-terms",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {},
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get current back filing terms"
              }
            },
            {
              "name": "get-filings-by-registration-id",
              "title": "Get filings by registration id",
              "description": "GET /v1/filings/registration/{registration_id}\n\nThe Get Filings By Registration ID API retrieves all filings associated with a specific registration ID. This allows users to query detailed filing information tied to a specific registration record.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-filings-by-registration-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "registration_id": {
                    "description": "Unique identifier for the registration associated with the filings.",
                    "type": "string"
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  }
                },
                "required": [
                  "registration_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get filings by registration id"
              }
            },
            {
              "name": "get-filing-by-id",
              "title": "Get filing by id",
              "description": "GET /v1/filings/{filing_id}\n\nThis API retrieves detailed information about a specific filing using its unique identifier (filing_id).\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-filing-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "filing_id": {
                    "description": "Unique identifier for the filing to retrieve.",
                    "type": "string"
                  }
                },
                "required": [
                  "filing_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get filing by id"
              }
            },
            {
              "name": "approve-filing",
              "title": "Approve filing",
              "description": "PUT /v1/filings/{filing_id}/approve\n\nApprove a specific filing by its ID. Returns 409 while the filing is being recalculated; retry the request.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/approve-filing",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "anyOf": [
                      {
                        "additionalProperties": {},
                        "properties": {
                          "back_filing_terms_accepted_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "back_filing_terms_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "request_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "filing_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "filing_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Approve filing"
              }
            },
            {
              "name": "get-nexus-for-org",
              "title": "Get nexus for org",
              "description": "GET /v1/nexus\n\nGet a list of all nexuses for the organization.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-nexus-for-org",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "collected_tax_nexus_met": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "country_code__in": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "disregard_view": {
                    "description": "Filter nexuses by disregard view: 'exposed' or 'disregarded'",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "order_by": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "search_query": {
                    "description": "Search nexuses by state code or state name",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "state_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "state_code__in": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status__in": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "tax_type__in": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "without_pagination": {
                    "description": "Return all results without pagination",
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get nexus for org"
              }
            },
            {
              "name": "get-physical-nexus",
              "title": "Get physical nexus",
              "description": "GET /v1/nexus/physical_nexus\n\nRetrieve a paginated list of physical nexuses for a specific organization.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-physical-nexus",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "country_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "order_by": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "state_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get physical nexus"
              }
            },
            {
              "name": "create-physical-nexus",
              "title": "Create physical nexus",
              "description": "POST /v1/nexus/physical_nexus\n\nThe Create Physical Nexus API allows you to create a new physical nexus by specifying its attributes, including the location, start date, end date, etc.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-physical-nexus",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "category": {
                        "enum": [
                          "PHYSICAL_BUSINESS_LOCATION",
                          "TELECOMMUTING_OR_REMOTE_EMPLOYEE",
                          "WARRANTY_AND_REPAIR_SERVICES",
                          "CATALOGUE_DISTRIBUTION_OR_ADVERTISING_MATERIAL",
                          "DELIVERY_BY_COMMON_CARRIER",
                          "DELIVERY_BY_OWN_VEHICLES",
                          "IN_STATE_SALES_PERSON",
                          "INDEPENDENT_CONTRACTOR_OR_THIRD_PARTY_SALES_PERSON",
                          "WAREHOUSE_AND_INVENTORY_PRESENCE",
                          "EMPLOYEES_AGENTS_CONTRACTORS",
                          "OWN_LEASE_A_PROPERTY",
                          "INVENTORY",
                          "DELIVERY_USING_COMPANY_VEHICLES",
                          "OWN_BUSINESS_INFRASTRUCTURE_AND_EQUIPMENT",
                          "ON_SITE_INSTALLATION_MAINTENANCE_SERVICES",
                          "FREQUENT_PARTICIPATION_IN_TRADE_SHOWS_EVENTS",
                          "MANUFACTURE_OR_PRODUCTION_IN_CANADA",
                          "PERFORMING_SERVICES_IN_THE_JURISDICTION",
                          "MANUFACTURING_FACILITIES",
                          "SERVERS_DATA_CENTERS",
                          "TRADE_SHOW_PRESENCE",
                          "TRADE_SHOW_PRESENCE_WITHOUT_SALES",
                          "DIGITAL_INFRASTRUCTURE_LOCALIZED",
                          "PERMANENT_ESTABLISHMENT",
                          "ENTER_CONTRACTS_WITH_LOCALS",
                          "CONSIGNMENT_STOCK_ARRANGEMENTS"
                        ],
                        "type": "string"
                      },
                      "city": {
                        "description": "City of the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country_code": {
                        "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AF",
                          "AX",
                          "AL",
                          "DZ",
                          "AS",
                          "AD",
                          "AO",
                          "AI"
                        ],
                        "type": "string"
                      },
                      "end_date": {
                        "description": "The date when the nexus ended, if applicable.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "Optional external identifier for the nexus.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postal_code": {
                        "description": "ZIP or postal code of the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "enum": [
                          "USER",
                          "DEEL"
                        ],
                        "type": "string"
                      },
                      "start_date": {
                        "description": "The date when the nexus became effective (YYYY-MM-DD).",
                        "type": "string"
                      },
                      "state_code": {
                        "description": "The state or province code in ISO 3166-2 format (e.g., CA).",
                        "type": "string"
                      },
                      "street_1": {
                        "description": "Primary street address for the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_2": {
                        "description": "Additional street address details, such as suite or unit number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "country_code",
                      "state_code",
                      "start_date",
                      "category"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create physical nexus"
              }
            },
            {
              "name": "get-physical-nexus-categories",
              "title": "Get physical nexus categories",
              "description": "GET /v1/nexus/physical_nexus/categories\n\nGet physical nexus categories\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-physical-nexus-categories",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "country_code": {
                    "anyOf": [
                      {
                        "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AF",
                          "AX",
                          "AL",
                          "DZ",
                          "AS",
                          "AD",
                          "AO",
                          "AI"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "state_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get physical nexus categories"
              }
            },
            {
              "name": "update-physical-nexus",
              "title": "Update physical nexus",
              "description": "PUT /v1/nexus/physical_nexus/{physical_nexus_id}\n\nThe Update Physical Nexus API allows you to modify the details of an existing physical nexus by its unique ID.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-physical-nexus",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "category": {
                        "enum": [
                          "PHYSICAL_BUSINESS_LOCATION",
                          "TELECOMMUTING_OR_REMOTE_EMPLOYEE",
                          "WARRANTY_AND_REPAIR_SERVICES",
                          "CATALOGUE_DISTRIBUTION_OR_ADVERTISING_MATERIAL",
                          "DELIVERY_BY_COMMON_CARRIER",
                          "DELIVERY_BY_OWN_VEHICLES",
                          "IN_STATE_SALES_PERSON",
                          "INDEPENDENT_CONTRACTOR_OR_THIRD_PARTY_SALES_PERSON",
                          "WAREHOUSE_AND_INVENTORY_PRESENCE",
                          "EMPLOYEES_AGENTS_CONTRACTORS",
                          "OWN_LEASE_A_PROPERTY",
                          "INVENTORY",
                          "DELIVERY_USING_COMPANY_VEHICLES",
                          "OWN_BUSINESS_INFRASTRUCTURE_AND_EQUIPMENT",
                          "ON_SITE_INSTALLATION_MAINTENANCE_SERVICES",
                          "FREQUENT_PARTICIPATION_IN_TRADE_SHOWS_EVENTS",
                          "MANUFACTURE_OR_PRODUCTION_IN_CANADA",
                          "PERFORMING_SERVICES_IN_THE_JURISDICTION",
                          "MANUFACTURING_FACILITIES",
                          "SERVERS_DATA_CENTERS",
                          "TRADE_SHOW_PRESENCE",
                          "TRADE_SHOW_PRESENCE_WITHOUT_SALES",
                          "DIGITAL_INFRASTRUCTURE_LOCALIZED",
                          "PERMANENT_ESTABLISHMENT",
                          "ENTER_CONTRACTS_WITH_LOCALS",
                          "CONSIGNMENT_STOCK_ARRANGEMENTS"
                        ],
                        "type": "string"
                      },
                      "city": {
                        "description": "City of the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "end_date": {
                        "description": "The date when the nexus ends, if applicable (YYYY-MM-DD).",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "postal_code": {
                        "description": "ZIP or postal code of the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "start_date": {
                        "description": "The date when the nexus became effective (YYYY-MM-DD).",
                        "type": "string"
                      },
                      "street_1": {
                        "description": "Primary street address for the physical presence location.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "street_2": {
                        "description": "Additional street address details, such as suite or unit number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "start_date",
                      "category"
                    ],
                    "type": "object"
                  },
                  "physical_nexus_id": {
                    "description": "The unique identifier of the physical nexus to update.",
                    "type": "string"
                  }
                },
                "required": [
                  "physical_nexus_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update physical nexus"
              }
            },
            {
              "name": "delete-physical-nexus",
              "title": "Delete physical nexus",
              "description": "DELETE /v1/nexus/physical_nexus/{physical_nexus_id}\n\nThe Delete Physical Nexus API allows you to remove an existing physical nexus by its unique ID.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/delete-physical-nexus",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "physical_nexus_id": {
                    "description": "The unique identifier of the physical nexus to delete.",
                    "type": "string"
                  }
                },
                "required": [
                  "physical_nexus_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": true,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Delete physical nexus"
              }
            },
            {
              "name": "get-nexus-details-for-id",
              "title": "Get nexus details for id",
              "description": "GET /v1/nexus/{nexus_id}\n\nGet details for a specific nexus by its ID.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-nexus-details-for-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "nexus_id": {
                    "description": "The unique identifier of the nexus.",
                    "type": "string"
                  }
                },
                "required": [
                  "nexus_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get nexus details for id"
              }
            },
            {
              "name": "get-products",
              "title": "Get products",
              "description": "GET /v1/products\n\nRetrieve a paginated list of products based on filters and search query.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-products",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "connection_id__in": {
                    "description": "Filter products by connection ID (comma-separated). Use __direct_api__ for products without a connection.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "order_by": {
                    "description": "Order results by specified fields (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "product_category__in": {
                    "description": "Filter products by category (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "product_subcategory__in": {
                    "description": "Filter products by subcategory (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "query": {
                    "description": "Search term to filter products by name or other details.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "source__in": {
                    "description": "Filter products by source (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status__in": {
                    "description": "Filter products by status (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get products"
              }
            },
            {
              "name": "create-product",
              "title": "Create product",
              "description": "POST /v1/products\n\nThe Create Product API allows users to manually create a new product in the system. This includes specifying product details such as category, subcategory, and tax exemption status, etc. You can retrieve supported categories and subcategories from the [GET /products/categories endpoint](/reference/api/products/get-product-categories), or browse the full catalog with descriptions and examples in the [Product Categories guide](/docs/guides/product-categories). Idempotent on ``(organization_id, external_id, source)`` for connectionless creates (CP-4726): a re-POST of an existing identity returns \n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-product",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "description": {
                        "description": "A description of the product.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "A unique external identifier for the product.",
                        "type": "string"
                      },
                      "name": {
                        "description": "The name of the product.",
                        "type": "string"
                      },
                      "product_category": {
                        "description": "Top-level tax category for a product.",
                        "enum": [
                          "Physical",
                          "Digital",
                          "Misc",
                          "Services"
                        ],
                        "type": "string"
                      },
                      "product_subcategory": {
                        "description": "Tax subcategory display label within the category (e.g. 'General Clothing'). Together with product_category it resolves to a product tax code; an unrecognized pair on a new product returns 400. List supported values from [GET /products/categories](/reference/api/products/get-product-categories).",
                        "type": "string"
                      },
                      "source": {
                        "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "BIGCOMMERCE",
                          "BESTBUY",
                          "BUNNY",
                          "CHARGEBEE",
                          "SHOPIFY",
                          "SHOPLINE",
                          "ECWID",
                          "STRIPE"
                        ],
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "APPROVED",
                          "PARTIALLY_APPROVED",
                          "PENDING",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "tax_exempt": {
                        "description": "Specifies whether the product is tax-exempt.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "external_id",
                      "name",
                      "product_category",
                      "product_subcategory",
                      "tax_exempt"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create product"
              }
            },
            {
              "name": "get-product-categories",
              "title": "Get product categories",
              "description": "GET /v1/products/categories\n\nThe Get Product Categories API retrieves all product categories. This endpoint helps users understand and select the appropriate categories for their products.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-product-categories",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {},
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get product categories"
              }
            },
            {
              "name": "get-product-by-id",
              "title": "Get product by id",
              "description": "GET /v1/products/{product_id}\n\nThe Get Product By ID API retrieves detailed information about a single product by its unique ID. This API helps in viewing the specific details of a product, including its attributes, status, and categorization.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-product-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "product_id": {
                    "description": "The unique identifier for the product you want to retrieve.",
                    "type": "string"
                  }
                },
                "required": [
                  "product_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get product by id"
              }
            },
            {
              "name": "update-product",
              "title": "Update product",
              "description": "PUT /v1/products/{product_id}\n\nThe Update Product API allows users to modify the details of an existing product identified by its unique product_id. You can retrieve supported categories and subcategories from the [GET /products/categories endpoint](/reference/api/products/get-product-categories), or browse the full catalog with descriptions and examples in the [Product Categories guide](/docs/guides/product-categories)\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-product",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "anyOf": [
                      {
                        "additionalProperties": {},
                        "properties": {
                          "classification_failed": {
                            "description": "Indicates if the product classification failed.",
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "description": {
                            "description": "Description of the product.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "external_id": {
                            "description": "External identifier provided for the product, typically by the source system.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "id": {
                            "description": "The unique identifier of the product to be updated.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "description": "Name of the product.",
                            "type": "string"
                          },
                          "product_category": {
                            "description": "Main category of the product. For example, Physical, Digital, etc. You can retrieve supported categories from [GET /products/categories endpoint](/reference/api/products/get-product-categories)",
                            "type": "string"
                          },
                          "product_subcategory": {
                            "description": "Subcategory of the product. For example, General Clothing, UNKNOWN, etc. You can retrieve supported subcategories from [GET /products/categories endpoint](/reference/api/products/get-product-categories)",
                            "type": "string"
                          },
                          "sku": {
                            "anyOf": [
                              {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status": {
                            "enum": [
                              "APPROVED",
                              "PARTIALLY_APPROVED",
                              "PENDING",
                              "ARCHIVED"
                            ],
                            "type": "string"
                          },
                          "tax_exempt": {
                            "description": "Indicates whether the product is tax-exempt.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "name",
                          "product_category",
                          "product_subcategory",
                          "tax_exempt"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": {},
                        "properties": {
                          "classification_failed": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "description": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "external_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "product_category": {
                            "type": "string"
                          },
                          "product_subcategory": {
                            "type": "string"
                          },
                          "sku": {
                            "anyOf": [
                              {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status": {
                            "enum": [
                              "APPROVED",
                              "PARTIALLY_APPROVED",
                              "PENDING",
                              "ARCHIVED"
                            ],
                            "type": "string"
                          },
                          "tax_exempt": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "name",
                          "status",
                          "product_category",
                          "product_subcategory",
                          "tax_exempt"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "product_id": {
                    "description": "Unique identifier of the product to be updated.",
                    "type": "string"
                  }
                },
                "required": [
                  "product_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update product"
              }
            },
            {
              "name": "get-registrations",
              "title": "Get registrations",
              "description": "GET /v1/registrations\n\nThe Get Registrations API retrieves a paginated list of registrations. This API helps in tracking and managing registrations efficiently across multiple jurisdictions. Stored credential fields come back masked; use the reveal parameter of the Get Registration By ID API to read them.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-registrations",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "country_code__in": {
                    "anyOf": [
                      {
                        "items": {
                          "anyOf": [
                            {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter registrations by country code in ISO 3166-1 alpha-2 format (e.g., US, CA)."
                  },
                  "filing_frequency__in": {
                    "description": "Filter registrations by filing frequency. Multiple filing frequencies can be passed, separated by commas.",
                    "type": "string"
                  },
                  "order_by": {
                    "description": "Order results by specified fields (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "state_code": {
                    "description": "Filter registrations by state code.",
                    "type": "string"
                  },
                  "status__in": {
                    "description": "Filter registrations by status. Multiple statuses can be passed, separated by commas.",
                    "type": "string"
                  },
                  "tax_type__in": {
                    "description": "Filter registrations by tax type. Multiple tax types can be passed, separated by commas (SALES_TAX, USE_TAX, SALES_AND_USE_TAX).",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get registrations"
              }
            },
            {
              "name": "create-registration",
              "title": "Create registration",
              "description": "POST /v1/registrations\n\nThe Create Registration API allows users to create a new registration for tracking and managing tax filings efficiently across multiple jurisdictions.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-registration",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "description": "This body is one of 48 accepted shapes. The full set of variants is on the reference page linked in this tool's description.",
                    "properties": {},
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create registration"
              }
            },
            {
              "name": "get-jurisdiction-specific-fields",
              "title": "Get jurisdiction specific fields",
              "description": "GET /v1/registrations/jurisdiction-specific-fields\n\nReturns the JSON Schema and UI metadata for a state-specific registration form, and the tax types that can be imported there.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-jurisdiction-specific-fields",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "country_code": {
                    "description": "ISO 3166-1 alpha-2 country code (e.g., US).",
                    "type": "string"
                  },
                  "state_code": {
                    "description": "State/province code (e.g., AL, LA).",
                    "type": "string"
                  }
                },
                "required": [
                  "country_code",
                  "state_code"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get jurisdiction specific fields"
              }
            },
            {
              "name": "list-registration-jurisdictions",
              "title": "List registration jurisdictions",
              "description": "GET /v1/registrations/jurisdictions\n\nDistinct registration jurisdictions (country + state) for filter dropdowns. Non-SST only. Default status__in matches GET /registrations (all statuses).\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/list-registration-jurisdictions",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "status__in": {
                    "description": "Filter by registration status (comma-separated); same as GET /registrations.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "List registration jurisdictions"
              }
            },
            {
              "name": "get-registration-by-id",
              "title": "Get registration by id",
              "description": "GET /v1/registrations/{registration_id}\n\nThe Get Registration By ID API retrieves a single registration record based on its unique identifier.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-registration-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "registration_id": {
                    "description": "The unique identifier of the registration to retrieve.",
                    "type": "string"
                  },
                  "reveal": {
                    "description": "Comma-separated credential fields to return decrypted. Only an Owner of the organization or a Kintsugi Portfolio user who can open it may use it. An API key counts as the user it belongs to, and a service key as the user who created it. Other callers, and automated assistant integrations, get 403. Without this parameter, credential fields come back masked.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "registration_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get registration by id"
              }
            },
            {
              "name": "update-registration",
              "title": "Update registration",
              "description": "PUT /v1/registrations/{registration_id}\n\nThe Update Registration API allows you to modify an existing registration using its unique registration_id. Sending a value for, or clearing, a credential that is already stored (username, password, security questions or a portal access code) needs an Owner of the organization or a Kintsugi Portfolio user who can open it. An API key counts as the user it belongs to, and a service key as the user who created it. Other callers, and automated assistant integrations, get 403, even when the value matches the stored one. Any caller who can edit the registration may fill a credential that has no stor\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-registration",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "auto_registered": {
                        "description": "Indicates whether the registration was completed automatically.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "change_regime_status": {
                        "anyOf": [
                          {
                            "enum": [
                              "REQUESTED",
                              "APPROVED",
                              "DONE",
                              "ACKNOWLEDGED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "comment": {
                        "description": "Additional notes or comments related to the registration.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "create_back_filing": {
                        "description": "Whether to also file the single period preceding the first filing period.",
                        "type": "boolean"
                      },
                      "create_filings_from": {
                        "description": "The updated date from which filings should start (YYYY-MM-DD).",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "deregistration_completed": {
                        "description": "Timestamp when the deregistration was completed.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "deregistration_requested": {
                        "description": "Timestamp when deregistration was requested.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "do_not_file": {
                        "description": "If true, do not file for this registration (treated as False by default).",
                        "type": "boolean"
                      },
                      "encrypted_username": {
                        "description": "The encrypted username for the registration.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "filing_frequency": {
                        "anyOf": [
                          {
                            "enum": [
                              "UNKNOWN",
                              "MONTHLY",
                              "QUARTERLY",
                              "SEMI_ANNUALLY",
                              "ANNUALLY",
                              "ANNUAL_FISCAL_YEAR",
                              "SEMI_MONTHLY",
                              "BI_MONTHLY",
                              "FOUR_MONTHLY",
                              "QUARTERLY_PREPAYMENT"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "The updated filing frequency (MONTHLY, QUARTERLY, etc.)."
                      },
                      "ior_number": {
                        "description": "The Importer of Record (IOR) number for the registration.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_approaching": {
                        "description": "Indicates whether the registration is approaching an action (e.g., renewal).",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "is_pre_collecting": {
                        "description": "True when this PROCESSING registration marks the organization as collecting tax in the jurisdiction ahead of registration details. It skips the Tax Ops registration task until the flag is cleared.",
                        "type": "boolean"
                      },
                      "marked_collecting": {
                        "description": "Indicates whether the registration is marked as collecting in shopify",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "registration_completed": {
                        "description": "Timestamp when the registration was completed.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "registration_date": {
                        "description": "The date when the registration was created. Format: YYYY-MM-DD.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "registration_email": {
                        "description": "Email address associated with the registration.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "registration_requested": {
                        "description": "Timestamp when the registration was requested.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "registrations_regime": {
                        "anyOf": [
                          {
                            "enum": [
                              "STANDARD",
                              "SIMPLIFIED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "The tax registration regime (e.g., STANDARD, SIMPLIFIED)."
                      },
                      "tax_id": {
                        "description": "Organization-level tax ID (e.g., VAT number, Canada Business Number).",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "third_party_enabled": {
                        "description": "Indicates whether third-party access is enabled for this registration.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "two_factor_enabled": {
                        "description": "Indicates whether two-factor authentication (2FA) is enabled for this registration.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "username": {
                        "description": "The username associated with the registration.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "vda": {
                        "description": "Indicates if the Voluntary Disclosure Agreement (VDA) applies.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "registration_id": {
                    "description": "The unique identifier of the registration to be updated.",
                    "type": "string"
                  }
                },
                "required": [
                  "registration_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update registration"
              }
            },
            {
              "name": "upload-registration-attachment",
              "title": "Upload registration attachment",
              "description": "POST /v1/registrations/{registration_id}/attachments\n\nUpload an attachment for a specific registration.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/upload-registration-attachment",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "registration_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "registration_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Upload registration attachment"
              }
            },
            {
              "name": "deregister-registration",
              "title": "Deregister registration",
              "description": "POST /v1/registrations/{registration_id}/deregister\n\nDeregister an existing registration. Stored credential fields in the response come back masked.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/deregister-registration",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "description": "Body for POST /registrations/{id}/deregister.",
                    "properties": {
                      "closure_date": {
                        "description": "Effective date the permit closes with the jurisdiction (YYYY-MM-DD). Past and future dates are accepted.",
                        "type": "string"
                      },
                      "final_return_acknowledged": {
                        "description": "Must be true: the actor confirms a final return is still owed.",
                        "type": "boolean"
                      },
                      "reason": {
                        "description": "Reason a registration is being closed.",
                        "enum": [
                          "FULL_BUSINESS_CLOSURE",
                          "CLOSING_NEXUS_IN_STATE"
                        ],
                        "type": "string"
                      },
                      "request_id": {
                        "description": "Optional client-minted id for this confirm attempt.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "closure_date",
                      "reason",
                      "final_return_acknowledged"
                    ],
                    "type": "object"
                  },
                  "registration_id": {
                    "description": "The unique identifier of the registration to deregister.",
                    "type": "string"
                  }
                },
                "required": [
                  "registration_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Deregister registration"
              }
            },
            {
              "name": "get-oss-countries-for-registration",
              "title": "Get oss countries for registration",
              "description": "GET /v1/registrations/{registration_id}/oss-countries\n\nGet all OSS countries for a specific registration. This endpoint returns a list of EU countries that are covered by the OSS registration.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-oss-countries-for-registration",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "registration_id": {
                    "description": "The unique identifier of the registration.",
                    "type": "string"
                  }
                },
                "required": [
                  "registration_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get oss countries for registration"
              }
            },
            {
              "name": "estimate-tax",
              "title": "Estimate tax",
              "description": "POST /v1/tax/estimate\n\nThe Estimate Tax API calculates the estimated tax for a specific transaction based on the provided details, including organization nexus, transaction details, customer details, and addresses. Optionally simulates nexus being met for tax calculation purposes. The `simulate_nexus_met` parameter is deprecated and will be removed in future releases.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/estimate-tax",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "description": "Public request model for tax estimation API documentation. This model excludes internal fields like enriched_fields and total_amount that should not be exposed in API docs.",
                    "properties": {
                      "addresses": {
                        "description": "List of addresses related to the transaction. At least one BILL_TO or SHIP_TO address must be provided. The address will be validated during estimation, and the transaction may be rejected if the address does not pass validation. The SHIP_TO will be preferred to use for determining tax liability.",
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "city": {
                              "description": "City where the customer resides.",
                              "type": "string"
                            },
                            "country": {
                              "description": "Country of the address.",
                              "type": "string"
                            },
                            "county": {
                              "description": "County or district of the customer.",
                              "type": "string"
                            },
                            "full_address": {
                              "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                              "type": "string"
                            },
                            "is_unincorporated": {
                              "description": "If true, city-level tax rates are not applied for this address.",
                              "type": "boolean"
                            },
                            "phone": {
                              "description": "Phone number associated with the customer.",
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "Postal code of the address.",
                              "type": "string"
                            },
                            "state": {
                              "description": "State or province of the address.",
                              "type": "string"
                            },
                            "status": {
                              "description": "Deprecated: ignored on estimate. Accepted for backward compatibility; each address is validated from structured fields.",
                              "type": "string"
                            },
                            "street_1": {
                              "description": "Primary street address of the customer.",
                              "type": "string"
                            },
                            "street_2": {
                              "description": "Additional street address details, such as an apartment or suite number.",
                              "type": "string"
                            },
                            "type": {
                              "description": "Type of the address. Must be either SHIP_TO or BILL_TO.",
                              "enum": [
                                "SHIP_TO",
                                "BILL_TO"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "state",
                            "postal_code",
                            "country"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "customer": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "address_status": {
                                "enum": [
                                  "UNVERIFIED",
                                  "INVALID",
                                  "PARTIALLY_VERIFIED",
                                  "VERIFIED",
                                  "UNVERIFIABLE",
                                  "BLANK"
                                ],
                                "type": "string"
                              },
                              "city": {
                                "description": "City where the customer resides.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company_name": {
                                "description": "Registered or legal business name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "connection_id": {
                                "description": "Unique identifier of the connection related to the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Country code in ISO 3166-1 alpha-2 format"
                              },
                              "county": {
                                "description": "County or district of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "email": {
                                "description": "Email address of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_id": {
                                "description": "A unique identifier for the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "full_address": {
                                "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "description": "Name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "phone": {
                                "description": "Phone number associated with the address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "postal_code": {
                                "description": "ZIP or Postal code of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "registration_number": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "BIGCOMMERCE",
                                      "BESTBUY",
                                      "BUNNY",
                                      "CHARGEBEE",
                                      "SHOPIFY",
                                      "SHOPLINE",
                                      "ECWID",
                                      "STRIPE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Source of the customer information (e.g., BIGCOMMERCE, STRIPE, etc.)."
                              },
                              "state": {
                                "description": "State or province of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              },
                              "street_1": {
                                "description": "Primary street address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "street_2": {
                                "description": "Additional street address details, such as an apartment or suite number.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Details about the customer. If the customer is not found, it will be ignored."
                      },
                      "date": {
                        "description": "The date of the transaction in ISO 8601 format (e.g., 2025-01-25T12:00:00Z).",
                        "type": "string"
                      },
                      "description": {
                        "description": "An optional description of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "Unique identifier of this transaction in the source system.",
                        "type": "string"
                      },
                      "marketplace": {
                        "description": "Indicates if the transaction involves a marketplace.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "source": {
                        "anyOf": [
                          {
                            "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "BIGCOMMERCE",
                              "BESTBUY",
                              "BUNNY",
                              "CHARGEBEE",
                              "SHOPIFY",
                              "SHOPLINE",
                              "ECWID",
                              "STRIPE"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "While currently not used, it may be used in the future to determine taxability. The source of the transaction (e.g., OTHER)."
                      },
                      "transaction_items": {
                        "description": "List of items involved in the transaction.",
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "The total amount of the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "date": {
                              "description": "The date of the transaction item.",
                              "type": "string"
                            },
                            "description": {
                              "description": "A description of the item.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "exempt": {
                              "description": "Defaults to false. Indicates whether the item is exempt from tax.",
                              "type": "boolean"
                            },
                            "external_id": {
                              "description": "A unique identifier for the transaction item.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "external_product_id": {
                              "description": "External product identifier. If not found and product_subcategory and product_category are not provided, an error occurs.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "is_tax_inclusive": {
                              "description": "**Beta — not yet available in production.** When it is not enabled for your environment the field is accepted but ignored, and the response echoes `false`. Defaults to false. When true, `amount` is the gross (tax-included) price and the tax is backed out of it rather than added on top; for a taxable line, `taxable_amount` in the response is then the net base. When the line is not taxed - exempt, or no tax rule applies in the destination - `taxable_amount` is `0.00` rather than the net base, matching how exempt tax-exclusive lines already behave. Read the net amount as `taxable_amount` when `tax_amount` is non-zero, and as `amount` otherwise. This applies to the estimate in this request only. Transactions imported through a connection carry no such flag, so an order quoted here as gross is treated as net when it later syncs, and its recorded tax will be higher than this estimate. Send net amounts on the connection side, or reconcile the difference, until tax-inclusive import support ships.",
                              "type": "boolean"
                            },
                            "product_category": {
                              "description": "Category of the product. Required if product_subcategory is used in place of external_product_id.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_description": {
                              "description": "Description of the product. Used if creating a new product.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_name": {
                              "description": "Name of the product. Used if creating a new product.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_source": {
                              "anyOf": [
                                {
                                  "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "BIGCOMMERCE",
                                    "BESTBUY",
                                    "BUNNY",
                                    "CHARGEBEE",
                                    "SHOPIFY",
                                    "SHOPLINE",
                                    "ECWID",
                                    "STRIPE"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "product_subcategory": {
                              "description": "Subcategory of the product. Required if product_category is used in place of external_product_id.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Defaults to 1.0. The quantity of the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            }
                          },
                          "required": [
                            "date",
                            "amount"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "date",
                      "external_id",
                      "currency",
                      "transaction_items",
                      "addresses"
                    ],
                    "type": "object"
                  },
                  "simulate_nexus_met": {
                    "description": "**Deprecated:** Use `simulate_active_registration` in the request body instead.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Estimate tax"
              }
            },
            {
              "name": "get-transactions",
              "title": "Get transactions",
              "description": "GET /v1/transactions\n\nThe Get Transactions API retrieves a list of transactions with optional filtering, sorting, and pagination.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-transactions",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "address_status__in": {
                    "description": "Filter by address status (e.g., UNVERIFIED, INVALID, PARTIALLY_VERIFIED, VERIFIED, UNVERIFIABLE).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "connection_id__in": {
                    "description": "Filter transactions by connection ID (comma-separated)",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "count_limit": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Optional upper bound for the pagination COUNT query. When set, the returned `total` is capped at this value and `pages` is derived from the capped total, making large result sets faster to paginate at the cost of approximate totals. When unset, `total` and `pages` reflect the exact count (existing behavior)."
                  },
                  "country": {
                    "anyOf": [
                      {
                        "items": {
                          "anyOf": [
                            {
                              "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                              "examples": [
                                "AF",
                                "AX",
                                "AL",
                                "DZ",
                                "AS",
                                "AD",
                                "AO",
                                "AI"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter transactions by country code (ISO 3166-1 alpha-2 format, e.g., US)."
                  },
                  "date__gte": {
                    "description": "Retrieve transactions with a date greater than or equal to the bound (YYYY-MM-DD or ISO datetime in UTC). Defaults to 12 months ago when neither date__gte nor date__lte is provided.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "date__lte": {
                    "description": "Retrieve transactions with a date less than or equal to the bound (YYYY-MM-DD or ISO datetime in UTC).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "direction": {
                    "anyOf": [
                      {
                        "enum": [
                          "SALE",
                          "PURCHASE"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter by transaction direction (SALE or PURCHASE). When unset, the list includes both directions."
                  },
                  "exempt__in": {
                    "description": "Filter transactions by exemption status. Multiple values can be passed as a comma-separated list (e.g., EXEMPT,TAXABLE).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "filing_id": {
                    "description": "Retrieve transactions linked to a specific filing ID.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "marketplace": {
                    "description": "Filter transactions by marketplace (e.g., AMAZON, EBAY).",
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "order_by": {
                    "description": "Sort results based on specified fields. Prefix with - for descending order (e.g., -date for newest first).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "page": {
                    "description": "Page number",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "processing_status__in": {
                    "description": "Filter transactions based on processing status. Multiple values can be passed as a comma-separated list.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "refund_status": {
                    "anyOf": [
                      {
                        "description": "Shopify has 2 order statuses for refund case: refunded and partially_refunded If the given order has different status from these 2, we will set the transaction's refund_status to PARTIALLY_REFUNDED by default.",
                        "enum": [
                          "FULLY_REFUNDED",
                          "PARTIALLY_REFUNDED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter by refund status (e.g., FULLY_REFUNDED, PARTIALLY_REFUNDED)."
                  },
                  "search_query": {
                    "description": "Search for transactions using a general query (e.g., order ID, customer name).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "description": "Page size",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "state": {
                    "description": "Filter by full state name (e.g., California).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "state_code": {
                    "description": "Filter transactions by state code.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "PENDING",
                          "COMMITTED",
                          "CANCELLED",
                          "FULLY_REFUNDED",
                          "PARTIALLY_REFUNDED",
                          "INVALID",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Filter by transaction status (e.g., PENDING, COMMITTED, CANCELLED, ARCHIVED). For refund filtering use the refund_status parameter."
                  },
                  "transaction_source": {
                    "description": "Filter transactions based on the source.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transaction_type": {
                    "description": "Filter by transaction type (e.g., SALE, FULL_CREDIT_NOTE, PARTIAL_CREDIT_NOTE, ARCHIVE etc.).",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get transactions"
              }
            },
            {
              "name": "create-transaction",
              "title": "Create transaction",
              "description": "POST /v1/transactions\n\nCreate a transaction. Set `marketplace: true` for reseller or marketplace orders where tax was remitted externally; gross sales still count toward nexus, but tax liability is excluded.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-transaction",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "addresses": {
                        "items": {
                          "additionalProperties": {},
                          "description": "API-facing transaction address without internal enrichment fields.",
                          "properties": {
                            "city": {
                              "description": "City where the customer resides.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "country": {
                              "anyOf": [
                                {
                                  "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AF",
                                    "AX",
                                    "AL",
                                    "DZ",
                                    "AS",
                                    "AD",
                                    "AO",
                                    "AI"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Country code in ISO 3166-1 alpha-2 format"
                            },
                            "county": {
                              "description": "County or district of the customer.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "full_address": {
                              "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "is_unincorporated": {
                              "description": "If true, city-level tax rates are not applied for this address.",
                              "type": "boolean"
                            },
                            "phone": {
                              "description": "Phone number associated with the address.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "postal_code": {
                              "description": "ZIP or Postal code of the customer.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "state": {
                              "description": "State or province of the customer.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "street_1": {
                              "description": "Primary street address.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "street_2": {
                              "description": "Additional street address details, such as an apartment or suite number.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "enum": [
                                "BILL_TO",
                                "SHIP_TO",
                                "SHIP_FROM",
                                "BILL_FROM"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "city": {
                        "description": "City of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "connection_id": {
                        "description": "Connection Identifier",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code (ISO Alpha-2)."
                      },
                      "county": {
                        "description": "County of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "created_from": {
                        "description": "Identifier of the invoice that created from a sales order.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "customer": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "address_status": {
                                "enum": [
                                  "UNVERIFIED",
                                  "INVALID",
                                  "PARTIALLY_VERIFIED",
                                  "VERIFIED",
                                  "UNVERIFIABLE",
                                  "BLANK"
                                ],
                                "type": "string"
                              },
                              "city": {
                                "description": "City where the customer resides.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company_name": {
                                "description": "Registered or legal business name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "connection_id": {
                                "description": "Unique identifier of the connection related to the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Country code in ISO 3166-1 alpha-2 format"
                              },
                              "county": {
                                "description": "County or district of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "email": {
                                "description": "Email address of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "enriched_fields": {
                                "description": "Additional enriched fields for the customer, if available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_id": {
                                "description": "A unique identifier for the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "full_address": {
                                "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "is_test_data": {
                                "type": "boolean"
                              },
                              "name": {
                                "description": "Name of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "organization_id": {
                                "type": "string"
                              },
                              "phone": {
                                "description": "Phone number associated with the address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "postal_code": {
                                "description": "ZIP or Postal code of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "registration_number": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "BIGCOMMERCE",
                                      "BESTBUY",
                                      "BUNNY",
                                      "CHARGEBEE",
                                      "SHOPIFY",
                                      "SHOPLINE",
                                      "ECWID",
                                      "STRIPE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Source of the customer information (e.g., BIGCOMMERCE, STRIPE, etc.)."
                              },
                              "state": {
                                "description": "State or province of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              },
                              "street_1": {
                                "description": "Primary street address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "street_2": {
                                "description": "Additional street address details, such as an apartment or suite number.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "organization_id"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": {},
                            "properties": {
                              "address_status": {
                                "enum": [
                                  "UNVERIFIED",
                                  "INVALID",
                                  "PARTIALLY_VERIFIED",
                                  "VERIFIED",
                                  "UNVERIFIABLE",
                                  "BLANK"
                                ],
                                "type": "string"
                              },
                              "city": {
                                "description": "City where the customer resides.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company_name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "connection_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Country code in ISO 3166-1 alpha-2 format"
                              },
                              "county": {
                                "description": "County or district of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "email": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_friendly_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "external_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "full_address": {
                                "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "organization_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "phone": {
                                "description": "Phone number associated with the address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "postal_code": {
                                "description": "ZIP or Postal code of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "registration_number": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "BIGCOMMERCE",
                                      "BESTBUY",
                                      "BUNNY",
                                      "CHARGEBEE",
                                      "SHOPIFY",
                                      "SHOPLINE",
                                      "ECWID",
                                      "STRIPE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "state": {
                                "description": "State or province of the customer.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "street_1": {
                                "description": "Primary street address.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "street_2": {
                                "description": "Additional street address details, such as an apartment or suite number.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          }
                        ]
                      },
                      "customer_id": {
                        "description": "Unique identifier of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "date": {
                        "description": "Transaction date and time",
                        "type": "string"
                      },
                      "description": {
                        "description": "Description of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "document_type": {
                        "anyOf": [
                          {
                            "enum": [
                              "INVOICE",
                              "SALES_ORDER",
                              "CASH_SALE",
                              "CASH_REFUND"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Document type distinguishing invoices from sales orders."
                      },
                      "exempt": {
                        "anyOf": [
                          {
                            "description": "Based on transaction item exempt status. NOT EXEMPT: None of the items are NOT EXEMPT PARTIALLY EXEMPT: At least some of the items are NOT EXEMPT FULLY_EXEMPT: All items sold in the transaction are EXEMPT ZERO_RATE_NOT_EXEMPT: All items sold in the transaction are zero-rated",
                            "enum": [
                              "NOT_EXEMPT",
                              "PARTIALLY_EXEMPT",
                              "FULLY_EXEMPT",
                              "ZERO_RATE_NOT_EXEMPT"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Exemption status (e.g., NOT_EXEMPT)"
                      },
                      "exemptions": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "description": "Public read schema mirroring the ORM ``Exemption`` for /v1 transaction embedding. A non-table twin of ``exemptions.models.Exemption``: it re-declares the exact fields the ORM adds on top of ``ExemptionBase``/``TableBase`` (id, organization_id, certificate_import_id, source, certificate_type) so ``TransactionSerializerBase.exemptions`` can be typed without importing the private ORM model (CP-4895). Its serialized shape is byte-identical to the ORM's — ``from_attributes`` reads the same attributes off each ORM row — so the /v1 response payload is unchanged. Keep it in lockstep with ``Exemption`` if the ORM's public columns change (a JSON-schema parity test guards it).",
                              "properties": {
                                "FEIN": {
                                  "description": "Federal Employer Identification Number associated with the exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_import_id": {
                                  "description": "FK to bulk-imported certificate; NULL for manually-created exemptions",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_type": {
                                  "description": "Partial-exemption certificate form code. Null when the exemption is not a partial exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country_code": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US')"
                                },
                                "created_at": {
                                  "description": "Timestamp when transaction was created in Kintsugi.",
                                  "type": "string"
                                },
                                "customer_id": {
                                  "description": "Unique identifier for the customer associated with the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "end_date": {
                                  "description": "End date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "exemption_type": {
                                  "enum": [
                                    "customer",
                                    "wholesale",
                                    "transaction",
                                    "reverse_charge",
                                    "partial"
                                  ],
                                  "type": "string"
                                },
                                "id": {
                                  "description": "Unique identifier for the exemption",
                                  "type": "string"
                                },
                                "jurisdiction": {
                                  "description": "The jurisdiction identifier for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "organization_id": {
                                  "type": "string"
                                },
                                "reseller": {
                                  "description": "Indicates whether the exemption is for a reseller",
                                  "type": "boolean"
                                },
                                "sales_tax_id": {
                                  "description": "Sales tax ID for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "source": {
                                  "anyOf": [
                                    {
                                      "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                      "enum": [
                                        "NETSUITE",
                                        "QUICKBOOKS",
                                        "INTUIT_ENTERPRISE_SUITE",
                                        "SAGE_INTACCT",
                                        "SHOPIFY",
                                        "XERO",
                                        "STRIPE",
                                        "BIGCOMMERCE",
                                        "MAGENTO",
                                        "MAXIO",
                                        "CHARGEBEE",
                                        "ZUORA",
                                        "MICROSOFT_DYNAMICS_365",
                                        "DUALENTRY",
                                        "RECURLY",
                                        "SHOPLINE",
                                        "ORB",
                                        "ZENSKAR",
                                        "HYPERLINE",
                                        "ODOO",
                                        "ZOHO_BOOKS",
                                        "UNLEASHED",
                                        "MANUAL",
                                        "BULK_UPLOAD",
                                        "EMAIL",
                                        "CHECKOUT",
                                        "API",
                                        "MISSING_CERTIFICATE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Source of exemption."
                                },
                                "start_date": {
                                  "description": "Start date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": "string"
                                },
                                "status": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "ACTIVE",
                                        "INACTIVE",
                                        "EXPIRED",
                                        "DEACTIVATED",
                                        "ARCHIVED"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The status of the exemption. Defaults to ACTIVE if not provided."
                                },
                                "transaction_id": {
                                  "description": "Unique identifier for the transaction associated with the exemption, if applicable.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "updated_at": {
                                  "description": "Timestamp when transaction was last updated.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "exemption_type",
                                "start_date"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "List of exemptions applied (if any)."
                      },
                      "external_friendly_id": {
                        "description": "Friendly identifier of the original item.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "External identifier of the transaction.",
                        "type": "string"
                      },
                      "filing_id": {
                        "description": "Filing identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_tax_inclusive": {
                        "description": "Whether source amounts include tax. NULL means the source did not say.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "locked": {
                        "description": "Transaction lock status.",
                        "type": "boolean"
                      },
                      "marketplace": {
                        "description": "Indicates if transaction is marketplace-based.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "organization_id": {
                        "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "refund_status": {
                        "anyOf": [
                          {
                            "description": "Shopify has 2 order statuses for refund case: refunded and partially_refunded If the given order has different status from these 2, we will set the transaction's refund_status to PARTIALLY_REFUNDED by default.",
                            "enum": [
                              "FULLY_REFUNDED",
                              "PARTIALLY_REFUNDED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Status of refund, if applicable"
                      },
                      "related_to": {
                        "description": "Related transaction identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "requires_exemption": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "FEIN": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country_code": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "customer_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "end_date": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "exemption_type": {
                                "enum": [
                                  "customer",
                                  "wholesale",
                                  "transaction",
                                  "reverse_charge",
                                  "partial"
                                ],
                                "type": "string"
                              },
                              "jurisdiction": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "organization_id": {
                                "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                                "type": "string"
                              },
                              "reseller": {
                                "type": "boolean"
                              },
                              "sales_tax_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                    "enum": [
                                      "NETSUITE",
                                      "QUICKBOOKS",
                                      "INTUIT_ENTERPRISE_SUITE",
                                      "SAGE_INTACCT",
                                      "SHOPIFY",
                                      "XERO",
                                      "STRIPE",
                                      "BIGCOMMERCE",
                                      "MAGENTO",
                                      "MAXIO",
                                      "CHARGEBEE",
                                      "ZUORA",
                                      "MICROSOFT_DYNAMICS_365",
                                      "DUALENTRY",
                                      "RECURLY",
                                      "SHOPLINE",
                                      "ORB",
                                      "ZENSKAR",
                                      "HYPERLINE",
                                      "ODOO",
                                      "ZOHO_BOOKS",
                                      "UNLEASHED",
                                      "MANUAL",
                                      "BULK_UPLOAD",
                                      "EMAIL",
                                      "CHECKOUT",
                                      "API",
                                      "MISSING_CERTIFICATE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "start_date": {
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "INACTIVE",
                                  "EXPIRED",
                                  "DEACTIVATED",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "organization_id",
                              "exemption_type",
                              "start_date",
                              "status",
                              "reseller"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Indicates if transaction requires tax exemption."
                      },
                      "secondary_external_id": {
                        "description": "Secondary External Identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "secondary_source": {
                        "description": "Secondary source information",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date": {
                        "description": "Transaction date in the shop's local timezone",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date_tz": {
                        "description": "Timezone of the shop",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "BIGCOMMERCE",
                          "BESTBUY",
                          "BUNNY",
                          "CHARGEBEE",
                          "SHOPIFY",
                          "SHOPLINE",
                          "ECWID",
                          "STRIPE"
                        ],
                        "type": "string"
                      },
                      "state": {
                        "description": "State of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "PENDING",
                          "COMMITTED",
                          "CANCELLED",
                          "FULLY_REFUNDED",
                          "PARTIALLY_REFUNDED",
                          "INVALID",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "tax_id": {
                        "description": "Tax ID associated with the transaction. DEPRECATED: This field is only populated for QuickBooks integrations and will be removed in a future version.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "tax_liability_source": {
                        "anyOf": [
                          {
                            "enum": [
                              "CALCULATED",
                              "COLLECTED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Source of tax liability."
                      },
                      "tax_rate_calculated": {
                        "description": "Calculated tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "tax_rate_imported": {
                        "description": "Imported tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "taxable_amount": {
                        "description": "Taxable amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_amount": {
                        "description": "Total amount of the transaction.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_calculated": {
                        "description": "Calculated tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_imported": {
                        "description": "Imported tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_liability_amount": {
                        "description": "Total tax liability amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "transaction_items": {
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "Item amount.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "converted_amount": {
                              "description": "Converted item amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_subtotal": {
                              "description": "Converted subtotal amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_calculated": {
                              "description": "Converted calculated tax amount",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_imported": {
                              "description": "Converted imported tax amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_taxable_amount": {
                              "description": "Converted taxable amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_total_discount": {
                              "description": "Converted total discount amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "date": {
                              "description": "Date/time of item.",
                              "type": "string"
                            },
                            "description": {
                              "description": "Item description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "destination_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Destination currency code."
                            },
                            "discount_builder": {
                              "anyOf": [
                                {
                                  "additionalProperties": {},
                                  "properties": {
                                    "applied_to": {},
                                    "discount_amount": {
                                      "anyOf": [
                                        {},
                                        {}
                                      ],
                                      "description": "Absolute discount amount for the line or transaction. Send a positive value for sales; credit notes may use a negative value so subtotal = amount + total_discount stays coherent."
                                    },
                                    "external_id": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "applied_to"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "exempt": {
                              "description": "Indicates if the item is exempt.",
                              "type": "boolean"
                            },
                            "external_id": {
                              "description": "External item identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "external_product_id": {
                              "description": "External product identifier.",
                              "type": "string"
                            },
                            "is_tax_inclusive": {
                              "description": "Whether this line's source amount includes tax. NULL means the source did not say.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "organization_id": {
                              "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "original_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Original currency code."
                            },
                            "product": {
                              "description": "Product name",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_description": {
                              "description": "Product description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_id": {
                              "description": "Product identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_name": {
                              "description": "Product name (detailed)",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity of item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_calculated": {
                              "description": "Calculated tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_imported": {
                              "description": "Imported tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_exemption": {
                              "anyOf": [
                                {
                                  "description": "This enum is used to determine if a transaction is exempt from tax.",
                                  "enum": [
                                    "PRODUCT",
                                    "TRANSACTION",
                                    "CUSTOMER",
                                    "WHOLESALE",
                                    "PARTIAL_CERTIFICATE",
                                    "REGION",
                                    "REVERSE_CHARGE",
                                    "ZERO_RATE_TAX",
                                    "HIGH_VALUE_PHYSICAL_GOODS",
                                    "EXPORT",
                                    "ZERO_VALUE_ITEM",
                                    "NO_RULE_FOUND",
                                    "IMPORTED",
                                    "ZERO_RATE_NOT_EXEMPT"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Tax exemption status."
                            },
                            "tax_items": {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "converted_amount": {
                                    "anyOf": [
                                      {
                                        "anyOf": [
                                          {},
                                          {}
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "destination_currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "external_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_name": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_type": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "description": "Deprecated: use `jurisdiction_type` instead",
                                    "type": "string"
                                  },
                                  "organization_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rate": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "rule_id": {
                                    "description": "The rule ID of the tax item",
                                    "type": "string"
                                  },
                                  "type": {}
                                },
                                "required": [
                                  "rate",
                                  "amount",
                                  "name",
                                  "organization_id"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "tax_rate_calculated": {
                              "description": "Calculated tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_rate_imported": {
                              "description": "Imported tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "taxable_amount": {
                              "description": "Taxable amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            }
                          },
                          "required": [
                            "organization_id",
                            "date",
                            "external_product_id"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "type": {
                        "enum": [
                          "SALE",
                          "FULL_CREDIT_NOTE",
                          "PARTIAL_CREDIT_NOTE",
                          "TAX_REFUND",
                          "TAX_COLLECTION",
                          "ARCHIVE"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "organization_id",
                      "external_id",
                      "date",
                      "addresses",
                      "transaction_items",
                      "customer",
                      "type"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create transaction"
              }
            },
            {
              "name": "archive-transaction-by-id",
              "title": "Archive transaction by id",
              "description": "POST /v1/transactions/archive\n\nArchive transactions by transaction id\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/archive-transaction-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "transaction_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Archive transaction by id"
              }
            },
            {
              "name": "get-transaction-by-external-id",
              "title": "Get transaction by external id",
              "description": "GET /v1/transactions/external/{external_id}\n\nRetrieves a specific transaction based on its external ID. This allows users to fetch transaction details using an identifier from an external system.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-transaction-by-external-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "external_id": {
                    "description": "The unique external identifier of the transaction.",
                    "type": "string"
                  }
                },
                "required": [
                  "external_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get transaction by external id"
              }
            },
            {
              "name": "get-transactions-by-filing-id",
              "title": "Get transactions by filing id",
              "description": "GET /v1/transactions/filings/{filing_id}\n\nRetrieve transactions by filing ID.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-transactions-by-filing-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "filing_id": {
                    "description": "The unique identifier of the filing whose transactions you wish to retrieve.",
                    "type": "string"
                  }
                },
                "required": [
                  "filing_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get transactions by filing id"
              }
            },
            {
              "name": "create-credit-note-by-transaction-id",
              "title": "Create credit note by transaction id",
              "description": "POST /v1/transactions/{original_transaction_id}/credit_notes\n\nCreate a new credit note for a specific transaction. Idempotent on ``(organization_id, connection_id, source, external_id)`` for the same parent: a re-POST returns ``200`` with the stored credit note unchanged. The same external id against a different parent still conflicts. Use PUT to update fields.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/create-credit-note-by-transaction-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "addresses": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "organization_id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "A list of TransactionAddressBuilder objects or None if no addresses are provided. This field represents the addresses associated with the transaction."
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "date": {
                        "description": "Date when the credit note was issued or created.",
                        "type": "string"
                      },
                      "description": {
                        "description": "Brief explanation or reason for issuing the credit note.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_friendly_id": {
                        "description": "Human-readable identifier for the credit note, often used for display purposes.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "Unique identifier for the credit note in the external system.",
                        "type": "string"
                      },
                      "is_tax_inclusive": {
                        "description": "Whether the source amounts include tax (EI-1534). None means the source did not say. Mirrors the parent order's signal; netting stays EI-1538.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "marketplace": {
                        "description": "Indicates whether this credit note is associated with a marketplace transaction.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "secondary_external_id": {
                        "description": "Secondary external identifier, reserved for marketplace/channel source ids (paired with secondary_source).",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "description": "Current state of the credit note in its lifecycle.",
                        "enum": [
                          "PENDING",
                          "CANCELLED",
                          "COMMITTED"
                        ],
                        "type": "string"
                      },
                      "tax_amount_imported": {
                        "description": "Pre-calculated total tax amount for the entire credit note, if provided by the external system.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "tax_rate_imported": {
                        "description": "Pre-calculated overall tax rate for the credit note, if provided by the external system.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "taxable_amount": {
                        "description": "Total portion of the credit note amount subject to taxation.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "total_amount": {
                        "description": "Total monetary value of the credit note, including all items and taxes.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "transaction_items": {
                        "description": "Detailed list of individual items included in this credit note.",
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "Total monetary value of the credit note item before taxes.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "date": {
                              "description": "Date when the credit note item was issued or created.",
                              "type": "string"
                            },
                            "description": {
                              "description": "Brief explanation or details about the credit note item.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "discount_builder": {
                              "anyOf": [
                                {
                                  "additionalProperties": {},
                                  "properties": {
                                    "applied_to": {},
                                    "discount_amount": {
                                      "anyOf": [
                                        {},
                                        {}
                                      ],
                                      "description": "Absolute discount amount for the line or transaction. Send a positive value for sales; credit notes may use a negative value so subtotal = amount + total_discount stays coherent."
                                    },
                                    "external_id": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "applied_to"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Line-level discount for this credit note item, if any."
                            },
                            "external_id": {
                              "description": "Unique identifier for the credit note item in the external system.",
                              "type": "string"
                            },
                            "external_product_id": {
                              "description": "Unique identifier for the associated product in the external system.",
                              "type": "string"
                            },
                            "is_tax_inclusive": {
                              "description": "Whether the source amount includes tax (EI-1534). None means the source did not say. Mirrors the parent order's signal; netting stays EI-1538.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Number of units or amount of the product being credited.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_imported": {
                              "description": "Pre-calculated tax amount for the item, if provided by the external system.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "tax_exemption": {
                              "anyOf": [
                                {
                                  "description": "This enum is used to determine if a transaction is exempt from tax.",
                                  "enum": [
                                    "PRODUCT",
                                    "TRANSACTION",
                                    "CUSTOMER",
                                    "WHOLESALE",
                                    "PARTIAL_CERTIFICATE",
                                    "REGION",
                                    "REVERSE_CHARGE",
                                    "ZERO_RATE_TAX",
                                    "HIGH_VALUE_PHYSICAL_GOODS",
                                    "EXPORT",
                                    "ZERO_VALUE_ITEM",
                                    "NO_RULE_FOUND",
                                    "IMPORTED",
                                    "ZERO_RATE_NOT_EXEMPT"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Specific tax exemption status applied to this item, if any."
                            },
                            "tax_items": {
                              "description": "Detailed breakdown of individual tax components applied to this item.",
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "converted_amount": {
                                    "anyOf": [
                                      {
                                        "anyOf": [
                                          {},
                                          {}
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "destination_currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "external_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_name": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_type": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "description": "Deprecated: use `jurisdiction_type` instead",
                                    "type": "string"
                                  },
                                  "organization_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rate": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "rule_id": {
                                    "description": "The rule ID of the tax item",
                                    "type": "string"
                                  },
                                  "type": {}
                                },
                                "required": [
                                  "rate",
                                  "amount",
                                  "name",
                                  "organization_id"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "tax_rate_imported": {
                              "description": "Pre-calculated tax rate for the item, if provided by the external system.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "taxable_amount": {
                              "description": "Portion of the item amount subject to taxation.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "external_id",
                            "date",
                            "external_product_id",
                            "quantity",
                            "amount"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "external_id",
                      "date",
                      "status",
                      "total_amount",
                      "currency",
                      "transaction_items"
                    ],
                    "type": "object"
                  },
                  "original_transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "original_transaction_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Create credit note by transaction id"
              }
            },
            {
              "name": "update-credit-note-by-transaction-id",
              "title": "Update credit note by transaction id",
              "description": "PUT /v1/transactions/{original_transaction_id}/credit_notes/{credit_note_id}\n\nUpdate an existing credit note for a specific transaction.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-credit-note-by-transaction-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "addresses": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "organization_id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "A list of TransactionAddressBuilder objects or None if no addresses are provided. This field represents the addresses associated with the transaction."
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "date": {
                        "description": "Date when the credit note was issued or created.",
                        "type": "string"
                      },
                      "description": {
                        "description": "Brief explanation or reason for issuing the credit note.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_friendly_id": {
                        "description": "Human-readable identifier for the credit note, often used for display purposes.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "Unique identifier for the credit note in the external system.",
                        "type": "string"
                      },
                      "is_tax_inclusive": {
                        "description": "Whether the source amounts include tax (EI-1534). None means the source did not say. Mirrors the parent order's signal; netting stays EI-1538.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "marketplace": {
                        "description": "Indicates whether this credit note is associated with a marketplace transaction.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "secondary_external_id": {
                        "description": "Secondary external identifier, reserved for marketplace/channel source ids (paired with secondary_source).",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "description": "Current state of the credit note in its lifecycle.",
                        "enum": [
                          "PENDING",
                          "CANCELLED",
                          "COMMITTED"
                        ],
                        "type": "string"
                      },
                      "tax_amount_imported": {
                        "description": "Pre-calculated total tax amount for the entire credit note, if provided by the external system.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "tax_rate_imported": {
                        "description": "Pre-calculated overall tax rate for the credit note, if provided by the external system.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "taxable_amount": {
                        "description": "Total portion of the credit note amount subject to taxation.",
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "total_amount": {
                        "description": "Total monetary value of the credit note, including all items and taxes.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "transaction_items": {
                        "description": "Detailed list of individual items included in this credit note.",
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "Total monetary value of the credit note item before taxes.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "date": {
                              "description": "Date when the credit note item was issued or created.",
                              "type": "string"
                            },
                            "description": {
                              "description": "Brief explanation or details about the credit note item.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "discount_builder": {
                              "anyOf": [
                                {
                                  "additionalProperties": {},
                                  "properties": {
                                    "applied_to": {},
                                    "discount_amount": {
                                      "anyOf": [
                                        {},
                                        {}
                                      ],
                                      "description": "Absolute discount amount for the line or transaction. Send a positive value for sales; credit notes may use a negative value so subtotal = amount + total_discount stays coherent."
                                    },
                                    "external_id": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "applied_to"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Line-level discount for this credit note item, if any."
                            },
                            "external_id": {
                              "description": "Unique identifier for the credit note item in the external system.",
                              "type": "string"
                            },
                            "external_product_id": {
                              "description": "Unique identifier for the associated product in the external system.",
                              "type": "string"
                            },
                            "is_tax_inclusive": {
                              "description": "Whether the source amount includes tax (EI-1534). None means the source did not say. Mirrors the parent order's signal; netting stays EI-1538.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Number of units or amount of the product being credited.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_imported": {
                              "description": "Pre-calculated tax amount for the item, if provided by the external system.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "tax_exemption": {
                              "anyOf": [
                                {
                                  "description": "This enum is used to determine if a transaction is exempt from tax.",
                                  "enum": [
                                    "PRODUCT",
                                    "TRANSACTION",
                                    "CUSTOMER",
                                    "WHOLESALE",
                                    "PARTIAL_CERTIFICATE",
                                    "REGION",
                                    "REVERSE_CHARGE",
                                    "ZERO_RATE_TAX",
                                    "HIGH_VALUE_PHYSICAL_GOODS",
                                    "EXPORT",
                                    "ZERO_VALUE_ITEM",
                                    "NO_RULE_FOUND",
                                    "IMPORTED",
                                    "ZERO_RATE_NOT_EXEMPT"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Specific tax exemption status applied to this item, if any."
                            },
                            "tax_items": {
                              "description": "Detailed breakdown of individual tax components applied to this item.",
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "converted_amount": {
                                    "anyOf": [
                                      {
                                        "anyOf": [
                                          {},
                                          {}
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "destination_currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "external_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_name": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_type": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "description": "Deprecated: use `jurisdiction_type` instead",
                                    "type": "string"
                                  },
                                  "organization_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rate": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "rule_id": {
                                    "description": "The rule ID of the tax item",
                                    "type": "string"
                                  },
                                  "type": {}
                                },
                                "required": [
                                  "rate",
                                  "amount",
                                  "name",
                                  "organization_id"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "tax_rate_imported": {
                              "description": "Pre-calculated tax rate for the item, if provided by the external system.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "taxable_amount": {
                              "description": "Portion of the item amount subject to taxation.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "external_id",
                            "date",
                            "external_product_id",
                            "quantity",
                            "amount"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "external_id",
                      "date",
                      "status",
                      "total_amount",
                      "currency",
                      "transaction_items"
                    ],
                    "type": "object"
                  },
                  "credit_note_id": {
                    "type": "string"
                  },
                  "original_transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "original_transaction_id",
                  "credit_note_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update credit note by transaction id"
              }
            },
            {
              "name": "get-transaction-by-id",
              "title": "Get transaction by id",
              "description": "GET /v1/transactions/{transaction_id}\n\nThe Get Transaction By Id API retrieves detailed information about a specific transaction by providing its unique transaction ID.\n\nRead-only.\n\nReference: https://docs.trykintsugi.com/reference/get-transaction-by-id",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "transaction_id": {
                    "description": "The unique identifier of the transaction to retrieve.",
                    "type": "string"
                  }
                },
                "required": [
                  "transaction_id"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Get transaction by id"
              }
            },
            {
              "name": "update-transaction",
              "title": "Update transaction",
              "description": "PUT /v1/transactions/{transaction_id}\n\nUpdate a specific transaction by its ID.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/update-transaction",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "addresses": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "organization_id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "items": {
                              "additionalProperties": {},
                              "properties": {
                                "city": {
                                  "description": "City where the customer resides.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format"
                                },
                                "county": {
                                  "description": "County or district of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "enriched_fields": {
                                  "description": "Optional additional enriched data for the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "full_address": {
                                  "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "is_unincorporated": {
                                  "description": "If true, city-level tax rates are not applied for this address.",
                                  "type": "boolean"
                                },
                                "phone": {
                                  "description": "Phone number associated with the address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "postal_code": {
                                  "description": "ZIP or Postal code of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "state": {
                                  "description": "State or province of the customer.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "enum": [
                                    "UNVERIFIED",
                                    "INVALID",
                                    "PARTIALLY_VERIFIED",
                                    "VERIFIED",
                                    "UNVERIFIABLE",
                                    "BLANK"
                                  ],
                                  "type": "string"
                                },
                                "street_1": {
                                  "description": "Primary street address.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "street_2": {
                                  "description": "Additional street address details, such as an apartment or suite number.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "type": {
                                  "enum": [
                                    "BILL_TO",
                                    "SHIP_TO",
                                    "SHIP_FROM",
                                    "BILL_FROM"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          }
                        ]
                      },
                      "city": {
                        "description": "City of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "connection_id": {
                        "description": "Connection Identifier",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "anyOf": [
                          {
                            "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                            "examples": [
                              "AF",
                              "AX",
                              "AL",
                              "DZ",
                              "AS",
                              "AD",
                              "AO",
                              "AI"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Country code (ISO Alpha-2)."
                      },
                      "county": {
                        "description": "County of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "created_from": {
                        "description": "Identifier of the invoice that created from a sales order.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "AED",
                          "AFN",
                          "ALL",
                          "AMD",
                          "ANG",
                          "AOA",
                          "ARS",
                          "AUD"
                        ],
                        "type": "string"
                      },
                      "customer": {
                        "additionalProperties": {},
                        "properties": {
                          "address_status": {
                            "enum": [
                              "UNVERIFIED",
                              "INVALID",
                              "PARTIALLY_VERIFIED",
                              "VERIFIED",
                              "UNVERIFIABLE",
                              "BLANK"
                            ],
                            "type": "string"
                          },
                          "city": {
                            "description": "City where the customer resides.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company_name": {
                            "description": "Registered or legal business name of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "country": {
                            "anyOf": [
                              {
                                "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                "examples": [
                                  "AF",
                                  "AX",
                                  "AL",
                                  "DZ",
                                  "AS",
                                  "AD",
                                  "AO",
                                  "AI"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Country code in ISO 3166-1 alpha-2 format"
                          },
                          "county": {
                            "description": "County or district of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "email": {
                            "description": "Email address of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "external_friendly_id": {
                            "description": "External friendly identifier associated with the customer. We need it for netsuite.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "external_id": {
                            "description": "External identifier associated with the customer",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "full_address": {
                            "description": "Complete address string of the customer, which can be used as an alternative to individual fields.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "description": "Name of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "phone": {
                            "description": "Phone number associated with the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "postal_code": {
                            "description": "ZIP or Postal code of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "anyOf": [
                              {
                                "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                                "examples": [
                                  "BIGCOMMERCE",
                                  "BESTBUY",
                                  "BUNNY",
                                  "CHARGEBEE",
                                  "SHOPIFY",
                                  "SHOPLINE",
                                  "ECWID",
                                  "STRIPE"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Source of the customer's record"
                          },
                          "state": {
                            "description": "State or province of the customer.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "status": {
                            "anyOf": [
                              {
                                "enum": [
                                  "ACTIVE",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Status of the customer."
                          },
                          "street_1": {
                            "description": "Primary street address.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "street_2": {
                            "description": "Additional street address details, such as an apartment or suite number.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "customer_id": {
                        "description": "Unique identifier of the customer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "date": {
                        "description": "Transaction date and time",
                        "type": "string"
                      },
                      "description": {
                        "description": "Description of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "document_type": {
                        "anyOf": [
                          {
                            "enum": [
                              "INVOICE",
                              "SALES_ORDER",
                              "CASH_SALE",
                              "CASH_REFUND"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Document type distinguishing invoices from sales orders."
                      },
                      "exempt": {
                        "anyOf": [
                          {
                            "description": "Based on transaction item exempt status. NOT EXEMPT: None of the items are NOT EXEMPT PARTIALLY EXEMPT: At least some of the items are NOT EXEMPT FULLY_EXEMPT: All items sold in the transaction are EXEMPT ZERO_RATE_NOT_EXEMPT: All items sold in the transaction are zero-rated",
                            "enum": [
                              "NOT_EXEMPT",
                              "PARTIALLY_EXEMPT",
                              "FULLY_EXEMPT",
                              "ZERO_RATE_NOT_EXEMPT"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Exemption status (e.g., NOT_EXEMPT)"
                      },
                      "exemptions": {
                        "anyOf": [
                          {
                            "items": {
                              "additionalProperties": {},
                              "description": "Public read schema mirroring the ORM ``Exemption`` for /v1 transaction embedding. A non-table twin of ``exemptions.models.Exemption``: it re-declares the exact fields the ORM adds on top of ``ExemptionBase``/``TableBase`` (id, organization_id, certificate_import_id, source, certificate_type) so ``TransactionSerializerBase.exemptions`` can be typed without importing the private ORM model (CP-4895). Its serialized shape is byte-identical to the ORM's — ``from_attributes`` reads the same attributes off each ORM row — so the /v1 response payload is unchanged. Keep it in lockstep with ``Exemption`` if the ORM's public columns change (a JSON-schema parity test guards it).",
                              "properties": {
                                "FEIN": {
                                  "description": "Federal Employer Identification Number associated with the exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_import_id": {
                                  "description": "FK to bulk-imported certificate; NULL for manually-created exemptions",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "certificate_type": {
                                  "description": "Partial-exemption certificate form code. Null when the exemption is not a partial exemption.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "country_code": {
                                  "anyOf": [
                                    {
                                      "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                      "examples": [
                                        "AF",
                                        "AX",
                                        "AL",
                                        "DZ",
                                        "AS",
                                        "AD",
                                        "AO",
                                        "AI"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Country code in ISO 3166-1 alpha-2 format (e.g., 'US')"
                                },
                                "created_at": {
                                  "description": "Timestamp when transaction was created in Kintsugi.",
                                  "type": "string"
                                },
                                "customer_id": {
                                  "description": "Unique identifier for the customer associated with the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "end_date": {
                                  "description": "End date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "exemption_type": {
                                  "enum": [
                                    "customer",
                                    "wholesale",
                                    "transaction",
                                    "reverse_charge",
                                    "partial"
                                  ],
                                  "type": "string"
                                },
                                "id": {
                                  "description": "Unique identifier for the exemption",
                                  "type": "string"
                                },
                                "jurisdiction": {
                                  "description": "The jurisdiction identifier for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "organization_id": {
                                  "type": "string"
                                },
                                "reseller": {
                                  "description": "Indicates whether the exemption is for a reseller",
                                  "type": "boolean"
                                },
                                "sales_tax_id": {
                                  "description": "Sales tax ID for the exemption",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "source": {
                                  "anyOf": [
                                    {
                                      "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                      "enum": [
                                        "NETSUITE",
                                        "QUICKBOOKS",
                                        "INTUIT_ENTERPRISE_SUITE",
                                        "SAGE_INTACCT",
                                        "SHOPIFY",
                                        "XERO",
                                        "STRIPE",
                                        "BIGCOMMERCE",
                                        "MAGENTO",
                                        "MAXIO",
                                        "CHARGEBEE",
                                        "ZUORA",
                                        "MICROSOFT_DYNAMICS_365",
                                        "DUALENTRY",
                                        "RECURLY",
                                        "SHOPLINE",
                                        "ORB",
                                        "ZENSKAR",
                                        "HYPERLINE",
                                        "ODOO",
                                        "ZOHO_BOOKS",
                                        "UNLEASHED",
                                        "MANUAL",
                                        "BULK_UPLOAD",
                                        "EMAIL",
                                        "CHECKOUT",
                                        "API",
                                        "MISSING_CERTIFICATE"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "Source of exemption."
                                },
                                "start_date": {
                                  "description": "Start date for the exemption validity period (YYYY-MM-DD format)",
                                  "type": "string"
                                },
                                "status": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "ACTIVE",
                                        "INACTIVE",
                                        "EXPIRED",
                                        "DEACTIVATED",
                                        "ARCHIVED"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The status of the exemption. Defaults to ACTIVE if not provided."
                                },
                                "transaction_id": {
                                  "description": "Unique identifier for the transaction associated with the exemption, if applicable.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "updated_at": {
                                  "description": "Timestamp when transaction was last updated.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "exemption_type",
                                "start_date"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "List of exemptions applied (if any)."
                      },
                      "external_friendly_id": {
                        "description": "Friendly identifier of the original item.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "external_id": {
                        "description": "External identifier of the transaction.",
                        "type": "string"
                      },
                      "filing_id": {
                        "description": "Filing identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_tax_inclusive": {
                        "description": "Whether source amounts include tax. NULL means the source did not say.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "locked": {
                        "description": "Transaction lock status.",
                        "type": "boolean"
                      },
                      "marketplace": {
                        "description": "Indicates if transaction is marketplace-based.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "organization_id": {
                        "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Postal code of the transaction.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "refund_status": {
                        "anyOf": [
                          {
                            "description": "Shopify has 2 order statuses for refund case: refunded and partially_refunded If the given order has different status from these 2, we will set the transaction's refund_status to PARTIALLY_REFUNDED by default.",
                            "enum": [
                              "FULLY_REFUNDED",
                              "PARTIALLY_REFUNDED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Status of refund, if applicable"
                      },
                      "related_to": {
                        "description": "Related transaction identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "requires_exemption": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "properties": {
                              "FEIN": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "country_code": {
                                "anyOf": [
                                  {
                                    "description": "One of 251 allowed values, e.g. AF, AX, AL, DZ, AS, AD, AO, AI. The full list is on the reference page linked in this tool's description.",
                                    "examples": [
                                      "AF",
                                      "AX",
                                      "AL",
                                      "DZ",
                                      "AS",
                                      "AD",
                                      "AO",
                                      "AI"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "customer_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "end_date": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "exemption_type": {
                                "enum": [
                                  "customer",
                                  "wholesale",
                                  "transaction",
                                  "reverse_charge",
                                  "partial"
                                ],
                                "type": "string"
                              },
                              "jurisdiction": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "organization_id": {
                                "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                                "type": "string"
                              },
                              "reseller": {
                                "type": "boolean"
                              },
                              "sales_tax_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "description": "Source of exemption, needs extension for new sources which supports multi-state exemptions",
                                    "enum": [
                                      "NETSUITE",
                                      "QUICKBOOKS",
                                      "INTUIT_ENTERPRISE_SUITE",
                                      "SAGE_INTACCT",
                                      "SHOPIFY",
                                      "XERO",
                                      "STRIPE",
                                      "BIGCOMMERCE",
                                      "MAGENTO",
                                      "MAXIO",
                                      "CHARGEBEE",
                                      "ZUORA",
                                      "MICROSOFT_DYNAMICS_365",
                                      "DUALENTRY",
                                      "RECURLY",
                                      "SHOPLINE",
                                      "ORB",
                                      "ZENSKAR",
                                      "HYPERLINE",
                                      "ODOO",
                                      "ZOHO_BOOKS",
                                      "UNLEASHED",
                                      "MANUAL",
                                      "BULK_UPLOAD",
                                      "EMAIL",
                                      "CHECKOUT",
                                      "API",
                                      "MISSING_CERTIFICATE"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "start_date": {
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "ACTIVE",
                                  "INACTIVE",
                                  "EXPIRED",
                                  "DEACTIVATED",
                                  "ARCHIVED"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "organization_id",
                              "exemption_type",
                              "start_date",
                              "status",
                              "reseller"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Indicates if transaction requires tax exemption."
                      },
                      "secondary_external_id": {
                        "description": "Secondary External Identifier.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "secondary_source": {
                        "description": "Secondary source information",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date": {
                        "description": "Transaction date in the shop's local timezone",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shop_date_tz": {
                        "description": "Timezone of the shop",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source": {
                        "description": "One of 83 allowed values, e.g. BIGCOMMERCE, BESTBUY, BUNNY, CHARGEBEE, SHOPIFY, SHOPLINE, ECWID, STRIPE. The full list is on the reference page linked in this tool's description.",
                        "examples": [
                          "BIGCOMMERCE",
                          "BESTBUY",
                          "BUNNY",
                          "CHARGEBEE",
                          "SHOPIFY",
                          "SHOPLINE",
                          "ECWID",
                          "STRIPE"
                        ],
                        "type": "string"
                      },
                      "state": {
                        "description": "State of the transaction address.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status": {
                        "enum": [
                          "PENDING",
                          "COMMITTED",
                          "CANCELLED",
                          "FULLY_REFUNDED",
                          "PARTIALLY_REFUNDED",
                          "INVALID",
                          "ARCHIVED"
                        ],
                        "type": "string"
                      },
                      "tax_id": {
                        "description": "Tax ID associated with the transaction. DEPRECATED: This field is only populated for QuickBooks integrations and will be removed in a future version.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "tax_liability_source": {
                        "anyOf": [
                          {
                            "enum": [
                              "CALCULATED",
                              "COLLECTED"
                            ],
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Source of tax liability."
                      },
                      "tax_rate_calculated": {
                        "description": "Calculated tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "tax_rate_imported": {
                        "description": "Imported tax rate.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "taxable_amount": {
                        "description": "Taxable amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_amount": {
                        "description": "Total amount of the transaction.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_calculated": {
                        "description": "Calculated tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_amount_imported": {
                        "description": "Imported tax amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "total_tax_liability_amount": {
                        "description": "Total tax liability amount.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "transaction_items": {
                        "items": {
                          "additionalProperties": {},
                          "properties": {
                            "amount": {
                              "description": "Item amount.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "converted_amount": {
                              "description": "Converted item amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_subtotal": {
                              "description": "Converted subtotal amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_calculated": {
                              "description": "Converted calculated tax amount",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_tax_amount_imported": {
                              "description": "Converted imported tax amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_taxable_amount": {
                              "description": "Converted taxable amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "converted_total_discount": {
                              "description": "Converted total discount amount.",
                              "type": [
                                "number",
                                "string",
                                "null"
                              ]
                            },
                            "date": {
                              "description": "Date/time of item.",
                              "type": "string"
                            },
                            "description": {
                              "description": "Item description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "destination_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Destination currency code."
                            },
                            "discount_builder": {
                              "anyOf": [
                                {
                                  "additionalProperties": {},
                                  "properties": {
                                    "applied_to": {},
                                    "discount_amount": {
                                      "anyOf": [
                                        {},
                                        {}
                                      ],
                                      "description": "Absolute discount amount for the line or transaction. Send a positive value for sales; credit notes may use a negative value so subtotal = amount + total_discount stays coherent."
                                    },
                                    "external_id": {
                                      "anyOf": [
                                        {},
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "applied_to"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "exempt": {
                              "description": "Indicates if the item is exempt.",
                              "type": "boolean"
                            },
                            "external_id": {
                              "description": "External item identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "external_product_id": {
                              "description": "External product identifier.",
                              "type": "string"
                            },
                            "is_tax_inclusive": {
                              "description": "Whether this line's source amount includes tax. NULL means the source did not say.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "organization_id": {
                              "description": "Unique identifier of the organization. This field is deprecated, and should no longer be used. The value is populated through the 'x-organization-id' header.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "original_currency": {
                              "anyOf": [
                                {
                                  "description": "ISO-4217 currency code. Pair with a monetary amount on the same object. One of 162 allowed values, e.g. AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD. The full list is on the reference page linked in this tool's description.",
                                  "examples": [
                                    "AED",
                                    "AFN",
                                    "ALL",
                                    "AMD",
                                    "ANG",
                                    "AOA",
                                    "ARS",
                                    "AUD"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Original currency code."
                            },
                            "product": {
                              "description": "Product name",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_description": {
                              "description": "Product description",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_id": {
                              "description": "Product identifier.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "product_name": {
                              "description": "Product name (detailed)",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quantity": {
                              "description": "Quantity of item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_calculated": {
                              "description": "Calculated tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_amount_imported": {
                              "description": "Imported tax amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_exemption": {
                              "anyOf": [
                                {
                                  "description": "This enum is used to determine if a transaction is exempt from tax.",
                                  "enum": [
                                    "PRODUCT",
                                    "TRANSACTION",
                                    "CUSTOMER",
                                    "WHOLESALE",
                                    "PARTIAL_CERTIFICATE",
                                    "REGION",
                                    "REVERSE_CHARGE",
                                    "ZERO_RATE_TAX",
                                    "HIGH_VALUE_PHYSICAL_GOODS",
                                    "EXPORT",
                                    "ZERO_VALUE_ITEM",
                                    "NO_RULE_FOUND",
                                    "IMPORTED",
                                    "ZERO_RATE_NOT_EXEMPT"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Tax exemption status."
                            },
                            "tax_items": {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "converted_amount": {
                                    "anyOf": [
                                      {
                                        "anyOf": [
                                          {},
                                          {}
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "destination_currency": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "external_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_name": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "jurisdiction_type": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "description": "Deprecated: use `jurisdiction_type` instead",
                                    "type": "string"
                                  },
                                  "organization_id": {
                                    "anyOf": [
                                      {},
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rate": {
                                    "anyOf": [
                                      {},
                                      {}
                                    ]
                                  },
                                  "rule_id": {
                                    "description": "The rule ID of the tax item",
                                    "type": "string"
                                  },
                                  "type": {}
                                },
                                "required": [
                                  "rate",
                                  "amount",
                                  "name",
                                  "organization_id"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "tax_rate_calculated": {
                              "description": "Calculated tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "tax_rate_imported": {
                              "description": "Imported tax rate.",
                              "type": [
                                "number",
                                "string"
                              ]
                            },
                            "taxable_amount": {
                              "description": "Taxable amount for the item.",
                              "type": [
                                "number",
                                "string"
                              ]
                            }
                          },
                          "required": [
                            "organization_id",
                            "date",
                            "external_product_id"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "organization_id",
                      "external_id",
                      "date",
                      "addresses",
                      "transaction_items",
                      "customer"
                    ],
                    "type": "object"
                  },
                  "transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "transaction_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update transaction"
              }
            },
            {
              "name": "set-transaction-tax-only",
              "title": "Set transaction tax only",
              "description": "POST /v1/transactions/{transaction_id}/tax_only\n\nMark or unmark a transaction as tax-only. SALE becomes TAX_COLLECTION; credit notes become TAX_REFUND. Unmark restores SALE or re-derives FULL/PARTIAL credit note. Only the type is changed; amounts are preserved.\n\nThis call CHANGES data in the caller's Kintsugi account. Confirm with the user before running it.\n\nReference: https://docs.trykintsugi.com/reference/set-transaction-tax-only",
              "inputSchema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "body": {
                    "additionalProperties": {},
                    "properties": {
                      "tax_only": {
                        "description": "True to mark as tax-only; false to remove the tax-only marking.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "tax_only"
                    ],
                    "type": "object"
                  },
                  "transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "transaction_id",
                  "body"
                ],
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Set transaction tax only"
              }
            }
          ],
          "schemaTokens": 41372,
          "changedAt": "2026-11-07T01:45:39.637405833Z",
          "check": {
            "checker": "anchor-check/1.0",
            "totalTokens": 41372,
            "counts": {
              "error": 0,
              "note": 1,
              "warn": 40
            },
            "findings": [
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "approve-filing",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "archive-transaction-by-id",
                "message": "its one parameter, transaction_id, has no description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-back-filing-request",
                "message": "7 parameters without a description: body, body.notes, body.requests, body.requests[].periods, body.requests[].periods[].end_date, body.requests[].periods[].start_date and 1 more",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-credit-note-by-transaction-id",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-customer",
                "message": "3 parameters without a description: body, body.address_status, body.status",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-exemption",
                "message": "3 parameters without a description: body, body.exemption_type, body.status",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-physical-nexus",
                "message": "3 parameters without a description: body, body.category, body.source",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-product",
                "message": "2 parameters without a description: body, body.status",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-transaction",
                "message": "19 parameters without a description: body, body.addresses, body.addresses[].type, body.customer, body.status, body.transaction_items and 13 more",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "create-transaction-by-customer-id",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-customers",
                "message": "2 parameters without a description: page, size",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-nexus-for-org",
                "message": "9 parameters without a description: collected_tax_nexus_met, country_code__in, order_by, page, size, state_code and 3 more",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-physical-nexus",
                "message": "3 parameters without a description: country_code, order_by, state_code",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-physical-nexus-categories",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-products",
                "message": "2 parameters without a description: page, size",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "get-transactions-by-customer-id",
                "message": "none of its 3 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "search",
                "message": "its one parameter, body, has no description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "set-transaction-tax-only",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "suggestions",
                "message": "its one parameter, body, has no description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-credit-note-by-transaction-id",
                "message": "none of its 3 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-customer",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-physical-nexus",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-product",
                "message": "1 parameter without a description: body",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-registration",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "update-transaction",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "upload-registration-attachment",
                "message": "its one parameter, registration_id, has no description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC11",
                "severity": "warn",
                "tool": "upsert-customer-tax-registration",
                "message": "none of its 2 parameters has a description",
                "fix": "Describe each one: format, units, an example, and what happens when it's left out."
              },
              {
                "rule": "TC12",
                "severity": "warn",
                "tool": "create-credit-note-by-transaction-id",
                "message": "no type for body.transaction_items[].tax_items[].type",
                "fix": "Give every parameter a type (or an enum)."
              },
              {
                "rule": "TC12",
                "severity": "warn",
                "tool": "create-transaction",
                "message": "no type for body.transaction_items[].tax_items[].type",
                "fix": "Give every parameter a type (or an enum)."
              },
              {
                "rule": "TC12",
                "severity": "warn",
                "tool": "create-transaction-by-customer-id",
                "message": "no type for body.transaction_items[].tax_items[].type",
                "fix": "Give every parameter a type (or an enum)."
              },
              {
                "rule": "TC12",
                "severity": "warn",
                "tool": "update-credit-note-by-transaction-id",
                "message": "no type for body.transaction_items[].tax_items[].type",
                "fix": "Give every parameter a type (or an enum)."
              },
              {
                "rule": "TC12",
                "severity": "warn",
                "tool": "update-transaction",
                "message": "no type for body.transaction_items[].tax_items[].type",
                "fix": "Give every parameter a type (or an enum)."
              },
              {
                "rule": "TC21",
                "severity": "warn",
                "tool": "update-credit-note-by-transaction-id",
                "message": "described almost the same as update-transaction (81% of the same words)",
                "fix": "Say in each description when to use it instead of the other."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "create-credit-note-by-transaction-id",
                "message": "the definition is about 2,104 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "create-transaction",
                "message": "the definition is about 5,593 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "create-transaction-by-customer-id",
                "message": "the definition is about 6,068 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "estimate-tax",
                "message": "the definition is about 2,380 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "update-credit-note-by-transaction-id",
                "message": "the definition is about 2,060 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "update-transaction",
                "message": "the definition is about 5,455 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              },
              {
                "rule": "TC23",
                "severity": "warn",
                "message": "55 tools, about 41,393 tokens of definitions",
                "fix": "Split the server by job, or offer a smaller default toolset (a read-only set, or a search-then-call pattern)."
              },
              {
                "rule": "TC24",
                "severity": "note",
                "message": "55 of 55 tools have no outputSchema",
                "fix": "Declare outputSchema for tools that return structured data, and return structuredContent that matches it."
              }
            ]
          }
        },
        "github": {
          "repo": "kintsugi-tax/kintsugi-tax-python-sdk",
          "checkedAt": "2026-11-23T14:30:42.185674656Z",
          "stars": 0,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-23T00:19:48Z",
          "openIssues": 0,
          "openPRs": 83,
          "issuesOpened90d": 0,
          "issuesClosed90d": 0,
          "prsMerged90d": 4,
          "ci": {
            "branch": "main",
            "runs": 3,
            "success": 3,
            "failure": 0,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-09-15T00:41:34Z"
          }
        },
        "updatedAt": "2026-11-23T17:54:07.755680209Z"
      },
      "lab": {
        "slug": "kintsugi",
        "runs": [
          {
            "model": "qwen3.5-122b-a10b",
            "ended": "2026-11-18T02:10:24.115573268Z",
            "harness": "2026.11.18-0104",
            "status": "ok",
            "outcome": "failure",
            "tools": 55,
            "toolsTried": 10,
            "toolsOk": 0,
            "toolsRefused": 23,
            "calls": 10,
            "errors": 10,
            "p50Ms": 285,
            "p95Ms": 516,
            "perTool": [
              {
                "name": "approve-filing",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "archive-transaction-by-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-back-filing-request",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-credit-note-by-transaction-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-customer",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-exemption",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-product",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-transaction",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-transaction-by-customer-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "delete-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "deregister-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "estimate-tax",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-attachments-for-exemption",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-back-filing-request-options",
                "ok": false,
                "calls": 1,
                "medianMs": 272
              },
              {
                "name": "get-current-back-filing-terms",
                "ok": false,
                "calls": 1,
                "medianMs": 289
              },
              {
                "name": "get-customer-by-external-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-customer-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-customers",
                "ok": false,
                "calls": 1,
                "medianMs": 243
              },
              {
                "name": "get-exemption-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-exemptions",
                "ok": false,
                "calls": 1,
                "medianMs": 296
              },
              {
                "name": "get-filing-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-filings",
                "ok": false,
                "calls": 1,
                "medianMs": 295
              },
              {
                "name": "get-filings-by-registration-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-jurisdiction-specific-fields",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-nexus-details-for-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-nexus-for-org",
                "ok": false,
                "calls": 1,
                "medianMs": 199
              },
              {
                "name": "get-oss-countries-for-registration",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-physical-nexus",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-physical-nexus-categories",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-product-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-product-categories",
                "ok": false,
                "calls": 1,
                "medianMs": 393
              },
              {
                "name": "get-products",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-registration-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-registrations",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transaction-by-external-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transaction-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transactions",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transactions-by-customer-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transactions-by-filing-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "list-partial-certificate-types",
                "ok": false,
                "calls": 1,
                "medianMs": 285
              },
              {
                "name": "list-registration-jurisdictions",
                "ok": false,
                "calls": 0
              },
              {
                "name": "search",
                "ok": false,
                "calls": 1,
                "medianMs": 516
              },
              {
                "name": "set-transaction-tax-only",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "suggestions",
                "ok": false,
                "calls": 1,
                "medianMs": 185
              },
              {
                "name": "update-credit-note-by-transaction-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-customer",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-product",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-transaction",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upload-exemption-certificate",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upload-registration-attachment",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upsert-customer-tax-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              }
            ]
          },
          {
            "model": "qwen3.5-122b-a10b",
            "ended": "2026-11-18T00:23:58.346948591Z",
            "harness": "2026.11.17-2242",
            "status": "ok",
            "outcome": "failure",
            "tools": 55,
            "toolsTried": 26,
            "toolsOk": 0,
            "toolsRefused": 23,
            "calls": 26,
            "errors": 26,
            "p50Ms": 289,
            "p95Ms": 442,
            "perTool": [
              {
                "name": "approve-filing",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "archive-transaction-by-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-back-filing-request",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-credit-note-by-transaction-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-customer",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-exemption",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-product",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-transaction",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "create-transaction-by-customer-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "delete-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "deregister-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "estimate-tax",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-attachments-for-exemption",
                "ok": false,
                "calls": 1,
                "medianMs": 259
              },
              {
                "name": "get-back-filing-request-options",
                "ok": false,
                "calls": 1,
                "medianMs": 288
              },
              {
                "name": "get-current-back-filing-terms",
                "ok": false,
                "calls": 1,
                "medianMs": 290
              },
              {
                "name": "get-customer-by-external-id",
                "ok": false,
                "calls": 1,
                "medianMs": 133
              },
              {
                "name": "get-customer-by-id",
                "ok": false,
                "calls": 1,
                "medianMs": 280
              },
              {
                "name": "get-customers",
                "ok": false,
                "calls": 1,
                "medianMs": 442
              },
              {
                "name": "get-exemption-by-id",
                "ok": false,
                "calls": 1,
                "medianMs": 325
              },
              {
                "name": "get-exemptions",
                "ok": false,
                "calls": 1,
                "medianMs": 300
              },
              {
                "name": "get-filing-by-id",
                "ok": false,
                "calls": 1,
                "medianMs": 310
              },
              {
                "name": "get-filings",
                "ok": false,
                "calls": 1,
                "medianMs": 306
              },
              {
                "name": "get-filings-by-registration-id",
                "ok": false,
                "calls": 1,
                "medianMs": 279
              },
              {
                "name": "get-jurisdiction-specific-fields",
                "ok": false,
                "calls": 1,
                "medianMs": 282
              },
              {
                "name": "get-nexus-details-for-id",
                "ok": false,
                "calls": 1,
                "medianMs": 296
              },
              {
                "name": "get-nexus-for-org",
                "ok": false,
                "calls": 1,
                "medianMs": 279
              },
              {
                "name": "get-oss-countries-for-registration",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-physical-nexus",
                "ok": false,
                "calls": 1,
                "medianMs": 286
              },
              {
                "name": "get-physical-nexus-categories",
                "ok": false,
                "calls": 1,
                "medianMs": 298
              },
              {
                "name": "get-product-by-id",
                "ok": false,
                "calls": 1,
                "medianMs": 295
              },
              {
                "name": "get-product-categories",
                "ok": false,
                "calls": 1,
                "medianMs": 289
              },
              {
                "name": "get-products",
                "ok": false,
                "calls": 1,
                "medianMs": 291
              },
              {
                "name": "get-registration-by-id",
                "ok": false,
                "calls": 1,
                "medianMs": 291
              },
              {
                "name": "get-registrations",
                "ok": false,
                "calls": 1,
                "medianMs": 289
              },
              {
                "name": "get-transaction-by-external-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transaction-by-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transactions",
                "ok": false,
                "calls": 0
              },
              {
                "name": "get-transactions-by-customer-id",
                "ok": false,
                "calls": 1,
                "medianMs": 296
              },
              {
                "name": "get-transactions-by-filing-id",
                "ok": false,
                "calls": 0
              },
              {
                "name": "list-partial-certificate-types",
                "ok": false,
                "calls": 1,
                "medianMs": 279
              },
              {
                "name": "list-registration-jurisdictions",
                "ok": false,
                "calls": 1,
                "medianMs": 288
              },
              {
                "name": "search",
                "ok": false,
                "calls": 1,
                "medianMs": 555
              },
              {
                "name": "set-transaction-tax-only",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "suggestions",
                "ok": false,
                "calls": 1,
                "medianMs": 164
              },
              {
                "name": "update-credit-note-by-transaction-id",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-customer",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-physical-nexus",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-product",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "update-transaction",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upload-exemption-certificate",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upload-registration-attachment",
                "ok": false,
                "calls": 0,
                "refused": true
              },
              {
                "name": "upsert-customer-tax-registration",
                "ok": false,
                "calls": 0,
                "refused": true
              }
            ]
          }
        ]
      },
      "streak": {
        "days": 46,
        "from": "2026-10-08",
        "sinceWatching": true,
        "best": 46
      }
    },
    "answer": "Stripe Tax (Standalone Tax APIs) scores 79.8 (A) on agent readiness against Kintsugi's 61.2 (C), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "stripe-tax",
      "name": "Stripe Tax (Standalone Tax APIs)",
      "vendor": "Stripe",
      "vendorUrl": "https://stripe.com/tax",
      "company": "stripe.com",
      "kind": "http-api",
      "category": "tax",
      "summary": "Stripe's standalone Tax Calculations and Tax Transactions APIs calculate sales tax, VAT and GST for a cart, then record the sale and any refund for reporting and filing. They work with Stripe payments or any other processor.",
      "url": "https://www.anchorterminal.com/tools/stripe-tax",
      "markdownUrl": "https://www.anchorterminal.com/tools/stripe-tax.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/stripe-tax.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/stripe-tax.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/stripe-tax.json",
      "dns": "stripe-tax.grade.anchorterminal.com",
      "repo": "https://github.com/stripe/openapi",
      "license": "Proprietary service under the Stripe Services Agreement and the Stripe Tax Terms. The OpenAPI spec and official SDKs are MIT",
      "transports": [
        "http"
      ],
      "packages": [
        {
          "registry": "npm",
          "name": "stripe"
        },
        {
          "registry": "pypi",
          "name": "stripe"
        }
      ],
      "auth": "api-key",
      "authNotes": "Stripe secret key or restricted key with chosen permissions, sent as HTTP basic auth to https://api.stripe.com. Keys can be created, expired and rotated in the Dashboard, and sandboxes have their own keys. Tax returns zero unless the account has an active tax registration for the customer's location, set in the Dashboard or the Registrations API (checked 2026-11-23).",
      "pricing": "usage",
      "pricingNotes": "Tax Basic on the API integration costs 50 cents per transaction where the account is registered to collect, including 10 calculation API calls, then 5 cents per extra call. No-code integrations cost 0.5% per transaction. Tax Complete, with registrations and filings, starts at $90 a month on a one-year contract. Sandboxes are free.",
      "priceSummary": "$0.50 / tx",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 on the Tax endpoints, in the Tax docs or on the Tax pricing page (checked 2026-11-23).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 35774160,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://docs.stripe.com/tax/standalone-tax-api",
      "llmsTxt": "https://docs.stripe.com/llms.txt",
      "openapi": "https://github.com/stripe/openapi",
      "capabilities": [
        "tax.calculate",
        "tax.transactions",
        "tax.filing",
        "tax.exemptions"
      ],
      "tags": [
        "hosted",
        "closed-source",
        "api-key",
        "openapi",
        "llms-txt",
        "sandbox",
        "no-card",
        "status-page",
        "webhooks",
        "python",
        "typescript",
        "ruby",
        "php",
        "java",
        "go",
        "dotnet",
        "bug-bounty"
      ],
      "lastRelease": "2026-11-18",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 79.8,
        "grade": "A",
        "agentReady": true,
        "rank": 32,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 1,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 88,
          "maintenance": 82,
          "payments": 50,
          "reliability": 70,
          "schema": 95,
          "security": 87,
          "transparency": 85
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": 0,
        "verdict": "A well-documented tax API with a public OpenAPI spec, idempotency keys, restricted keys and per-transaction prices published without a login. The result depends on the registrations the account has set up, so an unregistered location silently returns zero tax, and the user carries liability for the accuracy of every result.",
        "bestFor": "Merchants already on Stripe, or on any processor, who want calculation and reporting with filing available through Tax Complete.",
        "strengths": [
          "17 Tax operations in Stripe's public MIT OpenAPI spec, with Markdown docs and llms.txt",
          "Idempotency keys on every POST and errors with type, code, parameter and a documentation link",
          "Restricted keys with chosen permissions, expiry and rotation, and a HackerOne bug bounty",
          "Per-transaction pricing published without a login, 50 cents with 10 calculation calls included",
          "Tax changelog entries in September, October and November 2026, each labelled breaking or non-breaking"
        ],
        "weaknesses": [
          "A calculation returns zero tax wherever the account has no active registration, with no error",
          "The Stripe Tax Terms leave the user liable for wrong results, penalties and back taxes",
          "No status component for Tax, and no SLA was found",
          "No free live allowance was found, only free sandboxes",
          "Tax IDs are checked for format only, not against government databases"
        ],
        "agentNotes": [
          "Before you calculate, check that the account has an active registration for the customer's location. Otherwise the result is zero tax",
          "Send an Idempotency-Key header on create_from_calculation and create_reversal so a retry doesn't record the sale twice",
          "Create the transaction within 90 days of the calculation. An expired calculation returns an error",
          "Use only exact txcd_ product tax codes from Stripe's list. An unknown code returns an invalid tax code error",
          "If the API returns 429, read the Stripe-Rate-Limited-Reason header and retry with exponential backoff and jitter"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 79.8
          }
        ],
        "editorialScores": {
          "ergonomics": 88,
          "maintenance": 82,
          "payments": 50,
          "reliability": 70,
          "schema": 95,
          "security": 87,
          "transparency": 72
        },
        "provenanceScore": 97,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-23",
            "maintenance": "2026-11-23",
            "payments": "2026-11-23",
            "reliability": "2026-11-23",
            "schema": "2026-11-23",
            "security": "2026-11-23",
            "transparency": "2026-11-23"
          },
          "last": "2026-11-23",
          "oldest": "2026-11-23",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "npm install stripe",
        "http": "curl https://api.stripe.com/v1/tax/calculations \\\n  -u \"$STRIPE_SECRET_KEY:\" \\\n  -d currency=usd \\\n  -d \"line_items[0][amount]=1000\" \\\n  -d \"line_items[0][reference]=L1\" \\\n  -d \"customer_details[address][postal_code]=98104\" \\\n  -d \"customer_details[address][country]=US\" \\\n  -d \"customer_details[address_source]=shipping\""
      },
      "letme": {
        "capability": "https://letme.dev/tax.calculate",
        "tool": "https://letme.dev/stripe-tax"
      },
      "sameCompany": [
        "stripe-mcp",
        "stripe-identity"
      ],
      "area": "domain-data",
      "unitPrices": [
        {
          "item": "Tax Basic, API integration",
          "unit": "tx",
          "usd": 0.5,
          "note": "per transaction where registered to collect, 10 calculation API calls included"
        },
        {
          "item": "Calculation API call beyond 10 per transaction",
          "unit": "call",
          "usd": 0.05,
          "note": "Tax Basic"
        },
        {
          "item": "Tax Basic, no-code integration",
          "unit": "pct",
          "usd": 0.5,
          "note": "0.5% per transaction on Billing, Checkout, Invoicing and Payment Links"
        },
        {
          "item": "Tax Complete, entry tier",
          "unit": "month",
          "usd": 90,
          "note": "one-year contract, 200 transactions and 2,000 calculation calls a month, 2 registrations and 4 filings a year"
        }
      ],
      "provenance": {
        "legalEntity": "Stripe, LLC",
        "domain": "stripe.com",
        "domainRegistered": "1995-09-12",
        "endpointOnVendorDomain": true,
        "terms": "https://stripe.com/legal/ssa-service-terms",
        "privacy": "https://stripe.com/privacy",
        "statusPage": "https://status.stripe.com",
        "changelog": "https://docs.stripe.com/changelog",
        "securityTxt": "valid",
        "checked": "2026-11-23",
        "notes": [
          "The Stripe Tax Terms sit in the Stripe Services Agreement service terms, last modified 4 November 2026. The General Terms were last modified 28 September 2026.",
          "stripe.com/.well-known/security.txt points to HackerOne and expires 2026-12-31.",
          "docs.stripe.com/robots.txt allows / with Content-Signal ai-train=yes, search=yes, ai-input=yes. stripe.com/robots.txt allows /docs and closes only a few payment paths.",
          "The legal entity, domain registration date and status page are carried over from Stripe's other listings as company facts."
        ],
        "score": 97
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/stripe-tax.json",
      "live": {
        "slug": "stripe-tax",
        "vendorStatus": {
          "page": "https://status.stripe.com",
          "indicator": "unknown",
          "summary": "no machine-readable status found",
          "checkedAt": "2026-11-23T17:12:37.570429559Z"
        },
        "securityTxt": {
          "url": "https://stripe.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2026-12-31T23:59:00.000Z",
          "checkedAt": "2026-11-23T16:44:07.066125939Z"
        },
        "llmsTxt": {
          "url": "https://docs.stripe.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:41:28.105649028Z"
        },
        "updatedAt": "2026-11-23T17:12:37.570429559Z"
      }
    },
    "edges": [
      {
        "by": 35,
        "category": "security",
        "leads": "stripe-tax",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Two credential models. An API key is tied to one organisation, shown once, revocable at once, with optional expiry and several keys allowed for rotation, and no scopes (22 on its own). The account-data MCP server uses OAuth 2.1 with PKCE (S256), dynamic client registration and one scope, `read:user_data` (27 on its own). Scored between the two (24). Kintsugi says all 46 tools on the account-data server are read-only. The docs MCP page says 17 of its 41 tools change data, that they're annotated so a client asks first, and to use a test organisation's key. Key management needs an Owner or Admin session. The API key has no read-only mode (13). Responses carry customer names and descriptions written by others, and no injection guidance was found (3). Every error carries a `requestId`. No audit log of API calls was found (2). SOC 2 Type II per the security page and a 72-hour breach notice in the terms. No `security.txt`, disclosure policy or bug bounty found (10).",
          "b": "Secret keys and restricted keys with chosen permissions, which the Dashboard can expire and rotate, and separate sandbox keys (30). Restricted keys limit an agent to the Tax resources it needs. Recorded transactions are never deleted, only offset by reversals, but nothing asks for confirmation before a reversal (16 of 20). Responses carry tax amounts, jurisdiction names and the caller's own input, with little third-party text (10 of 15). Dashboard request logs and an Activity Logs API, whose action coverage the 18 November changelog widened (13 of 15). security.txt valid until 31 December 2026 with a HackerOne bug bounty and published policy. We didn't re-read Stripe's audit reports for this listing (18 of 20). 30 + 16 + 10 + 13 + 18 = 87."
        },
        "scores": {
          "a": 52,
          "b": 87
        }
      },
      {
        "by": 30,
        "category": "payments",
        "leads": "stripe-tax",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "No x402, MPP or L402 (0). Free is $0 and Starter is $75 per action, both public, while Scale and Premium are custom flat-rate plans and API and SDK access is listed only under Premium (5). The Free plan needs no card, and the pricing table lists the MCP server for AI agents on every plan, Free included. API keys need a paid plan that includes them, so we scored the free tier as partial (8). Signup happens in a browser, and the endpoint that creates API keys accepts only a signed-in Owner or Admin session token (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 13 is 20.",
          "b": "Read with the hosted rubric. No x402, MPP or L402 on the Tax endpoints (0). Per-unit prices published without a login, 50 cents per API transaction where registered with 10 calculation calls included and 5 cents per extra call, and 0.5% on no-code integrations (30). Sandboxes are free and the Tax testing guide covers them, but no free live allowance or trial was found (20 of 30). A person creates the Stripe account, sets tax registrations and takes the keys from the Dashboard (0). 0 + 30 + 20 + 0 = 50."
        },
        "scores": {
          "a": 20,
          "b": 50
        }
      },
      {
        "by": 25,
        "category": "transparency",
        "leads": "stripe-tax",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "Closed service with clear terms, last updated 29 September 2026, naming Kintsugi AI, Inc. of Delaware. The SDKs are MIT (15). The terms give 60 days to retrieve data after termination and deletion on request, and allow Customer Data to be used to improve the models Kintsugi runs for all customers. The DPA of 26 August 2026 says processing happens in the United States and promises 30 days' notice of a new sub-processor. The privacy policy is dated 13 April 2025 (17). No deprecation policy with dates was found. v1 is labelled legacy with no end date, and deprecated fields are described as removed in future releases (5). The DPA states the United States as the processing location. No sub-processor list was found on the public pages, and the Drata trust centre was not read (7).",
          "b": "Closed service under the Stripe Tax Terms, last modified 4 November 2026, which grant Stripe a power of attorney for filings and leave the user liable for the accuracy of results, penalties and back taxes. The OpenAPI spec and SDKs are MIT (18 of 30). The privacy policy was updated on 20 November 2026 and the DPA has a retention and deletion section. The Tax Terms make the user responsible for keeping copies of Stripe Tax Data for the period the law requires, and no Tax retention period was found (20 of 30). Dated API versions with breaking changes labelled, and the September breaking Tax change shipped in a new version that callers adopt (16 of 20). The sub-processor list, updated 27 September 2026, names each provider and purpose, including TaxJar for tax filing (18 of 20). 18 + 20 + 16 + 18 = 72."
        },
        "scores": {
          "a": 60,
          "b": 85
        }
      },
      {
        "by": 13,
        "category": "ergonomics",
        "leads": "stripe-tax",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "List endpoints take `limit` and a cursor, with no field selection found. The MCP getting-started page says the docs MCP server has 41 tools, one per Customer API operation, and the account-data server has 46 per Kintsugi. The 8 October tools/list reading of docs.trykintsugi.com/mcp is struck, since robots.txt now disallows /mcp (10). Keyset cursors, sort and order, and filters by date, status, source, customer and country (18). One envelope with a stable `code`, `requestId` and field-level `errors` naming each field. v1 error shapes vary by endpoint, per the changelog (18). Creates are idempotent on `externalId` and `source`, and the MCP docs say every tool that writes is marked read-only false and destructive deletes are marked as such. No general idempotency key header (17). Five official SDKs (Python, TypeScript, Java, PHP, Ruby), which cover v1 only. An estimate needs three required fields plus line items and an address (12). 10 + 18 + 18 + 17 + 12 = 75.",
          "b": "A calculation returns totals and a tax breakdown, and line items come from their own paginated endpoint or by `expand`, so the default response stays small (20 of 25). Line item lists take `limit`, `starting_after` and `ending_before`. There is no endpoint to list transactions, only to retrieve one by ID or reference in the exports (15 of 20). Errors carry type, code, message, the parameter and a documentation link (20). Idempotency keys on every POST, and each transaction and reversal takes a unique `reference` (20). Official SDKs in eight languages. A calculation needs only currency, line items with amount and reference, and a customer location, and tax codes default from the account settings (13 of 15). 20 + 15 + 20 + 20 + 13 = 88."
        },
        "scores": {
          "a": 75,
          "b": 88
        }
      },
      {
        "by": 8,
        "category": "schema",
        "leads": "stripe-tax",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "The OpenAPI 3.1 file at `https://api.trykintsugi.com/openapi.json` sits on a host whose robots.txt now disallows every path, so the 8 October counts taken from it are struck. The contract line stays on the per-operation reference, whose Markdown pages give typed fields, enums and required marks, and on that file being published, less 3 because no file was found for the date-versioned Tenanted API (22). `llms.txt`, a `.md` twin of every page and `llms-full.txt` (10). Reference pages state what a call does, when a selector is needed and what each status means, and the MCP getting-started page says which of its tools change data. Some v1 descriptions are one line (16). Enums, length limits and required fields are marked on the reference pages. Several v1 filters are free strings that take comma-separated values (12). Request examples in the API guides, plus a documented error envelope and a table of 20 error codes (14). Tenanted releases are dated and chosen with `Api-Version`, and the changelog is public with dated entries. Changes marked breaking were applied to the pinned 2026-07-21 and 2026-10-06 releases (13). 22 + 10 + 16 + 12 + 14 + 13 = 87.",
          "b": "Stripe's public OpenAPI 3 spec (stripe/openapi, MIT), regenerated on 20 November for 2026-11-18.endive, has 17 operations under /v1/tax (25). llms.txt lists about 30 Tax pages and every docs page has a Markdown copy (10). The guides say when to use the standalone API and when to use Checkout, Invoicing or the simplified PaymentIntents flow, and explain zero-tax results. The reference descriptions are one or two sentences (16 of 20). Typed parameters with enums for currency, tax behaviour and address source, `line_items` capped at 100 (or 1,000 with a raised limit), and required-unless rules for customer and customer_details. `metadata` is the only free-form field (14 of 15). Request examples in cURL, the Stripe CLI and eight SDK languages, and documented error codes such as `tax_id_invalid` (15). Dated API versions and a public changelog that labels each Tax change breaking or non-breaking (15). 25 + 10 + 16 + 14 + 15 + 15 = 95."
        },
        "scores": {
          "a": 87,
          "b": 95
        }
      }
    ],
    "facts": [
      {
        "a": "HTTP API",
        "b": "HTTP API",
        "name": "Kind"
      },
      {
        "a": "Kintsugi AI, Inc.",
        "b": "Stripe",
        "name": "Vendor"
      },
      {
        "a": "https://api.trykintsugi.com",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP, Streamable HTTP",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "OAuth or key",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Paid",
        "b": "Pay per use",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary service under the Kintsugi Terms of Service. The Python SDK repository is MIT",
        "b": "Proprietary service under the Stripe Services Agreement and the Stripe Tax Terms. The OpenAPI spec and official SDKs are MIT",
        "name": "Licence"
      },
      {
        "a": "41",
        "b": "none",
        "name": "Tools exposed"
      },
      {
        "a": "yes",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-02",
        "b": "2026-11-18",
        "name": "Last release"
      },
      {
        "a": "2026-09-29",
        "b": "2026-09-28",
        "name": "Terms last updated"
      },
      {
        "a": "2025-04-13",
        "b": "2026-04-28",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "71 npm/wk, 10 PyPI/wk",
        "b": "35.8M npm/wk",
        "name": "Popularity"
      },
      {
        "a": "1.8/5 (4)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Stripe Tax (Standalone Tax APIs) scores 79.8 (A) on agent readiness against Kintsugi's 61.2 (C), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, Kintsugi or Stripe Tax (Standalone Tax APIs)?"
      },
      {
        "answer": "Kintsugi takes an API key or an OAuth sign-in. Stripe Tax (Standalone Tax APIs) needs an API key.",
        "question": "Do Kintsugi and Stripe Tax (Standalone Tax APIs) need an API key?"
      },
      {
        "answer": "Kintsugi has a hosted endpoint at https://api.trykintsugi.com. No hosted endpoint is listed for Stripe Tax (Standalone Tax APIs).",
        "question": "Can an agent call Kintsugi and Stripe Tax (Standalone Tax APIs) without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": [
          "A hosted endpoint, with nothing to install"
        ],
        "goodFor": "An agent working for a seller that already has Kintsugi Premium and wants estimates, transaction sync, exemptions, nexus, registrations and filing status through one API, or read-only answers about an account through the OAuth MCP server.",
        "slug": "kintsugi",
        "watchFor": "API access, SDKs and real-time tax calculation are listed only under Premium, which is priced on request. API keys need a paid plan that includes them"
      },
      {
        "aheadOn": [
          "Schema \u0026 documentation, 95 against 87",
          "Agent ergonomics, 88 against 75",
          "Security \u0026 auth, 87 against 52",
          "Payments \u0026 pricing, 50 against 20",
          "Transparency \u0026 trust, 85 against 60"
        ],
        "also": [
          "Agent-ready, a grade of BB or better",
          "Free to start without a card",
          "No incidents deducted, where Kintsugi loses 3 points for them"
        ],
        "goodFor": "Merchants already on Stripe, or on any processor, who want calculation and reporting with filing available through Tax Complete.",
        "slug": "stripe-tax",
        "watchFor": "A calculation returns zero tax wherever the account has no active registration, with no error"
      }
    ],
    "history": {
      "kintsugi": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 0.9,
          "from": 60.3,
          "fromGrade": "C",
          "to": 61.2,
          "toGrade": "C"
        },
        {
          "causes": [
            "product"
          ],
          "date": "2026-11-03",
          "delta": -0.4,
          "from": 60.7,
          "fromGrade": "C",
          "to": 60.3,
          "toGrade": "C"
        },
        {
          "causes": [
            "correction"
          ],
          "date": "2026-10-28",
          "delta": -0.2,
          "from": 60.9,
          "fromGrade": "C",
          "to": 60.7,
          "toGrade": "C"
        }
      ],
      "stripe-tax": null
    },
    "job": {
      "capability": "tax.calculate",
      "name": "Tax calculation"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anrok-vs-kintsugi.json",
        "title": "Anrok vs Kintsugi",
        "url": "https://www.anchorterminal.com/compare/anrok-vs-kintsugi"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anrok-vs-stripe-tax.json",
        "title": "Anrok vs Stripe Tax (Standalone Tax APIs)",
        "url": "https://www.anchorterminal.com/compare/anrok-vs-stripe-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/avalara-vs-kintsugi.json",
        "title": "Avalara AvaTax vs Kintsugi",
        "url": "https://www.anchorterminal.com/compare/avalara-vs-kintsugi"
      },
      {
        "json": "https://www.anchorterminal.com/compare/avalara-vs-stripe-tax.json",
        "title": "Avalara AvaTax vs Stripe Tax (Standalone Tax APIs)",
        "url": "https://www.anchorterminal.com/compare/avalara-vs-stripe-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fonoa-vs-kintsugi.json",
        "title": "Fonoa vs Kintsugi",
        "url": "https://www.anchorterminal.com/compare/fonoa-vs-kintsugi"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fonoa-vs-stripe-tax.json",
        "title": "Fonoa vs Stripe Tax (Standalone Tax APIs)",
        "url": "https://www.anchorterminal.com/compare/fonoa-vs-stripe-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-numeral.json",
        "title": "Kintsugi vs Numeral",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-numeral"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-quaderno.json",
        "title": "Kintsugi vs Quaderno",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-quaderno"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-taxcloud.json",
        "title": "Kintsugi vs TaxCloud",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-taxcloud"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-taxjar.json",
        "title": "Kintsugi vs TaxJar",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-taxjar"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-vertex-tax.json",
        "title": "Kintsugi vs Vertex O Series",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-vertex-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/kintsugi-vs-zamp.json",
        "title": "Kintsugi vs Zamp",
        "url": "https://www.anchorterminal.com/compare/kintsugi-vs-zamp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/numeral-vs-stripe-tax.json",
        "title": "Numeral vs Stripe Tax (Standalone Tax APIs)",
        "url": "https://www.anchorterminal.com/compare/numeral-vs-stripe-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/quaderno-vs-stripe-tax.json",
        "title": "Quaderno vs Stripe Tax (Standalone Tax APIs)",
        "url": "https://www.anchorterminal.com/compare/quaderno-vs-stripe-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stripe-tax-vs-taxcloud.json",
        "title": "Stripe Tax (Standalone Tax APIs) vs TaxCloud",
        "url": "https://www.anchorterminal.com/compare/stripe-tax-vs-taxcloud"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stripe-tax-vs-taxjar.json",
        "title": "Stripe Tax (Standalone Tax APIs) vs TaxJar",
        "url": "https://www.anchorterminal.com/compare/stripe-tax-vs-taxjar"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stripe-tax-vs-vertex-tax.json",
        "title": "Stripe Tax (Standalone Tax APIs) vs Vertex O Series",
        "url": "https://www.anchorterminal.com/compare/stripe-tax-vs-vertex-tax"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stripe-tax-vs-zamp.json",
        "title": "Stripe Tax (Standalone Tax APIs) vs Zamp",
        "url": "https://www.anchorterminal.com/compare/stripe-tax-vs-zamp"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 1,
        "edge": "kintsugi",
        "key": "reliability",
        "kintsugi": 71,
        "name": "Reliability",
        "stripe-tax": 70,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 8,
        "edge": "stripe-tax",
        "key": "schema",
        "kintsugi": 87,
        "name": "Schema \u0026 documentation",
        "stripe-tax": 95,
        "weight": 13
      },
      {
        "by": 13,
        "edge": "stripe-tax",
        "key": "ergonomics",
        "kintsugi": 75,
        "name": "Agent ergonomics",
        "stripe-tax": 88,
        "weight": 13
      },
      {
        "by": 35,
        "edge": "stripe-tax",
        "key": "security",
        "kintsugi": 52,
        "name": "Security \u0026 auth",
        "stripe-tax": 87,
        "weight": 14
      },
      {
        "by": 30,
        "edge": "stripe-tax",
        "key": "payments",
        "kintsugi": 20,
        "name": "Payments \u0026 pricing",
        "stripe-tax": 50,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 4,
        "edge": "stripe-tax",
        "key": "maintenance",
        "kintsugi": 78,
        "name": "Maintenance \u0026 community",
        "stripe-tax": 82,
        "weight": 7
      },
      {
        "by": 25,
        "edge": "stripe-tax",
        "key": "transparency",
        "kintsugi": 60,
        "name": "Transparency \u0026 trust",
        "stripe-tax": 85,
        "weight": 7
      }
    ],
    "summary": "Stripe Tax (Standalone Tax APIs) scores 79.8 (A) on agent readiness against Kintsugi's 61.2 (C), and leads in 6 of 7 scored categories. Both do tax calculation.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "kintsugi": "The docs are built for machine readers, with llms.txt, Markdown pages, a dated changelog and an MCP server whose write tools carry annotations. API keys need the custom-priced Premium plan and carry no scopes, no rate limit with a number is published, and breaking changes kept reaching pinned releases through October 2026.",
      "stripe-tax": "A well-documented tax API with a public OpenAPI spec, idempotency keys, restricted keys and per-transaction prices published without a login. The result depends on the registrations the account has set up, so an unregistered location silently returns zero tax, and the user carries liability for the accuracy of every result."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax",
    "json": "https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax.min.md"
  },
  "markdown": "Stripe Tax (Standalone Tax APIs) scores 79.8 (A) on agent readiness against Kintsugi's 61.2 (C), and leads in 6 of 7 scored categories. Both do tax calculation.\n\n- Kintsugi: grade C, 61.2/100, rank #785 of 1654. Markdown https://www.anchorterminal.com/tools/kintsugi.md · JSON https://www.anchorterminal.com/api/v1/tools/kintsugi.json\n- Stripe Tax (Standalone Tax APIs): grade A, 79.8/100, rank #32 of 1654. Markdown https://www.anchorterminal.com/tools/stripe-tax.md · JSON https://www.anchorterminal.com/api/v1/tools/stripe-tax.json\n- Best sales tax and VAT calculation APIs for AI agents: https://www.anchorterminal.com/best/tax/index.md\n- All 55 tax comparisons: https://www.anchorterminal.com/compare/tax/index.md\n\n## Which one, for what\n\n### Kintsugi (C)\n\nGood for: An agent working for a seller that already has Kintsugi Premium and wants estimates, transaction sync, exemptions, nexus, registrations and filing status through one API, or read-only answers about an account through the OAuth MCP server.\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n\nWatch for: API access, SDKs and real-time tax calculation are listed only under Premium, which is priced on request. API keys need a paid plan that includes them\n\n### Stripe Tax (Standalone Tax APIs) (A)\n\nGood for: Merchants already on Stripe, or on any processor, who want calculation and reporting with filing available through Tax Complete.\n\nAhead on:\n- Schema \u0026 documentation, 95 against 87\n- Agent ergonomics, 88 against 75\n- Security \u0026 auth, 87 against 52\n- Payments \u0026 pricing, 50 against 20\n- Transparency \u0026 trust, 85 against 60\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n- Free to start without a card\n- No incidents deducted, where Kintsugi loses 3 points for them\n\nWatch for: A calculation returns zero tax wherever the account has no active registration, with no error\n\n\n## Why the edge\n\n### Security \u0026 auth: Stripe Tax (Standalone Tax APIs) +35\n\n- Kintsugi (52): Two credential models. An API key is tied to one organisation, shown once, revocable at once, with optional expiry and several keys allowed for rotation, and no scopes (22 on its own). The account-data MCP server uses OAuth 2.1 with PKCE (S256), dynamic client registration and one scope, `read:user_data` (27 on its own). Scored between the two (24). Kintsugi says all 46 tools on the account-data server are read-only. The docs MCP page says 17 of its 41 tools change data, that they're annotated so a client asks first, and to use a test organisation's key. Key management needs an Owner or Admin session. The API key has no read-only mode (13). Responses carry customer names and descriptions written by others, and no injection guidance was found (3). Every error carries a `requestId`. No audit log of API calls was found (2). SOC 2 Type II per the security page and a 72-hour breach notice in the terms. No `security.txt`, disclosure policy or bug bounty found (10).\n- Stripe Tax (Standalone Tax APIs) (87): Secret keys and restricted keys with chosen permissions, which the Dashboard can expire and rotate, and separate sandbox keys (30). Restricted keys limit an agent to the Tax resources it needs. Recorded transactions are never deleted, only offset by reversals, but nothing asks for confirmation before a reversal (16 of 20). Responses carry tax amounts, jurisdiction names and the caller's own input, with little third-party text (10 of 15). Dashboard request logs and an Activity Logs API, whose action coverage the 18 November changelog widened (13 of 15). security.txt valid until 31 December 2026 with a HackerOne bug bounty and published policy. We didn't re-read Stripe's audit reports for this listing (18 of 20). 30 + 16 + 10 + 13 + 18 = 87.\n\n### Payments \u0026 pricing: Stripe Tax (Standalone Tax APIs) +30\n\n- Kintsugi (20): No x402, MPP or L402 (0). Free is $0 and Starter is $75 per action, both public, while Scale and Premium are custom flat-rate plans and API and SDK access is listed only under Premium (5). The Free plan needs no card, and the pricing table lists the MCP server for AI agents on every plan, Free included. API keys need a paid plan that includes them, so we scored the free tier as partial (8). Signup happens in a browser, and the endpoint that creates API keys accepts only a signed-in Owner or Admin session token (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 13 is 20.\n- Stripe Tax (Standalone Tax APIs) (50): Read with the hosted rubric. No x402, MPP or L402 on the Tax endpoints (0). Per-unit prices published without a login, 50 cents per API transaction where registered with 10 calculation calls included and 5 cents per extra call, and 0.5% on no-code integrations (30). Sandboxes are free and the Tax testing guide covers them, but no free live allowance or trial was found (20 of 30). A person creates the Stripe account, sets tax registrations and takes the keys from the Dashboard (0). 0 + 30 + 20 + 0 = 50.\n\n### Transparency \u0026 trust: Stripe Tax (Standalone Tax APIs) +25\n\n- Kintsugi (60): Closed service with clear terms, last updated 29 September 2026, naming Kintsugi AI, Inc. of Delaware. The SDKs are MIT (15). The terms give 60 days to retrieve data after termination and deletion on request, and allow Customer Data to be used to improve the models Kintsugi runs for all customers. The DPA of 26 August 2026 says processing happens in the United States and promises 30 days' notice of a new sub-processor. The privacy policy is dated 13 April 2025 (17). No deprecation policy with dates was found. v1 is labelled legacy with no end date, and deprecated fields are described as removed in future releases (5). The DPA states the United States as the processing location. No sub-processor list was found on the public pages, and the Drata trust centre was not read (7).\n- Stripe Tax (Standalone Tax APIs) (85): Closed service under the Stripe Tax Terms, last modified 4 November 2026, which grant Stripe a power of attorney for filings and leave the user liable for the accuracy of results, penalties and back taxes. The OpenAPI spec and SDKs are MIT (18 of 30). The privacy policy was updated on 20 November 2026 and the DPA has a retention and deletion section. The Tax Terms make the user responsible for keeping copies of Stripe Tax Data for the period the law requires, and no Tax retention period was found (20 of 30). Dated API versions with breaking changes labelled, and the September breaking Tax change shipped in a new version that callers adopt (16 of 20). The sub-processor list, updated 27 September 2026, names each provider and purpose, including TaxJar for tax filing (18 of 20). 18 + 20 + 16 + 18 = 72.\n\n### Agent ergonomics: Stripe Tax (Standalone Tax APIs) +13\n\n- Kintsugi (75): List endpoints take `limit` and a cursor, with no field selection found. The MCP getting-started page says the docs MCP server has 41 tools, one per Customer API operation, and the account-data server has 46 per Kintsugi. The 8 October tools/list reading of docs.trykintsugi.com/mcp is struck, since robots.txt now disallows /mcp (10). Keyset cursors, sort and order, and filters by date, status, source, customer and country (18). One envelope with a stable `code`, `requestId` and field-level `errors` naming each field. v1 error shapes vary by endpoint, per the changelog (18). Creates are idempotent on `externalId` and `source`, and the MCP docs say every tool that writes is marked read-only false and destructive deletes are marked as such. No general idempotency key header (17). Five official SDKs (Python, TypeScript, Java, PHP, Ruby), which cover v1 only. An estimate needs three required fields plus line items and an address (12). 10 + 18 + 18 + 17 + 12 = 75.\n- Stripe Tax (Standalone Tax APIs) (88): A calculation returns totals and a tax breakdown, and line items come from their own paginated endpoint or by `expand`, so the default response stays small (20 of 25). Line item lists take `limit`, `starting_after` and `ending_before`. There is no endpoint to list transactions, only to retrieve one by ID or reference in the exports (15 of 20). Errors carry type, code, message, the parameter and a documentation link (20). Idempotency keys on every POST, and each transaction and reversal takes a unique `reference` (20). Official SDKs in eight languages. A calculation needs only currency, line items with amount and reference, and a customer location, and tax codes default from the account settings (13 of 15). 20 + 15 + 20 + 20 + 13 = 88.\n\n### Schema \u0026 documentation: Stripe Tax (Standalone Tax APIs) +8\n\n- Kintsugi (87): The OpenAPI 3.1 file at `https://api.trykintsugi.com/openapi.json` sits on a host whose robots.txt now disallows every path, so the 8 October counts taken from it are struck. The contract line stays on the per-operation reference, whose Markdown pages give typed fields, enums and required marks, and on that file being published, less 3 because no file was found for the date-versioned Tenanted API (22). `llms.txt`, a `.md` twin of every page and `llms-full.txt` (10). Reference pages state what a call does, when a selector is needed and what each status means, and the MCP getting-started page says which of its tools change data. Some v1 descriptions are one line (16). Enums, length limits and required fields are marked on the reference pages. Several v1 filters are free strings that take comma-separated values (12). Request examples in the API guides, plus a documented error envelope and a table of 20 error codes (14). Tenanted releases are dated and chosen with `Api-Version`, and the changelog is public with dated entries. Changes marked breaking were applied to the pinned 2026-07-21 and 2026-10-06 releases (13). 22 + 10 + 16 + 12 + 14 + 13 = 87.\n- Stripe Tax (Standalone Tax APIs) (95): Stripe's public OpenAPI 3 spec (stripe/openapi, MIT), regenerated on 20 November for 2026-11-18.endive, has 17 operations under /v1/tax (25). llms.txt lists about 30 Tax pages and every docs page has a Markdown copy (10). The guides say when to use the standalone API and when to use Checkout, Invoicing or the simplified PaymentIntents flow, and explain zero-tax results. The reference descriptions are one or two sentences (16 of 20). Typed parameters with enums for currency, tax behaviour and address source, `line_items` capped at 100 (or 1,000 with a raised limit), and required-unless rules for customer and customer_details. `metadata` is the only free-form field (14 of 15). Request examples in cURL, the Stripe CLI and eight SDK languages, and documented error codes such as `tax_id_invalid` (15). Dated API versions and a public changelog that labels each Tax change breaking or non-breaking (15). 25 + 10 + 16 + 14 + 15 + 15 = 95.\n\n## Score by category\n\n| Category | Weight | Kintsugi | Stripe Tax (Standalone Tax APIs) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 71 | 70 | Kintsugi +1 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 87 | 95 | Stripe Tax (Standalone Tax APIs) +8 |\n| Agent ergonomics | 13% | 75 | 88 | Stripe Tax (Standalone Tax APIs) +13 |\n| Security \u0026 auth | 14% | 52 | 87 | Stripe Tax (Standalone Tax APIs) +35 |\n| Payments \u0026 pricing | 10% | 20 | 50 | Stripe Tax (Standalone Tax APIs) +30 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 78 | 82 | Stripe Tax (Standalone Tax APIs) +4 |\n| Transparency \u0026 trust | 7% | 60 | 85 | Stripe Tax (Standalone Tax APIs) +25 |\n| Negative events | ≤15 | -3 | 0 | |\n| **Total** | | **61.2 · C** | **79.8 · A** | |\n\n## Facts side by side\n\n| Fact | Kintsugi | Stripe Tax (Standalone Tax APIs) |\n| --- | --- | --- |\n| Kind | HTTP API | HTTP API |\n| Vendor | Kintsugi AI, Inc. | Stripe |\n| Hosted endpoint | `https://api.trykintsugi.com` | no (local only) |\n| Transports | HTTP, Streamable HTTP | HTTP |\n| Auth | OAuth or key | API key |\n| Pricing | Paid | Pay per use |\n| x402 | no | no |\n| Licence | Proprietary service under the Kintsugi Terms of Service. The Python SDK repository is MIT | Proprietary service under the Stripe Services Agreement and the Stripe Tax Terms. The OpenAPI spec and official SDKs are MIT |\n| Tools exposed | 41 | none |\n| Read-only variant documented | yes | no |\n| llms.txt | yes | yes |\n| Last release | 2026-11-02 | 2026-11-18 |\n| Terms last updated | 2026-09-29 | 2026-09-28 |\n| Privacy policy last updated | 2025-04-13 | 2026-04-28 |\n| Customer content may train models | yes | yes |\n| Terms restrict automated access | yes | not found in the text |\n| Terms restrict benchmarking | yes | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | yes | not found in the text |\n| Popularity | 71 npm/wk, 10 PyPI/wk | 35.8M npm/wk |\n| Agent reviews | 1.8/5 (4) | none |\n\n## How the scores have moved\n\n### Kintsugi\n\n- +0.9 on 13 November 2026: checklist\n- -0.4 on 3 November 2026: product\n- -0.2 on 28 October 2026: correction\n\n### Stripe Tax (Standalone Tax APIs)\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Kintsugi.** The docs are built for machine readers, with llms.txt, Markdown pages, a dated changelog and an MCP server whose write tools carry annotations. API keys need the custom-priced Premium plan and carry no scopes, no rate limit with a number is published, and breaking changes kept reaching pinned releases through October 2026.\n\n**Stripe Tax (Standalone Tax APIs).** A well-documented tax API with a public OpenAPI spec, idempotency keys, restricted keys and per-transaction prices published without a login. The result depends on the registrations the account has set up, so an unregistered location silently returns zero tax, and the user carries liability for the accuracy of every result.\n\n## Before you call either\n\n### Kintsugi\n\n1. Send `Api-Key` and pin `Api-Version` (for example `2026-10-06`) on Tenanted API calls to `https://api.trykintsugi.com`. Without the header a request runs against `2026-07-21`\n2. Use `x-api-key` and `x-organization-id` with `/v1` paths for the SDKs and the docs MCP server. They don't cover the Tenanted API\n3. Call `POST /tax-estimations` for a quote. Nothing is stored. Record the sale with a transaction create, which answers 202, then check `processingStatus` before reading tax totals\n4. Always send `externalId` on creates. A repeat with the same `externalId` and `source` returns the stored record with 200 and doesn't apply the new fields\n5. Branch on the error `code`, not the message. Retry 429, 500 and 503 with exponential backoff, and restart paging from the first page on `stale_cursor`\n\n### Stripe Tax (Standalone Tax APIs)\n\n1. Before you calculate, check that the account has an active registration for the customer's location. Otherwise the result is zero tax\n2. Send an Idempotency-Key header on create_from_calculation and create_reversal so a retry doesn't record the sale twice\n3. Create the transaction within 90 days of the calculation. An expired calculation returns an error\n4. Use only exact txcd_ product tax codes from Stripe's list. An unknown code returns an invalid tax code error\n5. If the API returns 429, read the Stripe-Rate-Limited-Reason header and retry with exponential backoff and jitter\n\n## Questions\n\n### Which is better for AI agents, Kintsugi or Stripe Tax (Standalone Tax APIs)?\n\nStripe Tax (Standalone Tax APIs) scores 79.8 (A) on agent readiness against Kintsugi's 61.2 (C), and leads in 6 of 7 scored categories.\n\n### Do Kintsugi and Stripe Tax (Standalone Tax APIs) need an API key?\n\nKintsugi takes an API key or an OAuth sign-in. Stripe Tax (Standalone Tax APIs) needs an API key.\n\n### Can an agent call Kintsugi and Stripe Tax (Standalone Tax APIs) without installing anything?\n\nKintsugi has a hosted endpoint at https://api.trykintsugi.com. No hosted endpoint is listed for Stripe Tax (Standalone Tax APIs).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax.json, and with the fewest tokens: https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"kintsugi\", \"b\": \"stripe-tax\"}`. From a terminal: `anchor compare kintsugi stripe-tax`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/kintsugi.json and https://www.anchorterminal.com/api/v1/tools/stripe-tax.json\n\n## Other comparisons with Kintsugi or Stripe Tax (Standalone Tax APIs)\n\n- [Anrok vs Kintsugi](https://www.anchorterminal.com/compare/anrok-vs-kintsugi.md)\n- [Anrok vs Stripe Tax (Standalone Tax APIs)](https://www.anchorterminal.com/compare/anrok-vs-stripe-tax.md)\n- [Avalara AvaTax vs Kintsugi](https://www.anchorterminal.com/compare/avalara-vs-kintsugi.md)\n- [Avalara AvaTax vs Stripe Tax (Standalone Tax APIs)](https://www.anchorterminal.com/compare/avalara-vs-stripe-tax.md)\n- [Fonoa vs Kintsugi](https://www.anchorterminal.com/compare/fonoa-vs-kintsugi.md)\n- [Fonoa vs Stripe Tax (Standalone Tax APIs)](https://www.anchorterminal.com/compare/fonoa-vs-stripe-tax.md)\n- [Kintsugi vs Numeral](https://www.anchorterminal.com/compare/kintsugi-vs-numeral.md)\n- [Kintsugi vs Quaderno](https://www.anchorterminal.com/compare/kintsugi-vs-quaderno.md)\n- [Kintsugi vs TaxCloud](https://www.anchorterminal.com/compare/kintsugi-vs-taxcloud.md)\n- [Kintsugi vs TaxJar](https://www.anchorterminal.com/compare/kintsugi-vs-taxjar.md)\n- [Kintsugi vs Vertex O Series](https://www.anchorterminal.com/compare/kintsugi-vs-vertex-tax.md)\n- [Kintsugi vs Zamp](https://www.anchorterminal.com/compare/kintsugi-vs-zamp.md)\n- [Numeral vs Stripe Tax (Standalone Tax APIs)](https://www.anchorterminal.com/compare/numeral-vs-stripe-tax.md)\n- [Quaderno vs Stripe Tax (Standalone Tax APIs)](https://www.anchorterminal.com/compare/quaderno-vs-stripe-tax.md)\n- [Stripe Tax (Standalone Tax APIs) vs TaxCloud](https://www.anchorterminal.com/compare/stripe-tax-vs-taxcloud.md)\n- [Stripe Tax (Standalone Tax APIs) vs TaxJar](https://www.anchorterminal.com/compare/stripe-tax-vs-taxjar.md)\n- [Stripe Tax (Standalone Tax APIs) vs Vertex O Series](https://www.anchorterminal.com/compare/stripe-tax-vs-vertex-tax.md)\n- [Stripe Tax (Standalone Tax APIs) vs Zamp](https://www.anchorterminal.com/compare/stripe-tax-vs-zamp.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-23",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Kintsugi vs Stripe Tax (Standalone Tax APIs)",
        "url": ""
      }
    ],
    "description": "Stripe Tax scores 79.8 (A) to Kintsugi's 61.2 (C) for tax calculation. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Kintsugi C 61.2",
      "Stripe Tax (Standalone Tax APIs) A 79.8",
      "scores"
    ],
    "h1": "Kintsugi vs Stripe Tax (Standalone Tax APIs)",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/kintsugi-vs-stripe-tax",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Kintsugi vs Stripe Tax for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/kintsugi-vs-stripe-tax"
  },
  "tokens": {
    "markdown": 4800,
    "slim": 1180
  },
  "version": 1
}
