{
  "data": {
    "id": "zBdxwW5M2oMheeIVX",
    "actId": "iaXYA3eYgvwfWu7th",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-12-01T07:08:00.761Z",
    "finishedAt": "2026-12-01T07:08:13.308Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"Texas Franchise Tax Account Status Scraper Input\",\n  \"description\": \"Search the Texas Comptroller's Franchise Tax Account Status registry by entity name, taxpayer number or federal EIN, Texas Secretary of State file number, or account-status URL. Or export filtered rows from the official Active Franchise Taxpayers bulk dataset. All data is public and cookieless.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to search or export. Lookup modes return full per-entity details; bulk exports the official Active Franchise Taxpayers dataset.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"byName\",\n        \"byTaxpayerNumber\",\n        \"bySosFileNumber\",\n        \"byUrl\",\n        \"bulk\"\n      ],\n      \"enumTitles\": [\n        \"Search by entity name\",\n        \"Look up by taxpayer number or EIN\",\n        \"Look up by Texas SOS file number\",\n        \"Look up by account-status URL\",\n        \"Bulk export with filters\"\n      ],\n      \"default\": \"byName\",\n      \"prefill\": \"byTaxpayerNumber\"\n    },\n    \"names\": {\n      \"title\": \"Entity names\",\n      \"type\": \"array\",\n      \"description\": \"Entity names or name fragments (2-50 characters each). The registry matches the text anywhere in the legal name. One name per line (mode=byName).\",\n      \"editor\": \"stringList\",\n      \"default\": [\n        \"walmart\"\n      ],\n      \"prefill\": [],\n      \"sectionCaption\": \"Identifiers (use the field for your mode)\"\n    },\n    \"taxpayerNumbers\": {\n      \"title\": \"Taxpayer numbers or EINs\",\n      \"type\": \"array\",\n      \"description\": \"11-digit Texas Comptroller taxpayer numbers or 9-digit federal EINs. One per line (mode=byTaxpayerNumber; also used as an optional exact filter in mode=bulk).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"10105504087\"\n      ]\n    },\n    \"sosFileNumbers\": {\n      \"title\": \"Texas SOS file numbers\",\n      \"type\": \"array\",\n      \"description\": \"6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. One per line (mode=bySosFileNumber; also an optional filter in mode=bulk).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"entityUrls\": {\n      \"title\": \"Account-status URLs\",\n      \"type\": \"array\",\n      \"description\": \"Paste one or more Comptroller account-status URLs, for example https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885. The taxpayer number is extracted from each URL (mode=byUrl).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"fetchDetails\": {\n      \"title\": \"Fetch full entity details\",\n      \"type\": \"boolean\",\n      \"description\": \"Open each lookup result to add EIN, addresses, right-to-transact, SOS status, registered agent, officers and report year. Turn off for the faster name/taxpayer-number summary (lookup modes only).\",\n      \"default\": true,\n      \"prefill\": true,\n      \"sectionCaption\": \"Detail enrichment (lookup modes)\"\n    },\n    \"includeOfficers\": {\n      \"title\": \"Include officer and owner records\",\n      \"type\": \"boolean\",\n      \"description\": \"Include the officers, directors, managers, members, owners and partners from the latest Public Information Report.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxOfficers\": {\n      \"title\": \"Max officers per entity\",\n      \"type\": \"integer\",\n      \"description\": \"Cap on the officer list in each record. The total officer count is still reported.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 25,\n      \"prefill\": 5\n    },\n    \"enrichBulkDetails\": {\n      \"title\": \"Enrich bulk rows with details\",\n      \"type\": \"boolean\",\n      \"description\": \"For mode=bulk, make one detail request per row to add EIN, registered agent, officers, formation state and report year. Capped at 1,000 rows per run.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"bulkName\": {\n      \"title\": \"Name filter\",\n      \"type\": \"string\",\n      \"description\": \"Filter the bulk dataset by taxpayer name. Use the match mode below for contains, starts-with or exact matching (mode=bulk).\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\",\n      \"sectionCaption\": \"Bulk export filters (mode=bulk)\"\n    },\n    \"bulkNameMatch\": {\n      \"title\": \"Name match\",\n      \"type\": \"string\",\n      \"description\": \"How the name filter matches the registered name.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"contains\",\n        \"startsWith\",\n        \"exact\"\n      ],\n      \"enumTitles\": [\n        \"Contains\",\n        \"Starts with\",\n        \"Exact\"\n      ],\n      \"default\": \"contains\",\n      \"prefill\": \"contains\"\n    },\n    \"bulkCities\": {\n      \"title\": \"Cities\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these cities, for example Houston or Austin. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkStates\": {\n      \"title\": \"States\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these two-letter address states, for example TX or AR.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkZips\": {\n      \"title\": \"ZIP codes\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these 5-digit ZIP codes. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkCountyCode\": {\n      \"title\": \"County\",\n      \"type\": \"string\",\n      \"description\": \"Keep only one Texas county (official Comptroller code), or Out of State (000).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"001\",\n        \"002\",\n        \"003\",\n        \"004\",\n        \"005\",\n        \"006\",\n        \"007\",\n        \"008\",\n        \"009\",\n        \"010\",\n        \"011\",\n        \"012\",\n        \"013\",\n        \"014\",\n        \"015\",\n        \"016\",\n        \"017\",\n        \"018\",\n        \"019\",\n        \"020\",\n        \"021\",\n        \"022\",\n        \"023\",\n        \"024\",\n        \"025\",\n        \"026\",\n        \"027\",\n        \"028\",\n        \"029\",\n        \"030\",\n        \"031\",\n        \"032\",\n        \"033\",\n        \"034\",\n        \"035\",\n        \"036\",\n        \"037\",\n        \"038\",\n        \"039\",\n        \"040\",\n        \"041\",\n        \"042\",\n        \"043\",\n        \"044\",\n        \"045\",\n        \"046\",\n        \"047\",\n        \"048\",\n        \"049\",\n        \"050\",\n        \"051\",\n        \"052\",\n        \"053\",\n        \"054\",\n        \"055\",\n        \"056\",\n        \"057\",\n        \"058\",\n        \"059\",\n        \"060\",\n        \"061\",\n        \"062\",\n        \"063\",\n        \"064\",\n        \"065\",\n        \"066\",\n        \"067\",\n        \"068\",\n        \"069\",\n        \"070\",\n        \"071\",\n        \"072\",\n        \"073\",\n        \"074\",\n        \"075\",\n        \"076\",\n        \"077\",\n        \"078\",\n        \"079\",\n        \"080\",\n        \"081\",\n        \"082\",\n        \"083\",\n        \"084\",\n        \"085\",\n        \"086\",\n        \"087\",\n        \"088\",\n        \"089\",\n        \"090\",\n        \"091\",\n        \"092\",\n        \"093\",\n        \"094\",\n        \"095\",\n        \"096\",\n        \"097\",\n        \"098\",\n        \"099\",\n        \"100\",\n        \"101\",\n        \"102\",\n        \"103\",\n        \"104\",\n        \"105\",\n        \"106\",\n        \"107\",\n        \"108\",\n        \"109\",\n        \"110\",\n        \"111\",\n        \"112\",\n        \"113\",\n        \"114\",\n        \"115\",\n        \"116\",\n        \"117\",\n        \"118\",\n        \"119\",\n        \"120\",\n        \"121\",\n        \"122\",\n        \"123\",\n        \"124\",\n        \"125\",\n        \"126\",\n        \"127\",\n        \"128\",\n        \"129\",\n        \"130\",\n        \"131\",\n        \"132\",\n        \"133\",\n        \"134\",\n        \"135\",\n        \"136\",\n        \"137\",\n        \"138\",\n        \"139\",\n        \"140\",\n        \"141\",\n        \"142\",\n        \"143\",\n        \"144\",\n        \"145\",\n        \"146\",\n        \"147\",\n        \"148\",\n        \"149\",\n        \"150\",\n        \"151\",\n        \"152\",\n        \"153\",\n        \"154\",\n        \"155\",\n        \"156\",\n        \"157\",\n        \"158\",\n        \"159\",\n        \"160\",\n        \"161\",\n        \"162\",\n        \"163\",\n        \"164\",\n        \"165\",\n        \"166\",\n        \"167\",\n        \"168\",\n        \"169\",\n        \"170\",\n        \"171\",\n        \"172\",\n        \"173\",\n        \"174\",\n        \"175\",\n        \"176\",\n        \"177\",\n        \"178\",\n        \"179\",\n        \"180\",\n        \"181\",\n        \"182\",\n        \"183\",\n        \"184\",\n        \"185\",\n        \"186\",\n        \"187\",\n        \"188\",\n        \"189\",\n        \"190\",\n        \"191\",\n        \"192\",\n        \"193\",\n        \"194\",\n        \"195\",\n        \"196\",\n        \"197\",\n        \"198\",\n        \"199\",\n        \"200\",\n        \"201\",\n        \"202\",\n        \"203\",\n        \"204\",\n        \"205\",\n        \"206\",\n        \"207\",\n        \"208\",\n        \"209\",\n        \"210\",\n        \"211\",\n        \"212\",\n        \"213\",\n        \"214\",\n        \"215\",\n        \"216\",\n        \"217\",\n        \"218\",\n        \"219\",\n        \"220\",\n        \"221\",\n        \"222\",\n        \"223\",\n        \"224\",\n        \"225\",\n        \"226\",\n        \"227\",\n        \"228\",\n        \"229\",\n        \"230\",\n        \"231\",\n        \"232\",\n        \"233\",\n        \"234\",\n        \"235\",\n        \"236\",\n        \"237\",\n        \"238\",\n        \"239\",\n        \"240\",\n        \"241\",\n        \"242\",\n        \"243\",\n        \"244\",\n        \"245\",\n        \"246\",\n        \"247\",\n        \"248\",\n        \"249\",\n        \"250\",\n        \"251\",\n        \"252\",\n        \"253\",\n        \"254\",\n        \"000\"\n      ],\n      \"enumTitles\": [\n        \"Any county\",\n        \"001 Anderson\",\n        \"002 Andrews\",\n        \"003 Angelina\",\n        \"004 Aransas\",\n        \"005 Archer\",\n        \"006 Armstrong\",\n        \"007 Atascosa\",\n        \"008 Austin\",\n        \"009 Bailey\",\n        \"010 Bandera\",\n        \"011 Bastrop\",\n        \"012 Baylor\",\n        \"013 Bee\",\n        \"014 Bell\",\n        \"015 Bexar\",\n        \"016 Blanco\",\n        \"017 Borden\",\n        \"018 Bosque\",\n        \"019 Bowie\",\n        \"020 Brazoria\",\n        \"021 Brazos\",\n        \"022 Brewster\",\n        \"023 Briscoe\",\n        \"024 Brooks\",\n        \"025 Brown\",\n        \"026 Burleson\",\n        \"027 Burnet\",\n        \"028 Caldwell\",\n        \"029 Calhoun\",\n        \"030 Callahan\",\n        \"031 Cameron\",\n        \"032 Camp\",\n        \"033 Carson\",\n        \"034 Cass\",\n        \"035 Castro\",\n        \"036 Chambers\",\n        \"037 Cherokee\",\n        \"038 Childress\",\n        \"039 Clay\",\n        \"040 Cochran\",\n        \"041 Coke\",\n        \"042 Coleman\",\n        \"043 Collin\",\n        \"044 Collingsworth\",\n        \"045 Colorado\",\n        \"046 Comal\",\n        \"047 Comanche\",\n        \"048 Concho\",\n        \"049 Cooke\",\n        \"050 Coryell\",\n        \"051 Cottle\",\n        \"052 Crane\",\n        \"053 Crockett\",\n        \"054 Crosby\",\n        \"055 Culberson\",\n        \"056 Dallam\",\n        \"057 Dallas\",\n        \"058 Dawson\",\n        \"059 Deaf Smith\",\n        \"060 Delta\",\n        \"061 Denton\",\n        \"062 DeWitt\",\n        \"063 Dickens\",\n        \"064 Dimmit\",\n        \"065 Donley\",\n        \"066 Duval\",\n        \"067 Eastland\",\n        \"068 Ector\",\n        \"069 Edwards\",\n        \"070 Ellis\",\n        \"071 El Paso\",\n        \"072 Erath\",\n        \"073 Falls\",\n        \"074 Fannin\",\n        \"075 Fayette\",\n        \"076 Fisher\",\n        \"077 Floyd\",\n        \"078 Foard\",\n        \"079 Fort Bend\",\n        \"080 Franklin\",\n        \"081 Freestone\",\n        \"082 Frio\",\n        \"083 Gaines\",\n        \"084 Galveston\",\n        \"085 Garza\",\n        \"086 Gillespie\",\n        \"087 Glasscock\",\n        \"088 Goliad\",\n        \"089 Gonzales\",\n        \"090 Gray\",\n        \"091 Grayson\",\n        \"092 Gregg\",\n        \"093 Grimes\",\n        \"094 Guadalupe\",\n        \"095 Hale\",\n        \"096 Hall\",\n        \"097 Hamilton\",\n        \"098 Hansford\",\n        \"099 Hardeman\",\n        \"100 Hardin\",\n        \"101 Harris\",\n        \"102 Harrison\",\n        \"103 Hartley\",\n        \"104 Haskell\",\n        \"105 Hays\",\n        \"106 Hemphill\",\n        \"107 Henderson\",\n        \"108 Hidalgo\",\n        \"109 Hill\",\n        \"110 Hockley\",\n        \"111 Hood\",\n        \"112 Hopkins\",\n        \"113 Houston\",\n        \"114 Howard\",\n        \"115 Hudspeth\",\n        \"116 Hunt\",\n        \"117 Hutchinson\",\n        \"118 Irion\",\n        \"119 Jack\",\n        \"120 Jackson\",\n        \"121 Jasper\",\n        \"122 Jeff Davis\",\n        \"123 Jefferson\",\n        \"124 Jim Hogg\",\n        \"125 Jim Wells\",\n        \"126 Johnson\",\n        \"127 Jones\",\n        \"128 Karnes\",\n        \"129 Kaufman\",\n        \"130 Kendall\",\n        \"131 Kenedy\",\n        \"132 Kent\",\n        \"133 Kerr\",\n        \"134 Kimble\",\n        \"135 King\",\n        \"136 Kinney\",\n        \"137 Kleberg\",\n        \"138 Knox\",\n        \"139 Lamar\",\n        \"140 Lamb\",\n        \"141 Lampasas\",\n        \"142 LaSalle\",\n        \"143 Lavaca\",\n        \"144 Lee\",\n        \"145 Leon\",\n        \"146 Liberty\",\n        \"147 Limestone\",\n        \"148 Lipscomb\",\n        \"149 Live Oak\",\n        \"150 Llano\",\n        \"151 Loving\",\n        \"152 Lubbock\",\n        \"153 Lynn\",\n        \"154 Madison\",\n        \"155 Marion\",\n        \"156 Martin\",\n        \"157 Mason\",\n        \"158 Matagorda\",\n        \"159 Maverick\",\n        \"160 McCulloch\",\n        \"161 McLennan\",\n        \"162 McMullen\",\n        \"163 Medina\",\n        \"164 Menard\",\n        \"165 Midland\",\n        \"166 Milam\",\n        \"167 Mills\",\n        \"168 Mitchell\",\n        \"169 Montague\",\n        \"170 Montgomery\",\n        \"171 Moore\",\n        \"172 Morris\",\n        \"173 Motley\",\n        \"174 Nacogdoches\",\n        \"175 Navarro\",\n        \"176 Newton\",\n        \"177 Nolan\",\n        \"178 Nueces\",\n        \"179 Ochiltree\",\n        \"180 Oldham\",\n        \"181 Orange\",\n        \"182 Palo Pinto\",\n        \"183 Panola\",\n        \"184 Parker\",\n        \"185 Parmer\",\n        \"186 Pecos\",\n        \"187 Polk\",\n        \"188 Potter\",\n        \"189 Presidio\",\n        \"190 Rains\",\n        \"191 Randall\",\n        \"192 Reagan\",\n        \"193 Real\",\n        \"194 Red River\",\n        \"195 Reeves\",\n        \"196 Refugio\",\n        \"197 Roberts\",\n        \"198 Robertson\",\n        \"199 Rockwall\",\n        \"200 Runnels\",\n        \"201 Rusk\",\n        \"202 Sabine\",\n        \"203 San Augustine\",\n        \"204 San Jacinto\",\n        \"205 San Patricio\",\n        \"206 San Saba\",\n        \"207 Schleicher\",\n        \"208 Scurry\",\n        \"209 Shackelford\",\n        \"210 Shelby\",\n        \"211 Sherman\",\n        \"212 Smith\",\n        \"213 Somervell\",\n        \"214 Starr\",\n        \"215 Stephens\",\n        \"216 Sterling\",\n        \"217 Stonewall\",\n        \"218 Sutton\",\n        \"219 Swisher\",\n        \"220 Tarrant\",\n        \"221 Taylor\",\n        \"222 Terrell\",\n        \"223 Terry\",\n        \"224 Throckmorton\",\n        \"225 Titus\",\n        \"226 Tom Green\",\n        \"227 Travis\",\n        \"228 Trinity\",\n        \"229 Tyler\",\n        \"230 Upshur\",\n        \"231 Upton\",\n        \"232 Uvalde\",\n        \"233 Val Verde\",\n        \"234 Van Zandt\",\n        \"235 Victoria\",\n        \"236 Walker\",\n        \"237 Waller\",\n        \"238 Ward\",\n        \"239 Washington\",\n        \"240 Webb\",\n        \"241 Wharton\",\n        \"242 Wheeler\",\n        \"243 Wichita\",\n        \"244 Wilbarger\",\n        \"245 Willacy\",\n        \"246 Williamson\",\n        \"247 Wilson\",\n        \"248 Winkler\",\n        \"249 Wise\",\n        \"250 Wood\",\n        \"251 Yoakum\",\n        \"252 Young\",\n        \"253 Zapata\",\n        \"254 Zavala\",\n        \"Out of State\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"bulkOrganizationalTypes\": {\n      \"title\": \"Entity types\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these organization type codes or labels, for example CL (Texas LLC), CT (Texas profit corporation), CN (nonprofit), PL (Texas LP). One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkRecordTypes\": {\n      \"title\": \"Record types\",\n      \"type\": \"array\",\n      \"description\": \"U = SOS file number, V = SOS certificate of authority, X = Comptroller-assigned number. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkRightToTransactCodes\": {\n      \"title\": \"Right-to-transact codes\",\n      \"type\": \"array\",\n      \"description\": \"A=Active, D=Active eligible for termination/withdrawal, N=Forfeited, I=Involuntarily ended, U=Not established. The active bulk file has A/D/N/U. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkSosStatusCodes\": {\n      \"title\": \"SOS status codes\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these Secretary of State status codes: A, B, C, D, E, F, G, I, J, K, L, M, N, P, R, T, W, Y, Z. Use NONE for rows with no current SOS status. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkExemptReasonCodes\": {\n      \"title\": \"Exemption reason codes\",\n      \"type\": \"array\",\n      \"description\": \"Keep only these franchise-tax exemption reason codes, for example 00 (not exempt), 19 (501(c)(3)), 24 (homeowners association). One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkNaicsCodes\": {\n      \"title\": \"NAICS prefixes\",\n      \"type\": \"array\",\n      \"description\": \"Keep only entities whose NAICS code starts with one of these 2-6 digit prefixes, for example 23 or 2381. One per line.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkHasSosFileNumber\": {\n      \"title\": \"Has an SOS file number\",\n      \"type\": \"string\",\n      \"description\": \"Filter rows that do or do not have a current SOS/COA file number.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"yes\",\n        \"no\"\n      ],\n      \"enumTitles\": [\n        \"Any\",\n        \"Yes\",\n        \"No\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"bulkExemptOnly\": {\n      \"title\": \"Exempt entities only\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep only entities with a current franchise-tax exemption reason code.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"bulkResponsibilityFrom\": {\n      \"title\": \"Responsibility began on or after\",\n      \"type\": \"string\",\n      \"description\": \"Earliest franchise-tax responsibility beginning date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkResponsibilityTo\": {\n      \"title\": \"Responsibility began on or before\",\n      \"type\": \"string\",\n      \"description\": \"Latest franchise-tax responsibility beginning date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkCharterFrom\": {\n      \"title\": \"SOS charter date from\",\n      \"type\": \"string\",\n      \"description\": \"Earliest SOS charter/registration date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkCharterTo\": {\n      \"title\": \"SOS charter date to\",\n      \"type\": \"string\",\n      \"description\": \"Latest SOS charter/registration date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkSosStatusFrom\": {\n      \"title\": \"SOS status date from\",\n      \"type\": \"string\",\n      \"description\": \"Earliest SOS status date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkSosStatusTo\": {\n      \"title\": \"SOS status date to\",\n      \"type\": \"string\",\n      \"description\": \"Latest SOS status date (YYYY-MM-DD).\",\n      \"editor\": \"datepicker\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"bulkSortBy\": {\n      \"title\": \"Sort by\",\n      \"type\": \"string\",\n      \"description\": \"Sort field for the bulk export.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"taxpayerName\",\n        \"taxpayerNumber\",\n        \"city\",\n        \"zip\",\n        \"responsibilityBeginningDate\",\n        \"sosStatusDate\",\n        \"sosCharterDate\",\n        \"rightToTransactCode\",\n        \"entityTypeCode\"\n      ],\n      \"enumTitles\": [\n        \"Taxpayer name\",\n        \"Taxpayer number\",\n        \"City\",\n        \"ZIP\",\n        \"Responsibility beginning date\",\n        \"SOS status date\",\n        \"SOS charter date\",\n        \"Right-to-transact code\",\n        \"Entity type code\"\n      ],\n      \"default\": \"taxpayerName\",\n      \"prefill\": \"taxpayerName\",\n      \"sectionCaption\": \"Bulk export sorting and limits (mode=bulk)\"\n    },\n    \"bulkSortDirection\": {\n      \"title\": \"Sort direction\",\n      \"type\": \"string\",\n      \"description\": \"Ascending or descending.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"asc\",\n        \"desc\"\n      ],\n      \"enumTitles\": [\n        \"Ascending\",\n        \"Descending\"\n      ],\n      \"default\": \"asc\",\n      \"prefill\": \"asc\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max records\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records. Bulk exports support up to 20,000 rows per run; split larger exports by filter.\",\n      \"minimum\": 1,\n      \"maximum\": 20000,\n      \"default\": 20,\n      \"prefill\": 1\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Texas Franchise Tax Right-to-Transact & Officer Lookup\n\nThe Texas Comptroller of Public Accounts publishes the official franchise-tax account status of every taxable entity in the state. This actor reads that public registry through the Comptroller's own cookieless JSON API and through the state's official `Active Franchise Taxpayers` open dataset. It returns right-to-transact standing, Secretary of State registration status and file number, registered agent, mailing and registered-office addresses, officers/directors/managers/members/owners, report year, organization type, county, NAICS code and the dates the state publishes.\n\nThere is no login, cookie, API key, CAPTCHA or proxy setup.\n\n## What this actor does\n\n- **Look up an entity** by legal name, 11-digit Comptroller taxpayer number, 9-digit federal EIN, 6-10 digit Texas SOS file number, or a pasted account-status URL.\n- **Enrich each lookup** with the full account-status record: EIN, addresses, right-to-transact and its action link, SOS status and effective date, registered agent and office, officers/directors and the latest Public Information Report year.\n- **Join the official bulk file** to add organization type, record type, county, NAICS code, responsibility/charter/status dates and exemption reason.\n- **Export the bulk dataset** with server-side filters for name, city, state, ZIP, county, entity type, record type, right-to-transact, SOS status, exemption reason, NAICS prefix, has-SOS-file, exempt-only status and date ranges.\n- **Sort** bulk exports by name, taxpayer number, city, ZIP, responsibility date, SOS status date, SOS charter date, right-to-transact code or entity type code, ascending or descending.\n- **Fall back to the bulk dataset** when a name matches more than the lookup API's 200-result cap, instead of failing.\n- **Resolve DNS failures** through Cloudflare/Google DNS-over-HTTPS, so the actor still works when a local resolver cannot answer for `*.texas.gov`.\n- **Omit empty fields** at every depth. A field appears only when the source has a real value.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `byName` | Search by legal name or name fragment. The registry matches the text anywhere in the name. If the API refuses a broad search, the actor uses the bulk dataset instead. |\n| `byTaxpayerNumber` | Look up one or more 11-digit Comptroller taxpayer numbers or 9-digit EINs. EINs are resolved through the search endpoint first, then the full detail record is fetched. |\n| `bySosFileNumber` | Look up one or more 6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. |\n| `byUrl` | Paste one or more Comptroller account-status URLs. The taxpayer number is extracted from each URL. |\n| `bulk` | Export filtered rows from the official `Active Franchise Taxpayers` dataset (3.55 million rows at the time of writing). |\n\n## Example inputs\n\nSearch by name:\n\n```json\n{\n  \"mode\": \"byName\",\n  \"names\": [\"walmart\"],\n  \"maxItems\": 10\n}\n```\n\nLook up a taxpayer number or EIN:\n\n```json\n{\n  \"mode\": \"byTaxpayerNumber\",\n  \"taxpayerNumbers\": [\"17104151885\", \"10105504087\"],\n  \"maxItems\": 2\n}\n```\n\nLook up a Texas SOS file number:\n\n```json\n{\n  \"mode\": \"bySosFileNumber\",\n  \"sosFileNumbers\": [\"0003668006\"]\n}\n```\n\nPaste an account-status URL:\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"entityUrls\": [\"https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885\"]\n}\n```\n\nExport active Texas LLCs in Houston with officers:\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkCities\": [\"Houston\"],\n  \"bulkOrganizationalTypes\": [\"CL\"],\n  \"bulkRightToTransactCodes\": [\"A\"],\n  \"enrichBulkDetails\": true,\n  \"maxItems\": 50\n}\n```\n\nExport businesses whose name contains \"roofing\", sorted by city:\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkName\": \"roofing\",\n  \"bulkNameMatch\": \"contains\",\n  \"bulkSortBy\": \"city\",\n  \"bulkSortDirection\": \"asc\",\n  \"maxItems\": 500\n}\n```\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `byName` | `byName`, `byTaxpayerNumber`, `bySosFileNumber`, `byUrl` or `bulk` |\n| `names` | string list | `[\"walmart\"]` | Entity names or fragments (2-50 characters) for `byName` |\n| `taxpayerNumbers` | string list | `[]` | 11-digit Comptroller numbers or 9-digit EINs |\n| `sosFileNumbers` | string list | `[]` | 6-10 digit Texas SOS file numbers |\n| `entityUrls` | string list | `[]` | Comptroller account-status URLs for `byUrl` |\n| `fetchDetails` | boolean | `true` | Fetch full detail for lookup results |\n| `includeOfficers` | boolean | `true` | Include officers, directors, managers and partners |\n| `maxOfficers` | integer | `25` | Cap on the officer list (1-500); the total count is preserved |\n| `enrichBulkDetails` | boolean | `false` | Fetch per-row details for bulk exports (capped at 1,000 rows) |\n| `bulkName` | text | `\"\"` | Name filter for `bulk` |\n| `bulkNameMatch` | select | `contains` | `contains`, `startsWith` or `exact` |\n| `bulkCities` | string list | `[]` | City filter |\n| `bulkStates` | string list | `[]` | Two-letter address-state filter |\n| `bulkZips` | string list | `[]` | 5-digit ZIP filter |\n| `bulkCountyCode` | select | `any` | One official Comptroller county code, or `000` for out of state |\n| `bulkOrganizationalTypes` | string list | `[]` | Organization type codes or labels, e.g. `CL`, `CT`, `CN`, `PL` |\n| `bulkRecordTypes` | string list | `[]` | `U` (SOS file), `V` (SOS COA), `X` (Comptroller-assigned) |\n| `bulkRightToTransactCodes` | string list | `[]` | `A`, `D`, `N`, `I`, `U` |\n| `bulkSosStatusCodes` | string list | `[]` | SOS status codes A-Z, or `NONE` for no current SOS status |\n| `bulkExemptReasonCodes` | string list | `[]` | Exemption reason codes such as `00`, `19`, `24` |\n| `bulkNaicsCodes` | string list | `[]` | 2-6 digit NAICS prefixes, e.g. `23` or `2381` |\n| `bulkHasSosFileNumber` | select | `any` | `any`, `yes` or `no` |\n| `bulkExemptOnly` | boolean | `false` | Keep only entities with an exemption reason |\n| `bulkResponsibilityFrom` | date | `\"\"` | Franchise-tax responsibility start date |\n| `bulkResponsibilityTo` | date | `\"\"` | Franchise-tax responsibility end date |\n| `bulkCharterFrom` | date | `\"\"` | SOS charter/registration start date |\n| `bulkCharterTo` | date | `\"\"` | SOS charter/registration end date |\n| `bulkSosStatusFrom` | date | `\"\"` | SOS status start date |\n| `bulkSosStatusTo` | date | `\"\"` | SOS status end date |\n| `bulkSortBy` | select | `taxpayerName` | Sort field for `bulk` |\n| `bulkSortDirection` | select | `asc` | `asc` or `desc` |\n| `maxItems` | integer | `20` | Hard cap on emitted records (1-20,000) |\n\n## Output per business\n\nLookup modes return the full record below. Bulk records contain the official dataset fields (name, address, organization/record type, county, NAICS, status codes and dates) and can add the detail fields with `enrichBulkDetails`.\n\n- `entityName` - legal name\n- `dbaName` - assumed/DBA name, when on file\n- `taxpayerId` - 11-digit Comptroller taxpayer number\n- `feiNumber` - federal EIN, when on file\n- `mailingAddress`, `mailingAddressStreet`, `mailingAddressCity`, `mailingAddressState`, `mailingAddressZip`\n- `rightToTransactTX` - human-readable franchise-tax standing, e.g. `ACTIVE`, `FORFEITED`, `FRANCHISE TAX ENDED`, `FRANCHISE TAX INVOLUNTARILY ENDED`, `NOT ESTABLISHED`\n- `rightToTransactCode` - A, D, N, I, U, or omitted for ended\n- `rightToTransactActionUrl`, `rightToTransactActionText` - the Comptroller's own next-step link (for example, request tax clearance to reinstate)\n- `stateOfFormation` - state or country of formation\n- `sosRegistrationStatus`, `sosStatusCode`, `effectiveSosRegistrationDate`, `sosFileNumber`\n- `registeredAgentName`, `registeredOfficeAddress`, `registeredOfficeAddressStreet`, `registeredOfficeAddressCity`, `registeredOfficeAddressState`, `registeredOfficeAddressZip`\n- `entityType`, `entityTypeCode` - organization type label and code\n- `recordTypeCode`, `recordTypeLabel` - U/V/X\n- `countyCode`, `countyName` - official Comptroller county code and name, or `000` / `Out of State`\n- `naicsCode` - NAICS code published by the Comptroller\n- `responsibilityBeginningDate`, `sosCharterDate`, `sosStatusDate`, `exemptBeginDate` - ISO dates from the official bulk file\n- `exemptReasonCode`, `exemptReason`, `isExempt` - franchise-tax exemption\n- `franchiseTaxHistory` - date milestones published by the Comptroller (responsibility began, SOS charter, SOS status change, exemption began)\n- `officers` - list of `{name, title, activeYear, address, city, state, zip, source}` for officers, directors, managers, members, owners, general partners and registered agents; `source` is `CPA` when reported on a Public Information Report or `SOS` when sourced from a Secretary of State filing\n- `officerCount` - total officers/directors on file (even when the list is capped)\n- `reportYear`, `lastUpdated` - latest Public Information Report year and source update timestamp\n- `sourceUrl` - official account-status page\n- `documents` - public links: the printable account-status page and, when present, the Comptroller's tax-clearance action\n- `dataSource` - `accountStatus`, `accountStatus+bulk`, `searchIndex`, `bulkDataset` or `bulkDataset+detail`\n- `detailsError` - the source's message when a detail record could not be opened\n- `recordType` - always `business`\n- `scrapedAt` - UTC timestamp\n\n## Data source and freshness\n\n- Lookup: `https://comptroller.texas.gov/data-search/franchise-tax` - the same keyless JSON API used by the Comptroller's Franchise Tax Account Status search page.\n- Bulk: `https://data.texas.gov/resource/9cir-efmm.json` - the Texas Comptroller's `Active Franchise Taxpayers` dataset. It had 3,553,590 rows and 18 columns when this version was tested. The portal refreshes it on the Comptroller's schedule; the run reads it live.\n- The Comptroller says SOS registration status is updated each business day. Other fields reflect the most recent Public Information Report or exemption record.\n\n## FAQ\n\n**What does \"right to transact business\" mean?**\n\nIt reflects franchise-tax standing. `ACTIVE` means the entity may operate in Texas. `FORFEITED` means the right has been forfeited, usually for missing franchise-tax filings or payments. `FRANCHISE TAX ENDED` and `FRANCHISE TAX INVOLUNTARILY ENDED` mean the franchise-tax account has ended. `NOT ESTABLISHED` means the entity has not completed the Comptroller's accountability questionnaire.\n\n**Why do some records lack a registered agent or officers?**\n\nThe registered agent and office come from Secretary of State records and may not exist for Comptroller-only entities (record type X). Officers and directors are self-reported on the latest Public Information Report; new entities or entities that have not filed one may have none. The actor omits fields the source does not have rather than inventing them.\n\n**Why did a broad name search switch to the bulk dataset?**\n\nThe Comptroller's lookup API refuses name searches that match more than about 200 entities. When that happens, the actor runs the same name through the official `Active Franchise Taxpayers` dataset, which supports substring search and filters. The bulk dataset contains active franchise-taxpayers only; a very old or ended entity may not appear there.\n\n**Does the bulk dataset contain ended entities?**\n\nNo. It is the Comptroller's active franchise-taxpayer file. Ended entities are still reachable through the lookup API by name, taxpayer number, EIN or SOS file number.\n\n**Can I get a PDF certificate or the filed documents?**\n\nThe public account-status page is printable and is included as a document link. There is no free public/cookieless official PDF endpoint: the Comptroller's Certificate of Account Status PDF is delivered only to logged-in Webfile users with the entity's XT number, and actual SOS filing images, certified copies and certificates are ordered through the Texas Secretary of State's SOSPortal, which requires an account and charges statutory fees.\n\n**Is there multi-year franchise-tax history?**\n\nThe current keyless API and bulk dataset expose only the latest Public Information Report year and the key status dates, not a year-by-year filing history. The state's legacy Public Information Report search host (`mycpa.cpa.state.tx.us`) was unreachable when tested; printed PIR copies can be requested from the Comptroller's open-records office (`open.records@cpa.texas.gov`). This actor returns the public date milestones and does not fabricate a report history.\n\n**Why do some names end mid-word?**\n\nThe bulk file stores names in 50-character fields and truncates longer legal names. Use the taxpayer number for an exact match.\n\n**Can I get phone numbers, websites or beneficial owners?**\n\nThe official source does not publish phone numbers, email addresses or websites, and it does not publish beneficial-ownership/OIR percentages or 10%+ owned-by/owns disclosures in the keyless API. It does publish officer, director, manager, member, general-partner and registered-agent names and mailing addresses; the actor returns those in `officers[]` and the address fields. It does not add third-party contact or ownership data.\n\n**How fresh is the bulk file?**\n\nThe portal page shows the last update date. The actor reads the live resource on every run and reports the source's `lastUpdated`/date fields where the source provides them.\n\n**Do I need a proxy or an API key?**\n\nNo. The actor calls the Comptroller and Texas open-data hosts directly, with no credentials. If a run is ever refused by the source, the actor retries and reports the source message; it does not require you to configure a proxy.\n\n**Is this affiliated with the State of Texas?**\n\nNo. This is an independent tool built on the Comptroller's publicly published registry and the state's open-data portal. It is not affiliated with or endorsed by the State of Texas.\n\n## Limitations\n\n- The lookup API has no pagination or server-side filters; use `bulk` for filtered exports.\n- A lookup name search is capped at about 200 matches; broader names fall back to the active bulk dataset.\n- The active bulk file does not include ended entities, multi-year PIR history, SOS document images, phone/email/website fields or beneficial-ownership/OIR data. The names and mailing addresses of officers, managers, members, owners and registered agents that the source publishes are returned.\n- Bulk exports are capped at 20,000 rows per run. Split larger exports by city, county, type, status or date range.\n- Bulk detail enrichment is capped at 1,000 rows per run to keep each run fast and respectful of the source.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "texas-franchise-tax-right-to-transact-and-officer",
      "title": "Texas Franchise Tax Right-to-Transact & Officer Lookup",
      "description": "Look up Texas businesses by name, taxpayer number, EIN, SOS file number or account-status URL and get right-to-transact, SOS status, agent, addresses and officers, or bulk-export filtered franchise-tax records.",
      "version": "2.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Texas Franchise Tax Right-to-Transact & Officer Lookup\n\nThe Texas Comptroller of Public Accounts publishes the official franchise-tax account status of every taxable entity in the state. This actor reads that public registry through the Comptroller's own cookieless JSON API and through the state's official `Active Franchise Taxpayers` open dataset. It returns right-to-transact standing, Secretary of State registration status and file number, registered agent, mailing and registered-office addresses, officers/directors/managers/members/owners, report year, organization type, county, NAICS code and the dates the state publishes.\n\nThere is no login, cookie, API key, CAPTCHA or proxy setup.\n\n## What this actor does\n\n- **Look up an entity** by legal name, 11-digit Comptroller taxpayer number, 9-digit federal EIN, 6-10 digit Texas SOS file number, or a pasted account-status URL.\n- **Enrich each lookup** with the full account-status record: EIN, addresses, right-to-transact and its action link, SOS status and effective date, registered agent and office, officers/directors and the latest Public Information Report year.\n- **Join the official bulk file** to add organization type, record type, county, NAICS code, responsibility/charter/status dates and exemption reason.\n- **Export the bulk dataset** with server-side filters for name, city, state, ZIP, county, entity type, record type, right-to-transact, SOS status, exemption reason, NAICS prefix, has-SOS-file, exempt-only status and date ranges.\n- **Sort** bulk exports by name, taxpayer number, city, ZIP, responsibility date, SOS status date, SOS charter date, right-to-transact code or entity type code, ascending or descending.\n- **Fall back to the bulk dataset** when a name matches more than the lookup API's 200-result cap, instead of failing.\n- **Resolve DNS failures** through Cloudflare/Google DNS-over-HTTPS, so the actor still works when a local resolver cannot answer for `*.texas.gov`.\n- **Omit empty fields** at every depth. A field appears only when the source has a real value.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `byName` | Search by legal name or name fragment. The registry matches the text anywhere in the name. If the API refuses a broad search, the actor uses the bulk dataset instead. |\n| `byTaxpayerNumber` | Look up one or more 11-digit Comptroller taxpayer numbers or 9-digit EINs. EINs are resolved through the search endpoint first, then the full detail record is fetched. |\n| `bySosFileNumber` | Look up one or more 6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. |\n| `byUrl` | Paste one or more Comptroller account-status URLs. The taxpayer number is extracted from each URL. |\n| `bulk` | Export filtered rows from the official `Active Franchise Taxpayers` dataset (3.55 million rows at the time of writing). |\n\n## Example inputs\n\nSearch by name:\n\n```json\n{\n  \"mode\": \"byName\",\n  \"names\": [\"walmart\"],\n  \"maxItems\": 10\n}\n```\n\nLook up a taxpayer number or EIN:\n\n```json\n{\n  \"mode\": \"byTaxpayerNumber\",\n  \"taxpayerNumbers\": [\"17104151885\", \"10105504087\"],\n  \"maxItems\": 2\n}\n```\n\nLook up a Texas SOS file number:\n\n```json\n{\n  \"mode\": \"bySosFileNumber\",\n  \"sosFileNumbers\": [\"0003668006\"]\n}\n```\n\nPaste an account-status URL:\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"entityUrls\": [\"https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885\"]\n}\n```\n\nExport active Texas LLCs in Houston with officers:\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkCities\": [\"Houston\"],\n  \"bulkOrganizationalTypes\": [\"CL\"],\n  \"bulkRightToTransactCodes\": [\"A\"],\n  \"enrichBulkDetails\": true,\n  \"maxItems\": 50\n}\n```\n\nExport businesses whose name contains \"roofing\", sorted by city:\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkName\": \"roofing\",\n  \"bulkNameMatch\": \"contains\",\n  \"bulkSortBy\": \"city\",\n  \"bulkSortDirection\": \"asc\",\n  \"maxItems\": 500\n}\n```\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `byName` | `byName`, `byTaxpayerNumber`, `bySosFileNumber`, `byUrl` or `bulk` |\n| `names` | string list | `[\"walmart\"]` | Entity names or fragments (2-50 characters) for `byName` |\n| `taxpayerNumbers` | string list | `[]` | 11-digit Comptroller numbers or 9-digit EINs |\n| `sosFileNumbers` | string list | `[]` | 6-10 digit Texas SOS file numbers |\n| `entityUrls` | string list | `[]` | Comptroller account-status URLs for `byUrl` |\n| `fetchDetails` | boolean | `true` | Fetch full detail for lookup results |\n| `includeOfficers` | boolean | `true` | Include officers, directors, managers and partners |\n| `maxOfficers` | integer | `25` | Cap on the officer list (1-500); the total count is preserved |\n| `enrichBulkDetails` | boolean | `false` | Fetch per-row details for bulk exports (capped at 1,000 rows) |\n| `bulkName` | text | `\"\"` | Name filter for `bulk` |\n| `bulkNameMatch` | select | `contains` | `contains`, `startsWith` or `exact` |\n| `bulkCities` | string list | `[]` | City filter |\n| `bulkStates` | string list | `[]` | Two-letter address-state filter |\n| `bulkZips` | string list | `[]` | 5-digit ZIP filter |\n| `bulkCountyCode` | select | `any` | One official Comptroller county code, or `000` for out of state |\n| `bulkOrganizationalTypes` | string list | `[]` | Organization type codes or labels, e.g. `CL`, `CT`, `CN`, `PL` |\n| `bulkRecordTypes` | string list | `[]` | `U` (SOS file), `V` (SOS COA), `X` (Comptroller-assigned) |\n| `bulkRightToTransactCodes` | string list | `[]` | `A`, `D`, `N`, `I`, `U` |\n| `bulkSosStatusCodes` | string list | `[]` | SOS status codes A-Z, or `NONE` for no current SOS status |\n| `bulkExemptReasonCodes` | string list | `[]` | Exemption reason codes such as `00`, `19`, `24` |\n| `bulkNaicsCodes` | string list | `[]` | 2-6 digit NAICS prefixes, e.g. `23` or `2381` |\n| `bulkHasSosFileNumber` | select | `any` | `any`, `yes` or `no` |\n| `bulkExemptOnly` | boolean | `false` | Keep only entities with an exemption reason |\n| `bulkResponsibilityFrom` | date | `\"\"` | Franchise-tax responsibility start date |\n| `bulkResponsibilityTo` | date | `\"\"` | Franchise-tax responsibility end date |\n| `bulkCharterFrom` | date | `\"\"` | SOS charter/registration start date |\n| `bulkCharterTo` | date | `\"\"` | SOS charter/registration end date |\n| `bulkSosStatusFrom` | date | `\"\"` | SOS status start date |\n| `bulkSosStatusTo` | date | `\"\"` | SOS status end date |\n| `bulkSortBy` | select | `taxpayerName` | Sort field for `bulk` |\n| `bulkSortDirection` | select | `asc` | `asc` or `desc` |\n| `maxItems` | integer | `20` | Hard cap on emitted records (1-20,000) |\n\n## Output per business\n\nLookup modes return the full record below. Bulk records contain the official dataset fields (name, address, organization/record type, county, NAICS, status codes and dates) and can add the detail fields with `enrichBulkDetails`.\n\n- `entityName` - legal name\n- `dbaName` - assumed/DBA name, when on file\n- `taxpayerId` - 11-digit Comptroller taxpayer number\n- `feiNumber` - federal EIN, when on file\n- `mailingAddress`, `mailingAddressStreet`, `mailingAddressCity`, `mailingAddressState`, `mailingAddressZip`\n- `rightToTransactTX` - human-readable franchise-tax standing, e.g. `ACTIVE`, `FORFEITED`, `FRANCHISE TAX ENDED`, `FRANCHISE TAX INVOLUNTARILY ENDED`, `NOT ESTABLISHED`\n- `rightToTransactCode` - A, D, N, I, U, or omitted for ended\n- `rightToTransactActionUrl`, `rightToTransactActionText` - the Comptroller's own next-step link (for example, request tax clearance to reinstate)\n- `stateOfFormation` - state or country of formation\n- `sosRegistrationStatus`, `sosStatusCode`, `effectiveSosRegistrationDate`, `sosFileNumber`\n- `registeredAgentName`, `registeredOfficeAddress`, `registeredOfficeAddressStreet`, `registeredOfficeAddressCity`, `registeredOfficeAddressState`, `registeredOfficeAddressZip`\n- `entityType`, `entityTypeCode` - organization type label and code\n- `recordTypeCode`, `recordTypeLabel` - U/V/X\n- `countyCode`, `countyName` - official Comptroller county code and name, or `000` / `Out of State`\n- `naicsCode` - NAICS code published by the Comptroller\n- `responsibilityBeginningDate`, `sosCharterDate`, `sosStatusDate`, `exemptBeginDate` - ISO dates from the official bulk file\n- `exemptReasonCode`, `exemptReason`, `isExempt` - franchise-tax exemption\n- `franchiseTaxHistory` - date milestones published by the Comptroller (responsibility began, SOS charter, SOS status change, exemption began)\n- `officers` - list of `{name, title, activeYear, address, city, state, zip, source}` for officers, directors, managers, members, owners, general partners and registered agents; `source` is `CPA` when reported on a Public Information Report or `SOS` when sourced from a Secretary of State filing\n- `officerCount` - total officers/directors on file (even when the list is capped)\n- `reportYear`, `lastUpdated` - latest Public Information Report year and source update timestamp\n- `sourceUrl` - official account-status page\n- `documents` - public links: the printable account-status page and, when present, the Comptroller's tax-clearance action\n- `dataSource` - `accountStatus`, `accountStatus+bulk`, `searchIndex`, `bulkDataset` or `bulkDataset+detail`\n- `detailsError` - the source's message when a detail record could not be opened\n- `recordType` - always `business`\n- `scrapedAt` - UTC timestamp\n\n## Data source and freshness\n\n- Lookup: `https://comptroller.texas.gov/data-search/franchise-tax` - the same keyless JSON API used by the Comptroller's Franchise Tax Account Status search page.\n- Bulk: `https://data.texas.gov/resource/9cir-efmm.json` - the Texas Comptroller's `Active Franchise Taxpayers` dataset. It had 3,553,590 rows and 18 columns when this version was tested. The portal refreshes it on the Comptroller's schedule; the run reads it live.\n- The Comptroller says SOS registration status is updated each business day. Other fields reflect the most recent Public Information Report or exemption record.\n\n## FAQ\n\n**What does \"right to transact business\" mean?**\n\nIt reflects franchise-tax standing. `ACTIVE` means the entity may operate in Texas. `FORFEITED` means the right has been forfeited, usually for missing franchise-tax filings or payments. `FRANCHISE TAX ENDED` and `FRANCHISE TAX INVOLUNTARILY ENDED` mean the franchise-tax account has ended. `NOT ESTABLISHED` means the entity has not completed the Comptroller's accountability questionnaire.\n\n**Why do some records lack a registered agent or officers?**\n\nThe registered agent and office come from Secretary of State records and may not exist for Comptroller-only entities (record type X). Officers and directors are self-reported on the latest Public Information Report; new entities or entities that have not filed one may have none. The actor omits fields the source does not have rather than inventing them.\n\n**Why did a broad name search switch to the bulk dataset?**\n\nThe Comptroller's lookup API refuses name searches that match more than about 200 entities. When that happens, the actor runs the same name through the official `Active Franchise Taxpayers` dataset, which supports substring search and filters. The bulk dataset contains active franchise-taxpayers only; a very old or ended entity may not appear there.\n\n**Does the bulk dataset contain ended entities?**\n\nNo. It is the Comptroller's active franchise-taxpayer file. Ended entities are still reachable through the lookup API by name, taxpayer number, EIN or SOS file number.\n\n**Can I get a PDF certificate or the filed documents?**\n\nThe public account-status page is printable and is included as a document link. There is no free public/cookieless official PDF endpoint: the Comptroller's Certificate of Account Status PDF is delivered only to logged-in Webfile users with the entity's XT number, and actual SOS filing images, certified copies and certificates are ordered through the Texas Secretary of State's SOSPortal, which requires an account and charges statutory fees.\n\n**Is there multi-year franchise-tax history?**\n\nThe current keyless API and bulk dataset expose only the latest Public Information Report year and the key status dates, not a year-by-year filing history. The state's legacy Public Information Report search host (`mycpa.cpa.state.tx.us`) was unreachable when tested; printed PIR copies can be requested from the Comptroller's open-records office (`open.records@cpa.texas.gov`). This actor returns the public date milestones and does not fabricate a report history.\n\n**Why do some names end mid-word?**\n\nThe bulk file stores names in 50-character fields and truncates longer legal names. Use the taxpayer number for an exact match.\n\n**Can I get phone numbers, websites or beneficial owners?**\n\nThe official source does not publish phone numbers, email addresses or websites, and it does not publish beneficial-ownership/OIR percentages or 10%+ owned-by/owns disclosures in the keyless API. It does publish officer, director, manager, member, general-partner and registered-agent names and mailing addresses; the actor returns those in `officers[]` and the address fields. It does not add third-party contact or ownership data.\n\n**How fresh is the bulk file?**\n\nThe portal page shows the last update date. The actor reads the live resource on every run and reports the source's `lastUpdated`/date fields where the source provides them.\n\n**Do I need a proxy or an API key?**\n\nNo. The actor calls the Comptroller and Texas open-data hosts directly, with no credentials. If a run is ever refused by the source, the actor retries and reports the source message; it does not require you to configure a proxy.\n\n**Is this affiliated with the State of Texas?**\n\nNo. This is an independent tool built on the Comptroller's publicly published registry and the state's open-data portal. It is not affiliated with or endorsed by the State of Texas.\n\n## Limitations\n\n- The lookup API has no pagination or server-side filters; use `bulk` for filtered exports.\n- A lookup name search is capped at about 200 matches; broader names fall back to the active bulk dataset.\n- The active bulk file does not include ended entities, multi-year PIR history, SOS document images, phone/email/website fields or beneficial-ownership/OIR data. The names and mailing addresses of officers, managers, members, owners and registered agents that the source publishes are returned.\n- Bulk exports are capped at 20,000 rows per run. Split larger exports by city, county, type, status or date range.\n- Bulk detail enrichment is capped at 1,000 rows per run to keep each run fast and respectful of the source.\n",
      "input": {
        "title": "Texas Franchise Tax Account Status Scraper Input",
        "description": "Search the Texas Comptroller's Franchise Tax Account Status registry by entity name, taxpayer number or federal EIN, Texas Secretary of State file number, or account-status URL. Or export filtered rows from the official Active Franchise Taxpayers bulk dataset. All data is public and cookieless.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to search or export. Lookup modes return full per-entity details; bulk exports the official Active Franchise Taxpayers dataset.",
            "editor": "select",
            "enum": [
              "byName",
              "byTaxpayerNumber",
              "bySosFileNumber",
              "byUrl",
              "bulk"
            ],
            "enumTitles": [
              "Search by entity name",
              "Look up by taxpayer number or EIN",
              "Look up by Texas SOS file number",
              "Look up by account-status URL",
              "Bulk export with filters"
            ],
            "default": "byName",
            "prefill": "byTaxpayerNumber"
          },
          "names": {
            "title": "Entity names",
            "type": "array",
            "description": "Entity names or name fragments (2-50 characters each). The registry matches the text anywhere in the legal name. One name per line (mode=byName).",
            "editor": "stringList",
            "default": [
              "walmart"
            ],
            "prefill": [],
            "sectionCaption": "Identifiers (use the field for your mode)"
          },
          "taxpayerNumbers": {
            "title": "Taxpayer numbers or EINs",
            "type": "array",
            "description": "11-digit Texas Comptroller taxpayer numbers or 9-digit federal EINs. One per line (mode=byTaxpayerNumber; also used as an optional exact filter in mode=bulk).",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "10105504087"
            ]
          },
          "sosFileNumbers": {
            "title": "Texas SOS file numbers",
            "type": "array",
            "description": "6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. One per line (mode=bySosFileNumber; also an optional filter in mode=bulk).",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "entityUrls": {
            "title": "Account-status URLs",
            "type": "array",
            "description": "Paste one or more Comptroller account-status URLs, for example https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885. The taxpayer number is extracted from each URL (mode=byUrl).",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "fetchDetails": {
            "title": "Fetch full entity details",
            "type": "boolean",
            "description": "Open each lookup result to add EIN, addresses, right-to-transact, SOS status, registered agent, officers and report year. Turn off for the faster name/taxpayer-number summary (lookup modes only).",
            "default": true,
            "prefill": true,
            "sectionCaption": "Detail enrichment (lookup modes)"
          },
          "includeOfficers": {
            "title": "Include officer and owner records",
            "type": "boolean",
            "description": "Include the officers, directors, managers, members, owners and partners from the latest Public Information Report.",
            "default": true,
            "prefill": true
          },
          "maxOfficers": {
            "title": "Max officers per entity",
            "type": "integer",
            "description": "Cap on the officer list in each record. The total officer count is still reported.",
            "minimum": 1,
            "maximum": 500,
            "default": 25,
            "prefill": 5
          },
          "enrichBulkDetails": {
            "title": "Enrich bulk rows with details",
            "type": "boolean",
            "description": "For mode=bulk, make one detail request per row to add EIN, registered agent, officers, formation state and report year. Capped at 1,000 rows per run.",
            "default": false,
            "prefill": false
          },
          "bulkName": {
            "title": "Name filter",
            "type": "string",
            "description": "Filter the bulk dataset by taxpayer name. Use the match mode below for contains, starts-with or exact matching (mode=bulk).",
            "editor": "textfield",
            "default": "",
            "prefill": "",
            "sectionCaption": "Bulk export filters (mode=bulk)"
          },
          "bulkNameMatch": {
            "title": "Name match",
            "type": "string",
            "description": "How the name filter matches the registered name.",
            "editor": "select",
            "enum": [
              "contains",
              "startsWith",
              "exact"
            ],
            "enumTitles": [
              "Contains",
              "Starts with",
              "Exact"
            ],
            "default": "contains",
            "prefill": "contains"
          },
          "bulkCities": {
            "title": "Cities",
            "type": "array",
            "description": "Keep only these cities, for example Houston or Austin. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkStates": {
            "title": "States",
            "type": "array",
            "description": "Keep only these two-letter address states, for example TX or AR.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkZips": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Keep only these 5-digit ZIP codes. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkCountyCode": {
            "title": "County",
            "type": "string",
            "description": "Keep only one Texas county (official Comptroller code), or Out of State (000).",
            "editor": "select",
            "enum": [
              "any",
              "001",
              "002",
              "003",
              "004",
              "005",
              "006",
              "007",
              "008",
              "009",
              "010",
              "011",
              "012",
              "013",
              "014",
              "015",
              "016",
              "017",
              "018",
              "019",
              "020",
              "021",
              "022",
              "023",
              "024",
              "025",
              "026",
              "027",
              "028",
              "029",
              "030",
              "031",
              "032",
              "033",
              "034",
              "035",
              "036",
              "037",
              "038",
              "039",
              "040",
              "041",
              "042",
              "043",
              "044",
              "045",
              "046",
              "047",
              "048",
              "049",
              "050",
              "051",
              "052",
              "053",
              "054",
              "055",
              "056",
              "057",
              "058",
              "059",
              "060",
              "061",
              "062",
              "063",
              "064",
              "065",
              "066",
              "067",
              "068",
              "069",
              "070",
              "071",
              "072",
              "073",
              "074",
              "075",
              "076",
              "077",
              "078",
              "079",
              "080",
              "081",
              "082",
              "083",
              "084",
              "085",
              "086",
              "087",
              "088",
              "089",
              "090",
              "091",
              "092",
              "093",
              "094",
              "095",
              "096",
              "097",
              "098",
              "099",
              "100",
              "101",
              "102",
              "103",
              "104",
              "105",
              "106",
              "107",
              "108",
              "109",
              "110",
              "111",
              "112",
              "113",
              "114",
              "115",
              "116",
              "117",
              "118",
              "119",
              "120",
              "121",
              "122",
              "123",
              "124",
              "125",
              "126",
              "127",
              "128",
              "129",
              "130",
              "131",
              "132",
              "133",
              "134",
              "135",
              "136",
              "137",
              "138",
              "139",
              "140",
              "141",
              "142",
              "143",
              "144",
              "145",
              "146",
              "147",
              "148",
              "149",
              "150",
              "151",
              "152",
              "153",
              "154",
              "155",
              "156",
              "157",
              "158",
              "159",
              "160",
              "161",
              "162",
              "163",
              "164",
              "165",
              "166",
              "167",
              "168",
              "169",
              "170",
              "171",
              "172",
              "173",
              "174",
              "175",
              "176",
              "177",
              "178",
              "179",
              "180",
              "181",
              "182",
              "183",
              "184",
              "185",
              "186",
              "187",
              "188",
              "189",
              "190",
              "191",
              "192",
              "193",
              "194",
              "195",
              "196",
              "197",
              "198",
              "199",
              "200",
              "201",
              "202",
              "203",
              "204",
              "205",
              "206",
              "207",
              "208",
              "209",
              "210",
              "211",
              "212",
              "213",
              "214",
              "215",
              "216",
              "217",
              "218",
              "219",
              "220",
              "221",
              "222",
              "223",
              "224",
              "225",
              "226",
              "227",
              "228",
              "229",
              "230",
              "231",
              "232",
              "233",
              "234",
              "235",
              "236",
              "237",
              "238",
              "239",
              "240",
              "241",
              "242",
              "243",
              "244",
              "245",
              "246",
              "247",
              "248",
              "249",
              "250",
              "251",
              "252",
              "253",
              "254",
              "000"
            ],
            "enumTitles": [
              "Any county",
              "001 Anderson",
              "002 Andrews",
              "003 Angelina",
              "004 Aransas",
              "005 Archer",
              "006 Armstrong",
              "007 Atascosa",
              "008 Austin",
              "009 Bailey",
              "010 Bandera",
              "011 Bastrop",
              "012 Baylor",
              "013 Bee",
              "014 Bell",
              "015 Bexar",
              "016 Blanco",
              "017 Borden",
              "018 Bosque",
              "019 Bowie",
              "020 Brazoria",
              "021 Brazos",
              "022 Brewster",
              "023 Briscoe",
              "024 Brooks",
              "025 Brown",
              "026 Burleson",
              "027 Burnet",
              "028 Caldwell",
              "029 Calhoun",
              "030 Callahan",
              "031 Cameron",
              "032 Camp",
              "033 Carson",
              "034 Cass",
              "035 Castro",
              "036 Chambers",
              "037 Cherokee",
              "038 Childress",
              "039 Clay",
              "040 Cochran",
              "041 Coke",
              "042 Coleman",
              "043 Collin",
              "044 Collingsworth",
              "045 Colorado",
              "046 Comal",
              "047 Comanche",
              "048 Concho",
              "049 Cooke",
              "050 Coryell",
              "051 Cottle",
              "052 Crane",
              "053 Crockett",
              "054 Crosby",
              "055 Culberson",
              "056 Dallam",
              "057 Dallas",
              "058 Dawson",
              "059 Deaf Smith",
              "060 Delta",
              "061 Denton",
              "062 DeWitt",
              "063 Dickens",
              "064 Dimmit",
              "065 Donley",
              "066 Duval",
              "067 Eastland",
              "068 Ector",
              "069 Edwards",
              "070 Ellis",
              "071 El Paso",
              "072 Erath",
              "073 Falls",
              "074 Fannin",
              "075 Fayette",
              "076 Fisher",
              "077 Floyd",
              "078 Foard",
              "079 Fort Bend",
              "080 Franklin",
              "081 Freestone",
              "082 Frio",
              "083 Gaines",
              "084 Galveston",
              "085 Garza",
              "086 Gillespie",
              "087 Glasscock",
              "088 Goliad",
              "089 Gonzales",
              "090 Gray",
              "091 Grayson",
              "092 Gregg",
              "093 Grimes",
              "094 Guadalupe",
              "095 Hale",
              "096 Hall",
              "097 Hamilton",
              "098 Hansford",
              "099 Hardeman",
              "100 Hardin",
              "101 Harris",
              "102 Harrison",
              "103 Hartley",
              "104 Haskell",
              "105 Hays",
              "106 Hemphill",
              "107 Henderson",
              "108 Hidalgo",
              "109 Hill",
              "110 Hockley",
              "111 Hood",
              "112 Hopkins",
              "113 Houston",
              "114 Howard",
              "115 Hudspeth",
              "116 Hunt",
              "117 Hutchinson",
              "118 Irion",
              "119 Jack",
              "120 Jackson",
              "121 Jasper",
              "122 Jeff Davis",
              "123 Jefferson",
              "124 Jim Hogg",
              "125 Jim Wells",
              "126 Johnson",
              "127 Jones",
              "128 Karnes",
              "129 Kaufman",
              "130 Kendall",
              "131 Kenedy",
              "132 Kent",
              "133 Kerr",
              "134 Kimble",
              "135 King",
              "136 Kinney",
              "137 Kleberg",
              "138 Knox",
              "139 Lamar",
              "140 Lamb",
              "141 Lampasas",
              "142 LaSalle",
              "143 Lavaca",
              "144 Lee",
              "145 Leon",
              "146 Liberty",
              "147 Limestone",
              "148 Lipscomb",
              "149 Live Oak",
              "150 Llano",
              "151 Loving",
              "152 Lubbock",
              "153 Lynn",
              "154 Madison",
              "155 Marion",
              "156 Martin",
              "157 Mason",
              "158 Matagorda",
              "159 Maverick",
              "160 McCulloch",
              "161 McLennan",
              "162 McMullen",
              "163 Medina",
              "164 Menard",
              "165 Midland",
              "166 Milam",
              "167 Mills",
              "168 Mitchell",
              "169 Montague",
              "170 Montgomery",
              "171 Moore",
              "172 Morris",
              "173 Motley",
              "174 Nacogdoches",
              "175 Navarro",
              "176 Newton",
              "177 Nolan",
              "178 Nueces",
              "179 Ochiltree",
              "180 Oldham",
              "181 Orange",
              "182 Palo Pinto",
              "183 Panola",
              "184 Parker",
              "185 Parmer",
              "186 Pecos",
              "187 Polk",
              "188 Potter",
              "189 Presidio",
              "190 Rains",
              "191 Randall",
              "192 Reagan",
              "193 Real",
              "194 Red River",
              "195 Reeves",
              "196 Refugio",
              "197 Roberts",
              "198 Robertson",
              "199 Rockwall",
              "200 Runnels",
              "201 Rusk",
              "202 Sabine",
              "203 San Augustine",
              "204 San Jacinto",
              "205 San Patricio",
              "206 San Saba",
              "207 Schleicher",
              "208 Scurry",
              "209 Shackelford",
              "210 Shelby",
              "211 Sherman",
              "212 Smith",
              "213 Somervell",
              "214 Starr",
              "215 Stephens",
              "216 Sterling",
              "217 Stonewall",
              "218 Sutton",
              "219 Swisher",
              "220 Tarrant",
              "221 Taylor",
              "222 Terrell",
              "223 Terry",
              "224 Throckmorton",
              "225 Titus",
              "226 Tom Green",
              "227 Travis",
              "228 Trinity",
              "229 Tyler",
              "230 Upshur",
              "231 Upton",
              "232 Uvalde",
              "233 Val Verde",
              "234 Van Zandt",
              "235 Victoria",
              "236 Walker",
              "237 Waller",
              "238 Ward",
              "239 Washington",
              "240 Webb",
              "241 Wharton",
              "242 Wheeler",
              "243 Wichita",
              "244 Wilbarger",
              "245 Willacy",
              "246 Williamson",
              "247 Wilson",
              "248 Winkler",
              "249 Wise",
              "250 Wood",
              "251 Yoakum",
              "252 Young",
              "253 Zapata",
              "254 Zavala",
              "Out of State"
            ],
            "default": "any",
            "prefill": "any"
          },
          "bulkOrganizationalTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Keep only these organization type codes or labels, for example CL (Texas LLC), CT (Texas profit corporation), CN (nonprofit), PL (Texas LP). One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkRecordTypes": {
            "title": "Record types",
            "type": "array",
            "description": "U = SOS file number, V = SOS certificate of authority, X = Comptroller-assigned number. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkRightToTransactCodes": {
            "title": "Right-to-transact codes",
            "type": "array",
            "description": "A=Active, D=Active eligible for termination/withdrawal, N=Forfeited, I=Involuntarily ended, U=Not established. The active bulk file has A/D/N/U. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkSosStatusCodes": {
            "title": "SOS status codes",
            "type": "array",
            "description": "Keep only these Secretary of State status codes: A, B, C, D, E, F, G, I, J, K, L, M, N, P, R, T, W, Y, Z. Use NONE for rows with no current SOS status. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkExemptReasonCodes": {
            "title": "Exemption reason codes",
            "type": "array",
            "description": "Keep only these franchise-tax exemption reason codes, for example 00 (not exempt), 19 (501(c)(3)), 24 (homeowners association). One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkNaicsCodes": {
            "title": "NAICS prefixes",
            "type": "array",
            "description": "Keep only entities whose NAICS code starts with one of these 2-6 digit prefixes, for example 23 or 2381. One per line.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkHasSosFileNumber": {
            "title": "Has an SOS file number",
            "type": "string",
            "description": "Filter rows that do or do not have a current SOS/COA file number.",
            "editor": "select",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "enumTitles": [
              "Any",
              "Yes",
              "No"
            ],
            "default": "any",
            "prefill": "any"
          },
          "bulkExemptOnly": {
            "title": "Exempt entities only",
            "type": "boolean",
            "description": "Keep only entities with a current franchise-tax exemption reason code.",
            "default": false,
            "prefill": false
          },
          "bulkResponsibilityFrom": {
            "title": "Responsibility began on or after",
            "type": "string",
            "description": "Earliest franchise-tax responsibility beginning date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkResponsibilityTo": {
            "title": "Responsibility began on or before",
            "type": "string",
            "description": "Latest franchise-tax responsibility beginning date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkCharterFrom": {
            "title": "SOS charter date from",
            "type": "string",
            "description": "Earliest SOS charter/registration date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkCharterTo": {
            "title": "SOS charter date to",
            "type": "string",
            "description": "Latest SOS charter/registration date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkSosStatusFrom": {
            "title": "SOS status date from",
            "type": "string",
            "description": "Earliest SOS status date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkSosStatusTo": {
            "title": "SOS status date to",
            "type": "string",
            "description": "Latest SOS status date (YYYY-MM-DD).",
            "editor": "datepicker",
            "default": "",
            "prefill": ""
          },
          "bulkSortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Sort field for the bulk export.",
            "editor": "select",
            "enum": [
              "taxpayerName",
              "taxpayerNumber",
              "city",
              "zip",
              "responsibilityBeginningDate",
              "sosStatusDate",
              "sosCharterDate",
              "rightToTransactCode",
              "entityTypeCode"
            ],
            "enumTitles": [
              "Taxpayer name",
              "Taxpayer number",
              "City",
              "ZIP",
              "Responsibility beginning date",
              "SOS status date",
              "SOS charter date",
              "Right-to-transact code",
              "Entity type code"
            ],
            "default": "taxpayerName",
            "prefill": "taxpayerName",
            "sectionCaption": "Bulk export sorting and limits (mode=bulk)"
          },
          "bulkSortDirection": {
            "title": "Sort direction",
            "type": "string",
            "description": "Ascending or descending.",
            "editor": "select",
            "enum": [
              "asc",
              "desc"
            ],
            "enumTitles": [
              "Ascending",
              "Descending"
            ],
            "default": "asc",
            "prefill": "asc"
          },
          "maxItems": {
            "title": "Max records",
            "type": "integer",
            "description": "Hard cap on emitted records. Bulk exports support up to 20,000 rows per run; split larger exports by filter.",
            "minimum": 1,
            "maximum": 20000,
            "default": 20,
            "prefill": 1
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Texas Franchise Tax Right-to-Transact & Officer Lookup Output",
        "description": "Texas business records with right-to-transact status, SOS registration status and file number, registered agent, addresses, officers, directors, managers, members, owners, report year, official bulk-dataset fields and public account-status document links.",
        "properties": {
          "businesses": {
            "type": "string",
            "title": "Texas businesses",
            "description": "Dataset containing all scraped Texas franchise tax account records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Texas businesses",
              "transformation": {
                "fields": [
                  "entityName",
                  "taxpayerId",
                  "rightToTransactTX",
                  "sosRegistrationStatus",
                  "entityType",
                  "countyName",
                  "dataSource",
                  "sourceUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "2.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "2.0"
    }
  }
}