Skip to content

Commit 8837082

Browse files
26.4.0 (#19)
* 26.4.0 * Regenerate SDK with fixed namespace
1 parent 5c5a484 commit 8837082

65 files changed

Lines changed: 8027 additions & 376 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ $client = new \Avalara\SDK\ApiClient($config);
169169

170170
Class | Method | HTTP request | Description
171171
------------ | ------------- | ------------- | -------------
172+
*CodeListsApi* | [**getCodeList**](docs/EInvoicing/V1/CodeListsApi.md#getcodelist) | **GET** /codelists/{codelistId} | Retrieves a code list by ID for a specific country
173+
*CodeListsApi* | [**getCodeListList**](docs/EInvoicing/V1/CodeListsApi.md#getcodelistlist) | **GET** /codelists | Returns a list of code lists for a specific country
172174
*DataInputFieldsApi* | [**getDataInputFields**](docs/EInvoicing/V1/DataInputFieldsApi.md#getdatainputfields) | **GET** /data-input-fields | Returns the optionality of document fields for different country mandates
173175
*DocumentsApi* | [**downloadDocument**](docs/EInvoicing/V1/DocumentsApi.md#downloaddocument) | **GET** /documents/{documentId}/$download | Returns a copy of the document
174176
*DocumentsApi* | [**fetchDocuments**](docs/EInvoicing/V1/DocumentsApi.md#fetchdocuments) | **POST** /documents/$fetch | Fetch the inbound document from a tax authority
@@ -178,11 +180,14 @@ Class | Method | HTTP request | Description
178180
*InteropApi* | [**submitInteropDocument**](docs/EInvoicing/V1/InteropApi.md#submitinteropdocument) | **POST** /interop/documents | Submit a document
179181
*MandatesApi* | [**getMandateDataInputFields**](docs/EInvoicing/V1/MandatesApi.md#getmandatedatainputfields) | **GET** /mandates/{mandateId}/data-input-fields | Returns document field information for a country mandate, a selected document type, and its version
180182
*MandatesApi* | [**getMandates**](docs/EInvoicing/V1/MandatesApi.md#getmandates) | **GET** /mandates | List country mandates that are supported by the Avalara E-Invoicing platform
183+
*ReportsApi* | [**downloadReport**](docs/EInvoicing/V1/ReportsApi.md#downloadreport) | **GET** /reports/{reportId}/$download | Returns a pre-signed download URL for a report
184+
*ReportsApi* | [**getReportById**](docs/EInvoicing/V1/ReportsApi.md#getreportbyid) | **GET** /reports/{reportId}/status | Retrieves a report by its unique ID
185+
*ReportsApi* | [**getReports**](docs/EInvoicing/V1/ReportsApi.md#getreports) | **GET** /reports | Returns a list of reports
181186
*SubscriptionsApi* | [**createWebhookSubscription**](docs/EInvoicing/V1/SubscriptionsApi.md#createwebhooksubscription) | **POST** /webhooks/subscriptions | Create a subscription to events
182-
*SubscriptionsApi* | [**deleteWebhookSubscription**](docs/EInvoicing/V1/SubscriptionsApi.md#deletewebhooksubscription) | **DELETE** /webhooks/subscriptions/{subscription-id} | Unsubscribe from events
183-
*SubscriptionsApi* | [**getWebhookSubscription**](docs/EInvoicing/V1/SubscriptionsApi.md#getwebhooksubscription) | **GET** /webhooks/subscriptions/{subscription-id} | Get details of a subscription
187+
*SubscriptionsApi* | [**deleteWebhookSubscription**](docs/EInvoicing/V1/SubscriptionsApi.md#deletewebhooksubscription) | **DELETE** /webhooks/subscriptions/{subscriptionId} | Unsubscribe from events
188+
*SubscriptionsApi* | [**getWebhookSubscription**](docs/EInvoicing/V1/SubscriptionsApi.md#getwebhooksubscription) | **GET** /webhooks/subscriptions/{subscriptionId} | Get details of a subscription
184189
*SubscriptionsApi* | [**listWebhookSubscriptions**](docs/EInvoicing/V1/SubscriptionsApi.md#listwebhooksubscriptions) | **GET** /webhooks/subscriptions | List all subscriptions
185-
*TaxIdentifiersApi* | [**taxIdentifierSchemaByCountry**](docs/EInvoicing/V1/TaxIdentifiersApi.md#taxidentifierschemabycountry) | **GET** /tax-identifiers/schema | Returns the tax identifier request & response schema for a specific country.
190+
*TaxIdentifiersApi* | [**taxIdentifierSchemaByCountry**](docs/EInvoicing/V1/TaxIdentifiersApi.md#taxidentifierschemabycountry) | **GET** /tax-identifiers/schema | Returns the tax identifier request and response schema for a specific country.
186191
*TaxIdentifiersApi* | [**validateTaxIdentifier**](docs/EInvoicing/V1/TaxIdentifiersApi.md#validatetaxidentifier) | **POST** /tax-identifiers/validate | Validates a tax identifier.
187192
*TradingPartnersApi* | [**batchSearchParticipants**](docs/EInvoicing/V1/TradingPartnersApi.md#batchsearchparticipants) | **POST** /trading-partners/batch-searches | Handles batch search requests by uploading a file containing search parameters.
188193
*TradingPartnersApi* | [**createTradingPartner**](docs/EInvoicing/V1/TradingPartnersApi.md#createtradingpartner) | **POST** /trading-partners | Creates a new trading partner.
@@ -240,6 +245,11 @@ Class | Method | HTTP request | Description
240245
- [Avalara\SDK\Model\EInvoicing\V1\BatchSearch](docs/EInvoicing/V1/BatchSearch.md)
241246
- [Avalara\SDK\Model\EInvoicing\V1\BatchSearchListResponse](docs/EInvoicing/V1/BatchSearchListResponse.md)
242247
- [Avalara\SDK\Model\EInvoicing\V1\BatchSearchParticipants202Response](docs/EInvoicing/V1/BatchSearchParticipants202Response.md)
248+
- [Avalara\SDK\Model\EInvoicing\V1\CodeListListResponse](docs/EInvoicing/V1/CodeListListResponse.md)
249+
- [Avalara\SDK\Model\EInvoicing\V1\CodeListResponse](docs/EInvoicing/V1/CodeListResponse.md)
250+
- [Avalara\SDK\Model\EInvoicing\V1\CodeListSummary](docs/EInvoicing/V1/CodeListSummary.md)
251+
- [Avalara\SDK\Model\EInvoicing\V1\CodeListValue](docs/EInvoicing/V1/CodeListValue.md)
252+
- [Avalara\SDK\Model\EInvoicing\V1\CodeListVersion](docs/EInvoicing/V1/CodeListVersion.md)
243253
- [Avalara\SDK\Model\EInvoicing\V1\ConditionalForField](docs/EInvoicing/V1/ConditionalForField.md)
244254
- [Avalara\SDK\Model\EInvoicing\V1\Consents](docs/EInvoicing/V1/Consents.md)
245255
- [Avalara\SDK\Model\EInvoicing\V1\CreateTradingPartner201Response](docs/EInvoicing/V1/CreateTradingPartner201Response.md)
@@ -281,6 +291,9 @@ Class | Method | HTTP request | Description
281291
- [Avalara\SDK\Model\EInvoicing\V1\NotUsedForField](docs/EInvoicing/V1/NotUsedForField.md)
282292
- [Avalara\SDK\Model\EInvoicing\V1\OutputDataFormats](docs/EInvoicing/V1/OutputDataFormats.md)
283293
- [Avalara\SDK\Model\EInvoicing\V1\Pagination](docs/EInvoicing/V1/Pagination.md)
294+
- [Avalara\SDK\Model\EInvoicing\V1\ReportDownloadResponse](docs/EInvoicing/V1/ReportDownloadResponse.md)
295+
- [Avalara\SDK\Model\EInvoicing\V1\ReportItem](docs/EInvoicing/V1/ReportItem.md)
296+
- [Avalara\SDK\Model\EInvoicing\V1\ReportListResponse](docs/EInvoicing/V1/ReportListResponse.md)
284297
- [Avalara\SDK\Model\EInvoicing\V1\RequiredWhenField](docs/EInvoicing/V1/RequiredWhenField.md)
285298
- [Avalara\SDK\Model\EInvoicing\V1\SearchParticipants200Response](docs/EInvoicing/V1/SearchParticipants200Response.md)
286299
- [Avalara\SDK\Model\EInvoicing\V1\Signature](docs/EInvoicing/V1/Signature.md)
@@ -295,6 +308,7 @@ Class | Method | HTTP request | Description
295308
- [Avalara\SDK\Model\EInvoicing\V1\SubscriptionListResponse](docs/EInvoicing/V1/SubscriptionListResponse.md)
296309
- [Avalara\SDK\Model\EInvoicing\V1\SubscriptionRegistration](docs/EInvoicing/V1/SubscriptionRegistration.md)
297310
- [Avalara\SDK\Model\EInvoicing\V1\SuccessResponse](docs/EInvoicing/V1/SuccessResponse.md)
311+
- [Avalara\SDK\Model\EInvoicing\V1\SupportedDocumentStatuses](docs/EInvoicing/V1/SupportedDocumentStatuses.md)
298312
- [Avalara\SDK\Model\EInvoicing\V1\SupportedDocumentTypes](docs/EInvoicing/V1/SupportedDocumentTypes.md)
299313
- [Avalara\SDK\Model\EInvoicing\V1\TaxIdentifierRequest](docs/EInvoicing/V1/TaxIdentifierRequest.md)
300314
- [Avalara\SDK\Model\EInvoicing\V1\TaxIdentifierResponse](docs/EInvoicing/V1/TaxIdentifierResponse.md)

docs/A1099/Form1042S.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**gross_income** | **float** | Gross income |
1515
**withholding_indicator** | **string** | Withholding indicator Available values: - 3: Chapter 3 - 4: Chapter 4 |
1616
**tax_country_code** | **string** | Country code |
17-
**exemption_code_chap3** | **string** | Exemption code (Chapter 3). Required if WithholdingIndicator is 3 (Chapter 3). Required when using TaxRateChap3. Available values: - Empty: Tax rate is due to backup withholding - 00: Not exempt - 01: Effectively connected income - 02: Exempt under IRC (other than portfolio interest) - 03: Income is not from US sources - 04: Exempt under tax treaty - 05: Portfolio interest exempt under IRC - 06: QI that assumes primary withholding responsibility - 07: WFP or WFT - 08: U.S. branch treated as U.S. Person - 09: Territory FI treated as U.S. Person - 10: QI represents that income is exempt - 11: QSL that assumes primary withholding responsibility - 12: Payee subjected to chapter 4 withholding - 22: QDD that assumes primary withholding responsibility - 23: Exempt under section 897(l) - 24: Exempt under section 892 | [optional]
17+
**exemption_code_chap3** | **string** | Exemption code (Chapter 3). Required if WithholdingIndicator is 3 (Chapter 3) and FederalTaxWithheld is 0. Required when using TaxRateChap3. Can be left empty if FederalTaxWithheld is greater than 0. Available values: - 00: Not exempt - 01: Effectively connected income - 02: Exempt under IRC (other than portfolio interest) - 03: Income is not from US sources - 04: Exempt under tax treaty - 05: Portfolio interest exempt under IRC - 06: QI that assumes primary withholding responsibility - 07: WFP or WFT - 08: U.S. branch treated as U.S. Person - 09: Territory FI treated as U.S. Person - 10: QI represents that income is exempt - 11: QSL that assumes primary withholding responsibility - 12: Payee subjected to chapter 4 withholding - 22: QDD that assumes primary withholding responsibility - 23: Exempt under section 897(l) - 24: Exempt under section 892 | [optional]
1818
**exemption_code_chap4** | **string** | Exemption code (Chapter 4). Required if WithholdingIndicator is 4 (Chapter 4). Available values: - 00: Not exempt - 13: Grandfathered payment - 14: Effectively connected income - 15: Payee not subject to chapter 4 withholding - 16: Excluded nonfinancial payment - 17: Foreign Entity that assumes primary withholding responsibility - 18: U.S. Payees - of participating FFI or registered deemed - compliant FFI - 19: Exempt from withholding under IGA(6) - 20: Dormant account(7) - 21: Other - payment not subject to chapter 4 withholding | [optional]
1919
**tax_rate_chap3** | **string** | Tax rate (Chapter 3) - Required if WithholdingIndicator is 3 (Chapter 3). Available values: - 00.00: 0.00% - 02.00: 2.00% - 04.00: 4.00% - 04.90: 4.90% - 04.95: 4.95% - 05.00: 5.00% - 07.00: 7.00% - 08.00: 8.00% - 10.00: 10.00% - 12.00: 12.00% - 12.50: 12.50% - 14.00: 14.00% - 15.00: 15.00% - 17.50: 17.50% - 20.00: 20.00% - 21.00: 21.00% - 24.00: 24.00% - 25.00: 25.00% - 27.50: 27.50% - 28.00: 28.00% - 30.00: 30.00% - 37.00: 37.00% | [optional]
2020
**withholding_allowance** | **float** | Withholding allowance | [optional]

docs/A1099/Get1099Form200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**gross_income** | **float** | Gross income |
1515
**withholding_indicator** | **string** | Withholding indicator Available values: - 3: Chapter 3 - 4: Chapter 4 |
1616
**tax_country_code** | **string** | Country code |
17-
**exemption_code_chap3** | **string** | Exemption code (Chapter 3). Required if WithholdingIndicator is 3 (Chapter 3). Required when using TaxRateChap3. Available values: - Empty: Tax rate is due to backup withholding - 00: Not exempt - 01: Effectively connected income - 02: Exempt under IRC (other than portfolio interest) - 03: Income is not from US sources - 04: Exempt under tax treaty - 05: Portfolio interest exempt under IRC - 06: QI that assumes primary withholding responsibility - 07: WFP or WFT - 08: U.S. branch treated as U.S. Person - 09: Territory FI treated as U.S. Person - 10: QI represents that income is exempt - 11: QSL that assumes primary withholding responsibility - 12: Payee subjected to chapter 4 withholding - 22: QDD that assumes primary withholding responsibility - 23: Exempt under section 897(l) - 24: Exempt under section 892 | [optional]
17+
**exemption_code_chap3** | **string** | Exemption code (Chapter 3). Required if WithholdingIndicator is 3 (Chapter 3) and FederalTaxWithheld is 0. Required when using TaxRateChap3. Can be left empty if FederalTaxWithheld is greater than 0. Available values: - 00: Not exempt - 01: Effectively connected income - 02: Exempt under IRC (other than portfolio interest) - 03: Income is not from US sources - 04: Exempt under tax treaty - 05: Portfolio interest exempt under IRC - 06: QI that assumes primary withholding responsibility - 07: WFP or WFT - 08: U.S. branch treated as U.S. Person - 09: Territory FI treated as U.S. Person - 10: QI represents that income is exempt - 11: QSL that assumes primary withholding responsibility - 12: Payee subjected to chapter 4 withholding - 22: QDD that assumes primary withholding responsibility - 23: Exempt under section 897(l) - 24: Exempt under section 892 | [optional]
1818
**exemption_code_chap4** | **string** | Exemption code (Chapter 4). Required if WithholdingIndicator is 4 (Chapter 4). Available values: - 00: Not exempt - 13: Grandfathered payment - 14: Effectively connected income - 15: Payee not subject to chapter 4 withholding - 16: Excluded nonfinancial payment - 17: Foreign Entity that assumes primary withholding responsibility - 18: U.S. Payees - of participating FFI or registered deemed - compliant FFI - 19: Exempt from withholding under IGA(6) - 20: Dormant account(7) - 21: Other - payment not subject to chapter 4 withholding | [optional]
1919
**tax_rate_chap3** | **string** | Tax rate (Chapter 3) - Required if WithholdingIndicator is 3 (Chapter 3). Available values: - 00.00: 0.00% - 02.00: 2.00% - 04.00: 4.00% - 04.90: 4.90% - 04.95: 4.95% - 05.00: 5.00% - 07.00: 7.00% - 08.00: 8.00% - 10.00: 10.00% - 12.00: 12.00% - 12.50: 12.50% - 14.00: 14.00% - 15.00: 15.00% - 17.50: 17.50% - 20.00: 20.00% - 21.00: 21.00% - 24.00: 24.00% - 25.00: 25.00% - 27.50: 27.50% - 28.00: 28.00% - 30.00: 30.00% - 37.00: 37.00% | [optional]
2020
**withholding_allowance** | **float** | Withholding allowance | [optional]

docs/A1099/JobResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**updated_no_email** | **int** | Number of forms updated and valid for e-filing but missing email or email is undeliverable. Value can be 0 or another value based on what the job has available | [optional]
1515
**updated_invalid** | **int** | Number of forms updated but invalid for e-filing. Value can be 0 or another value based on what the job has available | [optional]
1616
**skipped_duplicate** | **int** | Number of forms skipped because they would have updated a record already updated once in the request. Value can be 0 or another value based on what the job has available | [optional]
17-
**skipped_invalid** | **int** | Number of forms skipped because they would have made a form invalid and the form is already e-filed or scheduled for e-filing. Value can be 0 or another value based on what the job has available | [optional]
17+
**skipped_invalid** | **int** | Number of forms skipped because they would have made a form invalid and the form is already e-filed or scheduled for e-filing, or because you do not have permission to update forms that have been scheduled. Value can be 0 or another value based on what the job has available | [optional]
1818
**skipped_multiple_matches** | **int** | Number of forms skipped because they matched multiple forms. Value can be 0 or another value based on what the job has available | [optional]
1919
**not_found** | **int** | Number of forms skipped because no matching form or issuer could be found. Value can be 0 or another value based on what the job has available | [optional]
2020
**created_invalid** | **int** | Number of new forms created because no matching form could be found (and `upsert` was true) - with errors. Value can be 0 or another value based on what the job has available | [optional]

docs/A1099/V2/CompaniesW9Api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $client = new \Avalara\SDK\ApiClient($config);
4040
$apiInstance = new Avalara\SDK\Api\CompaniesW9Api($client);
4141

4242
$avalara_version = 2.0.0; // string | API version
43-
$x_correlation_id = 045715ac-dfd3-4f63-ba82-2276c5cb9c7b; // string | Unique correlation Id in a GUID format
43+
$x_correlation_id = 97d2460b-1098-409f-b4cc-04e39b867ac8; // string | Unique correlation Id in a GUID format
4444
$x_avalara_client = 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/) .
4545
$company_request = {"name":"Acme Corporation","dbaName":"","email":"contact@acmecorp.com","address":"123 Business Ave","city":"Phoenix","state":"AZ","zip":"85001","telephone":"602-555-0123","tin":"12-3456789","referenceId":"","doTinMatch":null,"groupName":"","foreignProvince":"","countryCode":"US","resendRequests":null,"resendIntervalDays":null,"maxReminderAttempts":null}; // \Avalara\SDK\Model\A1099\V2\CompanyRequest | The company to create
4646

@@ -108,7 +108,7 @@ $apiInstance = new Avalara\SDK\Api\CompaniesW9Api($client);
108108

109109
$id = 'id_example'; // string | The company to delete
110110
$avalara_version = 2.0.0; // string | API version
111-
$x_correlation_id = bdfb4c9b-5dd4-45c3-8dad-630ba1d31df1; // string | Unique correlation Id in a GUID format
111+
$x_correlation_id = 4ec8a3b4-c6be-4e60-94c4-ae8661c47a12; // string | Unique correlation Id in a GUID format
112112
$x_avalara_client = 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/) .
113113

114114
try {
@@ -179,7 +179,7 @@ $skip = 56; // int | If nonzero, skip this number of results before returning da
179179
$order_by = 'order_by_example'; // string | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
180180
$count = True; // bool | If true, return the global count of elements in the collection.
181181
$count_only = True; // bool | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
182-
$x_correlation_id = d8c76c7d-ddae-47da-bfde-e696155b0689; // string | Unique correlation Id in a GUID format
182+
$x_correlation_id = b1a92345-e5dd-42c7-99ae-01cc5ad078f1; // string | Unique correlation Id in a GUID format
183183
$x_avalara_client = 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/) .
184184

185185
try {
@@ -251,7 +251,7 @@ $apiInstance = new Avalara\SDK\Api\CompaniesW9Api($client);
251251

252252
$id = 'id_example'; // string | Id of the company
253253
$avalara_version = 2.0.0; // string | API version
254-
$x_correlation_id = e0312268-c9e8-4db6-95bd-99d216095728; // string | Unique correlation Id in a GUID format
254+
$x_correlation_id = c6651d03-30d8-45b7-bf8e-ae3535bca324; // string | Unique correlation Id in a GUID format
255255
$x_avalara_client = 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/) .
256256

257257
try {
@@ -318,7 +318,7 @@ $apiInstance = new Avalara\SDK\Api\CompaniesW9Api($client);
318318

319319
$id = 'id_example'; // string | The ID of the company to update
320320
$avalara_version = 2.0.0; // string | API version
321-
$x_correlation_id = 715aa1d1-d1b9-4d18-adb3-fffb9e26c197; // string | Unique correlation Id in a GUID format
321+
$x_correlation_id = 126047bb-383f-4315-a3fa-7517c763abd7; // string | Unique correlation Id in a GUID format
322322
$x_avalara_client = 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/) .
323323
$company_request = {"name":"Acme Corporation","dbaName":"","email":"contact@acmecorp.com","address":"123 Business Ave","city":"Phoenix","state":"AZ","zip":"85001","telephone":"602-555-0123","tin":"12-3456789","referenceId":"","doTinMatch":null,"groupName":"","foreignProvince":"","countryCode":"US","resendRequests":null,"resendIntervalDays":null,"maxReminderAttempts":null}; // \Avalara\SDK\Model\A1099\V2\CompanyRequest | The updated company data
324324

0 commit comments

Comments
 (0)