#elBR-coupon-invoice

1 messages · Page 1 of 1 (latest)

delicate wadi
#

Hi 👋 it looks like the coupon might only be applying to the product and isn't being applied to the proration line item, can you share the ID of that Invoice?

sullen bobcat
#

in_1LriLDEMyoEBRsWZSMEBCtgZ

delicate wadi
#

Thank you, please bear with me while I pull that up.

#

What I'm seeing, is that the coupon is only calculating a discount for the line item with a positive amount.

#

I'm trying to confirm whether that is expected behavior.

delicate wadi
#

Thank you for your patience, I do believe this is expected. Since you're creating the Invoice Items for this flow, you have control over the amount that you provide for the negative line item.

Also, based on the description that you provided, your negative line item looks like it is for the refund portion of a proration so you may not want the coupon/discount to apply to it if the previously paid amount wasn't also discounted.