#mmmmjjjj - credit note
1 messages · Page 1 of 1 (latest)
yes
Yeah credit note should work. You could also use the refunds api: https://stripe.com/docs/refunds#api
Or the dashboard: https://stripe.com/docs/refunds#dashboard
so I can create a credit note record with 0.5 quantity line item. do I understand correctly?
Yeah although i think you'll have to do it by amount instead of quantity. I don't think you can pass a decimal quantity
You can always test out these scenarios in test mode
Hopping in since @velvet saffron has to head out soon but want to confirm what was said earlier - you cannot have a decimal quantity when creating the credit note. You'll want to use lines.type: custom_line_item, set lines.quantity: 1 and then specify the amount you want to refund in lines.unit_amount
so I should create a credit notes with amount instead of quantity?
You need both when using custom_line_item - as I said earlier, you'd set quantity: 1 AND set unit_amount to whatever amount you want
what if I need to refund again for the same invoice because the credit note was created with quantity: 1 and I need to create a credit note for refund again
It's a custom_line_item so you should be able to generate another credit note as long as the total from all credit notes is less than the total for the invoice
Okay, That's makes sense and more clear to me. Thank you karbi and codename_duchess
👍