When using the createInvoice
endpoint, the registration status in the response will always be PENDING
.
To confirm whether the invoice was successfully registered, the invoice must be retrieved again via the retrieveInvoice
endpoint.
Ideally, the registration status will be REGISTERED
, which would indicate that it has been successfully sent and registered with the tax agency without errors.
If you are testing with the territory SPAIN_OTHER
, the final registration status will be STORED
, as the tax agency has not yet enabled the testing environment for Verifactu.
If you want to see how the submission to the tax agency will work, we recommend creating a managed organization with one of territories in the Basque Country and performing some tests.