Errores de detalle de ítem

Errores producidos durante la validación de ítems del comprobante.

CódigoSlugMensajeDescripción
AL_PER_ITDL_001IGV_AMOUNT_NOT_ALLOWEDThe field 'taxes.igv.amount' is not allowed for the given IGV typeOcurre cuando el tipo de IGV es exonerado, inafecto o exportación y se proporciona el campo taxes.igv.amount.
AL_PER_ITDL_002IGV_AMOUNT_REQUIREDThe field 'taxes.igv.amount' is required for the given IGV typeOcurre cuando el tipo de IGV es gravado y no se proporciona el campo taxes.igv.amount.
AL_PER_ITDL_003FREE_ITEM_UNIT_VALUE_MUST_BE_ZEROThe field 'unitValue' must be zero for free itemsOcurre cuando el tipo de IGV corresponde a una operación gratuita y el campo unitValue tiene un valor distinto de cero.
AL_PER_ITDL_004FREE_ITEM_UNIT_PRICE_MUST_BE_ZEROThe field 'unitPrice' must be zero for free itemsOcurre cuando el tipo de IGV corresponde a una operación gratuita y el campo unitPrice tiene un valor distinto de cero.
AL_PER_ITDL_005FREE_ITEM_REFERENCE_UNIT_VALUE_REQUIREDThe field 'referenceUnitValue' is required for free itemsOcurre cuando el tipo de IGV corresponde a una operación gratuita y no se proporciona el campo referenceUnitValue.
AL_PER_ITDL_006FREE_ITEM_UNIT_VALUE_MUST_BE_POSITIVEThe field 'unitValue' must be greater than zero for onerous itemsOcurre cuando el tipo de IGV corresponde a una operación onerosa y el campo unitValue es cero.
AL_PER_ITDL_007FREE_ITEM_UNIT_PRICE_MUST_BE_POSITIVEThe field 'unitPrice' must be greater than zero for onerous itemsOcurre cuando el tipo de IGV corresponde a una operación onerosa y el campo unitPrice es cero.
AL_PER_ITDL_008FREE_ITEM_REFERENCE_UNIT_VALUE_NOT_ALLOWEDThe field 'referenceUnitValue' is not allowed for onerous itemsOcurre cuando el tipo de IGV corresponde a una operación onerosa y se proporciona el campo referenceUnitValue.
AL_PER_ITDL_011GTIN_PRODUCT_CODE_INVALIDThe field 'codes.gtinProductCode' must be a numeric string of exactly 8, 12, 13 or 14 digitsOcurre cuando el valor de codes.gtinProductCode no es numérico o su longitud no corresponde a ningún tipo GTIN válido (8, 12, 13 o 14 dígitos).
AL_PER_ITDL_009ITEM_REASON_CODE_NOT_VALID_FOR_CHARGEThe field 'reasonCode' is not a valid item charge codeOcurre cuando isCharge es true y el valor de reasonCode no corresponde a un código de cargo a nivel de ítem válido.
AL_PER_ITDL_010ITEM_REASON_CODE_NOT_VALID_FOR_DISCOUNTThe field 'reasonCode' is not a valid item discount codeOcurre cuando isCharge es false y el valor de reasonCode no corresponde a un código de descuento a nivel de ítem válido.
AL_PER_ITDL_012ISC_RATE_REQUIREDThe field 'taxes.isc.rate' is required for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 01 (al valor) o 03 (precio de venta al público) y no se proporciona el campo taxes.isc.rate.
AL_PER_ITDL_013ISC_RATE_NOT_ALLOWEDThe field 'taxes.isc.rate' is not allowed for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 02 (monto fijo) y se proporciona el campo taxes.isc.rate.
AL_PER_ITDL_014ISC_PER_UNIT_AMOUNT_REQUIREDThe field 'taxes.isc.perUnitAmount' is required for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 02 (monto fijo) y no se proporciona el campo taxes.isc.perUnitAmount.
AL_PER_ITDL_015ISC_PER_UNIT_AMOUNT_NOT_ALLOWEDThe field 'taxes.isc.perUnitAmount' is not allowed for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 01 (al valor) o 03 (precio de venta al público) y se proporciona el campo taxes.isc.perUnitAmount.
AL_PER_ITDL_016ISC_SUGGESTED_RETAIL_PRICE_REQUIREDThe field 'taxes.isc.suggestedRetailPrice' is required for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 03 (precio de venta al público) y no se proporciona el campo taxes.isc.suggestedRetailPrice.
AL_PER_ITDL_017ISC_SUGGESTED_RETAIL_PRICE_NOT_ALLOWEDThe field 'taxes.isc.suggestedRetailPrice' is not allowed for the given ISC calculation typeOcurre cuando el sistema de cálculo del ISC es 01 (al valor) o 02 (monto fijo) y se proporciona el campo taxes.isc.suggestedRetailPrice.
AL_PER_ITDL_018ISC_AMOUNT_MISMATCHThe field 'taxes.isc.amount' does not match the amount computed for the given ISC calculation typeOcurre cuando se proporciona taxes.isc.amount y su valor difiere en más de 0.01 del monto que resulta de aplicar la fórmula del sistema de cálculo declarado en taxes.isc.type.
AL_PER_ITDL_019ISC_NOT_ALLOWED_WITH_IVAPThe field 'taxes.isc' is not allowed on documents affected by IVAPOcurre cuando el comprobante está afecto al IVAP y algún ítem proporciona el objeto taxes.isc. SUNAT no permite combinar los tributos 1016 (IVAP) y 2000 (ISC) en la misma línea.
AL_PER_ITDL_020UNIT_PRICE_MISMATCHThe field 'unitPrice' does not match the unit price computed from the item amountsOcurre cuando unitPrice difiere en más de 0.01 del resultado de dividir subtotal más taxes.igv.amount y taxes.isc.amount entre quantity. El ICBPER (taxes.bagTax) no forma parte del precio unitario. SUNAT recalcula este valor y rechaza el comprobante con el error 3270 cuando no cuadra con los importes informados.
AL_PER_ITDL_021ITEM_DESCRIPTION_INVALID_CHARACTERSThe field 'itemDetails[].description' contains characters that are not allowed; use letters, digits, spaces and common punctuationOcurre cuando itemDetails[].description contiene caracteres no permitidos (por ejemplo emojis, caracteres de control, < o >). Se aceptan letras del alfabeto latino, dígitos, espacios y signos de puntuación comunes.
AL_PER_ITDL_022PRODUCT_CODE_INVALID_CHARACTERSThe field 'itemDetails[].codes.productCode' contains characters that are not allowed; use letters, digits, '.', '_', '/' or '-'Ocurre cuando itemDetails[].codes.productCode contiene espacios u otros caracteres distintos de letras, dígitos, ., _, / o -.