InvoiceLine
One billable line item on an invoice.
idinteger
invoiceIdinteger
subjectKindstring
Which kind of billable thing this line covers; subjectRef names the specific one.
Possible values: [dataset, endpoint, model]
subjectRefstring
ID of the specific dataset, endpoint, or AI model this line covers.
descriptionstring
quantitynumber
unitstring
ratePerUnitnumber
Rate applied per unit, in the invoice's billing currency.
amountnumber
Line amount in the invoice's billing currency (quantity * ratePerUnit, currency-converted from nativeAmount where applicable).
nativeAmountnumber
Line amount in its original native currency, before conversion to the invoice's billing currency.
nativeCurrencystring
ISO 4217 currency code nativeAmount is denominated in.
appliedRateIdinteger | nullnullable
ID of the rate-catalog entry applied to this line, null if none was applied.
sourceRefsobject | nullnullable
Free-form JSON pointing back to the usage records this line was generated from.
createdAtstring<date-time>
InvoiceLine
{
"id": 0,
"invoiceId": 0,
"subjectKind": "dataset",
"subjectRef": "string",
"description": "string",
"quantity": 0,
"unit": "string",
"ratePerUnit": 0,
"amount": 0,
"nativeAmount": 0,
"nativeCurrency": "string",
"appliedRateId": 0,
"sourceRefs": "Unknown Type: object,null",
"createdAt": "2024-07-29T15:51:28.071Z"
}