CreditNoteCreateRequestinvoice_idstringRequiredThe invoice unique identifier.Formatuuidreasonenum<CreditNoteReason>OptionalThe reason for credit note creationValue in"DUPLICATED_CHARGE" | "PRODUCT_UNSATISFACTORY" | "ORDER_CHANGE" | "ORDER_CANCELLATION" | "FRAUDULENT_CHARGE" | "OTHER"descriptionstringOptionalThe description of the credit note.credit_amountobject<AmountNoCurrency | null>OptionalThe total amount to be credited on the customer balance.One of the following types2 typesAmountNoCurrencyAmountNoCurrency properties1 propertyvaluenumberRequiredThe amount value in the corresponding currency unit (e.g., two decimals for USD, no decimals for JPY).Default0FormatdecimalRange0 <= value <= ∞nullrefund_amountobject<AmountNoCurrency | null>OptionalThe total amount to be refunded to the customer.One of the following types2 typesAmountNoCurrencyAmountNoCurrency properties1 propertyvaluenumberRequiredThe amount value in the corresponding currency unit (e.g., two decimals for USD, no decimals for JPY).Default0FormatdecimalRange0 <= value <= ∞nullitemsobject<object>[]RequiredThe list of credit note's items.Items1 <= length <= ∞object properties2 propertiesfee_idstringRequiredThe fee unique identifier.Formatuuidamountobject<AmountNoCurrency>RequiredThe amount of the credit note item.AmountNoCurrency properties1 propertyvaluenumberRequiredThe amount value in the corresponding currency unit (e.g., two decimals for USD, no decimals for JPY).Default0FormatdecimalRange0 <= value <= ∞