UNPKG

@eleva-io/erp-sdk

Version:

SDK oficial para el ERP de Eleva

15 lines 640 B
/** * Calculates the check digit of a CLABE based on the first 17 digits. * @param clabe17 string with exactly 17 digits (only numbers) * @returns check digit number (0..9) * @throws Error if input does not have 17 numeric digits */ export declare function computeClabeCheckDigit(clabe17: string): number; /** * Validates a Mexican CLABE. * Accepts string (can contain spaces or dashes, it is normalized). * @param clabe string with the CLABE to validate * @returns true if valid, false otherwise */ export declare function validateAccountNumberCLABE(clabe: string, path: string): void | never; //# sourceMappingURL=clabe.d.ts.map