VocalDocscontracts 1.65.0

CallCost

The estimated cost of a Call from its usage quantities and the price list.

An object with 6 fields.

Fields

FieldTypeRequiredDescription
amount_microsinteger or nullyesThe sum of the lines in whole micro-USD; null when any line has no price.
by_stageCostByStageyes
estimatetrueyesAlways true: the amounts are estimated from a price list, not billed.
linesarray of CostLineyesThe Call's rated lines before allocation to Turns, including Call-level lines such as telephony minutes.
notestringyesA short explanation of how the estimate was made, for display.
price_list_versionstringyesThe version of the price list the estimate used; a date in 1.5.0.