NewThree filters returned the wrong rows
BeeL
Get StartedMulti-NIFVeriFactuStripeAPI ReferenceChangelog
ErrorsBy category

Customers errors

All error codes returned by the Customers endpoints (35 total).


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

CodeMessage
ALTERNATIVE_ID_AND_NIF_EXCLUSIVEThe customer cannot carry both a NIF and an alternative identifier. Use only one
ALTERNATIVE_ID_INVALIDThe alternative identifier is not valid
ALTERNATIVE_ID_REQUIRES_SPAINType NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''
ALTERNATIVE_ID_SPAIN_INVALID_TYPEFor customers with country ES only types PASSPORT (03) or NOT_REGISTERED (07) are allowed
BULK_VALIDATION_ERROROne or more customers in the batch are invalid; none were created
CITY_EMPTYCity cannot be empty
CITY_MAX_LENGTHCity cannot exceed {0} characters
CLIENT_DUPLICATEA client with this NIF already exists
CLIENT_HAS_INVOICESThis customer has invoices and cannot be deleted: deleting it would release its identifier and allow another customer to be created with the same one, splitting a single identity across two records. To stop using it, deactivate it with active:false
CLIENT_NOT_FOUNDClient not found
COUNTRY_EMPTYCountry cannot be empty
COUNTRY_MAX_LENGTHCountry cannot exceed {0} characters
CSV_FILE_TOO_LARGEThe file is too large: {0} bytes (maximum: {1} bytes)
CUSTOMER_IDENTIFIER_REQUIREDProvide either a NIF or an alternative identifier.
DUPLICATE_HEADERFile {0} repeats column {1}: there is no way to tell which of the two counts. Leave it just once
EMPTY_FILEThe file is empty
ENCODING_ERRORFile encoding error: {0}
HEADER_ROW_NOT_FOUNDNo header row found in the first {1} lines of {0}. Required columns: {2}. {3}
INVALID_CSV_FORMATInvalid CSV file format: {0}
INVALID_FORMATInvalid file format: {0}
MISSING_HEADERSRequired header not found: ''{0}''. Headers found: {1}
NIF_INVALID_CONTROL_DIGITThe control digit of NIF ''{0}'' is incorrect
NIF_INVALID_FORMATThe NIF ''{0}'' has an invalid format
NIF_NOT_IN_CENSUSThe NIF ''{0}'' does not exist in the AEAT census or the fiscal name does not match
NO_DATA_ROWSFile {0} carries only the header row: there is no data row to import
NUMBER_EMPTYNumber cannot be empty
NUMBER_MAX_LENGTHNumber cannot exceed {0} characters
PARSING_ERRORError processing the file: {0}
POSTAL_CODE_EMPTYPostal code cannot be empty
POSTAL_CODE_INVALID_ESInvalid Spanish postal code: ''{0}''. Must be 5 digits
PROVINCE_EMPTYProvince cannot be empty
PROVINCE_MAX_LENGTHProvince cannot exceed {0} characters
STREET_EMPTYStreet cannot be empty
STREET_MAX_LENGTHStreet cannot exceed {0} characters
TOO_MANY_RECORDSToo many records: {0} (maximum: {1})

Keep exploring

On this page