InvoiceCharge | Tigris Object Storage Documentation
InvoiceCharge
id stringrequired
Unique identifier for the charge
name stringrequired
User friendly name of the charge
quantity doublerequired
Number of units consumed
unit stringrequired
Consumption unit
total doublerequired
Total cost for the charge
tiersobject[]required
Array [
name stringrequired
quantity doublerequired
Number of units consumed
starting_after doublerequired
Starting point when this tier is applicable
price doublerequired
Rate per unit
subtotal doublerequired
Total cost for the tier
]
charged_quantity doublerequired
Actual number of units charged for
InvoiceCharge
{
"id": "string",
"name": "string",
"quantity": 0,
"unit": "string",
"total": 0,
"tiers": [
{
"name": "string",
"quantity": 0,
"starting_after": 0,
"price": 0,
"subtotal": 0
}
],
"charged_quantity": 0
}