| Name | Type | Description | Notes |
|---|---|---|---|
| generate_credit_note | bool | Set to `true` to force voiding the invoice and generate a credit note. | [optional] |
| refund_amount | int | Portion of the invoice amount (in cents) to be refunded to the customer in the generated credit note. | [optional] |
| credit_amount | int | Portion of the invoice amount (in cents) to be credited to the customer's balance in the generated credit note. | [optional] |