If you are applying for a Spanish residence-and-work authorisation — whether initial, renewal or modification — you will encounter a specific step that leaves no margin for improvisation: payment of the modelo 790 codigo 062. Most applicants treat it as a routine administrative form. In practice, it is one of the points at which self-filed immigration files most frequently stall, because this is not a receipt — it is a State fee whose chargeable event must match, literally and temporally, the authorisation being requested.
In our practice, immigration files start to lose alignment here. The underlying issue is rarely the amount. It is that the applicant treats a fiscal control as if it were an administrative formality, when the Administration applies the code strictly and does not cure mismatches after the fact.
A Critical Point in the Authorisation File
A typical applicant reaches this stage when filing for initial residence-and-work authorisation as an employee, for a self-employment authorisation, or for a renewal or modification of an existing permit. They are told to pay the corresponding State fee before filing the application, usually without any explanation of which act that fee actually covers.
That framing is misleading. The tasa 062 is not separate from the file: it is constitutive of the application itself. If the code paid does not match the type of authorisation actually requested, the self-assessment is unfit to support that application, regardless of whether the bank has accepted the payment.
Why this form matters more than it looks
This is a fiscal step tied to the administrative act of authorising residence and work — not to the issuance of the physical document, which triggers a different fee (Código 012). If the payment corresponds to an incorrect trámite, the specific chargeable event of the tasa has not been satisfied, and the Administration will require a fresh self-assessment before it will rule on the authorisation.
Practical rule. A small fiscal defect in the 062 fee translates into the return of the file, loss of the filing slot, and in renewals, a risk of a gap between authorisations. The direct cost of the fee is modest; the indirect cost of redoing the sequence is not.
For applicants and employers unfamiliar with administrative terminology, the risk increases, because the labels of the various trámites inside the self-assessment interface are lexically similar while the underlying legal categories are not.
Need help with your case in Spain?
If this article applies to your situation, contact our team for tailored legal guidance and clear next steps.
What Is the Modelo 790 Codigo 062?
It is a State fee (tasa administrativa) payable on the processing of authorisations, renewals and modifications in matters of residence and work. Its legal basis is Article 44 of Law 66/1997, of 30 December, within the general framework of Law 8/1989 on State Fees and Public Prices, and its amounts are updated annually by Ministerial Order. Although the payment is channelled through a collaborating bank under the General Collection Regulation (Royal Decree 939/2005), the creditor is the immigration authority — typically the Oficina de Extranjería or, depending on the procedural stage, the Directorate-General for Migrations.
The 062 is specific to the act of authorising: it is the tax that funds the administrative review of whether the applicant meets the requirements set out in the Immigration Regulation (RD 557/2011) for a residence-and-work authorisation. It is distinct from Código 012 (issuance of documents such as the TIE, the EU citizen registration certificate or documents linked to the NIE), and from Código 052 (certain visa-related procedures within consular competence).
Procedurally, the 062 arises with the filing of the authorisation application — not with its resolution, nor with the subsequent fingerprinting appointment. The self-assessment must therefore accompany the file at the moment of filing, not be supplied afterwards. Confusing that procedural moment is one of the recurring reasons why files are returned.
Who Is Liable for the Fee
One of the particular features of the modelo 790 codigo 062 is that the taxable person changes depending on the type of authorisation. The distinction matters because it determines who must appear as liable on the payment and who bears the risk if the payment turns out to be defective.
Employed authorisations (cuenta ajena)
In employed residence-and-work authorisations (Article 36 and following of Organic Law 4/2000 on the rights and freedoms of foreign nationals, and Article 62 and following of RD 557/2011), the 062 fee is payable by the employer. It is the employer who applies for the authorisation to hire the foreign worker, and who bears the fiscal obligation. A defect in the fee paid by the employer is not automatically cured by the worker making a parallel payment.
Self-employed authorisations (cuenta propia)
In self-employed authorisations (Article 37 of Organic Law 4/2000 and Articles 103 and following of RD 557/2011), the taxable person is the foreign national applicant. That allocation is consistent with the personal nature of the business or professional project underlying the authorisation: there is no employer, and the viability of the project is assessed in relation to the applicant itself.
Renewals and modifications
On renewal, the taxable person is whoever files the renewal — self-employed worker in cuenta propia, or the employer (or worker, depending on the modality) in cuenta ajena. Modifications — of authorisation type, of activity, of regime — generate their own chargeable event, again under the 062, and are not subsumed by the fee already paid for the initial authorisation.
How the Fee Varies by Procedure
Applicants often speak of “the 062 fee” as though it were a single fixed amount. It is not. The form is used across distinct procedures, and both the amount and the taxable person change depending on the specific authorisation. For a general view of administrative costs and professional immigration and legal fees that may apply in a file, see our dedicated page.
Principal use cases of the modelo 790 codigo 062
| Procedure | Legal basis | Taxable person |
|---|---|---|
| Initial authorisation — cuenta ajena | Art. 36 LO 4/2000 / Art. 62 RD 557/2011 | Employer (amount varies with the agreed salary in relation to the SMI) |
| Initial authorisation — cuenta propia | Art. 37 LO 4/2000 / Art. 103 RD 557/2011 | Foreign national applicant (fixed amount set by Ministerial Order) |
| Renewal of residence-and-work authorisation | Arts. 71 et seq. RD 557/2011 | Employer or worker, depending on the modality |
| Modification of authorisation | Arts. 200–202 RD 557/2011 | Whoever files the modification (a new chargeable event) |
As to the amounts currently set by Ministerial Order for cuenta ajena authorisations, the tariff is structured on the salary offered: one amount applies for salaries below twice the Spanish Minimum Interprofessional Wage (SMI), and a materially higher amount applies for salaries at or above that threshold. The exact amounts in force should always be checked against the Order applicable to the filing year; working from memorised figures is unreliable because the annual update is frequent.
Common Defects That Invalidate a Payment
The recurring misconception is that if the bank has stamped the form, the fiscal side is closed. It is not. A technically completed payment can remain unusable for the act it is meant to support.
Wrong procedure or wrong code
This is the classic defect. The applicant or employer selects in the interface a procedure that “looks like” theirs — sometimes confusing the 062 with the 052 (certain consular procedures) or with the 012 (issuance of documents) — pays the amount and assumes the receipt will be accepted. At the review stage, the Administration verifies whether the fee corresponds to the chargeable event actually performed. If it does not, the self-assessment is unfit to support the application and must be redone.
Outdated amount
The fee amounts are updated by Ministerial Order, usually on an annual basis. A form generated and paid under a tariff prior to the Order in force on the day of filing may be rejected for insufficient amount, or less frequently, for excess — which opens the route of reclaiming ingresos indebidos under Article 221 of the General Tax Law, but does not unblock the pending file.
Inconsistent identifying data
An error in the NIE/NIF, in the designation of the taxable person or in the type of procedure can prevent the correct imputation of the payment to the file. Consistency between the data on Model 790, the authorisation application and the supporting documentation is one of the access checks the Oficina de Extranjería performs before even entering into the substance of the case.
Traceability of the payment is as relevant as the payment itself. The Administration does not fix imputation defects — it returns them.
Re-using a prior payment
Each application — initial, renewal or modification — generates its own chargeable event. Re-using a receipt from a previous trámite is not admissible, even when the amount coincides: traceability requires the self-assessment to correspond to the specific act being filed.
Consequences Beyond the Immigration File
A mismatched tasa rarely remains contained. If the code paid does not correspond to the authorisation requested, the chargeable event has not been satisfied and the Administration will require a new self-assessment before it will rule. The amount paid under the wrong code is, in principle, recoverable through a claim for devolución de ingresos indebidos under Article 221 LGT, but that procedure runs on its own timetable before the tax Administration and does not unblock the pending immigration file.
In renewals, the risk is heavier. If the fiscal defect coincides with the expiry of the prior authorisation, the applicant may briefly fall outside a documented residence-and-work status, with secondary effects on the continuous residence computation relevant to Spanish nationality by residence under Article 22 of the Civil Code, on social security continuity, and on tax residence. Most of these second-order effects are easier to prevent than to reconstruct.
When Legal Review Is Warranted
Professional input adds value when the file is not a simple, isolated application. This includes authorisations with employers subject to specific labour constraints, self-employed projects with viability that requires substantiation, renewals following prior files that were imperfect, modifications of authorisation type, and any file with tight deadlines.
Scenarios where a pre-filing review is advisable
- Employed authorisation with a recently incorporated employer: the employer’s solvency is assessed alongside the fee, and defects overlap.
- Self-employed authorisation with a multi-jurisdictional project: the definition of the activity and the chargeable event do not always align from the outset.
- Renewals with documentary gaps: a fiscal defect can precipitate consequences that were until then merely latent.
- Modification of authorisation in progress: the Administration requires consistency between the fee and the effective change of regime.
In practice, the critical question is not whether the applicant meets the substantive requirements: it is whether the file, fee included, will withstand administrative review without being returned. Most errors at this stage cannot be corrected without delay.
For clients who prefer support in English or French, our English-speaking immigration team in Spain assists with these administrative stages as part of wider relocation matters.
Frequently Asked Questions about Modelo 790 Codigo 062
Can I re-use a prior payment if the amount is the same?
No. Each application — initial, renewal or modification — generates its own chargeable event, and traceability requires a specific self-assessment for the act being filed. A matching amount does not cover the formal obligation to link the payment to the specific file. The defensibility of the self-assessment depends on the receipt corresponding to the trámite attached.
Who pays the fee in an employed (cuenta ajena) authorisation?
In cuenta ajena the 062 is paid by the employer, who is the party applying for the authorisation to hire the foreign worker under the terms of Article 36 of Organic Law 4/2000. A payment made by a third party does not alter the fiscal ownership of the obligation. In practice, this means that any later correction or refund runs in the employer’s name, not the worker’s.
What is the difference between Código 062 and Código 012?
The 062 funds the administrative act of authorising (granting, renewing or modifying a residence-and-work permit). The 012 funds the issuance of the physical document that materialises that authorisation: the TIE, the EU registration certificate or documents linked to the NIE. In a standard file the 062 arises first (on filing) and the 012 later (on fingerprinting). The defensibility of the file depends on each being paid at its own procedural moment, not substituted for the other — a point we address in more detail in our companion note on the distinction between NIE and TIE.
What happens if the amount changed between generating and paying the form?
If a Ministerial Order updates the amount after the form is generated but before the payment is made, a payment under the old tariff may be rejected as insufficient. The practical recommendation is to minimise the interval between generation and payment, and to align the amount paid with the Order in force on the day the file is submitted. The defensibility of the fee rests on the coincidence between the amount paid and the applicable Order.
Can I recover the amount if I paid under the wrong code?
In principle, yes. An amount paid under a code that does not correspond to the act requested qualifies as an ingreso indebido and may be reclaimed under Article 221 of the General Tax Law. However, the refund is processed by the tax Administration on its own timetable and does not unblock the immigration file: to move the authorisation forward you must pay the correct fee and, in parallel, initiate the claim for the undue payment.
Conclusion
Many applicants meet the substantive requirements for the authorisation they are seeking and still face delays or returned files because the fiscal step did not match the procedural stage. The modelo 790 codigo 062 is one of the recurring points at which that mismatch occurs. The key question is not whether the fee exists or what it costs, but whether the payment corresponds to the exact trámite the Administration will review. Most errors at this stage cannot be corrected without delay, and delay tends to propagate into adjacent procedures — renewals, social security registrations, continuous residence computation for nationality purposes.



