Accounting
Libro mayor e informes
Para qué sirve
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.
Qué hace y qué no hace el paquete
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.
Modelos
accounting_account
An account of the chart of accounts
Grupo de lectura: accounting.user. Grupo de escritura: accounting.manager.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
code | text | none | no | accounting.user | en claro | Account code as used in the chart, for example 400000 |
name | text | none | no | accounting.user | en claro | 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 | no | accounting.user | en claro | 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 | no | accounting.user | en claro | Whether open items on this account can be reconciled (receivable, payable, bank clearing) |
deprecated | bool | none | no | accounting.user | en claro | Whether the account is closed to new postings |
note | longtext | none | no | accounting.user | en claro | Internal remarks about how the account is used |
accounting_journal
A journal that groups entries of one kind (sales, purchases, bank, cash, miscellaneous)
Grupo de lectura: accounting.user. Grupo de escritura: accounting.manager.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
name | text | none | no | accounting.user | en claro | Journal name, for example Customer invoices |
code | text | none | no | accounting.user | en claro | Short code used in entry numbers, for example INV |
kind | select (sale, purchase, cash, bank, general) | none | no | accounting.user | en claro | What the journal records: sale, purchase, cash, bank, general |
default_account_id | ref → accounting_account | none | no | accounting.user | en claro | Default account for entries of this journal (the bank account for a bank journal) |
currency | text | none | no | accounting.user | en claro | ISO 4217 currency code of the journal, for example EUR; empty means the company currency |
active | bool | none | no | accounting.user | en claro | Whether the journal can still receive entries |
accounting_tax
A tax rate that entry lines can refer to
Grupo de lectura: accounting.user. Grupo de escritura: accounting.manager.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
name | text | none | no | accounting.user | en claro | Tax name, for example VAT 20% sales |
rate_bp | number | none | no | accounting.user | en claro | Rate in basis points: 2000 means 20.00 percent, 550 means 5.50 percent |
scope | select (sales, purchases, none) | none | no | accounting.user | en claro | Where the tax applies: sales, purchases, none |
price_included | bool | none | no | accounting.user | en claro | Whether prices already include this tax |
tax_account_id | ref → accounting_account | none | no | accounting.user | en claro | Account the tax amount is booked on |
active | bool | none | no | accounting.user | en claro | Whether the tax can still be chosen on new lines |
accounting_fiscal_year
A fiscal year, opened and closed as a whole
Grupo de lectura: accounting.user. Grupo de escritura: accounting.manager.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
name | text | none | no | accounting.user | en claro | Fiscal year name, for example FY2026 |
start_on | date | none | no | accounting.user | en claro | First day of the fiscal year (YYYY-MM-DD) |
end_on | date | none | no | accounting.user | en claro | Last day of the fiscal year (YYYY-MM-DD) |
state | select (open, closed) | none | no | accounting.user | en claro | Fiscal year status: open, closed |
accounting_period
An accounting period (normally a month) inside a fiscal year
Grupo de lectura: accounting.user. Grupo de escritura: accounting.manager.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
fiscal_year_id | ref → accounting_fiscal_year | none | no | accounting.user | en claro | The fiscal year the period belongs to |
name | text | none | no | accounting.user | en claro | Period name, for example 2026-03 |
start_on | date | none | no | accounting.user | en claro | First day of the period (YYYY-MM-DD) |
end_on | date | none | no | accounting.user | en claro | Last day of the period (YYYY-MM-DD) |
state | select (open, closed) | none | no | accounting.user | en claro | Period status: open, closed |
accounting_move
A journal entry: a dated set of debit and credit lines in one journal
Grupo de lectura: accounting.user. Grupo de escritura: accounting.user.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
journal_id | ref → accounting_journal | none | no | accounting.user | en claro | The journal the entry belongs to |
date | date | none | no | accounting.user | en claro | Accounting date of the entry (YYYY-MM-DD) |
number | text | none | no | accounting.user | en claro | 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 | no | accounting.user | en claro | External reference, for example the supplier's invoice number |
partner_id | ref → party | none | no | accounting.user | en claro | The contact the entry is about |
narration | longtext | none | no | accounting.user | en claro | Free-text note about the entry |
state | select (draft, posted, cancelled, reversed) | none | no | accounting.user | en claro | Entry status: draft, posted, cancelled, reversed |
accounting_move_line
One debit or credit line of a journal entry
Grupo de lectura: accounting.user. Grupo de escritura: accounting.user.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
move_id | ref → accounting_move | none | no | accounting.user | en claro | The journal entry the line belongs to |
account_id | ref → accounting_account | none | no | accounting.user | en claro | The account the line is booked on |
partner_id | ref → party | none | no | accounting.user | en claro | The contact the line is about |
label | text | none | no | accounting.user | en claro | Line description |
debit | money | financial | no | accounting.user | retenido | Debit amount in minor currency units; 0 when the line is a credit |
credit | money | financial | no | accounting.user | retenido | Credit amount in minor currency units; 0 when the line is a debit |
tax_id | ref → accounting_tax | none | no | accounting.user | en claro | Tax the line carries, if any |
due_on | date | none | no | accounting.user | en claro | Due date for receivable and payable lines (YYYY-MM-DD) |
reconciled | bool | none | no | accounting.user | en claro | 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
Grupo de lectura: accounting.user. Grupo de escritura: accounting.user.
| Campo | Tipo | Clase de datos | Datos personales | Grupo | Los agentes ven | Descripción |
|---|---|---|---|---|---|---|
journal_id | ref → accounting_journal | none | no | accounting.user | en claro | The bank journal the statement belongs to |
date | date | none | no | accounting.user | en claro | Booking date at the bank (YYYY-MM-DD) |
label | text | none | no | accounting.user | en claro | Payment reference or description as the bank reports it |
amount | money | financial | no | accounting.user | retenido | Amount in minor currency units; positive for money in, negative for money out |
counterparty_name | text | financial | sí | accounting.user | retenido | Name of the payer or payee as the bank reports it |
counterparty_iban | text | financial | sí | accounting.user | retenido | Bank account of the payer or payee |
move_line_id | ref → accounting_move_line | none | no | accounting.user | en claro | The entry line this statement line was matched to |
state | select (unmatched, matched, reconciled) | none | no | accounting.user | en claro | Matching status: unmatched, matched, reconciled |
Flujos de trabajo
accounting_fiscal_year
| Acción | Mueve | Quién puede ejecutarla | Aprobación |
|---|---|---|---|
accounting_fiscal_year.close | state: open → closed | accounting.approver | sí |
accounting_fiscal_year.reopen | state: closed → open | accounting.approver | sí |
accounting_period
| Acción | Mueve | Quién puede ejecutarla | Aprobación |
|---|---|---|---|
accounting_period.close | state: open → closed | accounting.approver | sí |
accounting_period.reopen | state: closed → open | accounting.approver | sí |
accounting_move
| Acción | Mueve | Quién puede ejecutarla | Aprobación |
|---|---|---|---|
accounting_move.post | state: draft → posted | accounting.approver | sí |
accounting_move.cancel | state: draft → cancelled | accounting.user | no |
accounting_move.reverse | state: posted → reversed | accounting.approver | sí |
accounting_bank_statement_line
| Acción | Mueve | Quién puede ejecutarla | Aprobación |
|---|---|---|---|
accounting_bank_statement_line.match | state: unmatched → matched | accounting.user | no |
accounting_bank_statement_line.reconcile | state: matched → reconciled | accounting.manager | no |
accounting_bank_statement_line.unmatch | state: matched → unmatched | accounting.user | no |
Grupos de permisos
Grupos que usa esta aplicación:
accounting.approveraccounting.manageraccounting.user
Pasos con aprobación
Pasos que un agente solo puede proponer:
accounting_fiscal_year.closeaccounting_fiscal_year.reopenaccounting_period.closeaccounting_period.reopenaccounting_move.postaccounting_move.reverse
Qué pueden y qué no pueden hacer los agentes
Un agente puede leer, buscar, crear y actualizar registros de esta aplicación, y ejecutar las acciones que no requieren aprobación, dentro de los grupos de permisos de su token.
Solo puede proponer estos pasos, y una persona debe aprobarlos: 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.
Estos campos se retienen por completo y los agentes no los ven: 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.
Dependencias
base
Instalación
Instálala desde la aplicación Customize (Marketplace) o desde la línea de comandos:
obop modules install-from accountingRequiere una base de datos y derechos de administrador.
Crea la tuya
La guía de módulos explica cómo se escriben aplicaciones como esta