Skip to content

Tax sign is flipped for old dividend taxes #317

@jannewulf

Description

@jannewulf

Description of the bug
Dividend taxes have been reported in a different format in the past. The old format had a flipped sign on the taxes. This is not handled in the parsing code.

According to my data this format change was implemented somewhere between 2024-05-17 and 2024-06-28.

This leads to inconsistent signing of the tax values.

To Reproduce
These are samples from my own data:

2024-05-17

{
  "title": "Steuern",
  "detail": {
    "text": "0,60 €",
    "trend": null,
    "action": null,
    "displayValue": null,
    "type": "text"
  },
  "style": "plain"
}

2024-06-28

{
  "title": "Steuer",
  "detail": {
    "text": "-0,08 €",
    "displayValue": {
      "text": "-0,08 €"
    },
    "type": "text"
  },
  "style": "plain"
}

Expected behavior
The sign on the tax data in the export should be consistent.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions