Resources / Guides

Spanish EPR registration in software: RPP, ENV, SCRAP and NIF

Spain needs four separate things in a fixed order, and the tax number comes first. Software should show them as separate steps, because one can hold up the others for weeks.

By Razvan Toma · Founder · Last checked 1 November 2026 · Sources below

Model four records, not one

The RPP is the producer register at MITECO. Registering there produces the ENV number, in the form ENV/year/nine digits. A SCRAP is a private collective scheme, and joining one is a separate step with its own membership number. A NIF is the Spanish tax number. When a marketplace asks for your EPR number, it wants the ENV number.

Related: RPP, ENV, SCRAP and NIF explained ↗

Put the NIF first

A foreign company needs a Spanish NIF beginning with N before it can be registered, and using a representative doesn't remove that step. MITECO's technical document calls it indispensable for the foreign company in any case. In our API, set spain.nif to true when the client has none, and the quote adds it as a one-off.

Related: API documentation

Plan for the power of attorney

After the NIF, the company either gets a Spanish digital certificate or grants a power of attorney. The power route avoids the certificate, but verifying a foreign company's documents can take time that no software can shorten. Our sandbox has its own step for it, power_of_attorney_verified.

Related: How a Spanish representative is appointed ↗

Carry the ENV number through

The ENV number identifies the company, not the representative, so it stays with the client. It also has to appear on invoices and on the commercial documents that go with packaged products. If your product creates invoices, add a field for it.

Sources

Try the API

Check, quote and a simulated run of each country's steps, free and without a key.

Developers