Lager - v5.2.0
    Preparing search index...

    Describes the structure for updating an existing invoice's information.

    UpdateInvoice

    interface UpdateInvoice {
        api_key: string;
        creation_date?: Date;
        due_date?: Date;
        id: number;
        order_id?: number;
        total_price?: number;
    }
    Index

    Properties

    api_key: string

    An API key required for authentication to update the invoice.

    creation_date?: Date

    Optional. The date when the invoice was or is to be created.

    due_date?: Date

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

    id: number

    The unique identifier of the invoice to be updated.

    order_id?: number

    Optional. The identifier of the order associated with the invoice.

    total_price?: number

    Optional. The total price or cost represented by the invoice.