Skip to content

Save and show VAT of landing fees separately#441

Merged
rzueger merged 2 commits intodevelopfrom
pr/vat
Jun 9, 2025
Merged

Save and show VAT of landing fees separately#441
rzueger merged 2 commits intodevelopfrom
pr/vat

Conversation

@rzueger
Copy link
Copy Markdown
Member

@rzueger rzueger commented Jun 9, 2025

  • VAT is calculated by the flightbox and saved on the movement
  • How it is rounded:
    • Net total: 1 cent
    • VAT: 1 cent
    • Gross total: 5 cent (rounding difference also saved on the movement)
  • In Stripe checkouts we always charge the gross amount (so, the VAT is not handled by Stripe and can not be seen anywhere there - this wouldn't have worked, because we want to charge an amount rounded to 5 cents/Rappen and Stripe can't do that if it adds the VAT)
  • Only handled by LSZM landing fees correctly at this point (VAT is always 0 for LSZT and LSPV at this stage - even though the charged amount might contain VAT)

rzueger added 2 commits June 9, 2025 16:41
- VAT is calculated by the flightbox and saved on the movement
- How it is rounded:
  - Net total: 1 cent
  - VAT: 1 cent
  - Gross total: 5 cent (rounding difference also saved on the movement)
- In Stripe checkouts we always charge the gross amount (so, the VAT
  is not handled by Stripe and can not be seen anywhere there - this
  wouldn't have worked, because we want to charge an amount rounded
  to 5 cents/Rappen and Stripe can't do that if it adds the VAT)
- Only handled by LSZM landing fees correctly at this point (VAT is
  always 0 for LSZT and LSPV at this stage - even though the charged
  amount might contain VAT)
Had to remove "Anzahl Landungen" and "Landegebühr einzel" for space
reasons.
@rzueger rzueger merged commit bc41c3c into develop Jun 9, 2025
2 checks passed
@rzueger rzueger deleted the pr/vat branch June 9, 2025 14:49
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