Accounting
Huvudbok och rapporter
Vad den är till för
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.
Vad paketet gör och inte gör
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.
Modeller
accounting_account
An account of the chart of accounts
Läsgrupp: accounting.user. Skrivgrupp: accounting.manager.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
code | text | none | nej | accounting.user | i klartext | Account code as used in the chart, for example 400000 |
name | text | none | nej | accounting.user | i 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 | nej | accounting.user | i 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 | nej | accounting.user | i klartext | Whether open items on this account can be reconciled (receivable, payable, bank clearing) |
deprecated | bool | none | nej | accounting.user | i klartext | Whether the account is closed to new postings |
note | longtext | none | nej | accounting.user | i klartext | Internal remarks about how the account is used |
accounting_journal
A journal that groups entries of one kind (sales, purchases, bank, cash, miscellaneous)
Läsgrupp: accounting.user. Skrivgrupp: accounting.manager.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
name | text | none | nej | accounting.user | i klartext | Journal name, for example Customer invoices |
code | text | none | nej | accounting.user | i klartext | Short code used in entry numbers, for example INV |
kind | select (sale, purchase, cash, bank, general) | none | nej | accounting.user | i klartext | What the journal records: sale, purchase, cash, bank, general |
default_account_id | ref → accounting_account | none | nej | accounting.user | i klartext | Default account for entries of this journal (the bank account for a bank journal) |
currency | text | none | nej | accounting.user | i klartext | ISO 4217 currency code of the journal, for example EUR; empty means the company currency |
active | bool | none | nej | accounting.user | i klartext | Whether the journal can still receive entries |
accounting_tax
A tax rate that entry lines can refer to
Läsgrupp: accounting.user. Skrivgrupp: accounting.manager.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
name | text | none | nej | accounting.user | i klartext | Tax name, for example VAT 20% sales |
rate_bp | number | none | nej | accounting.user | i klartext | Rate in basis points: 2000 means 20.00 percent, 550 means 5.50 percent |
scope | select (sales, purchases, none) | none | nej | accounting.user | i klartext | Where the tax applies: sales, purchases, none |
price_included | bool | none | nej | accounting.user | i klartext | Whether prices already include this tax |
tax_account_id | ref → accounting_account | none | nej | accounting.user | i klartext | Account the tax amount is booked on |
active | bool | none | nej | accounting.user | i klartext | Whether the tax can still be chosen on new lines |
accounting_fiscal_year
A fiscal year, opened and closed as a whole
Läsgrupp: accounting.user. Skrivgrupp: accounting.manager.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
name | text | none | nej | accounting.user | i klartext | Fiscal year name, for example FY2026 |
start_on | date | none | nej | accounting.user | i klartext | First day of the fiscal year (YYYY-MM-DD) |
end_on | date | none | nej | accounting.user | i klartext | Last day of the fiscal year (YYYY-MM-DD) |
state | select (open, closed) | none | nej | accounting.user | i klartext | Fiscal year status: open, closed |
accounting_period
An accounting period (normally a month) inside a fiscal year
Läsgrupp: accounting.user. Skrivgrupp: accounting.manager.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
fiscal_year_id | ref → accounting_fiscal_year | none | nej | accounting.user | i klartext | The fiscal year the period belongs to |
name | text | none | nej | accounting.user | i klartext | Period name, for example 2026-03 |
start_on | date | none | nej | accounting.user | i klartext | First day of the period (YYYY-MM-DD) |
end_on | date | none | nej | accounting.user | i klartext | Last day of the period (YYYY-MM-DD) |
state | select (open, closed) | none | nej | accounting.user | i klartext | Period status: open, closed |
accounting_move
A journal entry: a dated set of debit and credit lines in one journal
Läsgrupp: accounting.user. Skrivgrupp: accounting.user.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
journal_id | ref → accounting_journal | none | nej | accounting.user | i klartext | The journal the entry belongs to |
date | date | none | nej | accounting.user | i klartext | Accounting date of the entry (YYYY-MM-DD) |
number | text | none | nej | accounting.user | i 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 | nej | accounting.user | i klartext | External reference, for example the supplier's invoice number |
partner_id | ref → party | none | nej | accounting.user | i klartext | The contact the entry is about |
narration | longtext | none | nej | accounting.user | i klartext | Free-text note about the entry |
state | select (draft, posted, cancelled, reversed) | none | nej | accounting.user | i klartext | Entry status: draft, posted, cancelled, reversed |
accounting_move_line
One debit or credit line of a journal entry
Läsgrupp: accounting.user. Skrivgrupp: accounting.user.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
move_id | ref → accounting_move | none | nej | accounting.user | i klartext | The journal entry the line belongs to |
account_id | ref → accounting_account | none | nej | accounting.user | i klartext | The account the line is booked on |
partner_id | ref → party | none | nej | accounting.user | i klartext | The contact the line is about |
label | text | none | nej | accounting.user | i klartext | Line description |
debit | money | financial | nej | accounting.user | undanhållen | Debit amount in minor currency units; 0 when the line is a credit |
credit | money | financial | nej | accounting.user | undanhållen | Credit amount in minor currency units; 0 when the line is a debit |
tax_id | ref → accounting_tax | none | nej | accounting.user | i klartext | Tax the line carries, if any |
due_on | date | none | nej | accounting.user | i klartext | Due date for receivable and payable lines (YYYY-MM-DD) |
reconciled | bool | none | nej | accounting.user | i 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
Läsgrupp: accounting.user. Skrivgrupp: accounting.user.
| Fält | Typ | Dataklass | Personuppgift | Grupp | Agenter ser | Beskrivning |
|---|---|---|---|---|---|---|
journal_id | ref → accounting_journal | none | nej | accounting.user | i klartext | The bank journal the statement belongs to |
date | date | none | nej | accounting.user | i klartext | Booking date at the bank (YYYY-MM-DD) |
label | text | none | nej | accounting.user | i klartext | Payment reference or description as the bank reports it |
amount | money | financial | nej | accounting.user | undanhållen | Amount in minor currency units; positive for money in, negative for money out |
counterparty_name | text | financial | ja | accounting.user | undanhållen | Name of the payer or payee as the bank reports it |
counterparty_iban | text | financial | ja | accounting.user | undanhållen | Bank account of the payer or payee |
move_line_id | ref → accounting_move_line | none | nej | accounting.user | i klartext | The entry line this statement line was matched to |
state | select (unmatched, matched, reconciled) | none | nej | accounting.user | i klartext | Matching status: unmatched, matched, reconciled |
Arbetsflöden
accounting_fiscal_year
| Åtgärd | Flyttar | Vem får köra den | Godkännande |
|---|---|---|---|
accounting_fiscal_year.close | state: open → closed | accounting.approver | ja |
accounting_fiscal_year.reopen | state: closed → open | accounting.approver | ja |
accounting_period
| Åtgärd | Flyttar | Vem får köra den | Godkännande |
|---|---|---|---|
accounting_period.close | state: open → closed | accounting.approver | ja |
accounting_period.reopen | state: closed → open | accounting.approver | ja |
accounting_move
| Åtgärd | Flyttar | Vem får köra den | Godkännande |
|---|---|---|---|
accounting_move.post | state: draft → posted | accounting.approver | ja |
accounting_move.cancel | state: draft → cancelled | accounting.user | nej |
accounting_move.reverse | state: posted → reversed | accounting.approver | ja |
accounting_bank_statement_line
| Åtgärd | Flyttar | Vem får köra den | Godkännande |
|---|---|---|---|
accounting_bank_statement_line.match | state: unmatched → matched | accounting.user | nej |
accounting_bank_statement_line.reconcile | state: matched → reconciled | accounting.manager | nej |
accounting_bank_statement_line.unmatch | state: matched → unmatched | accounting.user | nej |
Behörighetsgrupper
Grupper som den här appen använder:
accounting.approveraccounting.manageraccounting.user
Steg som kräver godkännande
Steg som en agent bara kan föreslå:
accounting_fiscal_year.closeaccounting_fiscal_year.reopenaccounting_period.closeaccounting_period.reopenaccounting_move.postaccounting_move.reverse
Vad agenter kan och inte kan göra
En agent kan läsa, söka, skapa och uppdatera poster i den här appen, och köra de åtgärder som inte kräver godkännande, inom behörighetsgrupperna för sin token.
Den kan bara föreslå de här stegen, och en person måste godkänna dem: 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.
De här fälten undanhålls helt från agenter: 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.
Beroenden
base
Installera
Installera den från appen Customize (Marknadsplats), eller från kommandoraden:
obop modules install-from accountingKräver en databas och administratörsbehörighet.