Name | Type | Description | Notes |
---|---|---|---|
invoiceId | UUID | The invoice unique identifier, created by Lago. | |
reason | ReasonEnum | The reason of the credit note creation. Possible values are `duplicated_charge`, `product_unsatisfactory`, `order_change`, `order_cancellation`, `fraudulent_charge` or `other`. | [optional] |
description | String | The description of the credit note. | [optional] |
creditAmountCents | Integer | The total amount to be credited on the customer balance. | [optional] |
refundAmountCents | Integer | The total amount to be refunded to the customer. | [optional] |
items | List<CreditNoteEstimateInputCreditNoteItemsInner> | The list of credit note’s items. |
Name | Value |
---|---|
DUPLICATED_CHARGE | "duplicated_charge" |
PRODUCT_UNSATISFACTORY | "product_unsatisfactory" |
ORDER_CHANGE | "order_change" |
ORDER_CANCELLATION | "order_cancellation" |
FRAUDULENT_CHARGE | "fraudulent_charge" |
OTHER | "other" |