Skip to content

Latest commit

 

History

History
93 lines (71 loc) · 2.28 KB

File metadata and controls

93 lines (71 loc) · 2.28 KB

module-accounting

Datafund accounting integration with e-racuni.com - Slovenia's accounting software.

Features

  • Financial Overview: Bank balances, receivables, payables at a glance
  • Invoice Tracking: Sales invoices (receivables) and received invoices (payables)
  • Payment Planning: Prioritized payment suggestions based on due dates and cash position
  • Spend Analysis: Retrospective analysis by cost center, category, and project

Installation

# Clone into datafund modules directory
git clone https://github.com/datafund/module-accounting.git \
  1-datafund/.datacore/modules/accounting

Setup

  1. Enable Web Services in e-racuni organization settings
  2. Get API credentials (username, secret key, org token)
  3. Configure environment:
# Add to .datacore/env/.env
ERACUNI_USERNAME=your_username
ERACUNI_SECRET_KEY=your_secret_key
ERACUNI_ORG_TOKEN=your_org_token
  1. Test connection: /accounting sync

See docs/setup.md for detailed instructions.

Usage

Single command entry point:

/accounting sync        # Pull latest data from e-racuni
/accounting overview    # Show financial snapshot
/accounting payables    # List outstanding invoices by vendor
/accounting plan        # Generate payment prioritization
/accounting analyze     # Spend analysis
/accounting classify    # Classify paid invoices

Structure

module-accounting/
├── module.yaml         # Module manifest
├── CLAUDE.md           # AI context
├── agents/             # Agent definitions
│   ├── accounting-sync.md
│   ├── accounting-overview.md
│   ├── pending-payments.md
│   ├── payment-planner.md
│   ├── invoice-classifier.md
│   └── spend-analyzer.md
├── commands/
│   └── accounting.md   # Single entry point
├── lib/
│   └── e-racuni-client.py
└── docs/
    └── setup.md

Data Storage

Financial data stored in 1-datafund/knowledge/accounting/:

knowledge/accounting/
├── balances.json
├── invoices/
├── payables/
│   ├── pending/
│   └── paid/
├── vendors/
├── analysis/
└── sync-log.json

License

MIT

Repository

https://github.com/datafund/module-accounting