Accounting

Księga główna i raporty

MarketplaceFinanseWersja 0.1.0manifest

Do czego służy ​

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.

Co pakiet robi, a czego nie robi ​

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.

Modele ​

accounting_account ​

An account of the chart of accounts

Grupa odczytu: accounting.user. Grupa zapisu: accounting.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
codetextnonenieaccounting.userjawnieAccount code as used in the chart, for example 400000
nametextnonenieaccounting.userjawnieAccount name, for example Trade receivables
account_typeselect (asset_receivable, asset_cash, asset_current, asset_fixed, liability_payable, liability_current, liability_non_current, equity, income, income_other, expense, expense_direct_cost)nonenieaccounting.userjawnieType 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
reconcileboolnonenieaccounting.userjawnieWhether open items on this account can be reconciled (receivable, payable, bank clearing)
deprecatedboolnonenieaccounting.userjawnieWhether the account is closed to new postings
notelongtextnonenieaccounting.userjawnieInternal remarks about how the account is used

accounting_journal ​

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

Grupa odczytu: accounting.user. Grupa zapisu: accounting.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
nametextnonenieaccounting.userjawnieJournal name, for example Customer invoices
codetextnonenieaccounting.userjawnieShort code used in entry numbers, for example INV
kindselect (sale, purchase, cash, bank, general)nonenieaccounting.userjawnieWhat the journal records: sale, purchase, cash, bank, general
default_account_idref → accounting_accountnonenieaccounting.userjawnieDefault account for entries of this journal (the bank account for a bank journal)
currencytextnonenieaccounting.userjawnieISO 4217 currency code of the journal, for example EUR; empty means the company currency
activeboolnonenieaccounting.userjawnieWhether the journal can still receive entries

accounting_tax ​

A tax rate that entry lines can refer to

Grupa odczytu: accounting.user. Grupa zapisu: accounting.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
nametextnonenieaccounting.userjawnieTax name, for example VAT 20% sales
rate_bpnumbernonenieaccounting.userjawnieRate in basis points: 2000 means 20.00 percent, 550 means 5.50 percent
scopeselect (sales, purchases, none)nonenieaccounting.userjawnieWhere the tax applies: sales, purchases, none
price_includedboolnonenieaccounting.userjawnieWhether prices already include this tax
tax_account_idref → accounting_accountnonenieaccounting.userjawnieAccount the tax amount is booked on
activeboolnonenieaccounting.userjawnieWhether the tax can still be chosen on new lines

accounting_fiscal_year ​

A fiscal year, opened and closed as a whole

Grupa odczytu: accounting.user. Grupa zapisu: accounting.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
nametextnonenieaccounting.userjawnieFiscal year name, for example FY2026
start_ondatenonenieaccounting.userjawnieFirst day of the fiscal year (YYYY-MM-DD)
end_ondatenonenieaccounting.userjawnieLast day of the fiscal year (YYYY-MM-DD)
stateselect (open, closed)nonenieaccounting.userjawnieFiscal year status: open, closed

accounting_period ​

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

Grupa odczytu: accounting.user. Grupa zapisu: accounting.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
fiscal_year_idref → accounting_fiscal_yearnonenieaccounting.userjawnieThe fiscal year the period belongs to
nametextnonenieaccounting.userjawniePeriod name, for example 2026-03
start_ondatenonenieaccounting.userjawnieFirst day of the period (YYYY-MM-DD)
end_ondatenonenieaccounting.userjawnieLast day of the period (YYYY-MM-DD)
stateselect (open, closed)nonenieaccounting.userjawniePeriod status: open, closed

accounting_move ​

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

Grupa odczytu: accounting.user. Grupa zapisu: accounting.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
journal_idref → accounting_journalnonenieaccounting.userjawnieThe journal the entry belongs to
datedatenonenieaccounting.userjawnieAccounting date of the entry (YYYY-MM-DD)
numbertextnonenieaccounting.userjawnieEntry 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
referencetextnonenieaccounting.userjawnieExternal reference, for example the supplier's invoice number
partner_idref → partynonenieaccounting.userjawnieThe contact the entry is about
narrationlongtextnonenieaccounting.userjawnieFree-text note about the entry
stateselect (draft, posted, cancelled, reversed)nonenieaccounting.userjawnieEntry status: draft, posted, cancelled, reversed

accounting_move_line ​

One debit or credit line of a journal entry

Grupa odczytu: accounting.user. Grupa zapisu: accounting.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
move_idref → accounting_movenonenieaccounting.userjawnieThe journal entry the line belongs to
account_idref → accounting_accountnonenieaccounting.userjawnieThe account the line is booked on
partner_idref → partynonenieaccounting.userjawnieThe contact the line is about
labeltextnonenieaccounting.userjawnieLine description
debitmoneyfinancialnieaccounting.userwstrzymaneDebit amount in minor currency units; 0 when the line is a credit
creditmoneyfinancialnieaccounting.userwstrzymaneCredit amount in minor currency units; 0 when the line is a debit
tax_idref → accounting_taxnonenieaccounting.userjawnieTax the line carries, if any
due_ondatenonenieaccounting.userjawnieDue date for receivable and payable lines (YYYY-MM-DD)
reconciledboolnonenieaccounting.userjawnieWhether the line has been matched against a payment

accounting_bank_statement_line ​

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

Grupa odczytu: accounting.user. Grupa zapisu: accounting.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
journal_idref → accounting_journalnonenieaccounting.userjawnieThe bank journal the statement belongs to
datedatenonenieaccounting.userjawnieBooking date at the bank (YYYY-MM-DD)
labeltextnonenieaccounting.userjawniePayment reference or description as the bank reports it
amountmoneyfinancialnieaccounting.userwstrzymaneAmount in minor currency units; positive for money in, negative for money out
counterparty_nametextfinancialtakaccounting.userwstrzymaneName of the payer or payee as the bank reports it
counterparty_ibantextfinancialtakaccounting.userwstrzymaneBank account of the payer or payee
move_line_idref → accounting_move_linenonenieaccounting.userjawnieThe entry line this statement line was matched to
stateselect (unmatched, matched, reconciled)nonenieaccounting.userjawnieMatching status: unmatched, matched, reconciled

Przepływy pracy ​

accounting_fiscal_year ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
accounting_fiscal_year.closestate: open → closedaccounting.approvertak
accounting_fiscal_year.reopenstate: closed → openaccounting.approvertak

accounting_period ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
accounting_period.closestate: open → closedaccounting.approvertak
accounting_period.reopenstate: closed → openaccounting.approvertak

accounting_move ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
accounting_move.poststate: draft → postedaccounting.approvertak
accounting_move.cancelstate: draft → cancelledaccounting.usernie
accounting_move.reversestate: posted → reversedaccounting.approvertak

accounting_bank_statement_line ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
accounting_bank_statement_line.matchstate: unmatched → matchedaccounting.usernie
accounting_bank_statement_line.reconcilestate: matched → reconciledaccounting.managernie
accounting_bank_statement_line.unmatchstate: matched → unmatchedaccounting.usernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

  • accounting.approver
  • accounting.manager
  • accounting.user

Kroki zatwierdzania ​

Kroki, które agent może tylko zaproponować:

  • accounting_fiscal_year.close
  • accounting_fiscal_year.reopen
  • accounting_period.close
  • accounting_period.reopen
  • accounting_move.post
  • accounting_move.reverse

Co agenci mogą, a czego nie mogą ​

Agent może odczytywać, wyszukiwać, tworzyć i aktualizować rekordy tej aplikacji oraz uruchamiać akcje niewymagające zatwierdzenia, w ramach grup uprawnień swojego tokenu.

Te kroki może tylko zaproponować, a człowiek musi je zatwierdzić: 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.

Te pola są całkowicie wstrzymane i niedostępne dla agentów: 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.

Zależności ​

  • base

Instalacja ​

Zainstaluj ją w aplikacji Customize (Marketplace) lub z wiersza poleceń:

bash
obop modules install-from accounting

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

Przewodnik po modułach pokazuje, jak pisze się takie aplikacje