This method is used to retrieve the information of an existent Tax.


This method has the URL https://server/services/tax/v1/ and follows the MicroBase API calling conventions.

Argument Required Type Example Description
id yes String rJGOMDf Tax database identifier.


Returns a Tax object:

    "ok": true,
    "tax": {
        "id": "HJs04P45",
        "code": "default",
        "class": "default",
        "title": "IVA 10%",
        "rate": 10,
        "isPercentage": true


Expected errors that this method could return. Some errors return additional data.

Error Data Description
tax_not_found The data causing the error Tax to update not found
validation_error The data causing the error Some validation error


curl --request POST \
  --url http://localhost:3000/services/tax/v1/ \
  --header 'authorization: Bearer xxxxx...' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{
      "id": "HJs04P45" \