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.