AR - Errores servicios





A continuación se detalla el maestro de los códigos de errores que pueden ser obtenidos a través de la invocación de los servicios de Fiscal Flow.

Al posicionarse sobre los códigos de error, se puede consultar y acceder al servicio que lo genera.

Errores emitidos por Server

Los siguientes errores pueden ser emitidos por el Server y entregados por el Agente:

ack

Código

Mensaje

genericErrorError
authorizationHeaderMissingAuthorization header is missing
invalidCredentialsFormatInvalid credentials format
userNotFoundUser not found
invalidPasswordInvalid password
accessTokenMissingAccess token is missing
accessTokenNotExistsAccess token does not exists for the company
acessTokenExpiredAccess token expired
requestCredentialsMissingrequestCredential: Request credentials are missing
companyNotExistsThe Company  indicated does not exist
fiscalSerialMissingprinterInfo.fiscalSerial is missing
caeTerminalNotSetCAE Terminal not configured
CAEANotPresentForPeriodAndOrderCAEA not present for period and order
authorizationTypeErrorAuthorization header must be string
printerInfoTypeErrorProperty printerInfo must be object
requestCredentialTypeErrorProperty requestCredential must be object
requestCredentialAttributesTypeErrorRequest credentials attributes type error
fiscalDocumentMissingfiscalDocument:Fiscal document is missing
fiscalDocumentTypeErrorProperty fiscalDocument must be object
terminalNotExistsTerminal does not exists
itemsMissingfiscalDocument.items property is missing
customerMissingcustomer:Customer property is missing
businessNameMissingcustomer.businessName is missing
documentTypeMissingcustomer.documentType is missing
fiscalAddressMissingcustomer.fiscalAddress is missing
identificationNumberMissingcustomer.identificationNumber is missing
relatedInvoicesMissingfiscalDocument.relatedInvoices is missing
conceptCodeMissingfiscalDocument.conceptCode is missing
internalIdMissingfiscalDocument.internalId is missing
invoiceDateMissingfiscalDocument.invoiceDate is missing
invoiceTypeMissingfiscalDocument.invoiceType is missing
nonTaxedAmountMissingfiscalDocument.nonTaxedAmount is missing
totalAmountMissingfiscalDocument.totalAmount is missing
relatedOtherTaxesMissingfiscalDocument.relatedOtherTaxes is missing
optionalWrongValuesfiscalDocument.optional wrong values
fiscalDocumentAlreadyExistsfiscalDocumentt already exists
relatedInvoicesPeriodMissingfiscalDocument.relatedInvoicesPeriod is missing
itemsItemInfoSizefiscalDocument.items.itemInfo:maximum number of items is 10
fiscalDocumentdocumentInfoSizefiscalDocument.documentInfo:maximum number of items is 10
printerInfoFiscalSerialAlphanumericThe fiscal serial of the printer must be alphanumeric
fiscalDocumentInvoceTypeMissingfiscalDocument.invoiceType is missing
fiscalDocumentInvoceNumberMissingfiscalDocument.invoiceNumber is missing
fiscalDocumentPointOfSaleMissingfiscalDocument.pointOfSale is missing
terminalOperation2gThe terminal is configured to operate in 2g mode. Please change your settings, notify your clientStatus and try again.
terminalOperationElectronicThe terminal is configured to operate in Electronic mode. Please change your settings, notify your clientStatus and try again.
terminalOperationPrinterThe terminal is configured to operate in Printer mode. Please change your settings, notify your clientStatus and try again.
fiscalDocumentzNumberfiscalDocument.zNumber is missing
PrinterInfoMissingprinterInfo is missing
printerInfoFiscalSerialMissingprinterInfo.fiscalSerial is missing
printerInfoPointOfSaleMissingprinterInfo.pointOfSale is missing
electronicTerminalNoSetThe electronic terminal indicated is not registered or is inactive in Fiscal Flow.
documentExistingOperacion previamente autorizada para el internalId informado.
genericDataTypeErrorSome parameter has incorrect data type
relatedInvoicesIncompletfiscalDocument.relatedInvoices is incomplet.invoiceType,pointOfSale,invoiceNumber are required.
relatedOtherTaxesIncompletfiscalDocument.relatedOtherTaxes is incomplet
notifyLastDeletedJournalMissingprinterInfo.lastDeletedJournalNumber is missing
notifyLastDeletedJournalNotNumberprinterInfo.lastDeletedJournalNumber it must be numerical
companyIsNotActiveCompany is not active. Can´t operate
storeIsNotActiveStore is not active. Cann´t operate

nonValidPrinterThe printer reported is different from the one configured in the terminal

parametersMissingMissing required parameter

businessRuleParameterErrorBusiness error in the parameters

retryLaterErrorThe operation can not be completed yet. Try again later.
validateFiscalDocumentfiscalDocument request is incomplet
customerDocumentcustomer request is incomplet
numberNotIsNumberLos siguientes atributos deben ser Number sin comillas: 
nonFiscalDocumentExistingEl documento No Fiscal fue creado previamente.
productExistingEl producto ya fue creado previamente
productMissingproduct:Product  is missing
validateProductProduct request is incomplet
timeoutErrorTimeout
afipRejectedAfip rejected authorization request
serverErrorInternal Server Error
afipErrorAFIP error validation
invoiceTypeIncorrectinvoiceTYpe incorrecto: El valor indicado debe estar dentro de los tipos de comprobantes validos (ver maestro de tipos de comprobantes en Fiscal Flow - AFIP - Tipos de comprobantes) (Ref: 10007 AFIP)
documentTypeAMIncorrectdocumentType incorrecto. Para comprobantes clase A y M debe ser 80 (CUIT). (Ref: 10013 AFIP)
documentTypeBIncorrectdocumentType incorrecto. Para comprobantes clase B y monto en pesos menor al determinado por la RG 4444, debe ser 99 (Otro). (Ref: 10015 AFIP)
identificationNumberBIncorrectidentificationNumber incorrecto. Para comprobantes clase B con monto en pesos menor al determinado por la RG 4444 y documentType igual a 99, debe ser 0 (cero). (Ref: 10015 AFIP)
documentTypeIncorrectdocumentType incorrecto. El valor indicado debe estar dentro de los tipos de documentos validos (ver maestro de tipos de documentos en Fiscal Flow - AFIP - Tipos de documentos) (Ref: 10015 AFIP)
documentType99IncorrectdocumentType incorrecto. El valor indicado debe estar dentro de los tipos de documentos validos (ver maestro de tipos de documentos en Fiscal Flow - AFIP - Tipos de documentos) y distinto a 99 (Otro) (Ref: 10015 AFIP)
identificationNumberBIncorrect2identificationNumber incorrecto. Para comprobantes clase B y monto en pesos mayor o igual al determinado por la RG 4444, debe ser mayor a 0 (cero). (Ref: 10015 AFIP)
documentTypeBIncorrect2El campo identificationNumber es requerido cuando se trata de comprobantes clase B y el monto en pesos es mayor al determinado por la RG 4444. (Ref: 10015 AFIP)
identificationNumberIncorrectidentificationNumber incorrecto. Debe ser distinto al numero de identificacion del emisor. (Ref: 10069 AFIP)
invoiceDateProductIncorrectinvoiceDate incorrecto. Debe estar comprendido dentro de los 5 dias previos o posteriores a la fecha de pedido de autorización cuando el concepto es PRODUCTO (Ref: 10016 AFIP)
invoiceDateServiceIncorrectinvoiceDate incorrecto. Debe estar comprendido dentro de los 10 dias previos o posteriores a la fecha de pedido de autorización cuando el concepto es SERVICIOS (Ref: 10016 AFIP)
conceptCodeIncorrectconceptCode incorrecto. El valor indicado debe estar dentro de los tipos de conceptos validos (ver maestro de tipos de conceptos en Fiscal Flow - AFIP - Tipos de conceptos) (Ref: 10030 AFIP)
periodStartDate1El campo periodStartDate es requerido cuando se informa periodEndDate (Ref: 10031 AFIP)
periodStartDate2El campo periodStartDate es requerido cuando se informa paymentDueDate y conceptCode es igual a 2 o 3 (Ref: 10031 AFIP)
periodStartDate3periodStarDate incorrecto. Debe ser anterior o igual a  periodEndDate (Ref: 10032 AFIP)
periodEndDate1El campo periodEndDate es requerido cuando se informa periodStarDate (Ref: 10033 AFIP)
periodEndDate2El campo periodEndDate es requerido cuando se informa paymentDueDate y conceptCode es igual a 2 o 3 (Ref: 10033 AFIP)
periodStartDate4El campo periodStartDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP)
periodEndDate3El campo periodEndDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP)
paymentDueDate1El campo paymentDueDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP)
paymentDueDate2El campo paymentDueDate es requerido cuando se informa periodStartDate y conceptCode es igual a 2 o 3 (Ref: 10035 AFIP)
paymentDueDate3El campo paymentDueDate es requerido cuando se informa periodEndDate y conceptCode es igual a 2 o 3 (Ref: 10035 AFIP)
paymentDueDate4paymentDueDate incorrecto. Debe ser igual o posterior a invoiceDate. (Ref: 10036 AFIP)
currencyIncorrectcurrency incorrecto.  El valor indicado debe estar dentro de los tipos de monedas validos (ver maestro de tipos de monedas en Fiscal Flow - AFIP - Tipos de monedas) (Ref: 10037 AFIP)
currencyChangePesIncorrectcurrencyChange incorrecto: debe ser igual a 1 cuando currency es igual a PES. (Ref: 10039 AFIP)
totalAmountIncorrectMontos totales incorrectos. La suma de nonTaxedAmount + taxedAmount + exemptAmount + amountOtherTaxes + amountIVA no coincide con totalAmount (Ref: 10048 AFIP)                     
relatedTaxesRequiredrelatedTaxes.code incorrecto. Debe ser igual a 3 cuando amountIVA es igual a cero (Ref: 10018 AFIP)
relatedTaxesAmountRequiredrelatedTaxes es requerido. (Ref: 10018 AFIP)
relatedTaxesAmountTotalMontos incorrectos. La suma de los campos amount de relatedTaxes no coincide con amountIVA (Ref: 10023 AFIP)                     
relatedTaxesBaseAmountIncorrectMontos incorrectos. La suma de los campos baseAmount de relatedTaxes no coincide con taxedAmount (Ref: 10061 AFIP)                     
relatedOtherTaxesRequiredcode de relatedTaxes incorrecto. No debe repetirse el codigo de alicuota. Debe totalizarse por alicuota. (Ref: 10022 AFIP)
relatedOtherTaxesIncorrectarray de relatedOtherTaxes es requerido cuando amountOtherTaxes es mayor a cero. (Ref: 10024 AFIP)
relatedOtherTaxesAmount1IncorrectrelatedOtherTaxes incorrecto. No debe enviarse cuando amountOtherTaxes es igual a cero. (Ref: 10024 AFIP)
relatedOtherTaxesAmounI2ncorrectcode de relatedOtherTaxes incorrecto. El valor indicado debe estar dentro de los codigos de impuestos validos (ver maestro de códigos de impuestos en Fiscal Flow - AFIP - Códigos de impuestos) (Ref: 10025 AFIP)
relatedOtherTaxesCodeRequiredMontos incorrectos. La suma de los campos amount de relatedOtherTaxes no coincide con el valor ingresado en amountOtherTaxes (Ref: 10029 AFIP)                     
relatedOtherTaxesCodeNameRequiredEl campo name de relatedOtherTaxes es requerido cuando el valor informado en code de relatedOtherTaxes es igual a 99 (Ref: 10042 AFIP)
relatedOtherTaxesAmountIncorrectamountOtherTaxes incorrecto. Debe ser mayor a cero cuando se trata de un sujeto NO CATEGORIZADO. (Ref: 10067 AFIP)
relatedTaxestaxedAmountRequiredarray de relatedTaxes es requerido cuando taxedAmount es mayor a cero. (Ref: 10070 AFIP)

afipSecuenceError

AFIP informa que el comprobante no es el proximo Nro a autorizar. (Ref: 10016 AFIP)

requestAfipInProgress

Autorización en curso: Esperando respuesta de AFIP. Reintento

afipOfflineServiceAFIP OFFLINE SERVICES

Errores emitidos por Agente

Los siguientes errores son emitidos por el Agente exclusivamente:

ack

Código

Mensaje

noConnectionCAEAOkNo connection with server. CAEA is ok
connectionOkNoCAEAConnection is ok. No CAEA
noConnectionNoCAEANo Connection. No CAEA
storeOrTerminalDoesNotExistsStore or Terminal does not exists
requestCredentialsMissingRequest Credentials are missing
accessTokenMissingAccess Token is missing
errorUploadFileToServerError uploading files to FTP
sendFileToFiscalFlowServerConnection error with server
errorGetConfigValueError getting config values
errorFileDoesntExistFile does not exists
invalidAccessTokenInvalid Access Token
invalidCredentialsInvalid Credentials
authorizationHeaderMissingAuthorization header is missing
invalidCredentialsFormatInvalid Credentials format
errorSendFileToFiscalFlowServerError sending file to fiscal flow server
requestBodySchemaErrorRequest body schema validation error
authorizationTypeErrorAuthorization header must be string
authorizationModeOfflineAfipThe offline mode to Afip for the terminal is disabled
authorizationModeOfflineStoreThe offline mode from the store for the server is disabled
terminalDoesntExistThe terminal doesnt exist, please call clientStatus for register
hasNotDownloadCAEAThere is not CAEA for the company
percentageExceededCannot be authorized by CAEA because the store exceeded the configured authorization percentage
operationMode2gTerminal not registered to operate in 2g mode. Please call clientStatus for register
invalidCredentialsOrinternalIdOrInvoiceTypeInvalid Credentials or missing Internal Id or Invoice Type into fiscal document
storeCountersNullInternal Agent Error. The agent does not have information to actual period to calculate the percentage of CAEAs to authorize
documentExistingOperacion previamente autorizada para el internalId informado.
customerMissingcustomer:Customer property is missing
fiscalDocumentMissingfiscalDocument:Fiscal document is missing
itemsMissingfiscalDocument.items property is missing
businessNameMissingcustomer.businessName is missing
documentTypeMissingcustomer.documentType is missing
fiscalAddressMissingcustomer.fiscalAddress is missing
identificationNumberMissingcustomer.identificationNumber is missing
relatedInvoicesMissingfiscalDocument.relatedInvoices is missing
relatedInvoicesPeriodMissingfiscalDocument.relatedInvoicesPeriod is missing
conceptCodeMissingfiscalDocument.conceptCode is missing
internalIdMissingfiscalDocument.internalId is missing
invoiceDateMissingfiscalDocument.invoiceDate is missing
invoiceTypeMissingfiscalDocument.invoiceType is missing
totalAmountMissingfiscalDocument.totalAmount is missing
relatedOtherTaxesMissingfiscalDocument.relatedOtherTaxes is missing
optionalWrongValuesfiscalDocument.optional wrong values
itemsItemInfoSizefiscalDocument.items.itemInfo:maximum number of items is 10
fiscalDocumentdocumentInfoSizefiscalDocument.documentInfo:maximum number of items is 10
validateFiscalDocumentfiscalDocument request is incomplet
customerDocumentcustomer request is incomplet
agentMaxTerminalMaximum number of terminals allowed for the agent from company.
fiscalDocumentInvoceTypeMissingfiscalDocument.invoiceType is missing
fiscalDocumentzNumberfiscalDocument.zNumber is missing
fiscalDocumentInvoceNumberMissingfiscalDocument.invoiceNumber is missing
fiscalDocumentPointOfSaleMissingfiscalDocument.pointOfSale is missing
numberNotIsNumberLos siguientes atributos deben ser Number sin comillas: 
relatedInvoicesIncompletfiscalDocument.relatedInvoices is incomplet.invoiceType,pointOfSale,invoiceNumber are required.
relatedOtherTaxesIncompletfiscalDocument.relatedOtherTaxes is incomplet
hasNotDownloadOperationNumbersCannot be authorized by CAEA because there is not operationNumbers for the invoiceType and pointOfSale
ffAfipInProgressExceededSe agotó el tiempo de espera configurado en Fiscal Flow para las operaciones en curso por CAE (por demoras de AFIP). La configuración para emitir CAEA en estos casos esta habilitada.

ffServerTimeOutFiscal Flow Server Not Response....
agentError