OptionalautoLet Stripe automatically finalize and (for charge_automatically) pay the
invoice. Leave false to keep it a draft you finalize yourself.
OptionalcollectionHow the invoice is collected.
Customer the invoice is billed to
OptionaldaysDays until due — only valid with collectionMethod: 'send_invoice'
OptionaldescriptionArbitrary description shown on the invoice
OptionalidempotencyIdempotency key (defaults to a generated UUID)
OptionalmetadataKey/value metadata attached to the invoice
OptionalsubscriptionAttach the invoice to an existing subscription
Options for creating an invoice.