export type Invoice = { readonly id?: number readonly invoice_number: string readonly po_number: string readonly due_date: string readonly amount_cents: number readonly created_at?: string } export type JSONValue = | string | number | boolean | { readonly [x: string]: JSONValue } | readonly JSONValue[]