Jump to content

Get Ledger Entries and display all attributes


 Share

Recommended Posts

Hello

In order to develop my application I am using Postman to test my queries.  I am using Get /ledger_entries with the appropriate parameters to read ledger entries for a specific ledger_accounts_id between from_date and to_date.  I have set attributes=all.  This works OK but it doesn't expose all the attributes. For example, the ledger_account, transaction, contact and tax_rate groups only display the basic id, displayed_as and $path fields. Is there a way to expose the attributes for these sub-groups?

Thanks

Dave

Link to comment
Share on other sites

  • 2 weeks later...

Hi Dave, thank you for your question.

The Accounting API is not fully oData compliant and as such may not return nested objects inline with what you may be familiar with.

You can return the required objects within the ledger_entries/id request by using the nested_attributes=all query parameter.  ledger_entries/8221960b991b43a5940bc185bfb61a5f?nested_attributes=all 

Example response.

{
    "id": "8221960b991b43a5940bc185bfb61a5f",
    "displayed_as": "Payment On Account",
    "$path": "/ledger_entries/8221960b991b43a5940bc185bfb61a5f",
    "created_at": "2022-01-04T15:09:12Z",
    "updated_at": "2022-01-04T15:09:12Z",
    "date": "2022-01-04",
    "credit": "10.0",
    "debit": "0.0",
    "ledger_account": {
        "id": "92d1b5426d5211ecbccd06255bbcbb57",
        "displayed_as": "Trade Debtors (1100)",
        "$path": "/ledger_accounts/92d1b5426d5211ecbccd06255bbcbb57",
        "created_at": "2022-01-04T11:36:35Z",
        "updated_at": "2022-01-04T11:36:35Z",
        "ledger_account_group": {
            "id": "ASSET",
            "displayed_as": "Asset"
        },
        "name": "Trade Debtors",
        "display_name": "Trade Debtors",
        "visible_scopes": [
            "journals",
            "reporting"
        ],
        "included_in_chart": true,
        "nominal_code": 1100,
        "ledger_account_type": {
            "id": "CURRENT_ASSETS",
            "displayed_as": "Current Assets",
            "$path": "/ledger_account_types/CURRENT_ASSETS"
        },
        "ledger_account_classification": null,
        "tax_rate": {
            "id": "GB_NO_TAX",
            "displayed_as": "No VAT",
            "$path": "/tax_rates/GB_NO_TAX"
        },
        "fixed_tax_rate": true,
        "visible_in_banking": false,
        "visible_in_expenses": false,
        "visible_in_journals": true,
        "visible_in_other_payments": false,
        "visible_in_other_receipts": false,
        "visible_in_reporting": true,
        "visible_in_sales": false,
        "balance_details": {
            "balance": "91205.88",
            "credit_or_debit": "debit",
            "credits": "134429.05",
            "debits": "225634.93",
            "from_date": null,
            "to_date": null
        },
        "is_control_account": true,
        "control_name": "TRADE_DEBTORS",
        "display_formatted": "1100 - Trade Debtors",
        "tax_recoverable": null,
        "recoverable_percentage": null,
        "non_recoverable_ledger_account": null,
        "cis_materials": false,
        "tax_instalment": false,
        "cis_labour": false,
        "gifi_code": null
    },
    "transaction": {
        "id": "1119f8cf0aa34b6a9f68ce589c593826",
        "displayed_as": "Payment On Account",
        "$path": "/transactions/1119f8cf0aa34b6a9f68ce589c593826",
        "created_at": "2022-01-04T15:09:12Z",
        "updated_at": "2022-01-04T15:09:12Z",
        "date": "2022-01-04",
        "deleted": false,
        "reference": "Payment On Account",
        "total": "10.0",
        "total_in_transaction_currency": "10.0",
        "contact": {
            "id": "8941a09e0a8e4c67b894d6fab425c6e7",
            "displayed_as": "A1 Design Services (A1D001)",
            "$path": "/contacts/8941a09e0a8e4c67b894d6fab425c6e7"
        },
        "transaction_type": {
            "id": "CUSTOMER_RECEIPT",
            "displayed_as": "Customer Receipt",
            "$path": "/transaction_types/CUSTOMER_RECEIPT"
        },
        "origin": {
            "id": "67755cbfafb641809a56463954cc3782",
            "displayed_as": "Payment On Account",
            "$path": "/contact_payments/67755cbfafb641809a56463954cc3782",
            "links": [
                {
                    "href": null,
                    "rel": "alternate",
                    "type": "text/html"
                }
            ]
        },
        "audit_trail_id": 587
    },
    "contact": {
        "id": "8941a09e0a8e4c67b894d6fab425c6e7",
        "displayed_as": "A1 Design Services (A1D001)",
        "$path": "/contacts/8941a09e0a8e4c67b894d6fab425c6e7",
        "created_at": "2022-01-04T11:38:31Z",
        "updated_at": "2022-01-04T11:38:31Z",
        "links": [
            {
                "href": "https://accounts-extra.sageone.com/contacts/contacts/106109950",
                "rel": "alternate",
                "type": "text/html"
            }
        ],
        "contact_types": [
            {
                "id": "CUSTOMER",
                "displayed_as": "Customer",
                "$path": "/contact_types/CUSTOMER"
            }
        ],
        "name": "A1 Design Services",
        "reference": "A1D001",
        "default_sales_ledger_account": {
            "id": "92d661606d5211ecbccd06255bbcbb57",
            "displayed_as": "Other income (4900)",
            "$path": "/ledger_accounts/92d661606d5211ecbccd06255bbcbb57",
            "created_at": "2022-01-04T11:36:35Z",
            "updated_at": "2022-01-04T11:36:35Z",
            "ledger_account_group": {
                "id": "INCOME",
                "displayed_as": "Income"
            },
            "name": "Other income",
            "display_name": "Other income",
            "visible_scopes": [
                "journals",
                "other_receipt",
                "reporting",
                "sales"
            ],
            "included_in_chart": true,
            "nominal_code": 4900,
            "ledger_account_type": {
                "id": "OTHER_INCOME",
                "displayed_as": "Other Income",
                "$path": "/ledger_account_types/OTHER_INCOME"
            },
            "ledger_account_classification": null,
            "tax_rate": {
                "id": "GB_STANDARD",
                "displayed_as": "Standard 20.00%",
                "$path": "/tax_rates/GB_STANDARD"
            },
            "fixed_tax_rate": true,
            "visible_in_banking": false,
            "visible_in_expenses": false,
            "visible_in_journals": true,
            "visible_in_other_payments": false,
            "visible_in_other_receipts": true,
            "visible_in_reporting": true,
            "visible_in_sales": true,
            "balance_details": {
                "balance": "488.17",
                "credit_or_debit": "credit",
                "credits": "488.17",
                "debits": "0.0",
                "from_date": null,
                "to_date": null
            },
            "is_control_account": false,
            "control_name": null,
            "display_formatted": "4900 - Other income",
            "tax_recoverable": null,
            "recoverable_percentage": null,
            "non_recoverable_ledger_account": null,
            "cis_materials": false,
            "tax_instalment": false,
            "cis_labour": false,
            "gifi_code": null
        },
        "default_sales_tax_rate": {
            "id": "GB_STANDARD",
            "displayed_as": "Standard 20.00%",
            "$path": "/tax_rates/GB_STANDARD"
        },
        "tax_number": "GB938484382",
        "notes": "",
        "locale": "en",
        "main_address": {
            "id": "5897d70e20a045feb95031ff1f59fe71",
            "displayed_as": "",
            "$path": "/addresses/5897d70e20a045feb95031ff1f59fe71",
            "contact": {
                "id": "8941a09e0a8e4c67b894d6fab425c6e7",
                "displayed_as": "A1 Design Services (A1D001)",
                "$path": "/contacts/8941a09e0a8e4c67b894d6fab425c6e7"
            },
            "address_type": {
                "id": "DELIVERY",
                "displayed_as": "Delivery",
                "$path": "/address_types/DELIVERY"
            },
            "name": "Main Address",
            "address_line_1": null,
            "address_line_2": null,
            "city": null,
            "region": null,
            "postal_code": null,
            "country": {
                "id": "GB",
                "displayed_as": "United Kingdom (GB)",
                "$path": "/countries/GB"
            },
            "country_group": {
                "id": "ALL",
                "displayed_as": "Other",
                "$path": "/country_groups/ALL"
            },
            "is_main_address": true,
            "created_at": "2022-01-04T11:38:31Z",
            "updated_at": "2022-01-04T11:38:31Z"
        },
        "delivery_address": null,
        "main_contact_person": {
            "id": "b3da384bde8b409e86abaf1b2a16d138",
            "displayed_as": "Main Contact",
            "$path": "/contact_persons/b3da384bde8b409e86abaf1b2a16d138",
            "contact_person_types": [
                {
                    "id": "ACCOUNTS",
                    "displayed_as": "Accounts",
                    "$path": "/contact_person_types/ACCOUNTS"
                }
            ],
            "name": "Main Contact",
            "job_title": null,
            "telephone": null,
            "mobile": null,
            "email": null,
            "fax": null,
            "is_main_contact": true,
            "address": {
                "id": "5897d70e20a045feb95031ff1f59fe71",
                "displayed_as": "",
                "$path": "/addresses/5897d70e20a045feb95031ff1f59fe71"
            },
            "created_at": "2022-01-04T11:38:31Z",
            "updated_at": "2022-01-04T11:38:31Z"
        },
        "bank_account_details": {
            "account_name": null,
            "account_number": null,
            "sort_code": null,
            "bic": null,
            "iban": null
        },
        "credit_limit": "1000.0",
        "credit_days": 30,
        "credit_terms_and_conditions": "null",
        "product_sales_price_type": {
            "id": "155d11369a434b5d89af050786a22964",
            "displayed_as": "Sales Price",
            "$path": "/product_sales_price_types/155d11369a434b5d89af050786a22964"
        },
        "source_guid": null,
        "currency": {
            "id": "GBP",
            "displayed_as": "Pound Sterling (GBP)",
            "$path": "/currencies/GBP"
        },
        "aux_reference": "",
        "registered_number": null,
        "deletable": false,
        "tax_treatment": {
            "home_tax": true,
            "eu_tax_registered": false,
            "eu_not_tax_registered": false,
            "rest_of_world_tax": false,
            "is_importer": null
        },
        "email": null,
        "tax_calculation": "",
        "gdpr_obfuscated": false,
        "system": false,
        "has_unfinished_recurring_invoices": false,
        "cis_registered": false,
        "ni_based": false,
        "gb_based": true,
        "cis_settings": null,
        "destination_vat_blocking": false
    },
    "deleted": false,
    "tax_rate": null,
    "description": null,
    "journal_code": null
}

 

Link to comment
Share on other sites

Hi Mark

Thanks for your reply.  It appears that the nested_attributes=all parameter only works for the "GET Returns a Ledger Entry" query where you specify one nominal transaction id and return all info for that specific transaction.  It doesn't appear to work for the "GET Returns all Ledger Entries" where you can specific one nominal account id and return all transactions for that specific nominal code.

I guess I would need to run both queries; first to get all transactions for specific nominal code; then for each transaction run the query to get the additional nested transaction information.

Thanks

Dave

 

 

 

 

Link to comment
Share on other sites

Hi Dave

Yes, that's correct. The nested_attributes are only returned for the individual ledger_entries. 

It depends on how much detail you require from the nested_attributes but the following query params would return the specified attributes for all ledger_entries. ledger_entries?attributes=contact,ledger_account,transaction

{
    "$total": 2717,
    "$page": 1,
    "$next": "/ledger_entries?page=2&items_per_page=20&attributes=contact,ledger_account,transaction",
    "$back": null,
    "$itemsPerPage": 20,
    "$items": [
        {
            "id": "1c31017630e840bfa9c64a8a230de9cd",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/1c31017630e840bfa9c64a8a230de9cd",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "abb7356654d140be87db3935dd0ce1c6",
                "displayed_as": "O/BAL",
                "$path": "/transactions/abb7356654d140be87db3935dd0ce1c6"
            },
            "contact": {
                "id": "2c7eb53d1b764094b0f460e995182409",
                "displayed_as": "Newtown Builders Ltd (NEW001)",
                "$path": "/contacts/2c7eb53d1b764094b0f460e995182409"
            }
        },
        {
            "id": "15616cb1b74c464ea0911aaaf23e0cc4",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/15616cb1b74c464ea0911aaaf23e0cc4",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "abb7356654d140be87db3935dd0ce1c6",
                "displayed_as": "O/BAL",
                "$path": "/transactions/abb7356654d140be87db3935dd0ce1c6"
            },
            "contact": {
                "id": "2c7eb53d1b764094b0f460e995182409",
                "displayed_as": "Newtown Builders Ltd (NEW001)",
                "$path": "/contacts/2c7eb53d1b764094b0f460e995182409"
            }
        },
        {
            "id": "dbd855566b7b41ea848449a47f9ec919",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/dbd855566b7b41ea848449a47f9ec919",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "6c27710d06f940cab65fcc8cc2c52abe",
                "displayed_as": "O/BAL",
                "$path": "/transactions/6c27710d06f940cab65fcc8cc2c52abe"
            },
            "contact": {
                "id": "4ebc068947c3442e8f43519c485cc617",
                "displayed_as": "Unique Systems (UNI001)",
                "$path": "/contacts/4ebc068947c3442e8f43519c485cc617"
            }
        },
        {
            "id": "d39b071bd3c243b0a56eb21869c71690",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/d39b071bd3c243b0a56eb21869c71690",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "6c27710d06f940cab65fcc8cc2c52abe",
                "displayed_as": "O/BAL",
                "$path": "/transactions/6c27710d06f940cab65fcc8cc2c52abe"
            },
            "contact": {
                "id": "4ebc068947c3442e8f43519c485cc617",
                "displayed_as": "Unique Systems (UNI001)",
                "$path": "/contacts/4ebc068947c3442e8f43519c485cc617"
            }
        },
        {
            "id": "4d8d02b8447b41fe8667420a0de53754",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/4d8d02b8447b41fe8667420a0de53754",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "d2827e4c2dc3491c86f5b86337dc6763",
                "displayed_as": "O/BAL",
                "$path": "/transactions/d2827e4c2dc3491c86f5b86337dc6763"
            },
            "contact": {
                "id": "0b60dfe90da147be8cabf88d453a440d",
                "displayed_as": "Wise Electricals Ltd (WIS001)",
                "$path": "/contacts/0b60dfe90da147be8cabf88d453a440d"
            }
        },
        {
            "id": "2f8a62d45c794ff996d56374a2c4db93",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/2f8a62d45c794ff996d56374a2c4db93",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "d2827e4c2dc3491c86f5b86337dc6763",
                "displayed_as": "O/BAL",
                "$path": "/transactions/d2827e4c2dc3491c86f5b86337dc6763"
            },
            "contact": {
                "id": "0b60dfe90da147be8cabf88d453a440d",
                "displayed_as": "Wise Electricals Ltd (WIS001)",
                "$path": "/contacts/0b60dfe90da147be8cabf88d453a440d"
            }
        },
        {
            "id": "9a52a81d2d7e4dd5bc5b62019a12354e",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/9a52a81d2d7e4dd5bc5b62019a12354e",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "3fe476434b8f48c1b92a7321bd0974f8",
                "displayed_as": "O/BAL",
                "$path": "/transactions/3fe476434b8f48c1b92a7321bd0974f8"
            },
            "contact": {
                "id": "d95a5cb5acc7458c8c7406104c8d0120",
                "displayed_as": "Wallace Office Equipment (WAL001)",
                "$path": "/contacts/d95a5cb5acc7458c8c7406104c8d0120"
            }
        },
        {
            "id": "46d6877706e447fd9c293029ac56a9f1",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/46d6877706e447fd9c293029ac56a9f1",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "3fe476434b8f48c1b92a7321bd0974f8",
                "displayed_as": "O/BAL",
                "$path": "/transactions/3fe476434b8f48c1b92a7321bd0974f8"
            },
            "contact": {
                "id": "d95a5cb5acc7458c8c7406104c8d0120",
                "displayed_as": "Wallace Office Equipment (WAL001)",
                "$path": "/contacts/d95a5cb5acc7458c8c7406104c8d0120"
            }
        },
        {
            "id": "fd049a55212f49e0b5f39e111f62211f",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/fd049a55212f49e0b5f39e111f62211f",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "3ca2681ecdff48a98969a7b5146d7419",
                "displayed_as": "O/BAL",
                "$path": "/transactions/3ca2681ecdff48a98969a7b5146d7419"
            },
            "contact": {
                "id": "f4f5343d02d1475781baa56410416637",
                "displayed_as": "Wedgwood Marshall & Wilson (WED001)",
                "$path": "/contacts/f4f5343d02d1475781baa56410416637"
            }
        },
        {
            "id": "eeb4533f2c76438fad328ac6049df15a",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/eeb4533f2c76438fad328ac6049df15a",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "3ca2681ecdff48a98969a7b5146d7419",
                "displayed_as": "O/BAL",
                "$path": "/transactions/3ca2681ecdff48a98969a7b5146d7419"
            },
            "contact": {
                "id": "f4f5343d02d1475781baa56410416637",
                "displayed_as": "Wedgwood Marshall & Wilson (WED001)",
                "$path": "/contacts/f4f5343d02d1475781baa56410416637"
            }
        },
        {
            "id": "61b8d760a88a42669eee5881d101f5ba",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/61b8d760a88a42669eee5881d101f5ba",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "e8a1f73272ab4ce2b6e175d337d60aa9",
                "displayed_as": "O/BAL",
                "$path": "/transactions/e8a1f73272ab4ce2b6e175d337d60aa9"
            },
            "contact": {
                "id": "423b111cd0d04c1e9bdc3835f155dc98",
                "displayed_as": "Superclean (SUP002)",
                "$path": "/contacts/423b111cd0d04c1e9bdc3835f155dc98"
            }
        },
        {
            "id": "74ff60ef0bfa41658fecba80d1c84352",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/74ff60ef0bfa41658fecba80d1c84352",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "e8a1f73272ab4ce2b6e175d337d60aa9",
                "displayed_as": "O/BAL",
                "$path": "/transactions/e8a1f73272ab4ce2b6e175d337d60aa9"
            },
            "contact": {
                "id": "423b111cd0d04c1e9bdc3835f155dc98",
                "displayed_as": "Superclean (SUP002)",
                "$path": "/contacts/423b111cd0d04c1e9bdc3835f155dc98"
            }
        },
        {
            "id": "125628882d9748a09a60666d1c409569",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/125628882d9748a09a60666d1c409569",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "5e84eceecc874465a3bca90f560ec400",
                "displayed_as": "O/BAL",
                "$path": "/transactions/5e84eceecc874465a3bca90f560ec400"
            },
            "contact": {
                "id": "c91161117bd440de8a3fe7e21a9bb9d7",
                "displayed_as": "Quality Motors (QUA001)",
                "$path": "/contacts/c91161117bd440de8a3fe7e21a9bb9d7"
            }
        },
        {
            "id": "e15a885c993b4079a43bb41140ce818b",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/e15a885c993b4079a43bb41140ce818b",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "5e84eceecc874465a3bca90f560ec400",
                "displayed_as": "O/BAL",
                "$path": "/transactions/5e84eceecc874465a3bca90f560ec400"
            },
            "contact": {
                "id": "c91161117bd440de8a3fe7e21a9bb9d7",
                "displayed_as": "Quality Motors (QUA001)",
                "$path": "/contacts/c91161117bd440de8a3fe7e21a9bb9d7"
            }
        },
        {
            "id": "2785d4eadbbc4a318113a943f81088eb",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/2785d4eadbbc4a318113a943f81088eb",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "5b469244e04f4d298863c5d1a55d420c",
                "displayed_as": "O/BAL",
                "$path": "/transactions/5b469244e04f4d298863c5d1a55d420c"
            },
            "contact": {
                "id": "4afa8d52664e4c0c83088f44c379f836",
                "displayed_as": "Thompsons Electricals (THO001)",
                "$path": "/contacts/4afa8d52664e4c0c83088f44c379f836"
            }
        },
        {
            "id": "d1f17b5f0b594d75a28a7a71f34f665d",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/d1f17b5f0b594d75a28a7a71f34f665d",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "5b469244e04f4d298863c5d1a55d420c",
                "displayed_as": "O/BAL",
                "$path": "/transactions/5b469244e04f4d298863c5d1a55d420c"
            },
            "contact": {
                "id": "4afa8d52664e4c0c83088f44c379f836",
                "displayed_as": "Thompsons Electricals (THO001)",
                "$path": "/contacts/4afa8d52664e4c0c83088f44c379f836"
            }
        },
        {
            "id": "6ae99abda6504ef58456484b9437d47b",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/6ae99abda6504ef58456484b9437d47b",
            "ledger_account": {
                "id": "92d275346d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Creditors (2100)",
                "$path": "/ledger_accounts/92d275346d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "ebcabf378e2d42e797fdaa227b9a95c7",
                "displayed_as": "O/BAL",
                "$path": "/transactions/ebcabf378e2d42e797fdaa227b9a95c7"
            },
            "contact": {
                "id": "17027f126a2944059b5ff0e7a51cbe2b",
                "displayed_as": "Superior Technologies Ltd (SUP001)",
                "$path": "/contacts/17027f126a2944059b5ff0e7a51cbe2b"
            }
        },
        {
            "id": "8891d2cd722d4e98af1d737c490e156b",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/8891d2cd722d4e98af1d737c490e156b",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "ebcabf378e2d42e797fdaa227b9a95c7",
                "displayed_as": "O/BAL",
                "$path": "/transactions/ebcabf378e2d42e797fdaa227b9a95c7"
            },
            "contact": {
                "id": "17027f126a2944059b5ff0e7a51cbe2b",
                "displayed_as": "Superior Technologies Ltd (SUP001)",
                "$path": "/contacts/17027f126a2944059b5ff0e7a51cbe2b"
            }
        },
        {
            "id": "6213933c15c8475290b0ad98ce8bbe23",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/6213933c15c8475290b0ad98ce8bbe23",
            "ledger_account": {
                "id": "92d1b5426d5211ecbccd06255bbcbb57",
                "displayed_as": "Trade Debtors (1100)",
                "$path": "/ledger_accounts/92d1b5426d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "422aef5623f24749a7a9067bf047a7a7",
                "displayed_as": "O/BAL",
                "$path": "/transactions/422aef5623f24749a7a9067bf047a7a7"
            },
            "contact": {
                "id": "8f8e332fecbd47e2aebe9053553024b3",
                "displayed_as": "Macolm Hall Associates (MAC001)",
                "$path": "/contacts/8f8e332fecbd47e2aebe9053553024b3"
            }
        },
        {
            "id": "90edf553fee74599a89cac171885f1b5",
            "displayed_as": "O/BAL",
            "$path": "/ledger_entries/90edf553fee74599a89cac171885f1b5",
            "ledger_account": {
                "id": "92dcb6556d5211ecbccd06255bbcbb57",
                "displayed_as": "Opening Balances (9998)",
                "$path": "/ledger_accounts/92dcb6556d5211ecbccd06255bbcbb57"
            },
            "transaction": {
                "id": "422aef5623f24749a7a9067bf047a7a7",
                "displayed_as": "O/BAL",
                "$path": "/transactions/422aef5623f24749a7a9067bf047a7a7"
            },
            "contact": {
                "id": "8f8e332fecbd47e2aebe9053553024b3",
                "displayed_as": "Macolm Hall Associates (MAC001)",
                "$path": "/contacts/8f8e332fecbd47e2aebe9053553024b3"
            }
        }
    ]
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...