Creditor / Accounts Payable (A/P) Creditor Access Creditor List Request Instruction HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/list Content Type application/json Response Type JSON Parameter Description token: string is required. Request Headers {   "Content-Type":"application/json" } Request Body {  "token" : "B7ABD5DEEC6588997DE41B0FE0665" } Response JSON FormatSuccessful Example {   "status" : true,   "data" :            [                {                     "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",                     "chart_account_id" : "1",                     "creditor_type_id" : null,                     "company_name" : "SuperCounting",                     "registration_number" : "R1234-123",                     "creditor_account_number" : "300-0001",                     "billing_address_1" : "Bayan Lepas Industrial Park,",                     "billing_address_2" : "Penang, Malaysia",                     "billing_address_3" : "",                     "billing_address_4" : "",                     "email" : "supercounting@kedios.com",                     "phone_1" : "0123456789",                     "phone_2" : "",                     "fax_1" : "0421345",                     "fax_2" : "",                     "postcode" : "11600",                     "currency_id" : "105",                     "statement_type" : "O",                     "aging_on" : "I",                     "credit_limit" : "1000.00",                }            ] } Fail Example {   "status" : false,   "error" : "Token invalid." } Remark PropertyStatement Type Only Accept : O, B, N O = Open Item, B =  Balance Forward, N = No Statement Aging On Only Accept : I, D I = Invoice Date, D = Due Date Get Creditor Request Instruction HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/get-creditor/ Content Type application/json Response Type JSON Parameter Description ref_id : string is required. token: string is required. Request Headers {   "Content-Type":"application/json" } Request Body {  "token" : "B7ABD5DEEC6588997DE41B0FE0665" } Response JSON FormatSuccessful Example {   "status" : true,   "data" :            [                {                     "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",                     "chart_account_id" : "1",                     "creditor_type_id" : null,                     "company_name" : "SuperCounting",                     "registration_number" : "R1234-123",                     "creditor_account_number" : "300-0001",                     "billing_address_1" : "Bayan Lepas Industrial Park,",                     "billing_address_2" : "Penang, Malaysia",                     "billing_address_3" : "",                     "billing_address_4" : "",                     "email" : "supercounting@kedios.com",                     "phone_1" : "0123456789",                     "phone_2" : "",                     "fax_1" : "0421345",                     "fax_2" : "",                     "postcode" : "11600",                     "currency_id" : "105",                     "statement_type" : "O",                     "aging_on" : "I",                     "credit_limit" : "1000.00",                }            ] } Fail Example {   "status" : false,   "error" : "Token invalid. / Creditor does not existing." } Remark PropertyStatement Type Only Accept : O, B, N O = Open Item, B =  Balance Forward, N = No Statement Aging On Only Accept : I, D I = Invoice Date, D = Due Date Create Creditor Request Instruction HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/create Content Type application/json Response Type JSON Parameter Description token : string, is required. chart_account_number: string, is required. creditor_type_id : int or null. company_name : string , is required. registration_number : string. creditor_account_number : string. billing_address_1 : string. billing_address_2 : string. billing_address_3 : string. billing_address_4 : string. email : string. phone_1 : string. phone_2 : string. fax_1: string. fax_2 : string. postcode : string. currency_id : int, is required. statement_type : Only accept O/B/N , is required. aging_on : Only accept I/ D, is required. credit_limit : decimal, is required. confirm : Only accept Y/N. Request Headers {   "Content-Type":"application/json" } Request Body {  "token" : "B7ABD5DEEC6588997DE41B0FE0665",  "chart_account_number" : "400-0000",  "creditor_type_id" : null,  "company_name" : "SuperCounting",  "registration_number" : "R1234-123",  "creditor_account_number" : "300-0001",  "billing_address_1" : "Bayan Lepas Industrial Park,",  "billing_address_2" : "Penang, Malaysia",  "billing_address_3" : "",  "billing_address_4" : "",  "email" : "supercounting@kedios.com",  "phone_1" : "0123456789",  "phone_2" : "",  "fax_1" : "0421345",  "fax_2" : "",  "postcode" : "11600",  "currency_id" : "105",  "statement_type" : "O",  "aging_on" : "I",  "credit_limit" : "1000.00",  "confirm" : "Y" } Response JSON FormatSuccessful Example {   "status" : true,   "creditor_account_number" : "400-F001",   "ref_id" : "FFFBD5DEEC6588997DE41B0FE0665", } Fail Example {   "status" : false,   "error" : "Token invalid. /  Creditor save fail." } Remark PropertyCreditor Account Number If creditor account number is empty, it will auto generate by system. Statement Type Only Accept : O, B, N O = Open Item, B =  Balance Forward, N = No Statement Aging On Only Accept : I, D I = Invoice Date, D = Due Date Confirm If your company name already exiting and you still want to create the same name so you need to put the confirm key as "Y" else "N".  Only Accept : Y,N Y = Yes, N = No Edit Creditor Request Instruction HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/edit/ Content Type application/json Response Type JSON Parameter Description ref_id: string, is required. token : string, is required. chart_account_number: string, is required. creditor_type_id : int or null. company_name : string , is required. registration_number : string. creditor_account_number : string, is required. billing_address_1 : string. billing_address_2 : string. billing_address_3 : string. billing_address_4 : string. email : string. phone_1 : string. phone_2 : string. fax_1: string. fax_2 : string. postcode : string. currency_id : int, is required. statement_type : Only accept O/B/N , is required. aging_on : Only accept I/ D, is required. credit_limit : decimal, is required. Request Headers {   "Content-Type":"application/json" } Request Body {  "token" : "B7ABD5DEEC6588997DE41B0FE0665",  "chart_account_number" : "400-0000",  "creditor_type_id" : null,  "company_name" : "SuperCounting",  "registration_number" : "R1234-123",  "creditor_account_number" : "300-0001",  "billing_address_1" : "Bayan Lepas Industrial Park,",  "billing_address_2" : "Penang, Malaysia",  "billing_address_3" : "",  "billing_address_4" : "",  "email" : "supercounting@kedios.com",  "phone_1" : "0123456789",  "phone_2" : "",  "fax_1" : "0421345",  "fax_2" : "",  "postcode" : "11600",  "currency_id" : "105",  "statement_type" : "O",  "aging_on" : "I",  "credit_limit" : "1000.00", } Response JSON FormatSuccessful Example {   "status" : true,   "creditor_account_number" : "400-F001",   "ref_id" : "FFFBD5DEEC6588997DE41B0FE0665", } Fail Example {   "status" : false,   "error" : "Token invalid. /  Creditor save fail." } Remark PropertyCreditor Account Number If creditor account number is empty, it will auto generate by system. Statement Type Only Accept : O, B, N O = Open Item, B =  Balance Forward, N = No Statement Aging On Only Accept : I, D I = Invoice Date, D = Due Date Delete Creditor Request Instruction HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/delete/ Content Type application/json Response Type JSON Parameter Description ref_id: string, is required. token : string, is required. Request Headers {   "Content-Type":"application/json" } Request Body {  "token" : "B7ABD5DEEC6588997DE41B0FE0665", } Response JSON FormatSuccessful Example {   "status" : true, } Fail Example {   "status" : false,   "error" : "Token invalid. /  Creditor delete fail." }