Lager - v5.2.0
    Preparing search index...

    Defines the structure for creating a new invoice, typically used when submitting data from a form.

    NewInvoice

    interface NewInvoice {
        api_key: string;
        creation_date?: string;
        due_date?: string;
        order_id: number;
        total_price: number;
    }
    Index

    Properties

    api_key: string

    An API key required for authentication to create an invoice.

    creation_date?: string

    Optional. The date when the invoice is created.

    due_date?: string

    Optional. The date by which the invoice should be paid.

    order_id: number

    The identifier of the order associated with the new invoice.

    total_price: number

    The total price or cost represented by the new invoice.