Zamp

App · 8 actions

Calculate sales tax, validate addresses and read transactions, registrations and filings in Zamp.

Actions

ActionWhat it does
Calculate sales taxCalculate tax on a transaction without recording it for filing.
Get transactionRead one transaction and its tax breakdown.
List companiesRead companies visible to the key.
List filingsFind tax filings by company, due date or completion status.
List product tax codesFind codes for classifying products for sales tax.
List registrationsRead tax registrations by company or state.
List transactionsRead a page of transactions recorded with this key.
Validate US addressCheck a US address and return its normalized form and coordinates.

Calculate sales tax

Calculate tax on a transaction without recording it for filing.

Inputs

IdidtextRequired
Id.
Namenametext
Name.
Transacted attransacted_atdate and timeRequired
Transacted at.
Currencycurrencytext
Currency.
Tax collectedtax_collectednumberRequired
Tax collected.
TotaltotalnumberRequired
Total.
Ship from addressship_from_addressobject
Ship from address.
Ship to addressship_to_addressobjectRequired
Ship to address.
Line itemsline_itemslistRequired
Line items.
Shippingshippingnumber
Shipping.
Discountdiscountnumber
Discount.
Handlinghandlingnumber
Handling.

Outputs

dataobject
The response from Zamp.
Example output
{
  "data": {
    "id": "example",
    "taxDue": 1.0,
    "taxes": []
  }
}

Get transaction

Read one transaction and its tax breakdown.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The response from Zamp.
Example output
{
  "data": {
    "id": "example",
    "taxDue": 1.0,
    "taxes": []
  }
}

List companies

Read companies visible to the key.

Inputs

Company idcompany_idtext
Company id.

Outputs

datalist
The response from Zamp.
Example output
{
  "data": []
}

List filings

Find tax filings by company, due date or completion status.

Inputs

Companycompany_idtext
Company id.
Statestatetext
State.
Min due onmin_due_ondate
Min due on.
Max due onmax_due_ondate
Max due on.
Is completedis_completedtrue/false
Is completed.
Cursorcursortext
Cursor.

Outputs

dataobject
The response from Zamp.
Example output
{
  "data": {
    "data": [],
    "nextCursor": "example",
    "prevCursor": "example"
  }
}

List product tax codes

Find codes for classifying products for sales tax.

Inputs

None.

Outputs

datalist
The response from Zamp.
Example output
{
  "data": []
}

List registrations

Read tax registrations by company or state.

Inputs

Companycompany_idtext
Company id.
Statestatetext
State.

Outputs

datalist
The response from Zamp.
Example output
{
  "data": []
}

List transactions

Read a page of transactions recorded with this key.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Min transacted atmin_transacted_atdate and time
Min transacted at.
Max transacted atmax_transacted_atdate and time
Max transacted at.

Outputs

dataobject
The response from Zamp.
Example output
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}

Validate US address

Check a US address and return its normalized form and coordinates.

Inputs

Line1line1textRequired
Line1.
CitycitytextRequired
City.
StatestatetextRequired
State.
ZipziptextRequired
Zip.
Line2line2text
Line2.

Outputs

dataobject
The response from Zamp.
Example output
{
  "data": {
    "originalAddress": {
      "city": "example",
      "line1": "example",
      "state": "example",
      "zip": "example"
    },
    "validatedAddress": {}
  }
}

On this page