falcotura-atv-sdk
Version:
Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.
17 lines (16 loc) • 743 B
TypeScript
import { ClaveOpts, Clave } from '@src/lib/genClave/interfaces';
import { ClientPayload } from '@src/types/globalInterfaces';
type ConsecutivoInput = {
tipoDocKey?: string;
sucursal?: string;
terminal?: string;
consecutivo: string;
};
export declare function consecutivoStr(consecutivoObj: ConsecutivoInput): string;
export declare function genClaveObj(opts: ClaveOpts): Clave;
export declare function genString(claveObj: Clave): string;
export default function genClave(opts: ClaveOpts): string;
export declare function stringToClave(claveStr: string): Clave;
export declare function parseOptions(frontEndRequest: ClientPayload): ClaveOpts;
export declare function getClave(frontEndRequest: ClientPayload): string;
export {};