# TaxBandits

> Read TaxBandits businesses, W-9 requests, 1099-NEC filings and W-2 filings.

App · 8 actions. Web page: https://docs.lodol.com/docs/integrations/taxbandits

## Actions

### Get 1099-NEC filing

Read the returns belonging to a single 1099-NEC submission.

**Inputs**

- Submission id (`submission_id`, text, required): Submission id.
- Record ids (`record_ids`, list): Record ids.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "Form1099Records": {
      "ReturnData": [],
      "ReturnHeader": {
        "Business": {}
      },
      "StateReconData": "example",
      "SubmissionManifest": {
        "IRSFilingType": "example",
        "IsFederalFiling": false,
        "IsOnlineAccess": false,
        "IsPostal": false,
        "IsScheduleFiling": false,
        "IsStateFiling": false,
        "ScheduleFiling": {},
        "SubmissionId": "example",
        "TaxYear": "example"
      }
    },
    "StatusCode": 1,
    "StatusMessage": "example",
    "StatusName": "example"
  }
}
```

### Get business

Read one TaxBandits business by ID.

**Inputs**

- Business (`business_id`, text, required): Business id.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "Business": {
      "ACADetails": {
        "FirstName": "example",
        "IsGovernmentalUnit": false,
        "LastName": "example",
        "MiddleName": "example",
        "Phone": "example",
        "Suffix": "example"
      },
      "BusinessId": "example",
      "BusinessNm": "example",
      "BusinessType": "example",
      "ContactNm": "example",
      "EINorSSN": "example",
      "Email": "example",
      "Fax": "example",
      "ForeignAddress": {
        "Address1": "example",
        "Address2": "example",
        "City": "example",
        "Country": "example",
        "PostalCd": "example",
        "ProvinceOrStateNm": "example"
      },
      "IsBusinessTerminated": false,
      "IsEIN": false,
      "IsForeign": false,
      "KindOfEmployer": "example",
      "KindOfPayer": "example",
      "PayerRef": "example",
      "Phone": "example",
      "PhoneExtn": "example",
      "SigningAuthority": {
        "BusinessMemberType": "example",
        "Name": "example",
        "Phone": "example"
      },
      "TradeNm": "example",
      "USAddress": {
        "Address1": "example",
        "Address2": "example",
        "City": "example",
        "State": "example",
        "ZipCd": "example"
      }
    },
    "StatusCode": 1,
    "StatusMessage": "example",
    "StatusName": "example"
  }
}
```

### Get W-2 filing

Read the returns belonging to a single W-2 submission.

**Inputs**

- Submission id (`submission_id`, text, required): Submission id.
- Record ids (`record_ids`, list): Record ids.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "FormW2Records": {
      "ReturnData": [],
      "ReturnHeader": {
        "Business": {}
      },
      "StateReconData": "example",
      "SubmissionManifest": {
        "IsFederalFiling": false,
        "IsOnlineAccess": false,
        "IsPostal": false,
        "IsScheduleFiling": false,
        "IsStateFiling": false,
        "ScheduleFiling": "example",
        "SubmissionId": "example",
        "TaxYear": "example"
      }
    },
    "StatusCode": 1,
    "StatusMessage": "example",
    "StatusName": "example"
  }
}
```

### Get W-9

Read a W-9 using the payee reference or email address.

**Inputs**

- Business (`business_id`, text): Business id.
- Payee ref (`payee_ref`, text): Payee ref.
- Email (`email`, text): Email.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "Email": "example",
    "FormData": {
      "AccountNum": "example",
      "Address": {
        "Address1": "example",
        "Address2": "example",
        "City": "example",
        "State": "example",
        "ZipCd": "example"
      },
      "ExemptFromFATCA": "example",
      "ExemptPayeeCd": "example",
      "FederalTaxClassification": "example",
      "FirstNm": "example",
      "IsBackUpWH": false,
      "IsDAExemptBroker": false,
      "IsLine3b": false,
      "LastNm": "example",
      "Line1Nm": "example",
      "Line2Nm": "example",
      "MiddleNm": "example",
      "Suffix": "example",
      "TIN": "example",
      "TINType": "example"
    },
    "FormW9RequestType": "example",
    "PayeeRef": "example",
    "PdfUrl": "example",
    "RecipientId": "example",
    "Requester": {
      "BusinessId": "example",
      "BusinessNm": "example",
      "DBAId": "example",
      "DBARef": "example",
      "FirstNm": "example",
      "LastNm": "example",
      "MiddleNm": "example",
      "PayerRef": "example",
      "Suffix": "example",
      "TIN": "example",
      "TINType": "example"
    },
    "StatusTs": "example",
    "SubmissionId": "example",
    "TINMatching": {
      "Errors": "example",
      "Status": "example",
      "StatusTs": "example"
    },
    "W9Status": "example"
  }
}
```

### List 1099-NEC filings

Find 1099-NEC filings by date, year or filing status.

**Inputs**

- Business (`business_id`, text): Business id.
- Submission id (`submission_id`, text): Submission id.
- Tax year (`tax_year`, text): Tax year. One of: `2023`, `2024`, `2025`.
- Efile status (`efile_status`, text): Efile status. One of: `CREATED`, `UNDERPROCESS`, `SENTTOAGENCY`, `TRANSMITTED`, `ACCEPTED`, `REJECTED`.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 100.
- From date (`from_date`, date): From date.
- To date (`to_date`, date): To date.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "Form1099Records": [],
    "Form1099Type": "example",
    "Page": 1,
    "PageSize": 1,
    "StatusCode": 1,
    "StatusMessage": "example",
    "StatusName": "example",
    "TotalPages": 1,
    "TotalRecords": 1
  }
}
```

### List businesses

Find TaxBandits businesses created in a date range.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 100.
- From date (`from_date`, date): From date.
- To date (`to_date`, date): To date.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "Business": [],
    "Page": 1,
    "PageSize": 1,
    "StatusCode": 1,
    "TotalPages": 1,
    "TotalRecords": 1
  }
}
```

### List W-2 filings

Find W-2 filings by date, year or filing status.

**Inputs**

- Business (`business_id`, text): Business id.
- Submission id (`submission_id`, text): Submission id.
- Tax year (`tax_year`, text): Tax year. One of: `2023`, `2024`, `2025`.
- Efile status (`efile_status`, text): Efile status. One of: `CREATED`, `UNDERPROCESS`, `SENTTOAGENCY`, `TRANSMITTED`, `ACCEPTED`, `REJECTED`.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 100.
- From date (`from_date`, date): From date.
- To date (`to_date`, date): To date.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "FormW2Records": [],
    "Page": 1,
    "PageSize": 1,
    "StatusCode": 1,
    "StatusMessage": "example",
    "StatusName": "example",
    "TotalPages": 1,
    "TotalRecords": 1
  }
}
```

### List W-9 requests

Find W-9 requests by business, date or status.

**Inputs**

- Business (`business_id`, text): Business id.
- Submission id (`submission_id`, text): Submission id.
- Payee ref (`payee_ref`, text): Payee ref.
- W9 status (`w9_status`, text): W9 status. One of: `SENT`, `ORDER_CREATED` (Order created), `SCHEDULED`, `URL_GENERATED` (Url generated), `OPENED`, `COMPLETED`, `COMPLETED_AND_TIN_MATCH_INPROGRESS` (Completed and tin match inprogress), `INVALID`, `BOUNCED`, `ALL`.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 100.
- From date (`from_date`, date): From date.
- To date (`to_date`, date): To date.

**Outputs**

- `data` (object): The response from TaxBandits.

**Example output**

```json
{
  "data": {
    "FormW9Records": [],
    "Page": 1,
    "PageSize": 1,
    "Requester": {
      "BusinessId": "example",
      "BusinessNm": "example",
      "TIN": "example",
      "TINType": "example"
    },
    "TotalPages": 1,
    "TotalRecords": 1
  }
}
```
