Get List of Accounts

GET https://us-central1-appgregator.cloudfunctions.net/jurnalID/accounts/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

intrapreneur-jurnalid-1

Headers

Name
Type
Description

x-api-key*

String

U2Fsd...

{
    "accounts": [
        {
            "id": 61810308,
            "name": "Cash",
            "number": "1-10001",
            "description": null,
            "archive": false,
            "lock": true,
            "system_or_product_link": false,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Cash & Bank",
            "category_id": 3,
            "balance": "(Rp.  15.197.500,00)",
            "balance_amount": -15197500,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:36.000Z",
            "updated_at": "2022-08-04T08:15:36.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": false,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        },
        {
            "id": 61810309,
            "name": "Bank Account",
            "number": "1-10002",
            "description": null,
            "archive": false,
            "lock": true,
            "system_or_product_link": false,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Cash & Bank",
            "category_id": 3,
            "balance": "Rp.  1.253.200,00",
            "balance_amount": 1253200,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:36.000Z",
            "updated_at": "2022-08-04T08:15:36.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": false,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        },
        {
            "id": 61810361,
            "name": "Account Receivable",
            "number": "1-10100",
            "description": null,
            "archive": false,
            "lock": true,
            "system_or_product_link": true,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Accounts Receivable (A/R)",
            "category_id": 1,
            "balance": "Rp.  0,00",
            "balance_amount": 0,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:38.000Z",
            "updated_at": "2022-08-04T08:15:38.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": true,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        },
        {
            "id": 61810433,
            "name": "Unbilled Accounts Receivable",
            "number": "1-10101",
            "description": null,
            "archive": false,
            "lock": true,
            "system_or_product_link": true,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Accounts Receivable (A/R)",
            "category_id": 1,
            "balance": "Rp.  0,00",
            "balance_amount": 0,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:44.000Z",
            "updated_at": "2022-08-04T08:15:44.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": true,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        },
        {
            "id": 61810429,
            "name": "Inventory",
            "number": "1-10200",
            "description": null,
            "archive": false,
            "lock": true,
            "system_or_product_link": true,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Inventory",
            "category_id": 4,
            "balance": "Rp.  0,00",
            "balance_amount": 0,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:42.000Z",
            "updated_at": "2022-08-04T08:15:42.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": true,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        },
        {
            "id": 61810310,
            "name": "Others Receivables",
            "number": "1-10300",
            "description": null,
            "archive": false,
            "lock": false,
            "system_or_product_link": false,
            "is_parent": false,
            "indent": 0,
            "currency_code": null,
            "category": "Other Current Assets",
            "category_id": 2,
            "balance": "Rp.  0,00",
            "balance_amount": 0,
            "parent_id": null,
            "parent": [],
            "created_at": "2022-08-04T08:15:36.000Z",
            "updated_at": "2022-08-04T08:15:36.000Z",
            "deleted_at": null,
            "custom_id": null,
            "tax_id": null,
            "tax_name": null,
            "is_company_default_account": false,
            "can_destroy_account": true,
            "can_show_account": true,
            "can_open_company_tax": true,
            "children": null
        }
        ]
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/jurnalID/accounts?name=ft-4&connection_name=intrapreneur-jurnalid-1' \
--header 'x-api-key: U2Fsd...'

Last updated