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 @@
{
".": "4.26.0"
".": "4.27.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: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d0eaf664d43e26c42ebf8740ff1b6ee34c4d424c7048a7f04df994cb65627f89.yml
openapi_spec_hash: 4d7622040380d5c7bd2e5a5ec9b86783
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-2b5eeb4a60cbec92f80b4a54f33c2d17b36cbac4739886f737108f2ad74ff12d.yml
openapi_spec_hash: ebbe8419f5831506de5b4c0b4eb56acf
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.27.0 (2025-10-15)

Full Changelog: [v4.26.0...v4.27.0](https://github.com/orbcorp/orb-python/compare/v4.26.0...v4.27.0)

### Features

* **api:** api update ([98d744d](https://github.com/orbcorp/orb-python/commit/98d744daa4c10ebeeb447a89402d7209c1331e84))

## 4.26.0 (2025-10-13)

Full Changelog: [v4.25.0...v4.26.0](https://github.com/orbcorp/orb-python/compare/v4.25.0...v4.26.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 = "orb-billing"
version = "4.26.0"
version = "4.27.0"
description = "The official Python library for the orb API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/orb/_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__ = "orb"
__version__ = "4.26.0" # x-release-please-version
__version__ = "4.27.0" # x-release-please-version
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ class AddIncrementCreditLedgerEntryRequestParamsInvoiceSettings(TypedDict, total
credit block's effective date.
"""

item_id: Optional[str]
"""The ID of the Item to be used for the invoice line item.

If not provided, a default 'Credits' item will be used.
"""

memo: Optional[str]
"""An optional memo to display on the invoice."""

Expand Down
6 changes: 6 additions & 0 deletions src/orb/types/customers/credits/ledger_create_entry_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ class AddIncrementCreditLedgerEntryRequestParamsInvoiceSettings(TypedDict, total
credit block's effective date.
"""

item_id: Optional[str]
"""The ID of the Item to be used for the invoice line item.

If not provided, a default 'Credits' item will be used.
"""

memo: Optional[str]
"""An optional memo to display on the invoice."""

Expand Down
4 changes: 4 additions & 0 deletions tests/api_resources/customers/credits/test_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def test_method_create_entry_with_all_params_overload_1(self, client: Orb) -> No
"net_terms": 0,
"custom_due_date": parse_date("2019-12-27"),
"invoice_date": parse_date("2019-12-27"),
"item_id": "item_id",
"memo": "memo",
"require_successful_payment": True,
},
Expand Down Expand Up @@ -418,6 +419,7 @@ def test_method_create_entry_by_external_id_with_all_params_overload_1(self, cli
"net_terms": 0,
"custom_due_date": parse_date("2019-12-27"),
"invoice_date": parse_date("2019-12-27"),
"item_id": "item_id",
"memo": "memo",
"require_successful_payment": True,
},
Expand Down Expand Up @@ -849,6 +851,7 @@ async def test_method_create_entry_with_all_params_overload_1(self, async_client
"net_terms": 0,
"custom_due_date": parse_date("2019-12-27"),
"invoice_date": parse_date("2019-12-27"),
"item_id": "item_id",
"memo": "memo",
"require_successful_payment": True,
},
Expand Down Expand Up @@ -1164,6 +1167,7 @@ async def test_method_create_entry_by_external_id_with_all_params_overload_1(sel
"net_terms": 0,
"custom_due_date": parse_date("2019-12-27"),
"invoice_date": parse_date("2019-12-27"),
"item_id": "item_id",
"memo": "memo",
"require_successful_payment": True,
},
Expand Down