Spiral gives your agent every tool with one account. Browse the tools →

opencode · Lead Gen

How to Use Texas Comptroller sales tax permit search in opencode

Finds matching sales tax taxpayers and returns business identification, address, and permit status information. Use it to find a permit holder by legal business name before checking its taxpayer record or outlets.

Prompts to try with Texas Comptroller sales tax permit search in opencode

Copy an example into opencode, or ask in your own words.

Use Texas Comptroller sales tax permit search to find Whataburger Restaurants LLC. Compare the returned taxpayer records with our supplier table and propose matches without overwriting existing entries.

Texas Comptroller sales tax permit searchopencode
Try asking
  • Use Texas Comptroller sales tax permit search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Texas Comptroller sales tax permit search and tell me what changed since last week.

  • Check Texas Comptroller sales tax permit search and summarize what you find in three bullet points.

  • Pull the newest data from Texas Comptroller sales tax permit search and give me the result as a table.

How to set up Texas Comptroller sales tax permit search in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Texas Comptroller sales tax permit search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "comptroller-texas-gov/entities/search_sales_tax_permits",
        "input": {
          "search_type": "legal_name"
        }
      }'

Then paste one of the prompts above: opencode finds Texas Comptroller sales tax permit search on Spiral, shows the price and runs it.

Texas Comptroller sales tax permit search providers and prices

Spiral runs Texas Comptroller sales tax permit search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Search typelegal_name, name, fein, or taxpayer_id

legal_name needs business_name; name needs first_name and last_name (middle_name optional); fein needs fein; taxpayer_id needs taxpayer_id.

Page1 to 1000001

1-based page; the next page number is also returned as the continuation cursor.

StatusACTIVE or INACTIVE

Permit status filter; omit for both.

Sort bytaxpayer_id, fei_number, business_name, individual_name, last_name, street, city, state and 2 more

Sort column (the site's default is taxpayer_id).

Page size1 to 10025

Rows per page, at most 100 (the site's cap).

Sort orderASC or DESCASC

sort_order

Every API field of Texas Comptroller franchise tax account status and sales tax permits · Search sales tax permits is on its tool page: open its card above.

What can you do with Texas Comptroller sales tax permit search in opencode?

Add Texas business verification to a vendor review screen using Comptroller entity, permit, and outlet records. A coding agent can match those records to project data and show franchise status separately from sales tax permit status.

Check a supplier before onboarding

Find the supplier’s legal business record, review its franchise status, and verify its sales tax permit holder record before adding it to a purchasing system.

Review a prospective retail tenant

Start with the storefront name or proposed location, identify the recorded taxpayer, and compare its permit holder, outlet, and franchise records with the legal entity named in the lease application.

Reconcile company and storefront records

Compare legal business names, taxpayer records, and permitted outlets with existing CRM entries. Review franchise accounts to resolve company matches and keep separate outlets from becoming duplicate company records.

Prepare a retail acquisition brief

Identify the target’s legal entity, review its franchise account, and reconcile the seller’s outlet list against sales tax location and permit holder records. Flag differences for the transaction team to investigate.

Refresh an existing vendor review

Recheck the legal entity, franchise account, sales tax permit holder, and recorded outlets for vendors already in a purchasing system. Compare the returned records with the previous review and flag status or address changes.

Investigate a resale customer’s permit

Find the business’s permit holder and check the associated outlet records when a legal name or store address needs clarification during a resale-certificate review.

Reconcile a chain’s permitted outlets

Use store-name searches to find matching outlets, resolve their permit holders, and retrieve each taxpayer’s outlet list. Compare location numbers, addresses, dates, and statuses with the chain’s published store list.

Questions about Texas Comptroller sales tax permit search in opencode

Can opencode use Texas Comptroller sales tax permit search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Texas Comptroller sales tax permit search like any built-in tool.

How much does Texas Comptroller sales tax permit search cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Texas Comptroller sales tax permit search in opencode?

No. Spiral runs Texas Comptroller sales tax permit search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Texas Comptroller sales tax permit search in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Texas Comptroller sales tax permit search runs?

Texas Comptroller sales tax permit search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Are franchise status and sales tax permit status the same?

No. Franchise status describes an entity’s right to transact business in Texas, while sales tax records classify permits as active or inactive. Check each status separately when reviewing a business.

Can a ZIP-code search provide a complete local business list?

The Comptroller explicitly says its sales tax search is not designed to provide complete permit-holder lists for ZIP codes or cities. Use the results to investigate matching outlets, not to count every business in an area.

How fresh are the business records?

Franchise status results reflect the Comptroller’s records when queried. Officer and director information follows the most recent Public Information Reports processed by the Secretary of State and updates as changes reach the Comptroller.

Why can several outlets share one taxpayer number?

Texas issues separate permits for multiple active business locations under the same taxpayer identification number. Separate outlet numbers distinguish those locations.

Does a permit stay with a store after an ownership change?

A Texas sales tax permit cannot transfer from one owner to another. When investigating a store that changed hands, check the current permit holder rather than relying on the previous operator’s record.

Get started

Start using Texas Comptroller sales tax permit search in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options