Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Same as the Compute Tax API call.{

    "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

                }

            ]

        }

    ]

}