# Collect an example W-8BEN/BENE

Source: https://developer.avalara.com/products/avalara-1099-and-w9/integration-guides/1099-and-w-9/yhy6296118323316/

Guide: 1099 & W-9

# Collect an example W-8BEN/BENE

Use the Avalara 1099 & W-9 API example to request a W-8BEN or W-8BENE form instead of a W-9.

Before you begin

Sign in to the API documentation portal.

About this task

Use this procedure to collect a W-8BEN or W-8BENE form instead of a W-9 form by using the Avalara 1099 & W-9 API.

Steps

1.  Create a W-8 `form_request` by using the Avalara 1099 & W-9 API documentation.

    Follow the same steps that you used to create the W-9 example.

2.  After you update the `form_request` in `w9-example.html`, update the JavaScript method from `Avalara1099.requestW9()` to either `Avalara1099.requestW8BEN()` or `Avalara1099.requestW8BENE()`.

    For example, update the method in line 50 of the file.