Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/A1099/V2/CompaniesW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class Example {

CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "a607ad38-398e-43d2-918d-d809e43dbd6b"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "6df88900-1e19-42cb-b5a0-fc2442681327"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The company to create
try {
Expand Down Expand Up @@ -136,7 +136,7 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | The company to delete
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "54780530-dee1-472f-8626-a1ef1d6f3bfa"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "33931030-471d-4055-be36-8dcc3c48c11d"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
apiInstance.deleteCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -228,7 +228,7 @@ public class Example {
String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
Boolean count = true; // Boolean | If true, return the global count of elements in the collection.
Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
String xCorrelationId = "7ee6e06e-ae28-4317-9053-d966f0b24a94"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "cf08fb7e-1d1c-43e2-a2b8-dfe7be26d43f"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
PaginatedQueryResultModelCompanyResponse result = apiInstance.getCompanies(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -321,7 +321,7 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | Id of the company
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "c2254966-bcae-4b32-a7b4-67f0518ca748"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "f29e8436-2c45-494b-b537-a22ae251829e"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
CompanyResponse result = apiInstance.getCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -409,7 +409,7 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | The ID of the company to update
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "b730ea19-59f4-4cc8-8ef0-94a9d4637a6a"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "595ee1c9-2b9e-4d5a-8aa6-661b1fe4669f"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The updated company data
try {
Expand Down
105 changes: 100 additions & 5 deletions docs/A1099/V2/CreateW9FormRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
|**type** | [**TypeEnum**](#TypeEnum) | The form type. | [optional] [readonly] |
|**name** | **String** | The name of the individual or entity associated with the form. | |
|**businessName** | **String** | The name of the business associated with the form. | [optional] |
|**businessClassification** | **String** | The classification of the business. Available values: - Individual: Individual/sole proprietor - C Corporation: C Corporation - S Corporation: S Corporation - Partnership: Partnership - Trust/estate: Trust/estate - LLC-C: Limited liability company (C Corporation) - LLC-S: Limited liability company (S Corporation) - LLC-P: Limited liability company (Partnership) - Other: Other (requires BusinessOther field to be populated) | |
|**businessClassification** | [**BusinessClassificationEnum**](#BusinessClassificationEnum) | The classification of the business. Available values: - Individual: Individual/sole proprietor - C Corporation: C Corporation - S Corporation: S Corporation - Partnership: Partnership - Trust/estate: Trust/estate - LLC-C: Limited liability company (C Corporation) - LLC-S: Limited liability company (S Corporation) - LLC-P: Limited liability company (Partnership) - Other: Other (requires BusinessOther field to be populated) | |
|**businessOther** | **String** | The classification description when \"businessClassification\" is \"Other\". | [optional] |
|**foreignPartnerOwnerOrBeneficiary** | **Boolean** | Indicates whether the individual is a foreign partner, owner, or beneficiary. | [optional] |
|**exemptPayeeCode** | **String** | The exempt payee code. | [optional] |
|**exemptFatcaCode** | **String** | The exemption from FATCA reporting code. | [optional] |
|**exemptPayeeCode** | **String** | The exempt payee code. Allowed values (1–13): - 1 — Organization exempt under §501(a) or IRA; custodial account under §403(b)(7) - 2 — U.S. government or its agencies/instrumentalities - 3 — U.S. state, DC, U.S. territory/possession, or their political subdivisions/agencies/instrumentalities - 4 — Foreign government or its political subdivisions/agencies/instrumentalities - 5 — Corporation - 6 — Dealer in securities or commodities required to register in the U.S., DC, or U.S. territory/possession - 7 — Futures commission merchant registered with the CFTC - 8 — Real estate investment trust (REIT) - 9 — Entity registered at all times during the tax year under the Investment Company Act of 1940 - 10 — Common trust fund operated by a bank under §584(a) - 11 — Financial institution (see §581) - 12 — Broker (nominee/custodian) - 13 — Trust exempt under §664 or described in §4947 | [optional] |
|**exemptFatcaCode** | **String** | The exemption from FATCA reporting code. Allowed values (A–M): - A — Tax‑exempt organization under §501(a) or IRA (§7701(a)(37)) - B — U.S. government or any of its agencies/instrumentalities - C — U.S. state, DC, territory/possession, or their political subdivisions/instrumentalities - D — Corporation whose stock is regularly traded on an established securities market - E — Corporation that is a member of the same expanded affiliated group as a D corporation - F — Registered dealer in securities/commodities/derivatives - G — REIT (Real Estate Investment Trust) - H — Regulated investment company (§851) or entity registered all year under the Investment Company Act of 1940 - I — Common trust fund (§584(a)) - J — Bank (§581) - K — Broker - L — Charitable remainder trust (§664) or trust described in §4947(a)(1) - M — Trust under §403(b) plan or §457(g) plan | [optional] |
|**foreignCountryIndicator** | **Boolean** | Indicates whether the individual or entity is in a foreign country. | [optional] |
|**address** | **String** | The address of the employee. Required unless exempt. | |
|**foreignAddress** | **String** | The foreign address of the individual or entity. | [optional] |
|**city** | **String** | The city of residence of the employee. Required unless exempt. | |
|**state** | **String** | The state of residence of the employee. Required unless exempt. | |
|**state** | [**StateEnum**](#StateEnum) | The state of residence of the employee. Required unless exempt. | |
|**zip** | **String** | The ZIP code of residence of the employee. Required unless exempt. | |
|**accountNumber** | **String** | The account number associated with the form. | [optional] |
|**tinType** | **String** | Tax Identification Number (TIN) type. | |
Expand Down Expand Up @@ -168,7 +168,7 @@
|**employeeMiddleName** | **String** | The middle name of the employee. | [optional] |
|**employeeLastName** | **String** | The last name of the employee. | |
|**employeeNameSuffix** | **String** | The name suffix of the employee. | [optional] |
|**maritalStatus** | **String** | The marital status of the employee. Required unless exempt. Available values: - Single: Single or Married filing separately - Married: Married filing jointly or qualifying surviving spouse - MarriedBut: Head of household. Check only if you're unmarried and pay more than half the costs of keeping up a home for yourself and a qualifying individual. | [optional] |
|**maritalStatus** | [**MaritalStatusEnum**](#MaritalStatusEnum) | The marital status of the employee. Required unless exempt. Available values: - Single: Single or Married filing separately - Married: Married filing jointly or qualifying surviving spouse - MarriedBut: Head of household. Check only if you're unmarried and pay more than half the costs of keeping up a home for yourself and a qualifying individual. | [optional] |
|**lastNameDiffers** | **Boolean** | Indicates whether the last name differs from prior records. | [optional] |
|**numAllowances** | **Integer** | The number of allowances claimed by the employee. | [optional] |
|**otherDependents** | **Integer** | The number of dependents other than allowances. | [optional] |
Expand All @@ -192,3 +192,98 @@



## Enum: BusinessClassificationEnum

| Name | Value |
|---- | -----|
| INDIVIDUAL | "Individual" |
| C_CORPORATION | "CCorporation" |
| S_CORPORATION | "SCorporation" |
| PARTNERSHIP | "Partnership" |
| TRUST_ESTATE | "TrustEstate" |
| LLC_C | "LlcC" |
| LLC_S | "LlcS" |
| LLC_P | "LlcP" |
| OTHER | "Other" |



## Enum: StateEnum

| Name | Value |
|---- | -----|
| AA | "AA" |
| AE | "AE" |
| AK | "AK" |
| AL | "AL" |
| AP | "AP" |
| AR | "AR" |
| AS | "AS" |
| AZ | "AZ" |
| CA | "CA" |
| CO | "CO" |
| CT | "CT" |
| DC | "DC" |
| DE | "DE" |
| FL | "FL" |
| FM | "FM" |
| GA | "GA" |
| GU | "GU" |
| HI | "HI" |
| IA | "IA" |
| ID | "ID" |
| IL | "IL" |
| IN | "IN" |
| KS | "KS" |
| KY | "KY" |
| LA | "LA" |
| MA | "MA" |
| MD | "MD" |
| ME | "ME" |
| MH | "MH" |
| MI | "MI" |
| MN | "MN" |
| MO | "MO" |
| MP | "MP" |
| MS | "MS" |
| MT | "MT" |
| NC | "NC" |
| ND | "ND" |
| NE | "NE" |
| NH | "NH" |
| NJ | "NJ" |
| NM | "NM" |
| NV | "NV" |
| NY | "NY" |
| OH | "OH" |
| OK | "OK" |
| OR | "OR" |
| PA | "PA" |
| PR | "PR" |
| PW | "PW" |
| RI | "RI" |
| SC | "SC" |
| SD | "SD" |
| TN | "TN" |
| TX | "TX" |
| UT | "UT" |
| VA | "VA" |
| VI | "VI" |
| VT | "VT" |
| WA | "WA" |
| WI | "WI" |
| WV | "WV" |
| WY | "WY" |



## Enum: MaritalStatusEnum

| Name | Value |
|---- | -----|
| SINGLE | "Single" |
| MARRIED | "Married" |
| MARRIED_BUT | "MarriedBut" |



4 changes: 2 additions & 2 deletions docs/A1099/V2/ErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**title** | **String** | | [optional] |
|**errors** | [**List<ErrorResponseItem>**](ErrorResponseItem.md) | | [optional] |
|**title** | **String** | A summary of the problem type. | [optional] |
|**errors** | [**List<ErrorResponseItem>**](ErrorResponseItem.md) | A list of errors detailing the problem type. | [optional] |



4 changes: 2 additions & 2 deletions docs/A1099/V2/ErrorResponseItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | **String** | | [optional] |
|**detail** | **String** | | [optional] |
|**type** | **String** | An identifier for this occurrence of the problem. It is the name of a request's field when specific to that field. Otherwise, for other types of errors, its value is empty. | [optional] |
|**detail** | **String** | An explanation specific to this occurrence of the problem. | [optional] |



14 changes: 7 additions & 7 deletions docs/A1099/V2/Forms1099Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
Boolean dryRun = false; // Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
String xCorrelationId = "5ef65de0-c394-4aa2-b249-d8bfcbe9b23a"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "eec0b095-bfa8-4786-bbad-3f20a4b61ac2"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Form1099ListRequest form1099ListRequest = new Form1099ListRequest(); // Form1099ListRequest |
try {
Expand Down Expand Up @@ -141,7 +141,7 @@ public class Example {

Forms1099Api apiInstance = new Forms1099Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "5b55b569-4e1e-44d3-920c-65153461c426"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "ea80e3d4-6198-4297-9fff-4b12b5d270a0"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Get1099Form200Response get1099Form200Response = new Get1099Form200Response(); // Get1099Form200Response |
try {
Expand Down Expand Up @@ -229,7 +229,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String id = "id_example"; // String | The unique identifier of the desired form to delete.
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "e82ee14f-7146-41a5-b856-28f403d65e29"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "6f61d545-12cb-445a-b60c-bd21c3f78ae3"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
apiInstance.delete1099Form(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -317,7 +317,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String id = "id_example"; // String |
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "f5198e72-fc87-4a4d-a09a-b2aa6cf70c38"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "3dda6df9-8f00-4ac0-8eab-0e56263c2895"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
Get1099Form200Response result = apiInstance.get1099Form(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -406,7 +406,7 @@ public class Example {
String id = "id_example"; // String | The ID of the form
String avalaraVersion = "2.0.0"; // String | API version
Boolean markEdelivered = true; // Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
String xCorrelationId = "7fdfd0b2-cebf-4f25-8a65-6dd03811e77d"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "83471033-6587-4425-a03e-1057de8d14cf"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
File result = apiInstance.get1099FormPdf(id, avalaraVersion, markEdelivered, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -500,7 +500,7 @@ public class Example {
String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
Boolean count = true; // Boolean | If true, return the global count of elements in the collection.
Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
String xCorrelationId = "97f7596c-99c0-4879-b47c-57df572a32c9"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "9cd2b713-72ed-419c-8c1f-4aeef9f6b0d4"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
try {
PaginatedQueryResultModelForm1099Base result = apiInstance.list1099Forms(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -593,7 +593,7 @@ public class Example {
Forms1099Api apiInstance = new Forms1099Api(apiClient);
String id = "id_example"; // String |
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "560aa857-d5ba-484b-9375-a14e9e57d7a8"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "b0bb9771-ffdf-4884-bac3-7cf00bf7c745"; // String | Unique correlation Id in a GUID format
String xAvalaraClient = "Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Get1099Form200Response get1099Form200Response = new Get1099Form200Response(); // Get1099Form200Response |
try {
Expand Down
Loading