{
"message": "Successfully calculated tax.",
"data": {
"corporation_id": "corp_12345abcde",
"transacted_at": "2023-09-15",
"customer_details": {
"shipping_address": {
"address_line_1": "123 Main St",
"address_line_2": "Apt 4B",
"address_line_3": "",
"postal_code": "90210",
"city": "Beverly Hills",
"state": "CA",
"country": "US"
},
"customer_id": "cust_98765zyxwv"
},
"invoice_currency": "USD",
"subtotal": 119.98,
"discount": 0,
"shipping_and_handling": 0,
"line_items": [
{
"raw_amount": 99.99,
"taxable_amount": 99.99,
"quantity": 2,
"tax_code": "TPP",
"product_id": "",
"external_id": "item_111aaa",
"total_tax_rate": 8.25,
"total_tax_due": 8.25,
"tax_breakdown": {
"rates": [
{
"jurisdiction_name": "California",
"jurisdiction_type": "STATE",
"rate": 6.0
},
{
"jurisdiction_name": "Los Angeles County",
"jurisdiction_type": "COUNTY",
"rate": 1.5
},
{
"jurisdiction_name": "Beverly Hills",
"jurisdiction_type": "CITY",
"rate": 0.75
}
]
}
},
{
"raw_amount": 19.99,
"taxable_amount": 19.99,
"quantity": 1,
"tax_code": "TPP",
"product_id": "",
"external_id": "item_333ccc",
"total_tax_rate": 8.25,
"total_tax_due": 1.65,
"tax_breakdown": {
"rates": [
{
"jurisdiction_name": "California",
"jurisdiction_type": "STATE",
"rate": 6.0
},
{
"jurisdiction_name": "Los Angeles County",
"jurisdiction_type": "COUNTY",
"rate": 1.5
},
{
"jurisdiction_name": "Beverly Hills",
"jurisdiction_type": "CITY",
"rate": 0.75
}
]
}
}
],
"tax_currency": "USD",
"total_tax_due": 9.90,
"validation_results": []
}
}