Installation
Install from PyPI
System requirements
Dependencies
httpx and pydantic are installed automatically.
Basic setup
Configuration options
TheSmartbillsClientOptions dataclass accepts the following parameters:
Context manager pattern
The client uses an async context manager to ensure clean shutdown of the underlying HTTP connection pool:Updating credentials at runtime
Reading current values
Per-request overrides
Every service method accepts an optionalRequestOptions parameter:
RequestOptions
Environment variables
We recommend storing credentials in environment variables:Next steps
- Expenses, full expense service reference
- Error Handling, understand the error classes