---
title: "Accounting"
description: "Hauptbuch und Berichte. Jede App ist ein Modul auf einem gemeinsamen Datenmodell."
canonical: "https://obop-platform.sliplane.app/de/apps/accounting/"
lang: "de"
---

# Accounting

## Wofür sie gedacht ist

A chart of accounts, journals, tax rates, journal entries with debit and credit lines, fiscal periods and bank statement lines. Nothing is computed for you: balancing and tax amounts are the responsibility of whoever enters them. Posting and closing need approval.

## Was das Paket leistet und was nicht

Chart of accounts, journals, tax rates, journal entries with debit and credit lines, fiscal years and periods, and bank statement lines. Amounts are money fields in minor currency units and tax rates are numbers in basis points (2000 means 20.00 percent). Nothing is computed: balancing of debits and credits, tax amounts and entry numbers are the responsibility of whoever enters them. Posting an entry and closing a period or fiscal year need a human approval and the stricter accounting.approver group; agents may only propose them.

## Modelle

### `accounting_account`

An account of the chart of accounts

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.manager`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `code` | text | `none` | nein | `accounting.user` | im Klartext | Account code as used in the chart, for example 400000 |
| `name` | text | `none` | nein | `accounting.user` | im Klartext | Account name, for example Trade receivables |
| `account_type` | select (asset_receivable, asset_cash, asset_current, asset_fixed, liability_payable, liability_current, liability_non_current, equity, income, income_other, expense, expense_direct_cost) | `none` | nein | `accounting.user` | im Klartext | Type of account: asset_receivable, asset_cash, asset_current, asset_fixed, liability_payable, liability_current, liability_non_current, equity, income, income_other, expense, expense_direct_cost |
| `reconcile` | bool | `none` | nein | `accounting.user` | im Klartext | Whether open items on this account can be reconciled (receivable, payable, bank clearing) |
| `deprecated` | bool | `none` | nein | `accounting.user` | im Klartext | Whether the account is closed to new postings |
| `note` | longtext | `none` | nein | `accounting.user` | im Klartext | Internal remarks about how the account is used |

### `accounting_journal`

A journal that groups entries of one kind (sales, purchases, bank, cash, miscellaneous)

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.manager`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `name` | text | `none` | nein | `accounting.user` | im Klartext | Journal name, for example Customer invoices |
| `code` | text | `none` | nein | `accounting.user` | im Klartext | Short code used in entry numbers, for example INV |
| `kind` | select (sale, purchase, cash, bank, general) | `none` | nein | `accounting.user` | im Klartext | What the journal records: sale, purchase, cash, bank, general |
| `default_account_id` | ref → accounting_account | `none` | nein | `accounting.user` | im Klartext | Default account for entries of this journal (the bank account for a bank journal) |
| `currency` | text | `none` | nein | `accounting.user` | im Klartext | ISO 4217 currency code of the journal, for example EUR; empty means the company currency |
| `active` | bool | `none` | nein | `accounting.user` | im Klartext | Whether the journal can still receive entries |

### `accounting_tax`

A tax rate that entry lines can refer to

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.manager`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `name` | text | `none` | nein | `accounting.user` | im Klartext | Tax name, for example VAT 20% sales |
| `rate_bp` | number | `none` | nein | `accounting.user` | im Klartext | Rate in basis points: 2000 means 20.00 percent, 550 means 5.50 percent |
| `scope` | select (sales, purchases, none) | `none` | nein | `accounting.user` | im Klartext | Where the tax applies: sales, purchases, none |
| `price_included` | bool | `none` | nein | `accounting.user` | im Klartext | Whether prices already include this tax |
| `tax_account_id` | ref → accounting_account | `none` | nein | `accounting.user` | im Klartext | Account the tax amount is booked on |
| `active` | bool | `none` | nein | `accounting.user` | im Klartext | Whether the tax can still be chosen on new lines |

### `accounting_fiscal_year`

A fiscal year, opened and closed as a whole

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.manager`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `name` | text | `none` | nein | `accounting.user` | im Klartext | Fiscal year name, for example FY2026 |
| `start_on` | date | `none` | nein | `accounting.user` | im Klartext | First day of the fiscal year (YYYY-MM-DD) |
| `end_on` | date | `none` | nein | `accounting.user` | im Klartext | Last day of the fiscal year (YYYY-MM-DD) |
| `state` | select (open, closed) | `none` | nein | `accounting.user` | im Klartext | Fiscal year status: open, closed |

### `accounting_period`

An accounting period (normally a month) inside a fiscal year

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.manager`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `fiscal_year_id` | ref → accounting_fiscal_year | `none` | nein | `accounting.user` | im Klartext | The fiscal year the period belongs to |
| `name` | text | `none` | nein | `accounting.user` | im Klartext | Period name, for example 2026-03 |
| `start_on` | date | `none` | nein | `accounting.user` | im Klartext | First day of the period (YYYY-MM-DD) |
| `end_on` | date | `none` | nein | `accounting.user` | im Klartext | Last day of the period (YYYY-MM-DD) |
| `state` | select (open, closed) | `none` | nein | `accounting.user` | im Klartext | Period status: open, closed |

### `accounting_move`

A journal entry: a dated set of debit and credit lines in one journal

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.user`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `journal_id` | ref → accounting_journal | `none` | nein | `accounting.user` | im Klartext | The journal the entry belongs to |
| `date` | date | `none` | nein | `accounting.user` | im Klartext | Accounting date of the entry (YYYY-MM-DD) |
| `number` | text | `none` | nein | `accounting.user` | im Klartext | Entry number such as INV/2026/0001. Free text: packages cannot generate sequences, so whoever posts the entry assigns the next number by hand and keeps the series gapless |
| `reference` | text | `none` | nein | `accounting.user` | im Klartext | External reference, for example the supplier's invoice number |
| `partner_id` | ref → party | `none` | nein | `accounting.user` | im Klartext | The contact the entry is about |
| `narration` | longtext | `none` | nein | `accounting.user` | im Klartext | Free-text note about the entry |
| `state` | select (draft, posted, cancelled, reversed) | `none` | nein | `accounting.user` | im Klartext | Entry status: draft, posted, cancelled, reversed |

### `accounting_move_line`

One debit or credit line of a journal entry

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.user`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `move_id` | ref → accounting_move | `none` | nein | `accounting.user` | im Klartext | The journal entry the line belongs to |
| `account_id` | ref → accounting_account | `none` | nein | `accounting.user` | im Klartext | The account the line is booked on |
| `partner_id` | ref → party | `none` | nein | `accounting.user` | im Klartext | The contact the line is about |
| `label` | text | `none` | nein | `accounting.user` | im Klartext | Line description |
| `debit` | money | `financial` | nein | `accounting.user` | zurückgehalten | Debit amount in minor currency units; 0 when the line is a credit |
| `credit` | money | `financial` | nein | `accounting.user` | zurückgehalten | Credit amount in minor currency units; 0 when the line is a debit |
| `tax_id` | ref → accounting_tax | `none` | nein | `accounting.user` | im Klartext | Tax the line carries, if any |
| `due_on` | date | `none` | nein | `accounting.user` | im Klartext | Due date for receivable and payable lines (YYYY-MM-DD) |
| `reconciled` | bool | `none` | nein | `accounting.user` | im Klartext | Whether the line has been matched against a payment |

### `accounting_bank_statement_line`

A line of a bank statement waiting to be matched to entries

Lesegruppe: `accounting.user`. Schreibgruppe: `accounting.user`.

| Feld | Art | Datenklasse | Personenbezogene Daten | Gruppe | Agenten sehen | Beschreibung |
|---|---|---|---|---|---|---|
| `journal_id` | ref → accounting_journal | `none` | nein | `accounting.user` | im Klartext | The bank journal the statement belongs to |
| `date` | date | `none` | nein | `accounting.user` | im Klartext | Booking date at the bank (YYYY-MM-DD) |
| `label` | text | `none` | nein | `accounting.user` | im Klartext | Payment reference or description as the bank reports it |
| `amount` | money | `financial` | nein | `accounting.user` | zurückgehalten | Amount in minor currency units; positive for money in, negative for money out |
| `counterparty_name` | text | `financial` | ja | `accounting.user` | zurückgehalten | Name of the payer or payee as the bank reports it |
| `counterparty_iban` | text | `financial` | ja | `accounting.user` | zurückgehalten | Bank account of the payer or payee |
| `move_line_id` | ref → accounting_move_line | `none` | nein | `accounting.user` | im Klartext | The entry line this statement line was matched to |
| `state` | select (unmatched, matched, reconciled) | `none` | nein | `accounting.user` | im Klartext | Matching status: unmatched, matched, reconciled |

## Workflows

### `accounting_fiscal_year`

| Aktion | Bewegt | Wer sie ausführen darf | Freigabe |
|---|---|---|---|
| `accounting_fiscal_year.close` | state: open → closed | `accounting.approver` | ja |
| `accounting_fiscal_year.reopen` | state: closed → open | `accounting.approver` | ja |

### `accounting_period`

| Aktion | Bewegt | Wer sie ausführen darf | Freigabe |
|---|---|---|---|
| `accounting_period.close` | state: open → closed | `accounting.approver` | ja |
| `accounting_period.reopen` | state: closed → open | `accounting.approver` | ja |

### `accounting_move`

| Aktion | Bewegt | Wer sie ausführen darf | Freigabe |
|---|---|---|---|
| `accounting_move.post` | state: draft → posted | `accounting.approver` | ja |
| `accounting_move.cancel` | state: draft → cancelled | `accounting.user` | nein |
| `accounting_move.reverse` | state: posted → reversed | `accounting.approver` | ja |

### `accounting_bank_statement_line`

| Aktion | Bewegt | Wer sie ausführen darf | Freigabe |
|---|---|---|---|
| `accounting_bank_statement_line.match` | state: unmatched → matched | `accounting.user` | nein |
| `accounting_bank_statement_line.reconcile` | state: matched → reconciled | `accounting.manager` | nein |
| `accounting_bank_statement_line.unmatch` | state: matched → unmatched | `accounting.user` | nein |

## Berechtigungsgruppen

Von dieser App verwendete Gruppen:

- `accounting.approver`
- `accounting.manager`
- `accounting.user`

## Freigabeschritte

Schritte, die ein Agent nur vorschlagen kann:

- `accounting_fiscal_year.close`
- `accounting_fiscal_year.reopen`
- `accounting_period.close`
- `accounting_period.reopen`
- `accounting_move.post`
- `accounting_move.reverse`

## Was Agenten tun können und was nicht

Ein Agent kann Datensätze dieser App lesen, durchsuchen, anlegen und aktualisieren sowie Aktionen ausführen, die keine Freigabe brauchen, und zwar innerhalb der Berechtigungsgruppen seines Tokens.

Diese Schritte kann er nur vorschlagen, und eine Person muss sie freigeben: `accounting_fiscal_year.close`, `accounting_fiscal_year.reopen`, `accounting_period.close`, `accounting_period.reopen`, `accounting_move.post`, `accounting_move.reverse`, `accounting_account.delete`, `accounting_journal.delete`, `accounting_tax.delete`, `accounting_fiscal_year.delete`, `accounting_period.delete`, `accounting_move.delete`, `accounting_move_line.delete`, `accounting_bank_statement_line.delete`.

Diese Felder werden Agenten vollständig vorenthalten: `accounting_move_line.debit`, `accounting_move_line.credit`, `accounting_bank_statement_line.amount`, `accounting_bank_statement_line.counterparty_name`, `accounting_bank_statement_line.counterparty_iban`.

## Abhängigkeiten

- `base`

## Installation

Installieren Sie sie in der App Customize (Marktplatz) oder über die Kommandozeile:

```bash
obop modules install-from accounting
```

Erfordert eine Datenbank und Administratorrechte.

## Selbst bauen

[Der Modulleitfaden zeigt, wie Apps wie diese geschrieben werden](/de/docs/reference/module-manifest/)
