#withapain
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I follow your question, the Usage Record object don't have start/end dates: https://stripe.com/docs/api/usage_records/object
you do report timestamp, however
where does it end up? What I mean is this part:
"end": null,
"start": null
},
Can you share the object ID where you see this?
It is in the code above
"id": "sis_1N6sKuHzzIMXxbBCy3oL5hbm",
"invoice": null,
"livemode": false,
"object": "usage_record_summary",
"period": {
"end": null,
"start": null
},
Thanks! Give me a few minutes to look into this.
hi! it's a bit confusing but you get these null periods whenever we're trying to surface a period summary for the current period, before it's been invoiced
in the API ref it mentions
Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.
and this is what it's referring to
In my case we have a billing_threshold. Let's assume it is met and customer needs to pay.
I assume at this point end will get filled.
What about start though? Does it get filled at that time as well?
Hey! Taking over for my colleague.
the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.
https://stripe.com/docs/api/usage_records/subscription_item_summary_list#:~:text=added%2C the returned-,summary,-information for the
This is valid for all fields of the summary item. You can rely on the summary only for previous periodes.