Replies: 3 comments 5 replies
-
Huh... that's weird. 🤔 To help me reproduce the issue, could you also share one of your CSV's lines and the "parsers" section of your config file? |
Beta Was this translation helpful? Give feedback.
-
Here is the parser for my AMEX CSVs - name: amex-parser
# Number of header and footer rows to skip when parsing the file.
header_rows: 1
footer_rows: 0
# Delimiter used to separate columns in the CSV file (e.g., ";", ",", "\t").
delimiter: ","
# Define the columns in the CSV file.
# Use 'skip' to ignore a column.
# Use 'amount' if both inflow and outflow are in the same column. Negative amounts will be treated as outflows.
columns: [date, skip, memo, skip, skip, amount, in_out_flag]
outflow_indicator: "OUT"
# Date format used in the CSV file (e.g., M/d/yyyy, d-M-yyyy).
# See https://moment.github.io/luxon/#/parsing?id=table-of-tokens for a list of supported formats.
date_format: dd/MM/yyyy
# Decimal and thousand separators used in the CSV file (e.g., ".", ",").
decimal_separator: "."
thousand_separator: "" # Leave empty if not used Here is the original file, anonymized Here is a ynab-buddy file, nothing too secret in here |
Beta Was this translation helpful? Give feedback.
-
okay, pulled your next build with re-enabled ynab-buddy to upload, set config.yaml to keep parsed_file and keep original_file - account_name: Amex
# File name pattern to match for this account's transactions (e.g., BNP-export-IBAN01233456789-*.csv).
pattern: amex-*.csv
# Parser to use for processing this account's transactions.
parser: amex-parser
# YNAB account and budget IDs for uploading transactions.
ynab_account_id: xxxx-yyyy-zzzz
ynab_budget_id: aaaa-bbbb-cccc
# Optional flag color for uploaded transactions in YNAB (e.g., purple, blue, green, yellow, red, orange).
# Place a # in front of the line to use the default (no flag).
ynab_flag_color: purple
# Set to true to upload transactions to YNAB; false to skip uploading.
# Place a # in front of the line to use the default (see 'upload_transactions' below).
upload: true
# Set to true to save a parsed file (in YNAB CSV format) after processing; false to skip saving.
save_parsed_file: true
# Set to true to delete the original bank transaction file after processing; false to keep the file.
delete_original_file: false run ynab-buddy, and get this result
since ynab-buddy configured to keep the parsed file - i checked it out and found timestamp still exists output of amex-.YNAB file
I have triple-checked the valid token, budgetID and accountID - they are correct. Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
Hi Niels,
I got ynab-buddy up and running on my Debian shell
Setup the config.yaml - but when running the tool, it seems to insert a datetime into date field - YNAB throws an error that it can't recognize the date field
Here is an example
Amount,Date,Memo
78.67,2024-04-28T00:00:00.000Z,COLES
If I manually trim the timestamp - T00:00:00.000Z - I can import no problems
Is it something I need to configure on my end
Thanks
sprucas
Beta Was this translation helpful? Give feedback.
All reactions