Taxes Service

NPM version Downloads Build Status Coverage Status bitHound Overall Score bitHound Code Dependency status Dev Dependency status

Ecommerce Taxes service, part of the microbase ecosystem.


  • Net and gross calculations
  • Easily creation of custom taxes, based on Cart, Products and User data


The Tax entity holds the information about taxes.


Field Description Type Required Default
id Internal unique Tax identifier String yes System generated
code The Tax code unique identifier (i.e.: VAT) String yes -
class The Tax class (specific implementation) identifier String yes -
title The Tax title String yes -
description The Tax description String no -
rate The Tax rate Number yes -
isPercentage The Tax rate is a percentaje or absolute Boolean yes true


The full API documentation can be accessed in the microbase web