#mmmmjjjj - credit note

1 messages · Page 1 of 1 (latest)

velvet saffron
#

You just want to refund 50% of only 1 specific invoice?

calm shoal
#

yes

velvet saffron
calm shoal
#

so I can create a credit note record with 0.5 quantity line item. do I understand correctly?

velvet saffron
#

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

raven sphinx
#

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

calm shoal
#

so I should create a credit notes with amount instead of quantity?

raven sphinx
#

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

calm shoal
#

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

raven sphinx
#

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

calm shoal
#

Okay, That's makes sense and more clear to me. Thank you karbi and codename_duchess

raven sphinx
#

👍