Skip to content

AccountService for downloading account movements - #21

Open
martenb wants to merge 2 commits into
contributte:masterfrom
martenb:feat/account-service
Open

AccountService for downloading account movements#21
martenb wants to merge 2 commits into
contributte:masterfrom
martenb:feat/account-service

Conversation

@martenb

@martenb martenb commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

martenb added 2 commits July 29, 2026 16:23
Downloads movements in Fio XML format and parses them into
AccountStatement/Movement entities. Covers periods, last-download,
official statements and cursor endpoints (set-last-id,
set-last-date). Movement column mapping follows FIO API docs v1.9.

XML chosen over JSON to stay consistent with PaymentResponse and
ExportXmlGenerator (ext-simplexml already required).
Bank signals errors via status codes with empty/unparseable bodies,
so failures surfaced as confusing XML parse exceptions. Messages
carry hints from API docs chapter 8 (409 rate limit, 500 invalid
token, 413 too many movements, 422 locked history, 404 bad URL).
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