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.
Authorization
AuthorizationstringrequiredPath parameters
vendorIdstringrequiredThe vendor to work out the figure for. A Snowflake id sent as a decimal string.
calendarYearintegerrequiredThe tax year to work out the figure for.
Response
200 · The vendor's figure for that year. The body is empty when the vendor had no activity in the year.
accountIdstringThe vendor the figure is for.
calendarYearintegerThe tax year the figure covers.
amountnumberWhat 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.
documentAlreadyExistsbooleantrue when a 1099-NEC has already been generated for this vendor and year.
amountHasChangedbooleantrue when the figure has moved since the existing document was generated, so it needs regenerating.
hasTaxIdbooleantrue when the vendor has federal tax information on file. A 1099 cannot be filed without it.
vendorobjectThe vendor, as the full vendor record. Absent when the vendor could not be resolved.