Schema reference¶
Kipper exposes your accounting data as read-only SQL views. This page lists every view, with its columns, types, allowed values and joins. What you can query depends on your permission set, so you may see only some of these views.
"Populated by" is which connectors write data into a view. A view no connector populates returns no rows rather than an error, so it is stated per view rather than left to be discovered.
| View | Description | Populated by |
|---|---|---|
v_ai_bom_transaction_lines |
Component line items within a bill of materials revision. | NetSuite |
v_ai_bom_transactions |
Bills of materials. type='bom' is the BOM header (the product definition); type='bomrevision' is a version of a BOM. NOT financial documents. 'BOMs' means type='bom' unless the user asks about revisions/versions. | NetSuite |
v_ai_companies |
Customers, vendors, employees, and contacts from the source accounting system | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_items |
Products and services catalog (inventory, non-inventory, service, group, category items) | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_ledger_lines |
General ledger: every debit/credit posting line the accounting system generates, for every transaction type. Accrual basis. amount is signed (debit positive, credit negative). | QuickBooks Online |
v_ai_metadata |
Reference/lookup data: accounts, classes, departments, locations, tax codes, terms, payment methods | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_payment_transactions |
Applied-amount links between documents. Each row applies an amount from a payment, credit note, or prepayment/overpayment to the document it settles — usually an invoice or bill, but also a prepayment/overpayment when a payment refunds one. | QuickBooks Online, QuickBooks Desktop, Xero |
v_ai_payment_transactions_all |
Applied-amount links between documents, same as v_ai_payment_transactions but including links belonging to voided transactions. Use v_ai_payment_transactions for everyday questions; use this view only when the user explicitly asks about voided/cancelled transactions. | QuickBooks Online, QuickBooks Desktop, Xero |
v_ai_report_lines |
Individual account lines within financial reports | QuickBooks Online, Xero, NetSuite |
v_ai_reports |
Financial reports: Balance Sheet, Profit & Loss, Trial Balance, Cash Flow | QuickBooks Online, Xero, NetSuite |
v_ai_transaction_lines |
Individual line items within transactions (products, services, expenses, discounts) | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_transaction_lines_all |
Line items within transactions, same as v_ai_transaction_lines but including lines belonging to voided transactions. Use v_ai_transaction_lines for everyday questions; use this view only when the user explicitly asks about voided/cancelled transactions. | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_transactions |
Financial documents: invoices, bills, payments, credit memos, journal entries, checks, purchase orders, prepayments and overpayments (customer or vendor money held in advance) | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |
v_ai_transactions_all |
Financial documents, same as v_ai_transactions but including voided ones. Use v_ai_transactions for everyday questions; use this view only when the user explicitly asks about voided/cancelled transactions. | QuickBooks Online, QuickBooks Desktop, Xero, NetSuite |