Get Creditor
- Request Instruction
HTTPS Method POST URL http://subdomain.supersuite.my/api/creditor/get-creditor/<ref_id> 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 Format
Successful 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 Property
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