CustomerInvoiceHeader Table
Purpose: The invoice-level billing record. This is where the sales order becomes revenue, credit, payment terms, due dates, and posting status.
Contains: Invoice numbers, bill-to customer codes, invoice dates, totals, tax amounts, document type, paid/due dates, fiscal periods, source sales order references, and shipping header links.
CustomerInvoiceDetail Table
Purpose: The invoice line items under an invoice header. This is where billed products, quantities, and line-level revenue can be analyzed.
Contains: Invoice detail rows, invoice header links, item codes, ordered/billed quantities, customer order references, job references, and sales order detail links.
CustomerEntity Table
Purpose: The customer master record used as a lookup from orders, invoices, and shipping documents.
Contains: Customer codes, names, contact information, addresses, groups, payment terms, currency, active status, and accounting customer links.
Invoice Profitability View Derived view
Purpose: A reporting concept that compares invoice revenue against production cost. It is not a confirmed Genius source table in this map.
Contains: A proposed rollup of invoice revenue, production cost, and margin/profitability measures after the cost model is fully proven.