from pydantic import BaseModel, Field


class StripeInvoice(BaseModel):
    id: str
    amount_due: float
    amount_paid: float
    amount_remaining: float
    currency: str
    customer: str
    status: str
    created: int
    due_date: int | None
    invoice_pdf: str | None
    hosted_invoice_url: str | None
    number: str
    paid: bool
    period_start: int
    period_end: int
    subscription: str | None
