In Spain’s VeriFactu system, an emisor (issuer) is the company or individual legally registered to issue electronic invoices that must be reported to the AEAT tax authority. Before you can submit any invoice records, you must construct anDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/NemonInvocash/verifactu-php/llms.txt
Use this file to discover all available pages before exploring further.
Emisor object in verifactuPHP and register it with VeriFactuAPI using altaEmisor. Once registered, the emisor’s NIF is automatically attached to every invoice record it generates.
Create an Emisor Object
UsenuevoEmisor() on your ClienteVerifactu instance to build an Emisor object from an associative array. The method validates and stores your data locally — nothing is sent to the API yet.
Tax identification number (NIF) of the issuer. Must be a valid Spanish NIF.
Legal name (razón social) of the issuer.
Legal name of the issuer’s representative, if applicable.
NIF of the issuer’s representative, if applicable.
Default webhook ID to associate with this emisor. Invoice records created under this emisor will use this webhook unless overridden. See Webhooks for how to obtain a webhook ID.
When
true, invoice records for this emisor are automatically submitted to AEAT. Defaults to false.When
true, AEAT submissions for this emisor are paused even if enviarAeat is enabled. Defaults to false.nif and nombre are required for registration.
Register the Emisor with VeriFactuAPI
Once you have anEmisor object, call altaEmisor() to POST it to the /api/emisor endpoint and create the record in VeriFactuAPI:
The NIF provided must be a valid Spanish tax identification number. VeriFactuAPI will reject registration requests that contain an invalid NIF.
Retrieve Registered Emisores
UselistarEmisores() to fetch emisores previously registered under your VeriFactuAPI account. Call it without arguments to retrieve all emisores, or pass an integer ID to fetch a single record:
data.items in the response.

