UNPKG

ynab-api-importer

Version:

Import bank transactions into YNAB

7 lines (6 loc) 384 B
/// <reference path="../src/types/ofx-js.d.ts" /> import { SaveTransaction } from "ynab"; import { DateTime } from "luxon"; export declare const amountFromString: (input: string) => number; export declare const importID: () => (date: DateTime, amount: number) => string; export declare function ofxToSaveTransactions(input: string, ynabAccountID: string): Promise<SaveTransaction[]>;