Skip to main content

Get Creditor

Request

GET:/{accountBookId}/creditor

Request Parameters

ParameterDescriptionType
codeCreditor code/ account number of creditor record.stringrequired

Example Request URL:

Parameters:
accountBookId = 1
code = 400-0001

URL:
GET: https://accounting-api.autocountcloud.com/1/creditor?code=400-0001

Response

Success Response

Status Code: 200

Response Body

object: Creditor Data Model

Example Success Response Body
{
"accNo": "400-0001",
"parentAccNo": "400-0000",
"companyName": "Apparel Supplier",
"desc2": "",
"registerNo": "202201524856",
"isActive": true,
"address": "Jalan Wawasan 4/12, Pusat Bandar Puchong, Puchong, Selangor",
"postCode": "47100",
"phone1": "03-5192 9527",
"phone2": "",
"fax1": "",
"fax2": "",
"areaCode": "SLG",
"emailAddress": "apparelSupplier@gmail.com",
"webURL": "",
"attention": "",
"natureOfBusiness": "Manufacturing",
"currencyCode": "MYR",
"creditTerm": "C.O.D.",
"taxCode": "P-5",
"taxRegisterNo": "C 0564394372 ",
"note": ""
}

Error Response

Response Body

object: Error Response Model

Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}