Type alias UpdateInvoiceRequestBody

UpdateInvoiceRequestBody: {
    clientId?: string;
    currency?: string;
    date?: string;
    discountType?: UpdateInvoiceRequestBody.discountType;
    discountValue?: number;
    dueDate?: string;
    lineItems?: LineItem[];
    notes?: string;
    status?: UpdateInvoiceRequestBody.status;
}

Type declaration

  • Optional clientId?: string

    ID of the client

  • Optional currency?: string

    Currency of the invoice

  • Optional date?: string

    Date of the invoice

  • Optional discountType?: UpdateInvoiceRequestBody.discountType

    Type of discount

  • Optional discountValue?: number

    Discount value for the invoice

  • Optional dueDate?: string

    Due date of the invoice

  • Optional lineItems?: LineItem[]

    Line items in the invoice

  • Optional notes?: string

    Notes for the invoice

  • Optional status?: UpdateInvoiceRequestBody.status

    Status of the invoice