import { Company } from './Company'; import { LineItem } from './LineItem'; import { PaymentAllocation } from './PaymentAllocation'; import { Customer } from './Customer'; export interface Invoice { id: string; company_id: number; company: Company; external_id?: string; status: string; sent_at: Date; due_at: Date; paid_at?: Date; voided_at?: Date; invoice_number: string; recipient_name: string; line_items: LineItem[]; currency: string; subtotal: number; additional_discount?: number; additional_sales_taxes_total?: number; tips?: number; total_amount: number; outstanding_balance: number; payment_allocations: PaymentAllocation[]; imported_at: Date; updated_at?: Date; transaction_tags?: any; customer_id?: string; customer?: Customer; payment_terms?: string; }