> ## Documentation Index
> Fetch the complete documentation index at: https://developers.javalibridge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Changes to the Javali Bridge API, by version.

**1.22.0**

USDC Inventory: obligation and suspension

**Pre-GA change.** USDC Inventory was not generally available yet, so these changes are not versioned as breaking.

The Inventory Lot now has two independent life cycles: `status` (usage) and `obligation.status` (payment). Lot usage does not expire. See [USDC Inventory](https://developers.javalibridge.com/en/guides/inventory.md).

**Added**

* `obligation` in `Inventory` (new `InventoryObligation` schema): `status` (`PENDING`, `PAID`, `OVERDUE`), `amount` (USDC), `dueAt` and `paidAt`.
* `obligation` in `FxQuote` with `usage = INVENTORY`, with `amount` and `dueAt`.
* `SUSPENDED` in the Inventory `status`: the obligation is `OVERDUE` and the lot does not accept new withdrawals until it is paid.
* `INVENTORY_SUSPENDED` (422) error.
* `CREDIT_LIMIT_EXCEEDED` (422) in `POST /v1/inventories`: lot creation consumes the credit line by `obligation.amount`.
* `inventory.obligation_status_changed` webhook.
* `data.previousStatus` in `inventory.status_changed`.
* Enum policy: new status values and event types can be added without a version change.

**Removed**

* `EXPIRED` from the Inventory `status`.
* `INVENTORY_EXPIRED` error, replaced by `INVENTORY_SUSPENDED`.
* `inventoryExpiresAt` from `FxQuote`, replaced by `obligation.dueAt`.
* `expiresAt`, `pendingSettlement` and `settlementId` from `Inventory`. The due date is in `obligation.dueAt`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.