HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.CreditNote

Contains the types generated from the schema CreditNote

  • 9 types
  • 2 values
datadata CreditNote
#

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

Instances4Eq, Show, FromJSON, ToJSON

Create a new CreditNote with all required fields.

Defines the oneOf schema located at components.schemas.credit_note.properties.customer.anyOf in the specification.

ID of the customer.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.credit_note.properties.customer_balance_transaction.anyOf in the specification.

Customer balance transaction related to this credit note.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.credit_note.properties.invoice.anyOf in the specification.

ID of the invoice.

Instances4Eq, Show, FromJSON, ToJSON
datadata CreditNoteLines'
#

Defines the object schema located at components.schemas.credit_note.properties.lines in the specification.

Line items that make up the credit note

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.credit_note.properties.reason in the specification.

Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.credit_note.properties.refund.anyOf in the specification.

Refund related to this credit note.

Instances4Eq, Show, FromJSON, ToJSON
datadata CreditNoteStatus'
#

Defines the enum schema located at components.schemas.credit_note.properties.status in the specification.

Status of this credit note, one of `issued` or `void`. Learn more about voiding credit notes.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata CreditNoteType'
#

Defines the enum schema located at components.schemas.credit_note.properties.type in the specification.

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.

Constructors

Instances4Eq, Show, FromJSON, ToJSON