View as Markdown
TaxJar icon

TaxJar ACTION

Validate Address

Validates a customer address and returns back a collection of address matches. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TaxJar account once, then configure and run Validate Address from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "taxjar-validate-address",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    taxjar: { authProvisionId: "apn_xxxxxxx" },
    country: "Country",
    state: "State",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Validate Address inputs
Property Type Description
country Country string
The two-letter ISO country code, i.e.: US. At this time only US addresses can be validated
Optional
state State string
The two-letter ISO state code, i.e.: CA
Optional
zip Zip string
The ZIP code of the customer's primary address, i.e.: 92093
Optional
city City string
The city of the customer's primary address, i.e.: La Jolla
Optional
street Street string
The street of the customer's primary address, i.e.: 9500 Gilman Drive
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
taxjar-validate-address
Version
0.0.3
App
TaxJar
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes