Create or replace one vendor's tax document
Generates a 1099-NEC for one vendor and tax year with the amount you supply, replacing any document already generated for that vendor and year. Generation is asynchronous — the returned document only carries a documentUrl once status reaches completed.
Authorization
AuthorizationstringrequiredPath parameters
vendorIdstringrequiredThe vendor the document is for. A Snowflake id sent as a decimal string.
taxTypeenum<string>requiredWhich form to generate. Vendors take nec — the 1099-NEC. misc is rejected for a vendor.
calendarYearintegerrequiredThe tax year the document reports.
Body
application/json
accountId is part of this body but the vendor actually used is the one in the path.
accountIdstringrequiredThe vendor the amount belongs to. A Snowflake id sent as a decimal string.
amountnumberrequiredWhat the vendor was paid over the year, in dollars and cents — box 1 of the 1099-NEC.
Response
200 · The tax document. Poll the list endpoints until `status` is `completed` before using `documentUrl`.
idstringThe tax document. A Snowflake id sent as a decimal string.
calendarYearintegerThe tax year the document reports.
taxDocumentTypeenum<string>Which 1099 form this is. misc is the 1099-MISC used for owners; nec is the 1099-NEC used for vendors.
entityIdstringThe owner or vendor the document is for, depending on which endpoint returned it. Absent when the record has no account on it.
entityNamestringThat owner's or vendor's name, for display. Absent when the account could not be resolved.
amountnumberWhat the vendor was paid over the year, in dollars and cents — box 1 of the 1099-NEC.
statusenum<string>How far generating the PDF has got. Only completed means documentUrl is there to download.
taskErrorMessagestringWhy generation failed. Absent unless status is failed.
documentNamestringThe file name of the generated PDF. Absent until it has been generated.
documentUrlstringA signed, time-limited URL to download the generated PDF. Absent until it has been generated.
irsStatusstringWhere this document sits in an IRS electronic filing, when it has been included in one. Absent when it has not been filed.
annotationsobject[]Where each value is drawn on the PDF form. Only needed to render or overlay the form yourself.
createdAtstring · date-timeWhen the document was created, in the company's timezone.
updatedAtstring · date-timeWhen it last changed, in the company's timezone. Absent when it has never changed.