Type alias ImportInvoiceItem

ImportInvoiceItem: {
    clientId: string;
    currency: string;
    date: string;
    dueDate?: string;
    invoiceNumber: number;
    lineItems: LineItem[];
    prefix?: string;
}

Type declaration

  • clientId: string

    Client against whom the invoice needs to be generated

  • currency: string

    Valid ISO 4217 currency code for the invoice

  • date: string

    The date of the invoice

  • Optional dueDate?: string

    Date that the payment of this invoice is due

  • invoiceNumber: number

    Imported invoice number.

  • lineItems: LineItem[]

    The line items of the invoice

  • Optional prefix?: string

    Custom prefix for this invoice. All invoices for a prefix series are guaranteed to have separate counters