Get Tax

Inbound | GET | /tax/get-tax

Summary

This API is used to fetch already computed tax details.

Description

This API will fetch the already computed tax details against the reference no for which the tax details were calculated. Note that if the tax details can only be fetched for those orders for which the compute tax API call was made with the request param “store” set as true.

Request Params

  • orderCode

  • shipmentCode

Parameter Name

Data Type

Description

Mandatory

orderCode

String

This is the order code against which the tax details were calculated in the compute tax API call.

yes

shipmentCode

String

This is the shipment code against which the tax details were calculated in the compute tax API call.

yes

Response

{

    "referenceNo": "order1234",

    "fromCountryCode": "IN",

    "fromTin": "29AADCP7081J1ZY",

    "fromState": "Karnataka",

    "fromZip": "560102",

    "toTin": "19AADCP7081J1ZZ",

    "toState": "Gujarat",

    "toZip": "394518",

    "lineItems": [

        {

            "lineItemId": 1,

            "actualSellingPricePerUnit": 100.0,

            "quantity": 1,

            "hsn": "hsn2431",

            "taxRule": "GST_APPAREL",

            "sku": "sku1",

            “orderItemCode”:”1”,

            “channelSku”:”channel-sku-1”,

            "actualSellingPriceTotal": 100.0,

            "baseSellingPricePerUnit": 95.24,

            "baseSellingPriceTotal": 95.24,

            "netTaxAmountPerUnit": 4.76,

            "netTaxAmountTotal": 4.76,

            "taxRate": 5.0,

            "subTaxItemData": [

                {

                    "type": "IGST",

                    "rate": 5.0,

                    "taxPerUnit": 4.76,

                    "taxTotal": 4.76

                },

                {

                    "type": "SGST",

                    "rate": 0.0,

                    "taxPerUnit": 0.0,

                    "taxTotal": 0.0

                },

                {

                    "type": "CGST",

                    "rate": 0.0,

                    "taxPerUnit": 0.0,

                    "taxTotal": 0.0

                }

            ]

        }

    ]

}