Skip to content

VAT is calculated wrong in RC1 #1270

@xam-ps

Description

@xam-ps

Title

No response

Expected Behavior

Expected sum:
60€-5€ = 60€
65€-5€ = 60€
60€ * 3 = 180€
180€ * 19 / 100 = 34,20€
total = 180€ + 34,20€ = 214,20€

Current Behavior

VAT is calculated from net before discount. So total = 180€ + 37,05€ = 217,05
So VAT is 20,58% instead of 19%.

Steps to Reproduce

  • Add an item (e.g. 3x 65€).
  • Add a discount (e.g. 5€)
  • Add an item tax (e.g. 19%)

Screenshots (Optional)


Possible Solution (Optional)

No response

Context (Environment)

No response

Failure Logs (Optional)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions