Taxamo

The Taxamo Developer Hub

Welcome to the Taxamo developer hub. You'll find comprehensive guides and documentation to help you start working with Taxamo as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    API Reference

Tax Calculation

Taxamo provides location determination and tax calculation via the stand-alone /tax/calculate API endpoint and also via the /transactions API endpoint.

For US transactions, the product_tax_code is a required field for each line item as the product type may determine which taxes and tax rates apply.

Along with the product_tax_code there is a requirement to pass Taxamo the Zip code (postal_code field)

{
   "transaction": {
       "currency_code": "USD",
       "transaction_lines": [
           {
               "custom_id": "1",
               "amount": 100,
               "product_type":"default"
               "product_tax_code": "310107"
           }
       ],
       "billing_country_code": "US",
       "buyer_credit_card_prefix": "",
       "invoice_address": {
           "building_number":"11",
           "street_name":"2630 Croydon Drive", 
           "address_detail":"Cisco", 
           "county":"", 
           "city": "Sanger", 
           "postal_code":"93292-9329", 
           "region": "CA", 
           "country":"US"},
       "buyer_tax_number":"",
       "buyer_name":"California",
       "buyer_ip": "72.229.28.185"
   },
   "private_token": "priv_test_36gHlrdp5ULnpkerpzYLGLTE4jp2TXswZ6QS3B_QJnE"
}

Tax Calculation


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.