Adding line item taxes information to API and Webhooks
February 23rd, 2018 by Aleksej Ruckoj
PandaDoc API (Document Details endpoint) and Webhooks now return information about line item taxes.
"pricing": {
"tables": [
{
"id": "pxD8Z2NHnwvYT449Lxy3wN",
"name": "PricingTable1",
"total": "33.0000000000",
"is_included_in_total": true,
"summary": {
"subtotal": "33.00",
"total": "33.00",
"discount": "0",
"tax": "0"
},
"items": [
{
"qty": 3,
"name": "Toy Panda",
"cost": "0",
"price": "10",
"description": "Fluffy!",
"custom_fields": {
"Fluffiness": "5 / 5"
},
"custom_columns": {
"Fluffiness": ""
},
"tax_first": {
"value": "10",
"type": "percent"
},
"subtotal": "33.00"
}
]
}
],
"total": "33.0000000000"
}