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

General errors

All error codes returned by the General endpoints (66 total).


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

CodeMessage
AUTOMATIC_EMAIL_CONFIG_INVALIDFor automatic sending, you must provide an email configuration or a client with email
BAD_REQUESTThe provided data is not valid.
BUSINESS_RULE_VIOLATIONThe operation breaks a business rule.
CITY_EMPTYCity cannot be empty
CITY_MAX_LENGTHCity cannot exceed ‹value› characters
CONCURRENT_MODIFICATIONThe resource was modified by another operation. Please retry.
CONFLICTThe operation conflicts with the current state of the resource.
COUNTRY_CODE_MISMATCHThe country '‹value›' does not match country_code '‹value›'. Send only country_code, the country's ISO 3166-1 alpha-2 code.
COUNTRY_CODE_REQUIREDThe country '‹value›' is not valid. Send the country's ISO 3166-1 alpha-2 code in country_code (for example, GB for the United Kingdom).
ENDPOINT_NOT_FOUNDThe requested endpoint does not exist.
EXEMPTION_REASON_NOT_ALLOWED_AS_DEFAULTThat reason depends on each invoice and cannot be declared as a default: choose art. 20 exemption or other
EXEMPTION_REASON_REQUIRES_ZERO_RATEAn exemption reason is only compatible with a 0% tax rate
EXEMPTION_REASON_TEXT_REQUIREDProvide the text explaining the exemption when the reason is "Other"
EXTERNAL_SERVICE_ERRORError communicating with the external service
FIELD_BLANKThe field '‹value›' cannot be empty
FIELD_TOO_LONGThe field '‹value›' cannot exceed ‹value› characters.
FILE_CORRUPTEDFile is damaged or corrupt
FILE_EMPTYThe file is empty
FILE_TOO_LARGEFile is too large. Maximum allowed size: ‹value›
FORBIDDENYou do not have permission to perform this action
IBAN_INVALIDInvalid IBAN: '‹value›'. Must match ISO 13616 format (e.g.: ES1234567890123456789012)
IBAN_REQUIREDPayment method ‹value› requires an IBAN
IDEMPOTENCY_KEY_MISMATCHThis idempotency key was already used with a different request body. Use a new key for a different operation.
IDEMPOTENCY_KEY_PROCESSINGA request with this idempotency key is already being processed. Wait and retry with the same key.
IDEMPOTENCY_KEY_REQUIREDThis operation requires the Idempotency-Key header: without it, a retry would import the same file twice.
INTERNAL_ERRORAn unexpected error occurred. Please try again later.
INVALID_CONTENTFile content is not valid
INVALID_EMAIL_FORMATThe email '‹value›' has an invalid format
INVALID_EXTENSIONFile extension not allowed
INVALID_FILE_TYPEFile type not allowed. Accepted types: ‹value›
INVALID_IDEMPOTENCY_KEYInvalid idempotency key format. Must be a UUID or an alphanumeric string.
INVALID_JSON_FORMATThe request body contains invalid JSON syntax.
IRPF_REQUIRED_WHEN_NOT_EXEMPTThe income tax withholding percentage is required when not exempt
MAIN_TAX_REQUIREDYou must configure a main tax (VAT, IGIC or IPSI)
METHOD_NOT_ALLOWEDThe HTTP method used is not allowed on this path.
MISSING_HEADERA required request header is missing.
MISSING_PARAMETERA required request parameter is missing.
MISSING_PARTA required part of the multipart request is missing.
MISSING_REQUIRED_FIELDThe field '‹value›' is required
NIF_DE_BAJAThe NIF '‹value›' is deregistered in the AEAT census and cannot issue invoices
NIF_REVOCADOThe NIF '‹value›' has been revoked by the AEAT and cannot operate
NOT_ACCEPTABLEThe response cannot be returned in the requested content type.
NOT_FOUND‹value› with identifier '‹value›' does not exist or is not available to this credential.
NUMBER_MAX_LENGTHNumber cannot exceed ‹value› characters
PLAZO_DIAS_OUT_OF_RANGEPayment term must be between ‹value› and ‹value› days
POSTAL_CODE_EMPTYPostal code cannot be empty
POSTAL_CODE_INVALID_ESInvalid Spanish postal code: '‹value›'. Must be 5 digits
PROVINCE_EMPTYProvince cannot be empty
PROVINCE_MAX_LENGTHProvince cannot exceed ‹value› characters
RATE_LIMIT_EXCEEDEDYou have exceeded the request rate limit. Wait the seconds given in the Retry-After header and try again.
RECARGO_EQUIVALENCIA_REQUIREDThe equivalence surcharge is required for this type of operation
RECARGO_IVA_COMBINATION_INVALIDThe equivalence surcharge does not match the chosen VAT rate.
RECARGO_REQUIRES_REGIME_REWhen equivalence surcharge is enabled, the main tax regime must be "18 - Equivalence surcharge". Change the regime to 18 or disable the surcharge.
REQUEST_BLOCKEDA security filter at the edge rejected this request before the API saw its body. This usually happens because a text field contains something that looks like code or markup (HTML tags, scripts). Review the request body and try again.
REQUEST_BODY_TOO_LARGEThe request body exceeds the maximum allowed size of ‹value›.
SERVICE_UNAVAILABLEThe service is temporarily unavailable. Please try again in a few seconds.
STREET_EMPTYStreet cannot be empty
STREET_MAX_LENGTHStreet cannot exceed ‹value› characters
SWIFT_INVALIDInvalid SWIFT code: '‹value›'. Must be 8 or 11 characters (e.g.: ABCDESMMXXX)
TAX_CONFIG_CONFLICTAnother operation created the tax configuration at the same time. Please try again.
TOO_MANY_REQUESTSYou have exceeded the request limit. Please try again in ‹value› seconds
UNSUPPORTED_MEDIA_TYPEThe submitted content type is not supported.
VALIDATION_ERRORThe provided data is not valid.
VALUE_OUT_OF_RANGEThe value provided exceeds the range allowed for that field
VALUE_TOO_LONGThe value provided exceeds the maximum length allowed for that field
ZERO_RATE_REQUIRES_EXEMPTION_REASON0% is not a tax rate: state why the operation carries no tax (art. 20 exemption or another reason)

Keep exploring

On this page