List tax years with documents
Returns each tax year the company has documents for and how many, for owners or for vendors.
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 to count documents for.
example: vendorownervendor
Response
200 · One entry per tax year, as a bare array.
calendarYearintegerThe tax year.
taxDocumentsCountintegerHow many documents the company has for that year and account type.