Tool Option

Debtor Type 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" : "debtor_type"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Book Supplier",

                          "item_code" : "S0001",

                          "description_1" : "English Text Book",

                          "description_2" : "",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Creditor Type 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" : "creditor_type"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Book Supplier",

                          "item_code" : "S0001",

                          "description_1" : "English Text Book",

                          "description_2" : "",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Chart Account Option ( Using In Create Debtor )

  1. This chart account option is using in create new debtor or edit debtor chooses. 
  2. 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" : "debtor_account_option"

    }

  3. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Trade Debtor",

                          "account_number" : "300-000",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Chart Account Option ( Using In Create Creditor)

  1. This chart account option is using in create new creditor or edit creditor chooses.
  2. 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" : "creditor_account_option"

    }

  3. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Trade Creditor",

                          "account_number" : "400-000",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Area 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" : "area"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "area_code" : "11600",

                          "description_1" : "Bayan Lepas",

                          "description_2" : "Near Tesco",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Sales Agent 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" : "sales_agent"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Alex Lim",

                          "description_1" : "Responsible for Kuala Lumpur business",

                          "description_2" : "",

                          "image" : "http://supersuite.my/img/logo.png",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Purchase Agent 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_agent"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Alex Lim",

                          "description_1" : "Responsible for Kuala Lumpur business",

                          "description_2" : "",

                          "image" : "http://supersuite.my/img/logo.png",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Currency 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" : "currency"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "code" : "MYR",

                          "name" : "Malaysian Ringgit (MYR)",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Credit Term 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" : "credit_term"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "type" : "S",

                          "name" : "Net 30 days",

                          "days" : "30"

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

  3. Remark Property
    Type

    Only Accept : S, U

     

    S = System,

    U =  User

Creditor 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" : "creditor"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "company_name" : "Company A",

                          "account_number" : "300-0001",

                          "description" : "Selling Book",

                          "registration_number" : "1234567889",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Debtor 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" : "debtor"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "company_name" : "Company A",

                          "account_number" : "300-0001",

                          "description" : "Selling Book",

                          "registration_number" : "1234567889",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Number Format 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" : "number_format"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "IV Default",

                          "format" : "I-<00000>",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Chart Account Option (ALL)

  1. This chart account option is showing all chart of account.
  2. 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" : "chart_account"

    }

  3. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Fixed Assets",

                          "account_number" : "200-000",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Stock Group 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" : "stock_group"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Book",

                          "short_code" : "BB",

                          "description" : "Book Set",

                          "description_2" : "",

                          "remark" : "",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Stock Item Type 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" : "stock_item_type"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Book",

                          "short_code" : "BB",

                          "description" : "Book Set",

                          "description_2" : "",

                          "remark" : "",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Supply 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" : "supply_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

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

Tariff 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" : "tariff"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "code" : "123456789",

                          "description_1" : "Tariff Code",

                          "description_2" : "",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

UOM 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" : "uom"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "CM",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Payment Method 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" : "payment_method"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "CIMB - IBG",

                          "account_number" : "300-001",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Normal Account 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" : "normal_account"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "100-0000 Capital",

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

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

    }

Package Item Data 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.

    item_code: string, is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665",

       "type" : "package_item_data",

       "item_code" : "P0001"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : {"net_total":500,"purchase_net_total":198.4,"total_tax":0,"total_purchase_tax":8.4,"data":[{"package_id":"15","stock_item_id":"1","chart_account_arr":{"sales_account_code":"E7A62066E65FF0B5E15D8234DF124937","cash_sale_account_code":"E7A62066E65FF0B5E15D8234DF124937","sales_return_account_code":"E7A62066E65FF0B5E15D8234DF124937","sales_discount_account_code":"E7A62066E65FF0B5E15D8234DF124937","purchase_account_code":"E7A62066E65FF0B5E15D8234DF124937","purchase_return_account_code":"E7A62066E65FF0B5E15D8234DF124937","purchase_discount_account_code":"E7A62066E65FF0B5E15D8234DF124937","balance_stock_account_code":"E7A62066E65FF0B5E15D8234DF124937"},"item_code":"AP001","description":"ACADEMY PROGRAMMES","description_2":"testv 2","uom":"","qty":"1","unit_price":"100.00","subtotal":"100.00","purchase_price":"50.00","purchase_subtotal":"50.00","tax_rate":"0.00","purchase_tax_rate":"0.00","tax_amount":"0.00","purchase_tax_amount":"0.00","tax_type":"SR-O ( 0.00 )","purchase_tax_type":"","supply_config_tax_code_id":"3","purchase_config_tax_code_id":null},{"package_id":"15","stock_item_id":"4","chart_account_arr":{"sales_account_code":"9D2561F56C94894E922653461C81FC0D","cash_sale_account_code":"9D2561F56C94894E922653461C81FC0D","sales_return_account_code":"9D2561F56C94894E922653461C81FC0D","sales_discount_account_code":"9D2561F56C94894E922653461C81FC0D","purchase_account_code":"692A4F8DC6BE6396A8CC893C4BCE31A7","purchase_return_account_code":"692A4F8DC6BE6396A8CC893C4BCE31A7","purchase_discount_account_code":"692A4F8DC6BE6396A8CC893C4BCE31A7","balance_stock_account_code":"692A4F8DC6BE6396A8CC893C4BCE31A7"},"item_code":"MI001","description":"MISC","description_2":"s23213sd","uom":"","qty":"2","unit_price":"200.00","subtotal":"400.00","purchase_price":"70.00","purchase_subtotal":"148.40","tax_rate":"0.00","purchase_tax_rate":"6.00","tax_amount":"0.00","purchase_tax_amount":"8.40","tax_type":"","purchase_tax_type":"TX-O ( 6.00 )","supply_config_tax_code_id":null,"purchase_config_tax_code_id":"1"}]}

    }

    Fail Example

    {

        "status" : false,

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

    }

  3. Remark Property
    Data

    This data is a json ecode data, please do not edit the data. It will using in saving package item. If you edit it, it will follow u edited to save and the calculation will follow to edit to calculate.