Tax obligation: a complete guide with regulations, types and examples

Last update: November 1, 2025
  • The LGT defines the legal-tax relationship and distinguishes between material and formal obligations.
  • The RGAT specifies key duties: NIF, register books, invoicing and information to third parties.
  • Failure to comply carries penalties and possible crimes; Article 34 of the General Tax Law recognizes taxpayer rights.

Tax obligation

Understanding tax obligations helps avoid unpleasant surprises with the tax authorities and ensures compliance with regulations without unnecessary headaches. In Spain, the set of duties, rights, and powers that arise from taxation is structured as a legal-tax relationship defined by the General Tax Law (LGT). In practice, this relationship explains why we pay taxes, what procedures we must follow, and how everything is coordinated with the tax authorities.

This relationship gives rise to both substantive and formal obligations , as well as guarantees for the taxpayer. Furthermore, certain obligations are specified in the General Regulations for Tax Management and Inspection Procedures (RGAT), which detail matters such as maintaining accounting records, using the Tax Identification Number (NIF), providing information on transactions with third parties, and reporting financial accounts. This guide compiles and reorganizes all this information , with real-world examples, so you can quickly understand it and compare each concept with the applicable regulations.

What is a tax obligation and how does it fit into the legal-tax relationship?

Article 17 of the General Tax Law (LGT) establishes that the legal-tax relationship encompasses obligations, duties, rights, and powers arising from the application of taxes. From this relationship arises, for example, the primary obligation to pay the tax due, but also the obligation to file tax returns or retain documentation, along with key rights such as being informed or assisted by the Tax Administration.

From a practical standpoint, the primary tax obligation is the payment of the tax due , which arises upon the occurrence of the taxable event and its accrual. In parallel, there are non-monetary (formal) obligations that support the procedures for applying taxes: administration, inspection, and collection. The key lies in clearly distinguishing between paying and performing the necessary actions to comply correctly.

Elements of the tax obligation

Basic elements: subjects, taxable event, base, type and debt

Every tax obligation involves an active subject (the one who demands the tax, usually the State, autonomous communities, or local entities) and a passive subject (the one who must comply, a natural or legal person). This operational relationship is what results in payments, declarations, and information.

The taxable event is the legal condition that, when it occurs, gives rise to the obligation to pay taxes (Art. 20 LGT). Think about selling goods subject to VAT, making a profit for Corporation Tax purposes, or receiving income for Personal Income Tax purposes: when these events occur, the main tax obligation arises.

Accrual marks the exact moment when the taxable event is considered to have occurred and, consequently, the principal obligation arises (Art. 21 LGT). It does not always coincide with payment; it is the point in time that determines when the debt exists.

To quantify the tax, one starts with the taxable base (the measurement or valuation of the taxable event) and applies a rate or tariff (percentage or fixed amount). The result, after adjustments and deductions depending on the tax, is the tax liability due.

Types of tax obligations

Substantive tax obligations

The General Tax Law (LGT) establishes several obligations of an economic nature. The first is the principal tax obligation , which consists of paying the amount determined according to the tax law. Essential concepts revolve around this obligation:

• Regarding the taxable event (Art. 20 LGT): This is the condition established by law for each tax. Its occurrence gives rise to the principal obligation. • Regarding accrual (Art. 21 LGT): This specifies the moment when this obligation arises. • Regarding exemption and non-liability : Although both avoid payment, they are not the same. Exemption presupposes that the taxable event has occurred, but a rule stipulates that in certain cases the obligation does not arise; in contrast, in non-liability, the circumstances are not included in the definition of the taxable event, that is, they negatively delimit its scope.

There is also an obligation to make advance payments (Art. 23 LGT): these may correspond to installment payments, withholdings, or payments on account made by the taxpayer. The laws governing each tax may establish criteria for deducting these payments from the final tax liability.

The obligations between individuals resulting from the tax (art. 24 LGT) are tax-related payments required between taxpayers by legally provided acts of repercussion, withholding or payment on account.

Finally, there are ancillary tax obligations (Art. 25 LGT), which are monetary in nature and linked to another tax obligation: late payment interest, surcharges for late filing, and surcharges for the enforcement period. These are not considered tax penalties.

Formal tax obligations: scope and limits

Article 29 of the General Tax Law defines formal obligations as non-monetary duties imposed by tax or customs regulations, related to tax application procedures. This is not an exhaustive list: each tax law may add further obligations.

These formal obligations apply to management, inspection, and collection procedures . However, in sanctioning procedures, there is no analogous duty of cooperation, as these procedures are governed by safeguards similar to those in the criminal sphere. This distinction is important for understanding what the Administration can request and when.

Furthermore, Article 70.1 of the General Tax Law (LGT) emphasizes that formal obligations linked to other material obligations of the obligated party may only be demanded while the right to determine the latter has not expired , unless it is appropriate to maintain the obligation to keep or provide information to guarantee the obligations of third parties during the commercial periods.

The Administration also has formal obligations that translate into taxpayer rights and guarantees (Art. 30 LGT): the duty to inform, assist, issue certificates, etc. The Taxpayer Defense Council ensures compliance with these obligations, and, in fact, Art. 227.1 LGT considers acts that declare a duty to be subject to appeal.

Essential catalogue of formal obligations according to the RGAT

The RGAT elaborates on the content of these obligations. In particular, taxpayers must:

  • Introduce census declarations Those who carry out or will carry out business or professional activities or operations in Spain, or who pay income subject to withholding.
  • Request and use the Tax identification number in their dealings with tax implications (art. 18 RGAT). The NIF is accredited with the document issued by the AEAT, DNI or equivalent official document for foreigners.
  • Introduce self-assessments, declarations and communications in a timely manner.
  • Carry and keep accounting books and recordsas well as programs, files and coding systems that allow the interpretation of data when using computer systems, facilitating its conversion to a readable format if necessary.
  • Conserve copies of the programs and files that generate the financial statements and declarations submitted electronically.
  • Issue and deliver bills or substitute documents and keep invoices and receipts related to your tax obligations.
  • Contribute to the Administration books, records, documents and information with tax implications for itself or for third parties, also in computer format when required.
  • Facilitate inspection and verification administrative when appropriate.
  • Deliver certificates of withholdings and payments on account to the recipients of income subject to these concepts.
  • To fulfill the obligations set forth in the customs regulations when applicable.

Regarding tax records (Art. 29 RGAT), when required by the regulations for each tax, they must be kept and properly stored, preferably at the taxpayer's registered address. Transactions must be recorded within three months of their execution or receipt of the supporting documentation, and in any case before the deadline for filing the corresponding tax return. Accounting records may serve as tax records if they meet the regulatory requirements.

Declaration of transactions with third parties and regulatory updates

The General Tax Regulations (RGAT) require many entities to provide annual information on transactions with third parties (Art. 31). This includes individuals and legal entities engaged in business or professional activities, homeowners' associations, and private social service entities or establishments with respect to acquisitions outside the scope of business activities, as well as public sector authorities and entities, political parties, trade unions, and business associations. Public administrations must file a report for each sector with a separate tax identification number (NIF) or for all sectors combined.

Entities that collect fees or intellectual property rights from members, associates, or professional associations must also report . Similarly, many public administrations must include in their declarations any subsidies, grants, or aid awarded from their budgets.

Those not required to file an annual tax return (Art. 32 RGAT) include: individuals who carry out activities in Spain without a registered office, permanent establishment, or tax domicile in the national territory (or entities under the income attribution regime without a presence in Spain); individuals and entities under the income attribution regime who pay Personal Income Tax (IRPF) under the objective estimation method and VAT under the simplified regimes, agriculture/livestock/fishing, or equivalence surcharge (except for invoiced transactions); those whose annual income with a third party does not exceed €3.005,06 (or €300,51 when collecting certain rights on behalf of third parties); those who have exclusively carried out transactions not subject to the reporting obligation; and certain specific cases under VAT and the Canary Islands Economic and Fiscal Regime . Article 32 RGAT was amended and Article 36 was repealed, both effective from January 1, 2019.

As a new development in the sector , there is an obligation to report on the transfer of use of homes for tourist purposes, under the terms established by the applicable regulations.

Financial information, accounts, loans, and cash movements

Article 37 of the General Regulations for Tax Procedures (RGAT) requires credit institutions and other entities engaged in banking or credit activities to submit an annual information return detailing all accounts opened at their establishments, whether located within or outside of Spain. There is no obligation to report accounts held abroad by non-residents without a permanent establishment in Spain.

The information includes the full identification of the accounts, the name and tax identification number (NIF) of account holders, authorized users, or beneficiaries, the balance as of December 31, and the average balance for the last quarter, among other data specified in the corresponding Ministerial Order. The obligation covers current accounts, savings accounts, fixed-term deposits, credit accounts, and any other type of account, even if there is no interest or withholding tax . The identification of affected individuals refers to those who have been affected at any time during the year.

Article 37 bis of the General Regulations for Tax Procedures (RGAT), within the framework of mutual assistance, requires financial institutions to submit a declaration regarding financial accounts, identifying the residence or, where applicable, the nationality of the individuals holding ownership or control. The due diligence requirements and details of the information are established by Ministerial Order, and when a more favorable rule applies, its declaration will be published in the Official State Gazette (BOE) before the reporting obligation takes effect.

Likewise, outstanding balances on loans and credits exceeding €6.000 as of December 31st must be declared annually, as well as deposits, withdrawals, and cash receipts exceeding €3.000 , indicating the amount, nature, date, identification of the party involved, and associated account. Transactions subject to specific reporting under Article 41 of the General Tax Regulations are excluded from this declaration.

Application procedures and methods of compliance

Tax obligations are managed through procedures for administration, inspection, collection, and review , which ensure compliance with the law and provide guarantees for the taxpayer. These procedures encompass both formal obligations (declarations, information) and substantive obligations (payments).

Payment can be made according to the regulations for each tax, either in person at authorized entities or through electronic systems that allow online payment. Furthermore, many formal obligations, such as periodic self-assessments, can be filed electronically, which streamlines procedures and eliminates the need for travel.

Obligations to do and to pay

In a broad sense, obligations can be grouped into two main categories: obligations to act (filing returns, keeping records, issuing and retaining invoices, responding to requests) and obligations to pay (paying taxes, fees, or special contributions). These two aspects are complementary, as the formal aspect supports the calculation and enforcement of the substantive aspect.

For the self-employed and small businesses, complying with forms such as 303 , 130, and 131 , maintaining accounting records, and issuing invoices correctly is as essential as making quarterly income tax payments or paying VAT. Having an organized invoicing and accounting system facilitates compliance and prevents errors that could lead to penalties.

Taxpayer rights and guarantees (art. 34 LGT)

The general obligation to contribute is counterbalanced by a series of rights and guarantees that protect the taxpayer against the tax authorities. Among them, according to Article 34 of the General Tax Law:

  • Right to be informed and assisted by the Tax Administration regarding the exercise of rights and the fulfillment of obligations.
  • Right to obtain Returns derived from the regulations of each tax and from undue income, with late payment interest and without the need for a request.
  • Right to be reimbursed from cost of guarantees and sureties provided to suspend execution or postpone/divide if the act is declared inadmissible, with legal interest, and the proportional reduction of the guarantee in partial estimates.
  • Right to use the official languages of the territory of their autonomous community according to the regulations.
  • Right to know the processing status of the proceedings in which he is a party.
  • Right to know the identity of authorities and employees those responsible for the actions.
  • Right to request certification and copy of declarations submitted and obtain a stamped copy of documents provided, with return of originals when they should not be in the file.
  • Right not to contribute documents already submitted that are in the possession of the Administration, indicating when and in what procedure they were provided.
  • Right to reserved nature of the data obtained by the Administration, usable only for applying taxes or imposing sanctions, except for legal transfer.
  • Right to be treated with due respect respect and consideration by the Tax Administration staff.
  • Right to have the actions that require their intervention carried out in the manner less burdensome when it does not harm the fulfillment of obligations.
  • The right to to formulate allegations and provide documents that will be taken into account when drafting the proposed resolution.
  • Right to be ear in the hearing process under the terms of the LGT.
  • Right to be informed of the values of real estate to be acquired or transferred.
  • Right to be informed, at the beginning of the checks or inspections, regarding its nature and scope, as well as regarding rights and obligations during its development, provided that they are carried out within the legal deadlines.
  • Right to recognition of tax benefits or regimes applicable.
  • The right to to make complaints and suggestions on the functioning of the Tax Administration.
  • Right to have statements with tax relevance recorded in the errands extended in the procedures.
  • Right to file the documentation that they deem appropriate and relevant for the resolution of the procedure.
  • Right to obtain copy of the file at their expense in the process of making the information available, which can be exercised at any time during the enforcement proceedings.

These rights have a marked programmatic character and seek to balance the relationship between the Administration and taxpayers, reinforcing the legal certainty of the tax system.

Infringements and penalties: minor, serious and very serious

Failure to comply with substantive or formal obligations can result in penalties . Broadly speaking, the infraction can be minor (a fine of 50% of the undeclared amount, subject to limits), serious (100% when it exceeds €3.000), or very serious (150% when there is particularly significant concealment). When the amount evaded exceeds €120.000 , the conduct may be considered a tax crime.

Among the most common infractions are: failure to file tax returns or filing them late ; failure to settle debts; improperly requesting refunds or incentives; declaring a false tax domicile; significant errors or omissions in income or expenses; failure to keep accounting records; failure to issue invoices or issuing false invoices; incorrectly identifying invoices; issues with intra-community VAT; and using a third party as a front, which may constitute a crime against the Public Treasury.

Practical examples to contextualize the concepts

Imagine Marta, a self-employed woman who sells clothes. The taxable event is the sale of garments, the taxable base is the total sales for the quarter, and the corresponding VAT rate is applied. The result is the tax liability to be paid using the VAT return form. She must also keep accounting records, retain invoices, and file her self-assessments.

Another example: the company "Construcciones y Reformas del Norte, SL". Corporate Income Tax ( IS) is levied on the profits for the fiscal year; the taxable base is determined after the relevant tax adjustments and at the applicable rate. The annual self-assessment determines the amount payable. During the year, the company may also be required to make installment payments and fulfill formal obligations such as maintaining orderly accounting records, filing information returns, and responding to potential audits.

Beyond these examples, the day-to-day work includes submitting periodic forms (such as 303, 130 or 131 , as appropriate), declaring transactions with third parties when applicable, managing withholdings and payments on account, and complying with document retention and collaboration deadlines within the application procedures.

To complete the picture, it's worth remembering that the Spanish system aims for fairness and progressivity , and is based on a clear regulatory framework: the General Tax Law (LGT) defines the legal-tax relationship and classifies obligations, and the General Regulations for Tax Procedures (RGAT) detail how to comply in practice, from the Tax Identification Number (NIF) to financial information. Applying these rules correctly, using invoicing tools, and keeping documentation up to date is the best way to ensure smooth compliance and take advantage of the rights and guarantees recognized by law.

transfer of ownership
Related articles:
Property Transfer: A Complete Legal, Tax, and Practical Guide
Alejandro Del Río

Alejandro Del Río

A specialist in financial and accounting management with a proven track record in cash flow analysis and applied economics. Her approach combines the technical rigor of accounting with a strategic vision of finance to optimize the profitability and efficiency of current business models.

Passionate about the evolution of human resources and economic regulations, he is dedicated to breaking down complex concepts to make them accessible, providing an expert perspective based on years of professional experience in the financial sector.