Function: fetchCompanyAccountInvoices()
fetchCompanyAccountInvoices(
svc,companyId):Promise<SectionRead<StatementInvoiceRead>>
Defined in: src/db/queries/ar.ts:418
The same rows for the WHOLE company — the Billed drill-down's read. A separate export (rather
than an optional param on fetchStatementInvoices) so a statement can never silently widen to
every facility by dropping an argument.
Parameters
svc
SupabaseClient
companyId
string
Returns
Promise<SectionRead<StatementInvoiceRead>>