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 |
|---|---|---|
| genericError | Error | |
| FF-2000 | authorizationHeaderMissing | Authorization header is missing |
| FF-2001 | invalidCredentialsFormat | Invalid credentials format |
| FF-2002 | userNotFound | User not found |
| FF-2003 | invalidPassword | Invalid password |
| FF-2004 | accessTokenMissing | Access token is missing |
| FF-2005 | accessTokenNotExists | Access token does not exists |
| FF-2006 | acessTokenExpired | Access token expired |
| FF-2007 | requestCredentialsMissing | requestCredential: Request credentials are missing |
| FF-2008 | companyNotExists | The Company indicated does not exist |
| FF-2009 | fiscalSerialMissing | printerInfo.fiscalSerial is missing |
| FF-2010 | caeTerminalNotSet | CAE Terminal not configured |
| FF-2011 | CAEANotPresentForPeriodAndOrder | CAEA not present for period and order |
| FF-2012 | authorizationTypeError | Authorization header must be string |
| FF-2013 | printerInfoTypeError | Property printerInfo must be object |
| FF-2014 | requestCredentialTypeError | Property requestCredential must be object |
| FF-2015 | requestCredentialAttributesTypeError | Request credentials attributes type error |
| FF-2016 | fiscalDocumentMissing | fiscalDocument:Fiscal document is missing |
| FF-2017 | fiscalDocumentTypeError | Property fiscalDocument must be object |
| FF-2018 | terminalNotExists | Terminal does not exists |
| FF-2019 | itemsMissing | fiscalDocument.items property is missing |
| FF-2020 | customerMissing | customer:Customer property is missing |
| FF-2021 | businessNameMissing | customer.businessName is missing |
| FF-2022 | documentTypeMissing | customer.documentType is missing |
| FF-2023 | fiscalAddressMissing | customer.fiscalAddress is missing |
| FF-2024 | identificationNumberMissing | customer.identificationNumber is missing |
| FF-2025 | relatedInvoicesMissing | fiscalDocument.relatedInvoices is missing |
| FF-2026 | conceptCodeMissing | fiscalDocument.conceptCode is missing |
| FF-2027 | internalIdMissing | fiscalDocument.internalId is missing |
| FF-2028 | invoiceDateMissing | fiscalDocument.invoiceDate is missing |
| FF-2029 | invoiceTypeMissing | fiscalDocument.invoiceType is missing |
| FF-2030 | nonTaxedAmountMissing | fiscalDocument.nonTaxedAmount is missing |
| FF-2031 | totalAmountMissing | fiscalDocument.totalAmount is missing |
| FF-2032 | relatedOtherTaxesMissing | fiscalDocument.relatedOtherTaxes is missing |
| FF-2033 | optionalWrongValues | fiscalDocument.optional wrong values |
| FF-2034 | fiscalDocumentAlreadyExists | fiscalDocumentt already exists |
| FF-2035 | relatedInvoicesPeriodMissing | fiscalDocument.relatedInvoicesPeriod is missing |
| FF-2036 | itemsItemInfoSize | fiscalDocument.items.itemInfo:maximum number of items is 10 |
| FF-2037 | fiscalDocumentdocumentInfoSize | fiscalDocument.documentInfo:maximum number of items is 10 |
| FF-2038 | printerInfoFiscalSerialAlphanumeric | The fiscal serial of the printer must be alphanumeric |
| FF-2039 | fiscalDocumentInvoceTypeMissing | fiscalDocument.invoiceType is missing |
| FF-2040 | fiscalDocumentInvoceNumberMissing | fiscalDocument.invoiceNumber is missing |
| FF-2041 | fiscalDocumentPointOfSaleMissing | fiscalDocument.pointOfSale is missing |
| FF-2042 | terminalOperation2g | The terminal is configured to operate in 2g mode. Please change your settings, notify your clientStatus and try again. |
| FF-2043 | terminalOperationElectronic | The terminal is configured to operate in Electronic mode. Please change your settings, notify your clientStatus and try again. |
| FF-2044 | terminalOperationPrinter | The terminal is configured to operate in Printer mode. Please change your settings, notify your clientStatus and try again. |
| FF-2045 | fiscalDocumentzNumber | fiscalDocument.zNumber is missing |
| FF-2046 | PrinterInfoMissing | printerInfo is missing |
| FF-2047 | printerInfoFiscalSerialMissing | printerInfo.fiscalSerial is missing |
| FF-2048 | printerInfoPointOfSaleMissing | printerInfo.pointOfSale is missing |
| FF-2049 | electronicTerminalNoSet | The electronic terminal indicated is not registered or is inactive in Fiscal Flow. |
| FF-2050 | documentExisting | Operacion previamente autorizada para el internalId informado. |
| FF-2051 | genericDataTypeError | Some parameter has incorrect data type |
| FF-2052 | relatedInvoicesIncomplet | fiscalDocument.relatedInvoices is incomplet.invoiceType,pointOfSale,invoiceNumber are required. |
| FF-2053 | relatedOtherTaxesIncomplet | fiscalDocument.relatedOtherTaxes is incomplet |
| FF-2054 | notifyLastDeletedJournalMissing | printerInfo.lastDeletedJournalNumber is missing |
| FF-2055 | notifyLastDeletedJournalNotNumber | printerInfo.lastDeletedJournalNumber it must be numerical |
| FF-2060 | companyIsNotActive | Company is not active. Can´t operate |
| FF-2061 | storeIsNotActive | Store is not active. Cann´t operate |
| nonValidPrinter | The printer reported is different from the one configured in the terminal | |
| parametersMissing | Missing required parameter | |
| businessRuleParameterError | Business error in the parameters | |
| retryLaterError | The operation can not be completed yet. Try again later. | |
| FF-2900 | validateFiscalDocument | fiscalDocument request is incomplet |
| FF-2901 | customerDocument | customer request is incomplet |
| FF-2902 | numberNotIsNumber | Los siguientes atributos deben ser Number sin comillas: |
| FF-2903 | nonFiscalDocumentExisting | El documento No Fiscal fue creado previamente. |
| FF-2904 | productExisting | El producto ya fue creado previamente |
| FF-2905 | productMissing | product:Product is missing |
| FF-2906 | validateProduct | Product request is incomplet |
| FF-2997 | timeoutError | Timeout |
| FF-2998 | afipRejected | Afip rejected authorization request |
| FF-2999 | serverError | Internal Server Error |
| FF-4000 | afipError | AFIP error validation |
| FF-4001 | invoiceTypeIncorrect | invoiceTYpe 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) |
| FF-4002 | documentTypeAMIncorrect | documentType incorrecto. Para comprobantes clase A y M debe ser 80 (CUIT). (Ref: 10013 AFIP) |
| FF-4003 | documentTypeBIncorrect | documentType incorrecto. Para comprobantes clase B y monto en pesos menor al determinado por la RG 4444, debe ser 99 (Otro). (Ref: 10015 AFIP) |
| FF-4004 | identificationNumberBIncorrect | identificationNumber 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) |
| FF-4005 | documentTypeIncorrect | documentType 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) |
| FF-4006 | documentType99Incorrect | documentType 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) |
| FF-4007 | identificationNumberBIncorrect2 | identificationNumber 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) |
| FF-4008 | documentTypeBIncorrect2 | El 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) |
| FF-4009 | identificationNumberIncorrect | identificationNumber incorrecto. Debe ser distinto al numero de identificacion del emisor. (Ref: 10069 AFIP) |
| FF-4010 | invoiceDateProductIncorrect | invoiceDate 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) |
| FF-4011 | invoiceDateServiceIncorrect | invoiceDate 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) |
| FF-4012 | conceptCodeIncorrect | conceptCode 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) |
| FF-4013 | periodStartDate1 | El campo periodStartDate es requerido cuando se informa periodEndDate (Ref: 10031 AFIP) |
| FF-4014 | periodStartDate2 | El campo periodStartDate es requerido cuando se informa paymentDueDate y conceptCode es igual a 2 o 3 (Ref: 10031 AFIP) |
| FF-4015 | periodStartDate3 | periodStarDate incorrecto. Debe ser anterior o igual a periodEndDate (Ref: 10032 AFIP) |
| FF-4016 | periodEndDate1 | El campo periodEndDate es requerido cuando se informa periodStarDate (Ref: 10033 AFIP) |
| FF-4017 | periodEndDate2 | El campo periodEndDate es requerido cuando se informa paymentDueDate y conceptCode es igual a 2 o 3 (Ref: 10033 AFIP) |
| FF-4018 | periodStartDate4 | El campo periodStartDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP) |
| FF-4019 | periodEndDate3 | El campo periodEndDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP) |
| FF-4020 | paymentDueDate1 | El campo paymentDueDate es requerido cuando se informa conceptCode igual a 2 o 3 (Ref: 10049 AFIP) |
| FF-4021 | paymentDueDate2 | El campo paymentDueDate es requerido cuando se informa periodStartDate y conceptCode es igual a 2 o 3 (Ref: 10035 AFIP) |
| FF-4022 | paymentDueDate3 | El campo paymentDueDate es requerido cuando se informa periodEndDate y conceptCode es igual a 2 o 3 (Ref: 10035 AFIP) |
| FF-4023 | paymentDueDate4 | paymentDueDate incorrecto. Debe ser igual o posterior a invoiceDate. (Ref: 10036 AFIP) |
| FF-4024 | currencyIncorrect | currency 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) |
| FF-4026 | currencyChangePesIncorrect | currencyChange incorrecto: debe ser igual a 1 cuando currency es igual a PES. (Ref: 10039 AFIP) |
| FF-4028 | totalAmountIncorrect | Montos totales incorrectos. La suma de nonTaxedAmount + taxedAmount + exemptAmount + amountOtherTaxes + amountIVA no coincide con totalAmount (Ref: 10048 AFIP) |
| FF-4030 | relatedTaxesRequired | relatedTaxes.code incorrecto. Debe ser igual a 3 cuando amountIVA es igual a cero (Ref: 10018 AFIP) |
| FF-4031 | relatedTaxesAmountRequired | relatedTaxes es requerido. (Ref: 10018 AFIP) |
| FF-4033 | relatedTaxesAmountTotal | Montos incorrectos. La suma de los campos amount de relatedTaxes no coincide con amountIVA (Ref: 10023 AFIP) |
| FF-4034 | relatedTaxesBaseAmountIncorrect | Montos incorrectos. La suma de los campos baseAmount de relatedTaxes no coincide con taxedAmount (Ref: 10061 AFIP) |
| FF-4036 | relatedOtherTaxesRequired | code de relatedTaxes incorrecto. No debe repetirse el codigo de alicuota. Debe totalizarse por alicuota. (Ref: 10022 AFIP) |
| FF-4037 | relatedOtherTaxesIncorrect | array de relatedOtherTaxes es requerido cuando amountOtherTaxes es mayor a cero. (Ref: 10024 AFIP) |
| FF-4038 | relatedOtherTaxesAmount1Incorrect | relatedOtherTaxes incorrecto. No debe enviarse cuando amountOtherTaxes es igual a cero. (Ref: 10024 AFIP) |
| FF-4039 | relatedOtherTaxesAmounI2ncorrect | code 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) |
| FF-4040 | relatedOtherTaxesCodeRequired | Montos incorrectos. La suma de los campos amount de relatedOtherTaxes no coincide con el valor ingresado en amountOtherTaxes (Ref: 10029 AFIP) |
| FF-4041 | relatedOtherTaxesCodeNameRequired | El campo name de relatedOtherTaxes es requerido cuando el valor informado en code de relatedOtherTaxes es igual a 99 (Ref: 10042 AFIP) |
| FF-4042 | relatedOtherTaxesAmountIncorrect | amountOtherTaxes incorrecto. Debe ser mayor a cero cuando se trata de un sujeto NO CATEGORIZADO. (Ref: 10067 AFIP) |
| FF-4043 | relatedTaxestaxedAmountRequired | array 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 | |
| FF-4999 | afipOfflineService | AFIP OFFLINE SERVICES |
Errores emitidos por Agente
Los siguientes errores son emitidos por el Agente exclusivamente:
ack | Código | Mensaje |
|---|---|---|
| noConnectionCAEAOk | No connection with server. CAEA is ok | |
| connectionOkNoCAEA | Connection is ok. No CAEA | |
| noConnectionNoCAEA | No Connection. No CAEA | |
| storeOrTerminalDoesNotExists | Store or Terminal does not exists | |
| requestCredentialsMissing | Request Credentials are missing | |
| accessTokenMissing | Access Token is missing | |
| errorUploadFileToServer | Error uploading files to FTP | |
| sendFileToFiscalFlowServer | Connection error with server | |
| errorGetConfigValue | Error getting config values | |
| errorFileDoesntExist | File does not exists | |
| invalidAccessToken | Invalid Access Token | |
| invalidCredentials | Invalid Credentials | |
| authorizationHeaderMissing | Authorization header is missing | |
| invalidCredentialsFormat | Invalid Credentials format | |
| errorSendFileToFiscalFlowServer | Error sending file to fiscal flow server | |
| requestBodySchemaError | Request body schema validation error | |
| authorizationTypeError | Authorization header must be string | |
| authorizationModeOfflineAfip | The offline mode to Afip for the terminal is disabled | |
| authorizationModeOfflineStore | The offline mode from the store for the server is disabled | |
| terminalDoesntExist | The terminal doesnt exist, please call clientStatus for register | |
| hasNotDownloadCAEA | There is not CAEA for the company | |
| percentageExceeded | Cannot be authorized by CAEA because the store exceeded the configured authorization percentage | |
| operationMode2g | Terminal not registered to operate in 2g mode. Please call clientStatus for register | |
| invalidCredentialsOrinternalIdOrInvoiceType | Invalid Credentials or missing Internal Id or Invoice Type into fiscal document | |
| storeCountersNull | Internal Agent Error. The agent does not have information to actual period to calculate the percentage of CAEAs to authorize | |
| documentExisting | Operacion previamente autorizada para el internalId informado. | |
| customerMissing | customer:Customer property is missing | |
| fiscalDocumentMissing | fiscalDocument:Fiscal document is missing | |
| itemsMissing | fiscalDocument.items property is missing | |
| businessNameMissing | customer.businessName is missing | |
| documentTypeMissing | customer.documentType is missing | |
| fiscalAddressMissing | customer.fiscalAddress is missing | |
| identificationNumberMissing | customer.identificationNumber is missing | |
| relatedInvoicesMissing | fiscalDocument.relatedInvoices is missing | |
| relatedInvoicesPeriodMissing | fiscalDocument.relatedInvoicesPeriod is missing | |
| conceptCodeMissing | fiscalDocument.conceptCode is missing | |
| internalIdMissing | fiscalDocument.internalId is missing | |
| invoiceDateMissing | fiscalDocument.invoiceDate is missing | |
| invoiceTypeMissing | fiscalDocument.invoiceType is missing | |
| totalAmountMissing | fiscalDocument.totalAmount is missing | |
| relatedOtherTaxesMissing | fiscalDocument.relatedOtherTaxes is missing | |
| optionalWrongValues | fiscalDocument.optional wrong values | |
| itemsItemInfoSize | fiscalDocument.items.itemInfo:maximum number of items is 10 | |
| fiscalDocumentdocumentInfoSize | fiscalDocument.documentInfo:maximum number of items is 10 | |
| validateFiscalDocument | fiscalDocument request is incomplet | |
| customerDocument | customer request is incomplet | |
| agentMaxTerminal | Maximum number of terminals allowed for the agent from company. | |
| fiscalDocumentInvoceTypeMissing | fiscalDocument.invoiceType is missing | |
| fiscalDocumentzNumber | fiscalDocument.zNumber is missing | |
| fiscalDocumentInvoceNumberMissing | fiscalDocument.invoiceNumber is missing | |
| fiscalDocumentPointOfSaleMissing | fiscalDocument.pointOfSale is missing | |
| numberNotIsNumber | Los siguientes atributos deben ser Number sin comillas: | |
| relatedInvoicesIncomplet | fiscalDocument.relatedInvoices is incomplet.invoiceType,pointOfSale,invoiceNumber are required. | |
| relatedOtherTaxesIncomplet | fiscalDocument.relatedOtherTaxes is incomplet | |
| hasNotDownloadOperationNumbers | Cannot be authorized by CAEA because there is not operationNumbers for the invoiceType and pointOfSale | |
| ffAfipInProgressExceeded | Se 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. | |
| ffServerTimeOut | Fiscal Flow Server Not Response.... | |
| agentError |