Skip to content

Instantly share code, notes, and snippets.

@gregpardo
Created July 11, 2019 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregpardo/acb3f9aa40032ea8af5a95d9bd1ba93b to your computer and use it in GitHub Desktop.
Save gregpardo/acb3f9aa40032ea8af5a95d9bd1ba93b to your computer and use it in GitHub Desktop.
{
"order_total_amount": 10,
"shipping": 0,
"taxable_amount": -2.5,
"amount_to_collect": -0.16,
"rate": 0.065,
"has_nexus": true,
"freight_taxable": true,
"tax_source": "destination",
"jurisdictions": {
"country": "US",
"state": "FL",
"county": "ORANGE",
"city": "WINTER PARK"
},
"breakdown": {
"taxable_amount": -2.5,
"tax_collectable": -0.16,
"combined_tax_rate": 0.065,
"state_taxable_amount": -2.5,
"state_tax_rate": 0.06,
"state_tax_collectable": -0.15,
"county_taxable_amount": -2.5,
"county_tax_rate": 0.005,
"county_tax_collectable": -0.01,
"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": 0,
"tax_collectable": 0,
"combined_tax_rate": 0.065,
"state_taxable_amount": 0,
"state_sales_tax_rate": 0.06,
"state_amount": 0,
"county_taxable_amount": 0,
"county_tax_rate": 0.005,
"county_amount": 0,
"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": "1",
"taxable_amount": 0,
"tax_collectable": 0,
"combined_tax_rate": 0,
"state_taxable_amount": 0,
"state_sales_tax_rate": 0,
"state_amount": 0,
"county_taxable_amount": 0,
"county_tax_rate": 0,
"county_amount": 0,
"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": "2",
"taxable_amount": -2.5,
"tax_collectable": -0.16,
"combined_tax_rate": 0.065,
"state_taxable_amount": -2.5,
"state_sales_tax_rate": 0.06,
"state_amount": -0.15,
"county_taxable_amount": -2.5,
"county_tax_rate": 0.005,
"county_amount": -0.01,
"city_taxable_amount": 0,
"city_tax_rate": 0,
"city_amount": 0,
"special_district_taxable_amount": 0,
"special_tax_rate": 0,
"special_district_amount": 0
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment