#.gabelbart
1 messages · Page 1 of 1 (latest)
Hey there, can you share an example object id that you're looking at?
See the request that created this without specifying a line item: https://dashboard.stripe.com/test/logs/req_h5P8olgrs7ETsB
This is just a credit note applying to the invoice overall: https://stripe.com/docs/invoicing/integration/programmatic-credit-notes
I created this one via the stripe dashboard. Is that the problem?
Possibly! I'm not sure how the Dashboard behaves, support might be able to help you with that. If you expected, for example, to specify a specific invoice line item, I'm not sure if/how you can do that in the dashboard
The doc i linked to shows how to do it with the API,though
So if you can't do what you need via Dashboard, I'd suggest using the API
To talk to someone about Dashboard functionality please contact support: https://support.stripe.com/contact
Ok, so when is cancel a subscription via api (setting cancel_at=future_date and proration_behavior=create_prorations) will the items be linked or will there be also a general credit note with a line type=custom_line_item?
Are you getting credit notes from a cancelation? Can you show an example?
Not so far. But I'd expect to when I enable prorations?!
Hi there. A credit note won't be created, but if you are cancelling a sub before the end of the billing period, then the customer balance should be adjusted as a proration
Ok, so if i want to create a credit note id have to
- diasable prorations
- cancel the sub
- manually create a credit note and calculate the amount manually
Is thet right?
Its a little bit confusing that depending from where in the stripe ecosystem I trigger a the cancel process the outcome is so much different.
What do you mean? Where is it different?
Yeah
When canceling from dashboard I get a credit note. But if i understand you right, in this situation "A credit note won't be created, but if you are cancelling a sub before the end of the billing period, then the customer balance should be adjusted as a proration" - no credit note is created though its also a cancellation.
Can you share the id of the credit note you're referring to?
I wasn't aware we did this, but we're not dashboard experts in here
cn_1Ng4HmHurCsNkwAvCswpNcSB <- created from dashboard "Cancel now, prorate."
Oh ok interesting
Yeah so if you want to mimic this behavior you can cancel sub disabling prorations like the dashboard did here: https://dashboard.stripe.com/test/logs/req_vgCvx5S7JUV3rM
Then you can create a credit note also as the dashboard did here: https://dashboard.stripe.com/test/logs/req_h5P8olgrs7ETsB
Ok, so things are indded much clearer for me, thank you for that. Unfortunately this means increased implementation obstacles for me but this should not be your problem. 😄
Thank you for your assistance!
No problem
Have a good weekend!