Item Level Sales Tax

Miva 10 supports saving and displaying sales tax at the item level. This is useful for doing refunds/returns as Miva will give you the exact amount of Tax which needs to be refunded in addition to the item total. In addition, most all back office / ERP systems calculate and store tax and the item level so this makes it easier to align the order data during an integration.

As of version 10.01.00, line item sales tax is the default and only way to calculate sales Tax in Miva. The sum of all the line item tax amounts plus any tax on shipping is summed up and displayed as the order level sales tax.

The following modules have been updated to support item level sales tax:

Note: Canadian VAT and European VAT tax modules have not been updated to support line item sales tax. These are planned for a future update.

On this Page

Line Item Tax Display

When viewing an order in the Miva admin, if an item was taxed it is now displayed right under the item price. If nothing shows here, that means that item was not taxable.

If there was any tax on shipping, that displays when you click on Edit Shipping/Tax/Other Charges.

The sum of the item tax + shipping tax will be what gets displayed at the order level. In this case:

.20 + 10.00 + 1.50 = $11.70 (Order Tax)

State Based Sales Tax – Rounding

Because all tax module calculate and store tax at the item, each items tax is calculated and rounded then added up to get the final order level tax. This is slightly different from how the module handled rounding in previous version. It used to calculate tax based off the sum of the order items then round. Doing the rounding at the item level is more in line with how other accounting systems handled tax.

JSON API

The item level sales tax is automatically included in the JSON API for OrderList_Load_Query as a "tax" field.

There are two new fields: tax and formatted_tax.

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2021 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.