Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias Invoices

    a period's invoice totals before and after spool, in the invoice currency

    type Invoices = {
        after: number;
        before: number;
        currency: string;
        period: "month" | "year";
    }
    Index
    after: number

    invoice total for the same period with spool

    before: number

    invoice total for the period before spool

    currency: string

    the currency the totals are in, such as USD

    period: "month" | "year"

    whether the totals cover a month or a year