Form 1099 Auto-Generation Webhook
When the 1099s are auto-generated by TaxBandits based on the transactions, you will be notified via this Webhook.
Steps to Configure Webhook for Business Complete
-
Log in to the Developer Console Site. Navigate to Settings >> Webhook Notifications.
a. Click the Add Webhook button and choose the Event Type as ‘Form 1099 Auto-Generation’.
-
Enter the callback URL and click on the Submit button. Ensure that the callback URL you enter is valid, as the API will authenticate this URL by posting a sample JSON. The URL will be activated only when we receive the 200 response. You must follow these best practices to have a valid callback URL for Webhook.
-
Then, provide a Notify email. This email will be used by TaxBandits to notify you regarding any failed attempts of Webhook posting.
Different Statuses
Following are the different types of status codes that you will receive through Webhooks
- Draft - The draft version of 1099 forms are generated.
- Transmitted - The 1099 forms are transmitted to the IRS and respective stage agencies.
Receive Webhook Requests from API
Once the Webhooks are configured and the callback URL is authenticated by receiving a 200 response using a sample post, our API will start issuing an HTTP Post to the URL when TaxBandits auto-generates the 1099 forms based on the transactions you recorded. The request’s POST parameter will contain JSON data.
Here is the sample Webhook Post:
{
"SubmissionId": "6ceafae2-c830-411c-b1c0-86f5db363104",
"BusinessId": "6a0628bc-7b9c-40c6-9a39-b16848c45b88",
"PayerRef": "178956",
"TaxYear": "2023",
"NoOf1099s": 1,
"Form1099NECRecords":[
{
"RecordId": "0b4312b2-6d39-40a2-a16b-b28ede05f337",
"RecipientId": "731a46b8-f4a7-404d-abeb-5a972996f685",
"PayeeRef": "478596",
"NECBox1": 5263.82,
"NECBox4": 0,
"FederalReturn": {
"Status": "DRAFT",
"StatusTs": "2023-12-11 08:08:02 -05:00",
"Info": null
}
}
]
}
Respond to Webhook Post from API
You must respond to the Webhook post by sending an HTTP 200 OK Response. Any other code other than 200 will be treated as an incomplete call. This API does not support 301 redirects, which will be treated as an error. Learn more
You are required to initiate a response to our Webhook request within 5 seconds, if not, the request will be treated as timeout. If the API doesn’t receive a response during the 5-second time window or in case of an error, it will attempt to retry the connection a total of 9 times within 24 hours.
Before you respond to a Webhook request, you must validate if the request was sent from TaxBandits. To learn how to validate Webhook requests, click here.