python - v0.31.2 - 2026-03-23 09:21:20
Python SDK v0.31.2 Changelog
Release Date: March 2026
What's New
This release adds new optional fields to the Journal Entries API and introduces employee-related accounting capabilities. The tax_type field on JournalEntry is now deprecated in favor of a more granular tax_type on individual JournalEntryLineItem objects.
Summary of Changes
| Category | Description | Action Required |
|---|---|---|
| New Fields | tax_type and employee added to JournalEntryLineItem |
None |
| New Models | LinkedEmployee model for journal entry line items |
None |
| New Enum | TaxType enum (sales, purchase) |
None |
| New Enum Value | EMPLOYEE added to LinkedFinancialAccountAccountType |
None |
| Deprecation | JournalEntry.tax_type deprecated (use line-item level instead) |
Optional migration |
Detailed Changes by API
Journal Entries
Line-Item Tax Type
What changed: JournalEntryLineItem and JournalEntryLineItemInput now support a tax_type field with values sales or purchase, allowing tax classification at the individual line-item level.
Impact: None — new optional field with default UNSET.
from apideck_unify.models import components
line_item = components.JournalEntryLineItemInput(
type=components.JournalEntryLineItemType.DEBIT,
tax_type=components.TaxType.SALES,
)Line-Item Employee
What changed: JournalEntryLineItem and JournalEntryLineItemInput now support an employee field linking to a LinkedEmployee.
Impact: None — new optional field.
Root-Level Tax Type Deprecated
What changed: JournalEntry.tax_type and JournalEntryInput.tax_type are now marked as deprecated. Use the line-item level tax_type instead.
Impact: Existing code continues to work. A deprecation warning will be emitted by Pydantic.
Financial Accounts
Employee Account Type
What changed: LinkedFinancialAccountAccountType now includes an EMPLOYEE value for employee payable accounts.
Impact: None — new enum value on an open enum.
Migration Checklist
- Update dependency:
uv add apideck-unify==0.31.2orpip install apideck-unify==0.31.2 - Run your test suite
- (Optional) Migrate from
JournalEntry.tax_typetoJournalEntryLineItem.tax_type