Tax document lookups

List one account's tax years with documents

Returns each tax year one owner or vendor has documents for, and how many.

GET
https://api.portal.magicdoor.com/company-app/tax-documents/{accountType}/tax-years/{accountId}

Authorization

Authorizationstringrequired
Bearer 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>required

Which kind of account accountId names.

example: vendorownervendor
accountIdstringrequired

The 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.

calendarYearinteger

The tax year.

taxDocumentsCountinteger

How many documents that account has for the year.

401 · The access token is missing, expired, or does not belong to a property manager.