Skip to content

Fix Alipay CSV parser for updated export format#233

Open
rennsax wants to merge 1 commit into
deb-sig:masterfrom
rennsax:master
Open

Fix Alipay CSV parser for updated export format#233
rennsax wants to merge 1 commit into
deb-sig:masterfrom
rennsax:master

Conversation

@rennsax

@rennsax rennsax commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Description

Update the Alipay CSV parser to support the latest exported bill format.

The new Alipay CSV export removes one header/tips line before the transaction table, so the parser now skips 22 non-transaction lines instead of 23. The sample Alipay CSV file is updated accordingly.

Motivation and Context

Alipay changed the CSV bill format by removing one preamble line from the exported file. With the previous parser offset, the first transaction row could be skipped or parsed incorrectly. This change aligns the parser with the current Alipay export layout.

Dependencies

No new dependencies are required.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Tests passed.

Is this change properly documented?

No.

@rennsax rennsax requested review from a team, Triple-Z and gaocegege as code owners June 8, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant