搜索

PythonReactSEOPDF
GitHub Skill

vw-bank-statement-processor

Process Volkswagen Bank CSV exports into a single merged CSV file. Use when converting VW Bank statements from the source directory into a format that can be uploaded to Lexoffice.

manuelmeurer☆ 0 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

VW Bank Statement Processor

Process Volkswagen Bank CSV exports into a single merged file, suitable to be uploaded to Lexoffice.

Source Directory

/Users/manuel/Library/CloudStorage/GoogleDrive-manuel@uplink.tech/Meine Ablage/Firma/Kontoauszüge/Volkswagen Bank/

Input Format

VW Bank CSV exports are UTF-16 encoded with tab delimiters. Each file has this structure:

"Umsätze vom DD.MM.YYYY bis DD.MM.YYYY"
""
"Saldo DD.MM.YYYY: EUR XX.XXX,XX H"
"Saldo DD.MM.YYYY: EUR XX.XXX,XX H"
""
"Nr."	"Buchungsdatum"	"Verwendungszweck"	"Wertstellung"	"Soll"	"Haben"
"1"	"DD.MM.YYYY"	"Description"	"DD.MM.YYYY"	"amount"	""
...

Processing Steps

  1. Read files from source directory - Do not copy files, read them into memory
  2. Convert encoding - Convert from UTF-16 to UTF-8
  3. Remove header lines - Skip the first 5 lines (title, empty, balances, empty) and keep only from the "Nr." header row onwards
  4. Add column - Add "Auftraggeber/Empfänger" as a new column with value "VW Bank" in each data row
  5. Merge files - Combine all files, keeping only one header row
  6. Change delimiter - Convert from tab-separated to semicolon-separated
  7. Write output - Save merged file to ~/Downloads/

Output Format

Single merged CSV file with semicolon delimiters:

"Nr.";"Buchungsdatum";"Verwendungszweck";"Wertstellung";"Soll";"Haben";"Auftraggeber/Empfänger"
"1";"31.07.2025";"Description";"30.07.2025";"18,45";"";"VW Bank"
...

Usage

When invoked, ask the user:

  1. Which months/files to process (e.g., "last 6 months", "2025-07 to 2025-12", "all files")
  2. Output filename (default: vw-bank-merged.csv)

Example Command

# Process files in memory and output merged result
for file in 2025-07.csv 2025-08.csv ...; do
  iconv -f UTF-16 -t UTF-8 "$SOURCE_DIR/$file" | tail -n +6
done | awk 'NR==1 || !/^"Nr\."/' | sed 's/$/\t"VW Bank"/' | sed 's/\t/;/g' > ~/Downloads/vw-bank-merged.csv

Notes

  • Files are named by month: 2025-01.csv, 2025-02.csv, etc.
  • The "Nr." column restarts at 1 for each monthly file
  • Soll = Debit, Haben = Credit

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!