Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request
- {
- "to_country": "US",
- "to_zip": "37010",
- "to_state": "TN",
- "to_city": "ADAMS",
- "to_street": "qwe 123",
- "transaction_id": "4852602",
- "transaction_date": "2019-06-18T10:46:14-07:00",
- "amount": "398.7800000000",
- "shipping": "265.28",
- "line_items": [
- {
- "id": "5626689",
- "quantity": "1",
- "product_identifier": "sku1",
- "description": "Prod1: * Discount Vovka:-$2.00\n",
- "unit_price": "98.0000000000",
- "product_tax_code": "2",
- "discount": "24.4999999976"
- },
- {
- "id": "5626690",
- "quantity": "10",
- "product_identifier": "sku2",
- "description": "Prod2: * Discount Vovka:-$2.00\n",
- "unit_price": "8.0000000000",
- "product_tax_code": "2",
- "discount": "19.9999999979"
- }
- ],
- "from_country": "CA",
- "from_zip": "V6M 4H1",
- "from_state": "BC"
- }
- Response
- {
- "order_total_amount": 398.78,
- "shipping": 265.28,
- "taxable_amount": 398.78,
- "amount_to_collect": 34.89,
- "rate": 0.0875,
- "has_nexus": true,
- "freight_taxable": true,
- "tax_source": "destination",
- "jurisdictions": {
- "country": "US",
- "state": "TN",
- "county": "CANNON",
- "city": "ADAMS"
- },
- "breakdown": {
- "taxable_amount": 398.78,
- "tax_collectable": 34.89,
- "combined_tax_rate": 0.0875,
- "state_taxable_amount": 398.78,
- "state_tax_rate": 0.07,
- "state_tax_collectable": 27.91,
- "county_taxable_amount": 398.78,
- "county_tax_rate": 0.0175,
- "county_tax_collectable": 6.98,
- "city_taxable_amount": 0,
- "city_tax_rate": 0,
- "city_tax_collectable": 0,
- "special_district_taxable_amount": 0,
- "special_tax_rate": 0,
- "special_district_tax_collectable": 0,
- "shipping": {
- "taxable_amount": 265.28,
- "tax_collectable": 23.21,
- "combined_tax_rate": 0.0875,
- "state_taxable_amount": 265.28,
- "state_sales_tax_rate": 0.07,
- "state_amount": 18.57,
- "county_taxable_amount": 265.28,
- "county_tax_rate": 0.0175,
- "county_amount": 4.64,
- "city_taxable_amount": 0,
- "city_tax_rate": 0,
- "city_amount": 0,
- "special_taxable_amount": 0,
- "special_tax_rate": 0,
- "special_district_amount": 0
- },
- "line_items": [
- {
- "id": "5626689",
- "taxable_amount": 73.5,
- "tax_collectable": 6.43,
- "combined_tax_rate": 0.0875,
- "state_taxable_amount": 73.5,
- "state_sales_tax_rate": 0.07,
- "state_amount": 5.15,
- "county_taxable_amount": 73.5,
- "county_tax_rate": 0.0175,
- "county_amount": 1.29,
- "city_taxable_amount": 0,
- "city_tax_rate": 0,
- "city_amount": 0,
- "special_district_taxable_amount": 0,
- "special_tax_rate": 0,
- "special_district_amount": 0
- },
- {
- "id": "5626690",
- "taxable_amount": 60,
- "tax_collectable": 5.25,
- "combined_tax_rate": 0.0875,
- "state_taxable_amount": 60,
- "state_sales_tax_rate": 0.07,
- "state_amount": 4.2,
- "county_taxable_amount": 60,
- "county_tax_rate": 0.0175,
- "county_amount": 1.05,
- "city_taxable_amount": 0,
- "city_tax_rate": 0,
- "city_amount": 0,
- "special_district_taxable_amount": 0,
- "special_tax_rate": 0,
- "special_district_amount": 0
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement