Create an owner package
Builds the chosen reports for one owner over one period, bundles them into a single file, and returns the package with a download URL. Requires the reports:read permission.
Authorization
AuthorizationstringrequiredBody
application/json
The file is generated during the call — the response already carries a working fileUrl.
ownerIdstringrequiredThe owner to build the package for.
startDatestring · daterequiredFirst day of the period, read in the company's timezone.
endDatestring · daterequiredLast day of the period, read in the company's timezone. The whole day is included.
includeBillInvoicesbooleanrequiredtrue bundles the vendors' own invoice files in with the reports.
reportTypesenum<string>[]requiredWhich reports to include: any of balanceSheet, cashFlowStatement, incomeStatement and ownerStatement.
Response
200 · The package that was generated, with a download URL.
idstringSnowflake id of the package.
ownerIdstringThe owner it was built for.
startDatestring · date-timeFirst day of the period the package covers. Carries a UTC offset suffix.
endDatestring · date-timeLast moment of the period the package covers. Carries a UTC offset suffix.
includeBillInvoicesbooleanWhether the vendors' own invoice files were bundled in alongside the reports.
reportTypesstring[]Which reports went into the package. These come back in PascalCase, unlike the camelCase enums used elsewhere in the API.
fileIdstringThe generated file.
fileUrlstringA URL to download that file. Fetched fresh on every read, so do not store it — read the package again when you need it.
createdstring · date-timeWhen the package was generated. Carries a UTC offset suffix.