Stripe Invoice
Stripe Invoice with amounts, payment status, and billing period tracking.
stripe
Install
$ npx shadcn@latest add @open-types/stripe-invoice
Dependencies
Source
import type { StripeMetadata } from "./stripe-shared";
export type StripeInvoiceStatus = "draft" | "open" | "paid" | "uncollectible" | "void";
export interface StripeInvoice {
id: string;
object: "invoice";
customer: string | null;
subscription: string | null;
status: StripeInvoiceStatus | null;
amount_due: number;
amount_paid: number;
amount_remaining: number;
currency: string;
due_date: number | null;
paid: boolean;
period_start: number;
period_end: number;
hosted_invoice_url: string | null;
invoice_pdf: string | null;
metadata: StripeMetadata;
created: number;
livemode: boolean;
}
import type { StripeMetadata } from "./stripe-shared";
export type StripeInvoiceStatus = "draft" | "open" | "paid" | "uncollectible" | "void";
export interface StripeInvoice {
id: string;
object: "invoice";
customer: string | null;
subscription: string | null;
status: StripeInvoiceStatus | null;
amount_due: number;
amount_paid: number;
amount_remaining: number;
currency: string;
due_date: number | null;
paid: boolean;
period_start: number;
period_end: number;
hosted_invoice_url: string | null;
invoice_pdf: string | null;
metadata: StripeMetadata;
created: number;
livemode: boolean;
}