New requirement for `out_of_band_amount` when creating post-payment credit notes
When creating a post-payment credit note on an invoice, out_of_band_amount is now required if the sum of credit_amount and (refund or refund_amount) is less than the credit note total. In previous API versions out_of_band_amount is optional and, in the case that the credit_amount and refund amounts are less than the credit note total, the difference was automatically be allocated to the out_of_band_amount.
docs.stripe.comquote checked
- behaviour change
- Your codeby hand
Nemotron fixes
In its own wordsmatches the page ✓
| [New requirement for `out_of_band_amount` when creating post-payment credit notes](https://docs.stripe.com/changelog/2019-12-03/post-payment-credit-note-requirement.md) | Billing, Invoicing | Breaking | api |
Also readmatches the page ✓
When [creating](https://docs.stripe.com/api/credit_notes/create.md?api-version=2024-06-20) a post-payment credit note on an invoice, [out_of_band_amount](https://docs.stripe.com/api/credit_notes/create.md?api-version=2024-06-20#create_credit_note-out_of_band_amount) is now required if the sum of `credit_amount` and (`refund` or `refund_amount`) is less than the credit note total. In previous API versions `out_of_band_amount` is optional and, in the case that the `credit_amount` and refund amounts are less than the credit note total, the difference was automatically be allocated to the `out_of_band_amount`.
What Teire looks for in your code
nothing to search for: checked by hand
Does it reach your code?