Defines the object schema located at components.schemas.credit_note in the specification.
Issue a credit note to adjust an invoice's amount after the invoice is finalized.
Related guide: Credit Notes.
Constructors
CreditNotecreditNoteAmount :: Intamount: The integer amount in %s representing the total amount of the credit note, including tax.
creditNoteCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
creditNoteCurrency :: Textcurrency: Three-letter ISO currency code, in lowercase. Must be a supported currency.
creditNoteCustomer :: CreditNoteCustomer'Variantscustomer: ID of the customer.
creditNoteCustomerBalanceTransaction :: Maybe (Nullable CreditNoteCustomerBalanceTransaction'NonNullableVariants)customer_balance_transaction: Customer balance transaction related to this credit note.
creditNoteDiscountAmount :: Intdiscount_amount: The integer amount in %s representing the total amount of discount that was credited.
creditNoteDiscountAmounts :: [DiscountsResourceDiscountAmount]discount_amounts: The aggregate amounts calculated per discount for all line items.
creditNoteId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
creditNoteInvoice :: CreditNoteInvoice'Variantsinvoice: ID of the invoice.
creditNoteLines :: CreditNoteLines'lines: Line items that make up the credit note
creditNoteLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
creditNoteMemo :: Maybe (Nullable Text)memo: Customer-facing text that appears on the credit note PDF.
Constraints:
Maximum length of 5000
creditNoteMetadata :: Maybe (Nullable Object)metadata: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
creditNoteNumber :: Textnumber: A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
Constraints:
Maximum length of 5000
creditNoteOutOfBandAmount :: Maybe (Nullable Int)out_of_band_amount: Amount that was credited outside of Stripe.
creditNotePdf :: Textpdf: The link to download the PDF of the credit note.
Constraints:
Maximum length of 5000
creditNoteReason :: Maybe (Nullable CreditNoteReason'NonNullable)reason: Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`
creditNoteRefund :: Maybe (Nullable CreditNoteRefund'NonNullableVariants)refund: Refund related to this credit note.
creditNoteStatus :: CreditNoteStatus'status: Status of this credit note, one of `issued` or `void`. Learn more about voiding credit notes.
creditNoteSubtotal :: Intsubtotal: The integer amount in %s representing the amount of the credit note, excluding exclusive tax and invoice level discounts.
creditNoteSubtotalExcludingTax :: Maybe (Nullable Int)subtotal_excluding_tax: The integer amount in %s representing the amount of the credit note, excluding all tax and invoice level discounts.
creditNoteTaxAmounts :: [CreditNoteTaxAmount]tax_amounts: The aggregate amounts calculated per tax rate for all line items.
creditNoteTotal :: Inttotal: The integer amount in %s representing the total amount of the credit note, including tax and all discount.
creditNoteTotalExcludingTax :: Maybe (Nullable Int)total_excluding_tax: The integer amount in %s representing the total amount of the credit note, excluding tax, but including discounts.
creditNoteType :: CreditNoteType'type: Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid.
creditNoteVoidedAt :: Maybe (Nullable Int)voided_at: The time that the credit note was voided.
Instances4Eq, Show, FromJSON, ToJSON
Eq CreditNoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.CreditNoteShow CreditNoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.CreditNoteFromJSON CreditNoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.CreditNoteToJSON CreditNoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.CreditNote