#kayl1107
1 messages · Page 1 of 1 (latest)
i tried to get the usaged record , its not here
Looks like there are API fields for both of these on the invoice object
https://stripe.com/docs/api/invoices/object#invoice_object-subtotal
https://stripe.com/docs/api/invoices/object#invoice_object-amount_due
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how do i know the invoice id? its not yet generated
its null on the usage record summary
Oh apologies, I missed that that was an upcoming invoice in your screenshot, there is an endpoint for upcoming invoices, you can provide the customer ID I believe https://stripe.com/docs/api/invoices/upcoming
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ohhh i see, i will try it. thank you very much
got it, thank you
have a nice day
Glad that worked!