Zamp
App · 8 actions
Calculate sales tax, validate addresses and read transactions, registrations and filings in Zamp.
Actions
| Action | What it does |
|---|---|
| Calculate sales tax | Calculate tax on a transaction without recording it for filing. |
| Get transaction | Read one transaction and its tax breakdown. |
| List companies | Read companies visible to the key. |
| List filings | Find tax filings by company, due date or completion status. |
| List product tax codes | Find codes for classifying products for sales tax. |
| List registrations | Read tax registrations by company or state. |
| List transactions | Read a page of transactions recorded with this key. |
| Validate US address | Check a US address and return its normalized form and coordinates. |
Calculate sales tax
Calculate tax on a transaction without recording it for filing.
Inputs
- Id
idtextRequired - Id.
- Name
nametext - Name.
- Transacted at
transacted_atdate and timeRequired - Transacted at.
- Currency
currencytext - Currency.
- Tax collected
tax_collectednumberRequired - Tax collected.
- Total
totalnumberRequired - Total.
- Ship from address
ship_from_addressobject - Ship from address.
- Ship to address
ship_to_addressobjectRequired - Ship to address.
- Line items
line_itemslistRequired - Line items.
- Shipping
shippingnumber - Shipping.
- Discount
discountnumber - Discount.
- Handling
handlingnumber - 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
- Id
idtextRequired - 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 id
company_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
- Company
company_idtext - Company id.
- State
statetext - State.
- Min due on
min_due_ondate - Min due on.
- Max due on
max_due_ondate - Max due on.
- Is completed
is_completedtrue/false - Is completed.
- Cursor
cursortext - 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
- Company
company_idtext - Company id.
- State
statetext - State.
Outputs
datalist- The response from Zamp.
Example output
{
"data": []
}List transactions
Read a page of transactions recorded with this key.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Min transacted at
min_transacted_atdate and time - Min transacted at.
- Max transacted at
max_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
- Line1
line1textRequired - Line1.
- City
citytextRequired - City.
- State
statetextRequired - State.
- Zip
ziptextRequired - Zip.
- Line2
line2text - Line2.
Outputs
dataobject- The response from Zamp.
Example output
{
"data": {
"originalAddress": {
"city": "example",
"line1": "example",
"state": "example",
"zip": "example"
},
"validatedAddress": {}
}
}