Function: getInvoiceShelf()
getInvoiceShelf(
facilityId,weekStartIso):Promise<{data:InvoiceShelfData;ok:true; } | {error:string;ok:false; }>
Defined in: src/server/actions/invoicing.ts:26
Read a facility's billing detail for the Invoice shelf (owner or staff may view).
Parameters
facilityId
string
weekStartIso
string
Returns
Promise<{ data: InvoiceShelfData; ok: true; } | { error: string; ok: false; }>