I use some filters to change the prices / VAT from some products but certainly not all products. This only applies to products that include alcoholic drinks due to legislation. As you can see in the previous screenshot the breakfast my customer sells includes some items (croissant, roos, ..). Before payment takes place this breakfast also includes a bottle of champagne. After payment an action and some filters process the order and recalculate the totals and make sure champagne becomes a seperate product so it can be rated at 21% VAT instead of 6% VAT for the breakfast. But because this only applies to specific products (breakfasts) I would expect this issue only on that kind of orders.
What I now just tried is renaming my functions.php so that no filters are being used. Now I can see the expected output € 105,00 (inclusief € 4,81 BTW: 6%, € 3,47 BTW: 21%.
My customer doesn’t want the VAT to be displayed on his confirmation mails, only on invoices. His breakfasts are being displayed with VAT included right now.
So I need to adjust my filters. But how do I determine that PDF Facturen is requesting the data to make sure the values are being return unfiltered?