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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.461.0"
".": "0.462.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b51c9307c5fd4c662426ca9bbdbe00d0721edcb2eb899d4b9a3539aa01623873.yml
openapi_spec_hash: e5767b8639a1573ae70b25be22cc77a3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-57310f0e57b0996b79f938ef778b40e54f5b62cefb78c3e6405cefacfa704c66.yml
openapi_spec_hash: c6d65e9ebf76cb81a5395b8ab4251a95
config_hash: 0997ade8b52ec04e82d5b0c3b61bb51e
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.462.0 (2026-03-27)

Full Changelog: [v0.461.0...v0.462.0](https://github.com/Increase/increase-python/compare/v0.461.0...v0.462.0)

### Features

* **api:** api update ([31fc17e](https://github.com/Increase/increase-python/commit/31fc17e18b73df8f4a095c27d9c4c082c92f0934))

## 0.461.0 (2026-03-26)

Full Changelog: [v0.460.0...v0.461.0](https://github.com/Increase/increase-python/compare/v0.460.0...v0.461.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.461.0"
version = "0.462.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "increase"
__version__ = "0.461.0" # x-release-please-version
__version__ = "0.462.0" # x-release-please-version
2 changes: 1 addition & 1 deletion src/increase/types/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ class ValidationIssue(BaseModel):

- `entity_tax_identifier` - The entity's tax identifier could not be validated.
Update the tax ID with the
[update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
[update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
- `entity_address` - The entity's address could not be validated. Update the
address with the
[update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
Expand Down
31 changes: 27 additions & 4 deletions src/increase/types/entity_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"EntityUpdateParams",
"Corporation",
"CorporationAddress",
"CorporationLegalIdentifier",
"GovernmentAuthority",
"GovernmentAuthorityAddress",
"NaturalPerson",
Expand Down Expand Up @@ -101,7 +102,26 @@ class CorporationAddress(TypedDict, total=False):
"""The ZIP or postal code of the address. Required in certain countries."""


class Corporation(TypedDict, total=False):
class CorporationLegalIdentifier(TypedDict, total=False):
"""The legal identifier of the corporation.

This is usually the Employer Identification Number (EIN).
"""

value: Required[str]
"""The identifier of the legal identifier."""

category: Literal["us_employer_identification_number", "other"]
"""The category of the legal identifier.

- `us_employer_identification_number` - The Employer Identification Number (EIN)
for the company. The EIN is a 9-digit number assigned by the IRS.
- `other` - A legal identifier issued by a foreign government, like a tax
identification number or registration number.
"""


class Corporation(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
"""Details of the corporation entity to update.

If you specify this parameter and the entity is not a corporation, the request will fail.
Expand Down Expand Up @@ -133,12 +153,15 @@ class Corporation(TypedDict, total=False):
[here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
"""

legal_identifier: CorporationLegalIdentifier
"""The legal identifier of the corporation.

This is usually the Employer Identification Number (EIN).
"""

name: str
"""The legal name of the corporation."""

tax_identifier: str
"""The Employer Identification Number (EIN) for the corporation."""


class GovernmentAuthorityAddress(TypedDict, total=False):
"""The entity's physical address.
Expand Down
10 changes: 8 additions & 2 deletions tests/api_resources/test_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,11 @@ def test_method_update_with_all_params(self, client: Increase) -> None:
"email": "dev@stainless.com",
"incorporation_state": "x",
"industry_code": "x",
"legal_identifier": {
"value": "x",
"category": "us_employer_identification_number",
},
"name": "x",
"tax_identifier": "x",
},
details_confirmed_at=parse_datetime("2019-12-27T18:11:19.117Z"),
government_authority={
Expand Down Expand Up @@ -889,8 +892,11 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease)
"email": "dev@stainless.com",
"incorporation_state": "x",
"industry_code": "x",
"legal_identifier": {
"value": "x",
"category": "us_employer_identification_number",
},
"name": "x",
"tax_identifier": "x",
},
details_confirmed_at=parse_datetime("2019-12-27T18:11:19.117Z"),
government_authority={
Expand Down