UsageCostPlus
Your AI cost of serving the customer, passed on with a markup: the cost of the customer's traced AI calls in the period, converted from USD to the invoice's currency, × costPlusMultiplier. A period is converted at the exchange rate in force when it's first invoiced and keeps that rate, so a rate you change later applies only to periods invoiced from then on. It follows cost traces, not signals, so it takes no eventName.
Example: USD 200.00 of AI cost with costPlusMultiplier 1.3 bills USD 260.00.
- pricing
Type const:UsageCostPlusrequiredThe pricing type. It decides the charge's other fields and how it bills.
- billingType: enum
Frequency How often the charge is billed: every 1, 3, 6 or 12 months, or with
CustomeverybillingFrequencyCustomMonthsmonths. Amounts (the price, credit benefits) are per billing period: a quarterly fee is charged once a quarter.valuesMonthlyQuarterlySemi-AnnuallyAnnualCustom - billingType: integer
Frequency Custom Months min:1With
billingFrequency: Custom, the length of the billing period in months. - billingType: enum
Type When each period is billed.
Advance: at the start of the period, for the period ahead.Arrears: at the end, for the period just ended. Usage charges, and the overage of seats that come with credits, are always billed in arrears. Default:Arrearsfor usage charges,Advancefor the rest.valuesAdvanceArrears - charge
Type const:usageread-onlySet by Spondo Billing from
pricingType: the kind of charge. Returned, never sent. - costType: number
Plus Multiplier min:0What the period's AI cost is multiplied by: 1.3 bills the cost plus 30%.
- priceType:
Points Properties: 5Only each price point's
currencyis used; sendunitPrice0. - pricing
Model const:costPlusread-onlySet by Spondo Billing from
pricingType: how the charge is priced. Returned, never sent. - signalType: enum
Type What a usage charge bills for:
activity(work done) oroutcome(a result delivered, such as a resolved ticket). Both bill the same way; it labels the charge.valuesactivityoutcome
{
"pricingType": "UsageCostPlus",
"costPlusMultiplier": 1.3,
"billingFrequency": "Monthly",
"billingType": "Arrears",
"pricePoints": [
{
"currency": "USD",
"unitPrice": 0
}
]
}