NewStripe: a buyer with a NIF always gets a standard invoice, and the simplified threshold is deprecated
BeeL
Get startedMulti-NIFVeriFactuRulesStripeAPI referenceChangelog
ErrorsBy category

VeriFactu errors

All error codes returned by the VeriFactu endpoints (24 total).


Every error returned by the VeriFactu endpoints. Click any code for the full example response and localized messages.

CodeMessage
ALREADY_REGISTEREDThe NIF is already registered in VeriFactu
API_COMMUNICATION_ERRORError communicating with the VeriFactu API
COMPANY_NIF_MISSINGThe issuing company has no NIF configured. Set the NIF before submitting invoices to VeriFactu
ENV_MISMATCHAPI key does not match NIF environment: use a live key for production NIFs and a test key for sandbox NIFs
NIF_NOT_CONFIGUREDThe profile has no NIF. Complete it before continuing.
NIF_NOT_REGISTEREDThe NIF is not registered in VeriFactu
NIF_REPRESENTATION_REQUIREDYou must sign the AEAT representation model before issuing real invoices with this NIF
NIF_VALIDATION_INVALIDThe NIF does not exist in the AEAT census
NO_UNSIGNED_DOCUMENTNo unsigned representation document exists. Generate one before uploading the signed PDF
PDF_EMPTYThe PDF file is empty
PDF_INVALID_EXTENSIONThe file must be a PDF (.pdf)
PDF_INVALID_FORMATThe file does not have a valid PDF format
PDF_SIGNATURE_INVALIDThe signed PDF is not valid: ‹value›
PDF_TOO_LARGEThe PDF file exceeds the maximum allowed size: ‹value› (maximum: ‹value› MB)
PDF_VALIDATION_FAILEDError validating the signed PDF. Please try again later
RECTIFICATIVA_R1R4_NOT_SIMPLIFICADAThe R1-R4 correction methods do not apply to simplified invoices
RECTIFICATIVA_R5_ONLY_SIMPLIFICADAThe R5 correction method only applies to simplified invoices
REPRESENTATION_ALREADY_ACTIVEThere is already an active representation document. Cancel it before generating another one.
REPRESENTATION_DOCUMENT_NOT_STOREDNo representation document is stored. Generate it again.
REPRESENTATION_NOT_ACTIVEThere is no active representation document. Generate and sign one before continuing.
REPRESENTATION_NOT_FOUNDThere is no representation document. Generate one before continuing.
SIGNING_ONLY_IN_LIVEThe AEAT representation can only be signed in Live mode: the document has no test mode
VERIFACTU_ALWAYS_ON_IN_SANDBOXVeriFactu is always on in sandbox and cannot be disabled
VERIFACTU_REPRESENTATION_REQUIREDTo enable VeriFactu in production you must first sign the AEAT representation form for this tax ID

Keep exploring

On this page