[Skip to main content](#vessel-content)

#   Bug report: Incorrect Factur-X XML totals for mixed VAT rates and shipping costs

##

- **[thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")**
- [![thomas.eilers@gfse.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile") Topic Author
- [ Offline](/forum/user/84383-thomas-eilers-gfse-org)

Less More

- Posts: 26
- Thank you received: 4
-
-

5 hours 2 minutes ago [\#100000455](#100000455) by [thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")  *[Bug report: Incorrect Factur-X XML totals for mixed VAT rates and shipping costs](/forum/30-integrations/100000086-bug-report-incorrect-factur-x-xml-totals-for-mixed-vat-rates-and-shipping-costs#100000455 "-- Browser(s) name and version -- : Firefox 159.0  Hello,  I found another issue with the Factur-X XML generated by the PDF Invoice plugin when an order contains products with different VAT rates.  I am using HikaShop with HikaMarket.  Test scenario:  &#42; Product A: €20.00 gross, VAT 19%  &#42; Product B: €79.00 gross, VAT 7%  &#42; Shipping: €19.40 gross  &#42; Shipping tax calculation: &quot;Automatic taxes: Proportion&quot;  Correct amounts in HikaShop and the visible PDF:  &#42; Net total: €108.40  &#42; VAT 19%: €3.82  &#42; VAT 7%: €6.18  &#42; Total VAT: €10.00  &#42; Grand total: €118.40  Incorrect amounts in the embedded Factur-X XML:  &#42; Net total: €108.40  &#42; VAT 19%: €6.57  &#42; VAT 7%: €5.17  &#42; Total VAT: €11.74  &#42; Grand total: €120.14  The difference is €1.74.  I identified the following issue in the XML: The complete net shipping charge of €17.76 is assigned to the 19% VAT category. However, the correct proportional allocation should be:  &#42; €3.29 net shipping at 19% VAT  &#42; €14.47 net shipping at 7% VAT  This would result in the correct total VAT of €10.00 and the correct grand total of €118.40.  Could you please investigate and correct the proportional allocation of shipping taxes in the generated Factur-X XML?  If you need additional information or an example file, please let me know whether you can provide a private and secure way to share it.  Thank you!")* was created by *[thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")*

-- Browser(s) name and version -- : Firefox 159.0

Hello,

I found another issue with the Factur-X XML generated by the PDF Invoice plugin when an order contains products with different VAT rates.

I am using HikaShop with HikaMarket.

**Test scenario:**

- Product A: €20.00 gross, VAT 19%
- Product B: €79.00 gross, VAT 7%
- Shipping: €19.40 gross
- Shipping tax calculation: "Automatic taxes: Proportion"

**Correct amounts in HikaShop and the visible PDF:**

- Net total: €108.40
- VAT 19%: €3.82
- VAT 7%: €6.18
- Total VAT: €10.00
- Grand total: €118.40

**Incorrect amounts in the embedded Factur-X XML:**

- Net total: €108.40
- VAT 19%: €6.57
- VAT 7%: €5.17
- Total VAT: €11.74
- Grand total: €120.14

**The difference is €1.74.**

I identified the following issue in the XML:
The complete net shipping charge of €17.76 is assigned to the 19% VAT category. However, the correct proportional allocation should be:

- €3.29 net shipping at 19% VAT
- €14.47 net shipping at 7% VAT

This would result in the correct total VAT of €10.00 and the correct grand total of €118.40.

Could you please investigate and correct the proportional allocation of shipping taxes in the generated Factur-X XML?

If you need additional information or an example file, please let me know whether you can provide a private and secure way to share it.

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy8xMDAwMDAwODYtYnVnLXJlcG9ydC1pbmNvcnJlY3QtZmFjdHVyLXgteG1sLXRvdGFscy1mb3ItbWl4ZWQtdmF0LXJhdGVzLWFuZC1zaGlwcGluZy1jb3N0cw==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.086 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
