This API document is to guide a developer how to connect with UBi-APi and how to intepret the response.
Introduction
| End point |
https://www.ultimatebizapis.com/api/search/data |
| Method |
POST |
| Authorization |
Bearer Credential |
Parameters
{
"tax_id": "1234567890123",
"package": "4",
}
| Parameters |
Description |
| tax_id |
Company tax id |
| package |
Corresponding package id |
Response
{
"result": "OK,NG",
"error": "Tax id cannot be null!",
"general_info": {
.
.
.
},
"objective_code": {
.
.
.
},
"jp": {
.
.
.
},
"bs": {
.
.
.
},
"pl": {
.
.
.
},
"credit_info": {
"remaining_credit": "905.00",
"promotion_code": "FebFun",
"promotion_status": "Expired",
"used_credit": 0,
"credit_balance": "905.00"
}
}
| Key |
Description |
| result |
"NG" or "OK" |
| General Info |
Company general information |
| Objective code |
Objective code detail |
| Juristic person detail |
Juristic person detail detail |
| Balance sheet |
Balance sheet detail |
| Profit and loss |
Profit and loss detail |
| error (if exists) |
Error |
| Tax id cannot be null! |
Tax id is required as a parameter. |
| Tax id should be number! |
Tax id should be number only. |
| Tax id should be a number of length 13! |
Tax id should be a number and just have length of 13. |
| Credential not match! |
The credential is not match with record. |
| You cannot apply this promotion! |
The promotion apply with credential is not applicable! |
| Credit balance is not enough! |
There is not enough credit balance |
| credit_info |
Credit information |
| remaining_credit |
Remaining credits |
| promotion_code |
Promotion code binding with the called credential. |
| promotion_status |
Promotion status whether valid or not valid. |
| credit_used |
Credit used for this API call. |
| credit_balance |
Remaining balance after API called. |
General Info
"general_info": {
"tax_id": "0105556107563",
"company_name": "บจ.โฮมสแตนดาร์ด (อุบลราชธานี) จำกัด",
"en_company_name": "HOME STANDARD (UBON RATCHATHANI) COMPANY LIMITED",
"hq_address": "999\/6 หมู่บ้าน สาริน หมู่ที่ 23 ขามใหญ่ เมืองอุบลราชธานี อุบลราชธานี 34000",
"en_hq_address": "606,608 THANON CHAYANG KUN NAI MUEANG MUEANG UBON RATCHATHANI UBON RATCHATHANI 34000",
"register_date": "5\/7\/2556",
"status": 1,
"status_change_date": "",
"fiscal_year_date": "31\/12\/2561",
"share_holder_meeting_date": "30\/04\/2562",
"fiscal_year": "2561",
"receive_fiscal_report_date": "7\/6\/2562",
"operation_date": "12\/1\/2565"
},
| Key |
Description |
| tax_id |
Tax id |
| company_name |
Company name |
| en_company_name |
Company name (English) |
| hq_address |
Head quarter address |
| en_hq_address |
Head quarter address(English) |
| register_date |
Register date |
| status |
Status |
| status_change_date |
Status change date |
| fiscal_year_date |
Fiscal year date |
| share_holder_meeting_date |
Share holder meeting date |
| fiscal_year |
Fiscal year |
| receive_fiscal_report_date |
Received fiscal report date |
| operation_date |
Operation date |
Objective code
"objective_code": {
"tax_id": "0105556107563",
"objective_code_group": "F",
"objective_code": "'41001",
"export": "",
"import": "",
"objective_group_code_ratio": 99.95,
"objective_detail": "ประกอบกิจการรับสร้างบ้านที่อยู่อาศัย ตลอดจนถึงงานก่อสร้างอื่นๆ",
"objective_detail_change_date": "12\/1\/2565"
},
| Key |
Description |
| tax_id |
Tax id |
| objective_code_group |
Objective code group |
| objective_code |
Objective code |
| export |
Export |
| import |
Import |
| objective_group_code_ratio |
Objective group code ratio |
| objective_detail |
Objective detail |
| objective_detail_change_date |
Objective detail change date |
Juristic person detail
"jp": {
"tax_id": "0105556107563",
"board_name": "นาย วิทยา นามวงษ์",
"invest_by_cash": "",
"invest_by_asset": "",
"invest_by_labor": "",
"invest_amount": 0,
"board_change_date": "26\/02\/2559",
"manager_name": " ",
"manager_change_date": null,
"board_authorization": "นายวิทยา นามวงษ์ ลงลายมือชื่อ และประทับตราสำคัญของบริษัท\/",
"board_authorization_change_date": "30\/08\/2560",
"limitation_of_manager_authorization": "",
"limitation_of_manager_authorization_change_date": ""
},
| Key |
Description |
| tax_id |
Tax i |
| board_name |
Board name |
| invest_by_cash |
Invest by cash |
| invest_by_asset |
Invest by asset |
| invest_by_labor |
Invest by labor |
| invest_amount |
Invest amount |
| board_change_date |
Board name change date |
| manager_name |
Manager name |
| manager_change_date |
Manager change date |
| board_authorization |
Board authorization |
| board_authorization_change_date |
Board authorization change date |
| limitation_of_manager_authorization |
Limitation of manager authorization |
| limitation_of_manager_authorization_change_date |
Limitation of manager authorization change date |
Balance sheet
"bs": {
"tax_id": "0105556107563",
"fiscal_year": 2561,
"account_payable": 0,
"account_receivable": 7057550,
"inventories": 1465000,
"total_current_assets": 14358259.93,
"property_plant_and_equipment": 618232.08,
"total_assets": 15608310.99,
"total_current_liabilities": 13402319.85,
"total_liabilities": 13402319.85,
"total_shareholders_equity": 2205991.14,
"registered_capital": 3000000,
"paid_up_registered_capital": 0,
"cash_and_equivalences": 5781432.76,
"temporary_investment": 0,
"short_term_loan": 0,
"other_current_assets": 54277.17,
"investment_in_subsidiaries": 0,
"other_long_term_investments": 0,
"long_term_loan_as_lender": 0,
"intangible_assets": 0,
"other_non_current_assets": 631818.98,
"total_non_current_assets": 1250051.06,
"bank_overdraft_and_short_term_loan_from_bank": 12200000,
"due_within_one_year_long_term_loan": 0,
"short_term_borrowing": 0,
"short_term_debt_projection": 0,
"other_current_liabilities": 1202319.85,
"long_term_borrowing": 0,
"long_term_debt_projection": 0,
"other_non_current_liabilities": 0,
"total_non_current_liabilities": 0,
"transaction_between_liabilities_and_shareholders": 0,
"registerd_prefered_stock_shares": 0,
"registerd_prefered_stock_value": 0,
"registerd_common_stock_shares": 300000,
"registerd_common_stock_value": 3000000,
"registerd_total_stock_shares": 300000,
"registerd_total_stock_value": 3000000,
"paid_prefered_stock_shares": 0,
"paid_prefered_stock_value": 0,
"paid_common_stock_shares": 0,
"paid_common_stock_value": 0,
"paid_total_stock_shares": 0,
"paid_total_stock_value": 0,
"partners_capital": 0,
"minimum_capital_by_legal": 0,
"other_capital": 0,
"combined_financial_statement": 0,
"investment_from_joint_venture": 0,
"warrant": 0,
"premium_or_discount_on_preferred_stock": 0,
"premium_or_discount_on_common_stock": 0,
"premium_or_discount_on_share_capital": 0,
"total_premium_or_discount_on_stock": 0,
"other_component_from_owner": 0,
"other_items": 0,
"accrued_profit_or_loss": 2205991.14,
"attribution_of_equity": 2205991.14,
"uncontrollable_conflict_of_interest": 0,
"total_liabilities_and_share_holder": 15608310.99
},
| Key |
Description |
| tax_id |
Tax id |
| fiscal_year |
Fiscal year |
| account_payable |
Accounts Payable |
| account_receivable |
Accounts Receivable |
| inventories |
Inventories |
| total_current_assets |
Total current assets |
| property_plant_and_equipment |
Property, plant and equipment |
| total_assets |
Total assets |
| total_current_liabilities |
Total current liabilities |
| total_liabilities |
Total liabilities |
| total_shareholders_equity |
Total Shareholders equity/partner/head office/Joint Ventures |
| registered_capital |
Registered Capital |
| paid_up_registered_capital |
Issued Paid-up Capital |
| cash_and_equivalences |
Cash and deposits at financial institutions |
| temporary_investment |
Temporary investment |
| short_term_loan |
Short term loans (Lender) |
| other_current_assets |
Other current assets |
| investment_in_subsidiaries |
Investment in Subsidiaries, Associates and Joint ventures |
| other_long_term_investments |
Other long-term investments |
| long_term_loan_as_lender |
Long term loans (Lender) |
| intangible_assets |
Intangible assets - net |
| other_non_current_assets |
Other non-current assets |
| total_non_current_assets |
Total Non-Current Assets |
| bank_overdraft_and_short_term_loan_from_bank |
Bank overdrafts and short-term loans from financial institutions |
| due_within_one_year_long_term_loan |
Current Portion of Long-term Loans |
| short_term_borrowing |
Short-Term Borrowings |
| short_term_debt_projection |
Short-Term Provisions |
| other_current_liabilities |
Other current liabilities |
| long_term_borrowing |
Long-Term Borrowings |
| long_term_debt_projection |
Long-Term Provisions |
| other_non_current_liabilities |
Other non-current liabilities |
| total_non_current_liabilities |
Total non-current liabilities |
| transaction_between_liabilities_and_shareholders |
Items between liabilities and shareholders equity |
| registerd_prefered_stock_shares |
Registered Preferred stock - number of shares |
| registerd_prefered_stock_value |
Registered Preferred stock - Total amount |
| registerd_common_stock_shares |
Registered Common Stock - number of shares |
| registerd_common_stock_value |
Registered Common Stock - Total amount |
| registerd_total_stock_shares |
Registered - Total number of shares |
| registerd_total_stock_value |
Registered - Total amount |
| paid_prefered_stock_shares |
Paid-up Preferred stock - number of shares |
| paid_prefered_stock_value |
Paid-up Preferred stock - Total amount |
| paid_common_stock_shares |
Paid-up Common Stock - number of shares |
| paid_common_stock_value |
Paid-up Common Stock - Total amount |
| paid_total_stock_shares |
Paid-up Total number of shares |
| paid_total_stock_value |
Paid-up Total amount |
| partners_capital |
Partners Capital |
| minimum_capital_by_legal |
Legal Minimum Capital |
| other_capital |
Other capital |
| combined_financial_statement |
Combined financial statement |
| investment_from_joint_venture |
Investment From Joint Ventures |
| warrant |
Warrant |
| premium_or_discount_on_preferred_stock |
Premium (Discount) On Preferred Share |
| premium_or_discount_on_common_stock |
Premium (Discount) On Ordinary Shares |
| premium_or_discount_on_share_capital |
Premium (Discount) On Share Capital |
| total_premium_or_discount_on_stock |
Total Premium (Discount) On Share Capital |
| other_component_from_owner |
Other components of equity |
| other_items |
Other items |
| accrued_profit_or_loss |
Accumulated retained earnings |
| attribution_of_equity |
Attribution of equity |
| uncontrollable_conflict_of_interest |
Uncontrollable conflict of interests |
| total_liabilities_and_share_holder |
Total liabilities and shareholders equity/partner/head office/Joint Ventures |
Profit and loss
"pl": {
"tax_id": "0105556107563",
"fiscal_year": 2561,
"sales_income": 0,
"service_income": 0,
"sales_or_service_income": 10775700.93,
"other_income": 5828.81,
"service_cost": 0,
"sales_or_service_cost": 0,
"change_of_inventories_and_progressing_work": 0,
"raw_materials_and_consumable_used": 0,
"profit_before_financial_cost": 387054.53,
"share_of_profit_from_joint_venture": 0,
"diluted_earning_per_share": 0,
"selling_expense": 190000,
"admin_expense": 2363688.06,
"selling_and_admin_expense": 0,
"work_booked_as_asset": 0,
"executive_compensation": 0,
"employee_benefit_expense": 0,
"depreciation_and_amortization": 0,
"impairment_loss": 0,
"other_expense": 0,
"shareholder_of_the_parent_company": 0,
"uncontrollable_expense": 0,
"profit_before_income_tax": 387054.53,
"total_income": 10781529.74,
"cost_of_goods_sold": 7840787.15,
"interest_paid": 0,
"income_tax": 13058.18,
"total_expense": 10394475.21,
"net_profit": 373996.35,
"earning_per_share": 0,
"gross_profit": 0
}
| Key |
Description |
| tax_id |
Tax id |
| fiscal_year |
Fiscal year |
| sales_income |
Sales income |
| service_income |
Services income |
| sales_or_service_income |
Sales/services income |
| other_income |
Other income |
| service_cost |
Sevices cost |
| sales_or_service_cost |
Sales/services cost |
| change_of_inventories_and_progressing_work |
Changes in inventories of finished goods and work in progress |
| raw_materials_and_consumable_used |
Raw materials and consumables used |
| profit_before_financial_cost |
Profit (loss) before finance costs and income tax expenses |
| share_of_profit_from_joint_venture |
Share of profit (loss) from investment in associates and joint ventures |
| diluted_earning_per_share |
Diluted earnings (loss) per share |
| selling_expense |
Selling expense |
| admin_expense |
Administrative expenses |
| selling_and_admin_expense |
Selling and administrative expenses |
| work_booked_as_asset |
Work performed by the entity capitalized |
| executive_compensation |
Executive Compensation |
| employee_benefit_expense |
Employee benefits expense |
| depreciation_and_amortization |
Depreciation and Amortization |
| impairment_loss |
Impairment Loss |
| other_expense |
Other expenses |
| shareholder_of_the_parent_company |
Shareholder of the parent company |
| uncontrollable_expense |
Non-controlling Interests |
| profit_before_income_tax |
Profit (loss) before income tax |
| total_income |
Total income |
| cost_of_goods_sold |
Cost of goods sold |
| interest_paid |
Interest expense |
| income_tax |
Income tax |
| total_expense |
Total expenses |
| net_profit |
Net profit (loss) |
| earning_per_share |
Earnings per share |
| gross_profit |
Gross profit |