Protected ReadonlydbStaticinstanceThe process default: built from each dependency's own instance().
ProtectedforOptionalcustomerIds?: string[]Optionalescalated?: booleanOmit for both; true keeps only invoices escalated to ops.
Optionalids?: string[]Optionalpage?: numberOptionalpageSize?: numberOptionalpaid?: booleanOmit for both; false keeps only months with no COMPLETED charge.
OptionalperiodKeys?: string[]Optionalvoided?: booleanOmit for both; false keeps only the live invoice of each month.
Optionalwaived?: booleanOmit for both; false drops waived invoices.
Read side, so a reader such as the email lambda needs only a database.