Advertisement
Guest User

Taxjar

a guest
Jun 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. Request
  2. {
  3. "to_country": "US",
  4. "to_zip": "37010",
  5. "to_state": "TN",
  6. "to_city": "ADAMS",
  7. "to_street": "qwe 123",
  8. "transaction_id": "4852602",
  9. "transaction_date": "2019-06-18T10:46:14-07:00",
  10. "amount": "398.7800000000",
  11. "shipping": "265.28",
  12. "line_items": [
  13. {
  14. "id": "5626689",
  15. "quantity": "1",
  16. "product_identifier": "sku1",
  17. "description": "Prod1: * Discount Vovka:-$2.00\n",
  18. "unit_price": "98.0000000000",
  19. "product_tax_code": "2",
  20. "discount": "24.4999999976"
  21. },
  22. {
  23. "id": "5626690",
  24. "quantity": "10",
  25. "product_identifier": "sku2",
  26. "description": "Prod2: * Discount Vovka:-$2.00\n",
  27. "unit_price": "8.0000000000",
  28. "product_tax_code": "2",
  29. "discount": "19.9999999979"
  30. }
  31. ],
  32. "from_country": "CA",
  33. "from_zip": "V6M 4H1",
  34. "from_state": "BC"
  35. }
  36.  
  37.  
  38. Response
  39. {
  40. "order_total_amount": 398.78,
  41. "shipping": 265.28,
  42. "taxable_amount": 398.78,
  43. "amount_to_collect": 34.89,
  44. "rate": 0.0875,
  45. "has_nexus": true,
  46. "freight_taxable": true,
  47. "tax_source": "destination",
  48. "jurisdictions": {
  49. "country": "US",
  50. "state": "TN",
  51. "county": "CANNON",
  52. "city": "ADAMS"
  53. },
  54. "breakdown": {
  55. "taxable_amount": 398.78,
  56. "tax_collectable": 34.89,
  57. "combined_tax_rate": 0.0875,
  58. "state_taxable_amount": 398.78,
  59. "state_tax_rate": 0.07,
  60. "state_tax_collectable": 27.91,
  61. "county_taxable_amount": 398.78,
  62. "county_tax_rate": 0.0175,
  63. "county_tax_collectable": 6.98,
  64. "city_taxable_amount": 0,
  65. "city_tax_rate": 0,
  66. "city_tax_collectable": 0,
  67. "special_district_taxable_amount": 0,
  68. "special_tax_rate": 0,
  69. "special_district_tax_collectable": 0,
  70. "shipping": {
  71. "taxable_amount": 265.28,
  72. "tax_collectable": 23.21,
  73. "combined_tax_rate": 0.0875,
  74. "state_taxable_amount": 265.28,
  75. "state_sales_tax_rate": 0.07,
  76. "state_amount": 18.57,
  77. "county_taxable_amount": 265.28,
  78. "county_tax_rate": 0.0175,
  79. "county_amount": 4.64,
  80. "city_taxable_amount": 0,
  81. "city_tax_rate": 0,
  82. "city_amount": 0,
  83. "special_taxable_amount": 0,
  84. "special_tax_rate": 0,
  85. "special_district_amount": 0
  86. },
  87. "line_items": [
  88. {
  89. "id": "5626689",
  90. "taxable_amount": 73.5,
  91. "tax_collectable": 6.43,
  92. "combined_tax_rate": 0.0875,
  93. "state_taxable_amount": 73.5,
  94. "state_sales_tax_rate": 0.07,
  95. "state_amount": 5.15,
  96. "county_taxable_amount": 73.5,
  97. "county_tax_rate": 0.0175,
  98. "county_amount": 1.29,
  99. "city_taxable_amount": 0,
  100. "city_tax_rate": 0,
  101. "city_amount": 0,
  102. "special_district_taxable_amount": 0,
  103. "special_tax_rate": 0,
  104. "special_district_amount": 0
  105. },
  106. {
  107. "id": "5626690",
  108. "taxable_amount": 60,
  109. "tax_collectable": 5.25,
  110. "combined_tax_rate": 0.0875,
  111. "state_taxable_amount": 60,
  112. "state_sales_tax_rate": 0.07,
  113. "state_amount": 4.2,
  114. "county_taxable_amount": 60,
  115. "county_tax_rate": 0.0175,
  116. "county_amount": 1.05,
  117. "city_taxable_amount": 0,
  118. "city_tax_rate": 0,
  119. "city_amount": 0,
  120. "special_district_taxable_amount": 0,
  121. "special_tax_rate": 0,
  122. "special_district_amount": 0
  123. }
  124. ]
  125. }
  126. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement