-
Notifications
You must be signed in to change notification settings - Fork 0
Accounting Module
Christian KASSE edited this page Apr 2, 2026
·
2 revisions
Full accounting suite: chart of accounts, journal entries, invoices, payments, wallets, currencies, fiscal years, and financial reports.
Accessor: client.accounting
| Resource | Accessor | Description |
|---|---|---|
| Accounts | client.accounting.accounts |
Chart of accounts |
| Balances | client.accounting.balances |
Account balances |
| Config | client.accounting.config |
Accounting configuration |
| Resource | Accessor | Description |
|---|---|---|
| Invoices | client.accounting.invoices |
Sales and purchase invoices |
| Payments | client.accounting.payments |
Payment records |
| Journals | client.accounting.journals |
Accounting journals |
| Journal Entries | client.accounting.journal_entries |
Journal entries |
| Credit Notes | client.accounting.credit_notes |
Credit notes |
| Quotes | client.accounting.quotes |
Quotations |
| Payment Terms | client.accounting.payment_terms |
Payment terms |
| Resource | Accessor | Description |
|---|---|---|
| Currencies | client.accounting.currencies |
Currency management |
| Exchange Rates | client.accounting.exchange_rates |
Exchange rates |
| Rate Providers | client.accounting.exchange_rate_providers |
Rate providers |
| Fiscal Years | client.accounting.fiscal_years |
Fiscal years |
| Periods | client.accounting.periods |
Accounting periods |
| Tax Rates | client.accounting.tax_rates |
Tax rates |
| Wallets | client.accounting.wallets |
Digital wallets |
| Wallet Transactions | client.accounting.wallet_transactions |
Wallet transactions |
| Reports | client.accounting.reports |
Financial reports |
| Resource | Accessor | Description |
|---|---|---|
| Inventory | client.accounting.inventory |
Inventory items |
| Batches | client.accounting.batches |
Inventory batches |
| Purchase Orders | client.accounting.purchase_orders |
Purchase orders |
| Stock Counts | client.accounting.stock_counts |
Stock counts |
| Stock Locations | client.accounting.stock_locations |
Stock locations |
| Stock Movements | client.accounting.stock_movements |
Stock movements |
| Suppliers | client.accounting.suppliers |
Supplier management |
| Resource | Accessor | Description |
|---|---|---|
| Insurance Claims | client.accounting.insurance_claims |
Insurance claims |
| Insurance Contracts | client.accounting.insurance_contracts |
Insurance contracts |
| Insurance Partners | client.accounting.insurance_partners |
Insurance partners |
| Price Lists | client.accounting.price_lists |
Price lists |
| Price List Overrides | client.accounting.price_list_overrides |
Price list overrides |
The reports accessor provides specialized methods:
client.accounting.reports.balance_sheet(date="2026-03-31")
client.accounting.reports.income_statement(start_date="2026-01-01", end_date="2026-03-31")
client.accounting.reports.trial_balance(date="2026-03-31")
client.accounting.reports.cash_flow(start_date="2026-01-01", end_date="2026-03-31")from essabu import Essabu
client = Essabu(api_key="esa_live_xxx", tenant_id="tenant-id")
accounts = client.accounting.accounts.list(page_size=50)
account = client.accounting.accounts.create(
code="4010",
name="Ventes de marchandises",
type="revenue",
currency="USD",
)
client.accounting.accounts.update("acc-uuid", name="Updated Name")entry = client.accounting.journal_entries.create(
journal_id="journal-uuid",
date="2026-03-26",
reference="JV-001",
lines=[
{"account_id": "acc-debit", "debit": 1000, "credit": 0},
{"account_id": "acc-credit", "debit": 0, "credit": 1000},
],
)invoice = client.accounting.invoices.create(
customer_id="cust-uuid",
due_date="2026-04-30",
lines=[{"description": "Service", "quantity": 1, "unit_price": 500}],
)
payment = client.accounting.payments.create(
invoice_id=invoice["id"],
amount=500,
method="bank_transfer",
date="2026-03-26",
)wallets = client.accounting.wallets.list()
wallet = client.accounting.wallets.create(name="Main Wallet", currency="USD")
txns = client.accounting.wallet_transactions.list(wallet_id="wallet-uuid")fy = client.accounting.fiscal_years.create(
name="FY 2026",
start_date="2026-01-01",
end_date="2026-12-31",
)Getting Started
Core Concepts
Modules
Advanced