Skip to content

Instantly share code, notes, and snippets.

@pdr
Created November 21, 2018 19:55
Show Gist options
  • Save pdr/40d1ce2b511ba009207bd78593611e97 to your computer and use it in GitHub Desktop.
Save pdr/40d1ce2b511ba009207bd78593611e97 to your computer and use it in GitHub Desktop.
{
"order_total_amount": 29.95,
"shipping": 10,
"taxable_amount": 19.95,
"amount_to_collect": 0.97,
"rate": 0.04867,
"has_nexus": true,
"freight_taxable": false,
"tax_source": "destination",
"jurisdictions": {
"country": "US",
"state": "OK",
"county": "TULSA",
"city": "TULSA"
},
"breakdown": {
"taxable_amount": 19.95,
"tax_collectable": 0.97,
"combined_tax_rate": 0.04867,
"state_taxable_amount": 19.95,
"state_tax_rate": 0.045,
"state_tax_collectable": 0.9,
"county_taxable_amount": 0,
"county_tax_rate": 0,
"county_tax_collectable": 0,
"city_taxable_amount": 0,
"city_tax_rate": 0,
"city_tax_collectable": 0,
"special_district_taxable_amount": 19.95,
"special_tax_rate": 0.00367,
"special_district_tax_collectable": 0.07,
"line_items": [
{
"id": "1",
"taxable_amount": 19.95,
"tax_collectable": 0.97,
"combined_tax_rate": 0.04867,
"state_taxable_amount": 19.95,
"state_sales_tax_rate": 0.045,
"state_amount": 0.9,
"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": 19.95,
"special_tax_rate": 0.00367,
"special_district_amount": 0.07
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment