Skip to content

Instantly share code, notes, and snippets.

@almet
Created June 30, 2025 14:13
Show Gist options
  • Save almet/b7a729ad8b612ca736f8815b17c68fba to your computer and use it in GitHub Desktop.
Save almet/b7a729ad8b612ca736f8815b17c68fba to your computer and use it in GitHub Desktop.
VAT sum in Qonto
Math.sumPrecise(new Array(...document.querySelectorAll('[data-testid="vat-total-amount"]')).map((el) => parseFloat(el.innerText.split('EUR')[0].replace(',', '.'))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment