List one account's tax years with documents
Returns each tax year one owner or vendor has documents for, and how many.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
accountTypeenum<string>requiredWhich kind of account accountId names.
example: vendorownervendor
accountIdstringrequiredThe owner or vendor to count documents for. A Snowflake id sent as a decimal string.
example: 1822910038475120640
Response
200 · One entry per tax year, as a bare array.
calendarYearintegerThe tax year.
taxDocumentsCountintegerHow many documents that account has for the year.