You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The OrderTaxSummary doesn't include the tax of shipping. The summary only holds the total per tax rate of the items in the order.
To Reproduce
Steps to reproduce the behavior:
Create a shippingMethod which includes tax
Create an order with 1 item.
Add the shippingMethod with tax to the order
Request the order.OrderTaxSummary in the GraphQL API
The taxSummary only holds the tax of the order items.
Expected behavior
(See result below) order.taxSummary.taxTotal is 399, but the order.total - order.totalWithTax = 516, because the order.totalWithTax includes the shipping tax aswell.
The order.taxSummary.taxTotal should be 516 (117 of shipping tax + 399 of order item tax)
Environment (please complete the following information):
@vendure/core version: 0.18.4
Nodejs version: v12.10.0
Database (mysql/postgres etc): MySQL
Additional context
Result of an order with missing shipping-tax in summary
Describe the bug
The
OrderTaxSummary
doesn't include the tax of shipping. The summary only holds the total per tax rate of the items in the order.To Reproduce
Steps to reproduce the behavior:
order.OrderTaxSummary
in the GraphQL APIExpected behavior
(See result below)
order.taxSummary.taxTotal
is399
, but theorder.total
-order.totalWithTax
=516
, because theorder.totalWithTax
includes the shipping tax aswell.The
order.taxSummary.taxTotal
should be516
(117
of shipping tax +399
of order item tax)Environment (please complete the following information):
Additional context
Result of an order with missing shipping-tax in summary
GraphQL request for retrieving the order:
The text was updated successfully, but these errors were encountered: