# Plan General Contable (PGC): chart of accounts, who applies it and example entries

URL: https://melso.ai/en/blog/plan-general-contable-spain-chart-of-accounts
Published: 2026-11-24 · Updated: 2026-11-24

What the Plan General Contable (Spain's accounting standard) is, who applies the PGC and who the PGC for PYMES, its five parts, the chart of accounts by group, the accounts an S.L. uses most and four entries that balance. Plus: must a freelancer use it?

## Plan General Contable, in brief

The Plan General Contable (PGC) is the standard that sets how Spanish companies keep their accounts: its criteria, the annual accounts models and a numbered chart of accounts. It is approved by Real Decreto 1514/2007 and is mandatory for all companies, except those that can apply the PGC for PYMES (small and medium-sized companies).

> [!RESUMEN]
> - The PGC is approved by [Real Decreto 1514/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2), of 16 November, and is mandatory for all companies, whatever their legal form, individual or corporate.
> - It has five parts: conceptual framework, recognition and measurement rules, annual accounts, chart of accounts, and definitions and accounting relationships.
> - The chart of accounts has nine groups: 1 to 5 make up the balance sheet, 6 and 7 the profit and loss account, and 8 and 9 the expenses and income taken to equity.
> - Companies can apply the PGC for PYMES (Real Decreto 1515/2007) if, for two consecutive years, they meet at least two of three limits: €4,000,000 of assets, €8,000,000 of turnover and 50 employees.
> - A self-employed person does not always keep full accounts: under simplified direct estimation and for non-commercial activities, record books are enough, according to Article 68 of the IRPF Regulation.

## What the Plan General Contable is and where it comes from

The PGC is a regulation. It says what is recorded, by which criterion each item is measured and how the annual accounts are presented. It is the reference text for any accountant, and the basis from which the result that enters [corporate tax](/en/blog/corporate-tax-rates-spain) is then calculated.

The current one was approved by [Real Decreto 1514/2007, of 16 November](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2), and replaced the 1990 PGC. It has been amended by Real Decreto 1159/2010, [Real Decreto 602/2016](https://www.boe.es/buscar/act.php?id=BOE-A-2016-11954) and, above all, [Real Decreto 1/2021](https://www.boe.es/buscar/act.php?id=BOE-A-2021-1350), which applies to financial years starting on or after 1 January 2021 and updated the criteria on revenue and financial instruments. Ley 7/2024 later added a transitional provision. If you see a PGC "from 2008" in a manual, check that it includes those reforms.

Two things worth separating. The PGC is accounting, not tax: it says how a transaction is recorded, not how much tax it pays. And it is not the same as international financial reporting standards: it is a Spanish standard, applicable to the individual accounts of all Spanish companies.

## Who applies what: PGC, PGC for PYMES and microcompanies

The general rule is simple: the PGC is mandatory for all companies, whatever their legal form ([Article 2 of Real Decreto 1514/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2)). The exception is the PGC for PYMES, which some companies can apply instead.

### PGC for PYMES: €4,000,000, €8,000,000 and 50 employees

The PGC for PYMES can be applied by all companies, of any legal form, that for two consecutive years meet, at the closing date of each, at least two of these circumstances: assets not above €4,000,000, annual turnover not above €8,000,000 and average number of employees not above 50 ([Article 2 of Real Decreto 1515/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19966#a2), with the amounts set by Real Decreto 602/2016). They are the same limits as the [abridged balance sheet](/en/blog/balance-sheet-spain-sl-example).

Four important points:

- In the year of incorporation, it is enough to meet two of the three circumstances at the close.
- If the company is part of a group, the figures of the whole group are added together.
- It cannot be applied by public-interest entities, by companies that are part of a group that prepares consolidated accounts, by those whose functional currency is not the euro or by financial institutions that take deposits from the public.
- The choice of one plan or the other must be kept for at least three financial years, unless the company loses the ability to apply the PYMES one.

### Microcompanies: €1,000,000, €2,000,000 and 10 employees

Within the PGC for PYMES there is one more level: specific accounting criteria for microcompanies. They can be applied by companies that already apply the PGC for PYMES and that for two consecutive years meet at least two of these circumstances: assets of up to €1,000,000, turnover of up to €2,000,000 and 10 employees at most ([Article 4 of Real Decreto 1515/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19966#a4)). It is an option, not an obligation.

![The PGC is mandatory for all companies. The PGC for PYMES can be applied with up to 4,000,000 euros of assets, 8,000,000 of turnover and 50 employees. The microcompany criteria, with up to 1,000,000 of assets, 2,000,000 of turnover and 10 employees. In both cases you must meet at least two of the three limits for two consecutive years.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/plan-general-contable/1-compare-845a13e2c6.png?w=1600&h=1328&m=1&mw=1080&mh=2715 "Source: Real Decreto 1514/2007, Article 2, and Real Decreto 1515/2007, Articles 2 and 4")

> [!IMPORTANTE]
> The Government proposed raising the size criteria for financial reporting purposes (bill 121/000075), but the bill lapsed with the dissolution of the Cortes ([Real Decreto 806/2026](https://www.boe.es/buscar/doc.php?id=BOE-A-2026-20742), BOE of 6 October 2026). The limits in this article are the ones in force. We explain it in more detail in [balance sheet](/en/blog/balance-sheet-spain-sl-example).

## The five parts of the Plan General Contable

When people talk about the "PGC" they mix up five blocks. Knowing them avoids looking for a definition where it is not.

| Part | Content | What you use it for |
|---|---|---|
| First | Conceptual framework of accounting | Principles, true and fair view and definitions of asset, liability, equity, income and expenses |
| Second | Recognition and measurement rules | How each item is recognised and measured: fixed assets, inventory, financial instruments, revenue |
| Third | Annual accounts | The models for the balance sheet, profit and loss account, statement of changes in equity, cash flows and notes |
| Fourth | Chart of accounts | The numbered list of accounts, from groups 1 to 9 |
| Fifth | Definitions and accounting relationships | What each account records and when it is debited and credited |

The first, second and third are the ones that bind. On the fourth and fifth, the regulation makes a useful clarification.

> [!IMPORTANTE]
> The accounting movements in the fifth part and the numbering and naming of accounts in the fourth part are not binding, except where they contain recognition or measurement criteria ([Article 2 of Real Decreto 1514/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2)). The chart of accounts is a widely used guide, not a closed text.

## The chart of accounts: groups 1 to 9

The chart of accounts organises all accounts with a numeric code. The first digit is the group, the first two are the subgroup and the first three are the account. Companies add more digits to open subaccounts, for example one per customer.

| Group | Name in the PGC | What it includes | Where it ends up |
|---|---|---|---|
| 1 | Basic financing | Capital, reserves, pending results, grants, provisions, long-term debts | Balance sheet: equity and non-current liabilities |
| 2 | Non-current assets | Intangible and tangible fixed assets, investments, accumulated depreciation | Balance sheet: non-current assets |
| 3 | Inventory | Goods, raw materials, finished products | Balance sheet: current assets |
| 4 | Trade creditors and debtors | Suppliers, customers, staff, tax authority, social security | Balance sheet: current assets and liabilities |
| 5 | Financial accounts | Short-term debts, short-term investments, banks and cash | Balance sheet: current assets and liabilities |
| 6 | Purchases and expenses | Purchases, external services, taxes, staff costs, financial expenses, depreciation | Profit and loss account |
| 7 | Sales and income | Sales, services, financial income, operating grants | Profit and loss account |
| 8 | Expenses taken to equity | Expenses that go directly to equity, such as hedges or translation differences | Equity |
| 9 | Income taken to equity | Income that goes directly to equity, such as grants received | Equity |

Groups 8 and 9 are used in specific transactions. A small S.L. almost always works with groups 1 to 7.

![Groups 1 to 5 of the chart of accounts make up the balance sheet. Groups 6 and 7 make up the profit and loss account. Groups 8 and 9 record expenses and income taken to equity.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/plan-general-contable/2-checklist-5141fe9305.png?w=1600&h=988&m=1&mw=1080&mh=1953 "Which groups make up each annual accounts statement")

## The accounts most used by a small S.L.

Of the hundreds of accounts in the chart, a small S.L. in services or trade uses a handful every day. These are the most common, with the name the PGC gives them and their usual balance.

| Account | Name in the PGC | What it records | Usual balance |
|---|---|---|---|
| 100 | Capital social (share capital) | What the shareholders contributed | Credit |
| 129 | Resultado del ejercicio (result for the year) | Profit or loss of the year | Credit with profit, debit with loss |
| 170 | Deudas a largo plazo con entidades de crédito (long-term bank debt) | Bank loans due in more than a year | Credit |
| 400 | Proveedores (suppliers) | Debts for purchases of goods | Credit |
| 410 | Acreedores por prestaciones de servicios (service creditors) | Debts for services received: utilities, advisory | Credit |
| 430 | Clientes (customers) | What customers owe you for sales and services | Debit |
| 472 | Hacienda Pública, IVA soportado (input IVA) | IVA on purchases and expenses | Debit |
| 477 | Hacienda Pública, IVA repercutido (output IVA) | IVA on sales | Credit |
| 4751 | Hacienda Pública, acreedora por retenciones practicadas (withholdings payable) | IRPF withholdings made and pending payment | Credit |
| 476 | Organismos de la Seguridad Social, acreedores (social security payable) | Social security contributions pending payment | Credit |
| 520 | Deudas a corto plazo con entidades de crédito (short-term bank debt) | Loans and credit lines due in less than a year | Credit |
| 570 | Caja, euros (cash) | Cash on hand | Debit |
| 572 | Bancos e instituciones de crédito c/c vista, euros (banks) | Balance of bank accounts | Debit |
| 600 | Compras de mercaderías (purchases of goods) | Purchases of what you later sell | Debit |
| 621 | Arrendamientos y cánones (rent) | Rent of premises or equipment | Debit |
| 623 | Servicios de profesionales independientes (professional services) | Gestoría, lawyers, consultants | Debit |
| 625 | Primas de seguros (insurance premiums) | Insurance for the activity | Debit |
| 628 | Suministros (utilities) | Electricity, water, phone, internet | Debit |
| 629 | Otros servicios (other services) | Service expenses with no account of their own | Debit |
| 640 | Sueldos y salarios (wages and salaries) | Staff pay | Debit |
| 642 | Seguridad Social a cargo de la empresa (employer social security) | Employer's social security contribution | Debit |
| 700 | Ventas de mercaderías (sales of goods) | Income from selling products | Credit |
| 705 | Prestaciones de servicios (services rendered) | Income from services provided | Credit |
| 6300 | Impuesto corriente (current tax) | Impuesto sobre Sociedades accrued in the year | Debit |

A tip so you do not get lost: accounts 6 and 7 record the expenses and income of the profit and loss account, and their balance is moved to 129 when the year is closed. Accounts 1 to 5 go to the balance sheet.

> [!CONSEJO]
> Use one subaccount per customer (4300001, 4300002) and per supplier (4000001, 4000002). That way the balance of 430 or 400 explains itself, and when someone asks how much a customer owes you, the figure is already in the books.

## How it is recorded: debit, credit and four example entries

An entry (asiento) is the record of a transaction. It is written with double entry: every transaction affects at least two accounts, and the total debit always equals the total credit. The general convention is this: debits increase assets and expenses; credits increase liabilities, equity and income.

The four entries below are from Casa Norte, S.L., the same company as in the [balance sheet](/en/blog/balance-sheet-spain-sl-example) example. The payroll amounts are illustrative, not real percentages.

### Entry 1: a sales invoice

Casa Norte provides an assembly service to a customer and issues an invoice of €3,000 plus 21% IVA, which is €630. Invoice total: €3,630.

| Account | Debit | Credit |
|---|---:|---:|
| 430 Clientes | €3,630 | |
| 705 Prestaciones de servicios | | €3,000 |
| 477 Hacienda Pública, IVA repercutido | | €630 |
| **Total** | **€3,630** | **€3,630** |

The customer owes €3,630 to the company, and of that amount €630 is not the company's: it is IVA that has to be paid over. When the customer pays, the entry is different: 572 (Banks) is debited for €3,630 and 430 (Customers) is credited for the same amount.

![A sales invoice of 3,000 euros plus 630 euros of IVA at 21 percent makes a total of 3,630 euros, recorded as the customers balance on the debit side, with 3,000 euros of sales and 630 of output IVA on the credit side.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/plan-general-contable/3-breakdown-d68cacaf75.png?w=1600&h=700&m=1&mw=1080&mh=1170 "Illustrative example")

### Entry 2: a utilities invoice

The company receives the electricity invoice for the premises: €400 plus €84 of IVA at 21%. Total: €484.

| Account | Debit | Credit |
|---|---:|---:|
| 628 Suministros | €400 | |
| 472 Hacienda Pública, IVA soportado | €84 | |
| 410 Acreedores por prestaciones de servicios | | €484 |
| **Total** | **€484** | **€484** |

The expense is €400. The €84 of IVA is recorded separately, as a right against Hacienda: it will be offset against the output IVA on sales.

### Entry 3: a payslip with the social security cost

A worker costs Casa Norte a gross salary of €2,000. From it, €300 of IRPF and €130 of the worker's social security contribution are withheld. The contribution payable by the company is €640. These figures are illustrative: in a real payslip they depend on the worker and their contract.

| Account | Debit | Credit |
|---|---:|---:|
| 640 Sueldos y salarios | €2,000 | |
| 642 Seguridad Social a cargo de la empresa | €640 | |
| 4751 Hacienda Pública, acreedora por retenciones practicadas | | €300 |
| 476 Organismos de la Seguridad Social, acreedores | | €770 |
| 465 Remuneraciones pendientes de pago | | €1,570 |
| **Total** | **€2,640** | **€2,640** |

Check: 2,000 + 640 = 2,640 on the debit side. On the credit side, 300 + 770 + 1,570 = 2,640. Account 476 adds the worker's contribution (€130) and the company's (€640): €770. And the €1,570 is the net pay to the employee: 2,000 - 300 - 130.

### Entry 4: settling the IVA for the period

At the end of the quarter, the output IVA on the sale (€630) is offset against the input IVA on the electricity invoice (€84). The difference is what has to be paid in modelo 303: 630 - 84 = €546.

| Account | Debit | Credit |
|---|---:|---:|
| 477 Hacienda Pública, IVA repercutido | €630 | |
| 472 Hacienda Pública, IVA soportado | | €84 |
| 4750 Hacienda Pública, acreedora por IVA | | €546 |
| **Total** | **€630** | **€630** |

When it is paid, 4750 is debited for €546 and 572 (Banks) is credited for the same amount. If input IVA were higher than output IVA, the difference would go to 4700 (Hacienda Pública, deudora por IVA).

## Does a self-employed person have to use the PGC?

It depends on what type of self-employed person you are, and you need to be precise here, because two different rules get mixed up: the commercial one and the tax one.

On the commercial side, the PGC is mandatory for all companies, including individual ones ([Article 2 of Real Decreto 1514/2007](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2)), and [Article 25 of the Código de Comercio](https://www.boe.es/buscar/act.php?id=BOE-A-1885-6627#art25) requires every business owner to keep orderly accounts, with an Inventory and Annual Accounts book and a Journal. The PGC adds that individual business owners prepare, at the very least, abridged annual accounts ([preparation rule 4 of the annual accounts](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#A4-3)).

On the tax side, [Article 68 of the IRPF Regulation](https://www.boe.es/buscar/act.php?id=BOE-A-2007-6820#a68) sets out what each self-employed person must keep according to their activity and estimation method:

| Self-employed situation | What they must keep | Paragraph of Article 68 |
|---|---|---|
| Business activity under normal direct estimation | Accounts in line with the Código de Comercio | Paragraph 2 |
| Business activity under simplified direct estimation | Record books of sales and income, purchases and expenses, and investment goods | Paragraph 4 |
| Business activity that is not commercial under the Código de Comercio | The same three record books | Paragraph 3 |
| Professional activity under direct estimation, normal or simplified | Record books of income, expenses, investment goods and provisions of funds and expenses paid on behalf of clients | Paragraph 5 |
| Objective estimation (módulos) | Keep issued and received invoices; investment goods record book if depreciation is deducted | Paragraphs 6 and 7 |

In practice: a self-employed person under normal direct estimation with a commercial activity keeps full accounts and therefore uses the PGC. A professional, or someone under simplified direct estimation, keeps record books for tax purposes. A record book is simpler, but it is not double-entry accounting.

The two rules coexist. If you doubt whether your activity is commercial under the Código de Comercio, or what your obligations are at the Registro Mercantil, consult a professional about your case. And if you are considering moving to a company, the comparison is in [autónomo or S.L.](/en/blog/autonomo-or-sl-spain): an S.L. always keeps accounts with the PGC, the PYMES one or the general one.

## Common mistakes

### Treating the chart of accounts as mandatory to the letter

The numbering and naming of accounts are not binding, except where they contain recognition or measurement criteria. What you cannot skip are the criteria of the second part and the annual accounts models of the third.

### Recording input IVA as an expense

Deductible input IVA (account 472) is not an expense: it is a right against Hacienda. If you record it within the expense, the result comes out lower than the real one and modelo 303 does not match the accounts.

### Putting the IRPF withholding from the payslip in expenses

Withholdings made from the worker are not an expense of the company. They are a debt to Hacienda that is recorded in 4751 until it is paid. The expense is the gross salary (640) and the employer contribution (642).

### Changing accounting plan every year

The choice between the PGC and the PYMES one must be kept for at least three financial years, unless the company loses the ability to apply the second. Deciding it year by year breaks comparability.

### Confusing the invoice date with the payment date

The invoice is recorded when it is issued or received, against customers (430) or suppliers and creditors (400, 410). The collection or payment is another entry, against banks (572). If you mix them, the balance sheet shows cash that does not exist.

## How Melso helps

Melso is your online gestoría, with an AI agent and human professionals behind it. In the company plan it keeps your bookkeeping: it records invoices, receipts and bank movements, keeps the profit and loss account and the balance sheet up to date, and prepares the annual accounts and statutory books at no extra cost. It also includes Impuesto sobre Sociedades (corporate income tax, modelos 200 and 202) and the IVA return, and a Melso gestor reviews every return.

You do not have to open accounts or balance entries by hand. The directors still prepare the accounts and the shareholders' meeting still approves them. Plans start at €99 a month depending on last year's revenue and have no lock-in period: you can find them in [pricing for companies](/en/precios/empresas). To get started, [sign up your company](/en/empezar/empresa) or talk to the team in a [30-minute call](https://cal.com/melso/30min).

> This article is for information only and does not replace professional advice for your case. Last reviewed: 24 November 2026.

## Frequently asked questions

### What is the Plan General Contable?

It is the standard that regulates how Spanish companies keep their accounts. It is approved by Real Decreto 1514/2007, of 16 November, and brings together the conceptual framework, the recognition and measurement rules, the annual accounts models, the chart of accounts and the definition of each account. It is mandatory for all companies, except those that can apply the PGC for PYMES (small and medium-sized companies).

### Who can apply the PGC for PYMES?

Companies that, for two consecutive years, meet at the closing date at least two of these circumstances: assets not above €4,000,000, annual turnover not above €8,000,000 and average headcount not above 50 employees. It cannot be used by public-interest entities, by companies in groups that consolidate, by those whose functional currency is not the euro or by financial institutions.

### How many groups does the chart of accounts have?

Nine. Groups 1 to 5 make up the balance sheet: basic financing, non-current assets, inventory, trade creditors and debtors, and financial accounts. Groups 6 and 7 are the expenses and income of the profit and loss account. Groups 8 and 9 record expenses and income taken directly to equity.

### Is it mandatory to use the PGC account numbers?

Not literally. Real Decreto 1514/2007 says that the numbering and naming of accounts in the fourth part and the movements in the fifth part are not binding, except where they contain recognition or measurement criteria. What is mandatory are the criteria and the annual accounts models.

### Does a self-employed person have to use the PGC?

It depends on their activity and estimation method. Under normal direct estimation, a business activity requires accounts in line with the Código de Comercio. Under simplified direct estimation, and for business activities that are not commercial, three record books are enough: sales and income, purchases and expenses, and investment goods. Professionals keep their own record books.

### Which account is used for IVA in the PGC?

IVA (Spanish VAT) on purchases and expenses is recorded in account 472, Hacienda Pública, IVA soportado. IVA on sales goes in 477, Hacienda Pública, IVA repercutido. When settling, the difference goes to 4750 (Hacienda Pública, acreedora por IVA) if there is an amount to pay, or to 4700 (deudora por IVA) if it comes out in the company's favour.

### What is the difference between debit and credit?

They are the two sides of every entry and they always add up to the same amount. Debits generally increase assets and expenses. Credits increase liabilities, equity and income. A sales invoice of €3,630 including IVA debits the customers account and credits sales and output IVA (IVA repercutido) in the credit side.

## Sources

- [Real Decreto 1514/2007, approving the Plan General de Contabilidad, Article 2 (mandatory nature)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#a2), BOE, accessed 2026-11-24
- [Real Decreto 1514/2007, Plan General de Contabilidad: fourth part, chart of accounts](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#cuaapae), BOE, accessed 2026-11-24
- [Real Decreto 1514/2007, Plan General de Contabilidad: fifth part, definitions and accounting relationships](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#quintapae), BOE, accessed 2026-11-24
- [Real Decreto 1514/2007, Plan General de Contabilidad: preparation rule 4 (abridged annual accounts)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19884#A4-3), BOE, accessed 2026-11-24
- [Real Decreto 1515/2007, PGC for SMEs (PYMES), Article 2 (scope)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19966#a2), BOE, accessed 2026-11-24
- [Real Decreto 1515/2007, PGC for SMEs (PYMES), Article 4 (criteria for microcompanies)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-19966#a4), BOE, accessed 2026-11-24
- [Real Decreto 602/2016, amending the Plan General de Contabilidad and the PGC for PYMES](https://www.boe.es/buscar/act.php?id=BOE-A-2016-11954), BOE, accessed 2026-11-24
- [Real Decreto 1/2021, amending the Plan General de Contabilidad and the PGC for PYMES](https://www.boe.es/buscar/act.php?id=BOE-A-2021-1350), BOE, accessed 2026-11-24
- [Real Decreto 806/2026, dissolving the Congress of Deputies and the Senate and calling elections](https://www.boe.es/buscar/doc.php?id=BOE-A-2026-20742), BOE, accessed 2026-11-24
- [Código de Comercio, Article 25 (obligation to keep accounts)](https://www.boe.es/buscar/act.php?id=BOE-A-1885-6627#art25), BOE, accessed 2026-11-24
- [Real Decreto 439/2007, IRPF Regulation, Article 68 (accounting and record-keeping obligations)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-6820#a68), BOE, accessed 2026-11-24
- [Ley de Sociedades de Capital, Article 257 (abridged balance sheet)](https://www.boe.es/buscar/act.php?id=BOE-A-2010-10544#a257), BOE, accessed 2026-11-24
