Vendor tax documents

Get one vendor's tax amount for a year

Works out what a single vendor was paid over a tax year and whether a 1099-NEC already exists or has gone stale. Nothing is created.

GET
https://api.portal.magicdoor.com/company-app/vendors/tax-documents/{vendorId}/amounts/{calendarYear}

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

vendorIdstringrequired

The vendor to work out the figure for. A Snowflake id sent as a decimal string.

example: 1822910038475120640
calendarYearintegerrequired

The tax year to work out the figure for.

example: 2025

Response

200 · The vendor's figure for that year. The body is empty when the vendor had no activity in the year.

accountIdstring

The vendor the figure is for.

calendarYearinteger

The tax year the figure covers.

amountnumber

What the vendor was paid over the year, in dollars and cents, rounded to the cent. This is what goes in box 1 of the 1099-NEC.

documentAlreadyExistsboolean

true when a 1099-NEC has already been generated for this vendor and year.

amountHasChangedboolean

true when the figure has moved since the existing document was generated, so it needs regenerating.

hasTaxIdboolean

true when the vendor has federal tax information on file. A 1099 cannot be filed without it.

vendorobject

The vendor, as the full vendor record. Absent when the vendor could not be resolved.

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

404 · No vendor with that id exists for the caller's company.