Purchase Tax Code Option

  1. Request Instruction
    HTTPS Method POST
    URL http://subdomain.supersuite.my/api/tool/option
    Content Type  application/json
    Response Type JSON
    Parameter Description

    token : string, is required.

    type : string, is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665",

       "type" : "purchase_tax_code"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "tax_code" : "TX-O",

                          "gov_tax_code" : "TX",

                          "chart_account_id" : "",

                          "is_default" : "Y",

                          "zero_rate" : "N",

                          "transaction_account_posting" : ""N,

                          "description" : "Input Tax 0% – To Make Taxable Supplies (standard rated)",

                          "tax_percentage" : "6.00",

                          "basic_type" : "A",

                          "add _to_cost" : "N",

                          "genre" : "S",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

        "error" : "Token invalid. / No found data."

    }

  3. Remark Property
    Is Default / Zero Rate / Transaction Account Posting / Add To Cost

    Y= Yes,

    N = No

    Basis Type

    A = Accrual Basis , 

    P = Payment Basis

    Genre

    G = GST,

    S = SST

    Discount Type

    Only Accept : P, V

     

    P = Percentage,

    V = Value