Download Reports (Excel / CSV)
Every report for a date range in one .xlsx workbook: Profit & Loss by period, Balance Sheet, Spending By Vendor, Receivables and Payables (balances as of endDate). Amounts are numeric cells in the organization's currency format, built from the same services as the queries above, so they always agree. With format "csv", returns just the one report named by report (pnl, balance-sheet, vendors, receivable, payable) as plain rows: amounts to the cent with no symbols, ISO dates. Returns the file name, content type and the file as base64.
Parameters
organizationIdUUID!requiredOrganization ID
startDateDate!requiredStart of range (YYYY-MM-DD)
endDateDate!requiredEnd of range (YYYY-MM-DD); balance sheets are as of this date
granularityString"month" (default) or "quarter" for the P&L and vendor sheets
formatString"xlsx" (default, every report) or "csv" (one report)
reportStringFor csv: pnl, balance-sheet, vendors, receivable or payable