Reckon One API v1
API change historyA new generation, modular cloud accounting solution that scales with your business – perfect for startups.
80 Reports > Balance Sheet
This is the endpoint to get the balance sheet report from the Reckon One book
Try itRequest
Request URL
Request parameters
-
string
Request headers
-
(optional)stringMedia type of the body sent to the API.
-
stringOAuth 2.0 access token obtained from IdentityServer. Supported grant types: Implicit.
Request body
You need to set some information in the body of the POST such as the period for the report
{'Orientation':'Portrait','ReportingBasis':'AccrualsBasis','PeriodFilter':{'PeriodType':'ThisYear'}}
Responses
200 OK
You will get this response if the data was successfully retrieved
Representations
{
"ReportData": {
"Sections": [
{
"Type": "Current assets",
"Accounts": [
{
"ID": "47a0edaf-e5d1-4442-88c2-1bccb300ae3a",
"Name": "Bank - Test1",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "09f0d5ad-ed36-4f81-b2de-ec65ed4ec207",
"Name": "Bank - SImonT456456estBankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "dfde19b1-b0a1-4daa-a564-a0e105b315a9",
"Name": "Bank - SImo97nTestBankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "edb44f29-af85-4845-863e-c8531ffd7f08",
"Name": "Bank - SImonTestB3352345ankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "3790d4e5-193b-40bf-8e99-a7accd1aeb78",
"Name": "Bank - SImonTestB345ankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "5f7c4fe2-0fbb-4cb4-8e22-b3251dc2ce44",
"Name": "Bank - SImonTest8978BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d7ca4612-ada1-4612-abd7-1645d25cb953",
"Name": "Bank - SImonTest78BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "8210ab02-6c9d-44c1-98d3-54eab8e784ab",
"Name": "Bank - SImonTest7982BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "15be26c1-ec65-4389-b9ec-5ceb2e9d1750",
"Name": "Bank - SImonTest782BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "4f09f2c0-1a72-4882-b585-cdb0f5fd11ea",
"Name": "Bank - SImonTest72BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ee119147-a938-407b-83a1-5d42aa585e72",
"Name": "Bank - SImonTest2BankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ebf2803d-61b8-41c8-b613-53cccdae361d",
"Name": "Bank - SImonTestBankAccount",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ba6e5956-5004-40c8-82ae-a2d1c75dfb0f",
"Name": "Bank - Bank 1013",
"Code": null,
"ExportCode": "680",
"Period1Amount": 340.0100,
"Period1Total": 340.0100,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d5d4d06b-f18f-41b2-a9c6-644e384a74c5",
"Name": "Bank - Aaaaaaaaa bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1000.0000,
"Period1Total": 1000.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "c0f0d7ef-167e-4bfa-b01c-421983eb5555",
"Name": "Bank - PayPal account",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1.1600,
"Period1Total": 1.1600,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "3be1e445-be15-47e3-aa80-59c5f3c9d755",
"Name": "Bank - Bank Number 2",
"Code": null,
"ExportCode": "680",
"Period1Amount": 50.0000,
"Period1Total": 50.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "91c8318d-60e4-4932-bc4b-cb1751c805e2",
"Name": "Bank - Bank Number 1",
"Code": null,
"ExportCode": "680",
"Period1Amount": -50.0000,
"Period1Total": -50.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ca77855d-d76f-4c86-9a7d-761a05f1e9f9",
"Name": "Bank - a2a2",
"Code": null,
"ExportCode": "680",
"Period1Amount": 555.0000,
"Period1Total": 555.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "afbc6e49-b3b7-4e34-88d8-cf9360312b42",
"Name": "Bank - Green Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 105.5000,
"Period1Total": 105.5000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "31231689-1107-489e-9599-4a97ca8537d6",
"Name": "Bank - _____98",
"Code": null,
"ExportCode": "680",
"Period1Amount": 5309.7800,
"Period1Total": 5309.7800,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "2d37f23e-d96a-45c0-a688-bc38c9c4450b",
"Name": "Bank - ___0",
"Code": null,
"ExportCode": "680",
"Period1Amount": 500.0000,
"Period1Total": 500.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "9c50266e-8fdc-4648-8506-2cef3eaccaa6",
"Name": "Bank - Zero Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 700.0000,
"Period1Total": 700.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "60d608c6-6b86-4674-be14-d4fffd3aab19",
"Name": "Bank - H Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1.0000,
"Period1Total": 1.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "9395713a-a63b-487c-92c7-7f95f21d4d22",
"Name": "Bank - Chocolate Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -899.0000,
"Period1Total": -899.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ffc7a8d8-d5c7-4b66-8de4-538658044bb2",
"Name": "Bank - 000-Idris-Test",
"Code": null,
"ExportCode": "680",
"Period1Amount": 9999.0400,
"Period1Total": 9999.0400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "b5f432c2-2cdc-42d0-ac57-42c86eef2e5d",
"Name": "Bank - 0 Bank1",
"Code": null,
"ExportCode": "680",
"Period1Amount": -6357.2900,
"Period1Total": -6357.2900,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "dd1e43bd-f4b4-48da-b49e-a63936612c0a",
"Name": "Bank - 123 Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 418.7400,
"Period1Total": 418.7400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "dc6dde7c-2c4b-400a-bc9c-09a57a5940d7",
"Name": "Bank - 0000000 CC",
"Code": null,
"ExportCode": "680",
"Period1Amount": -139.0000,
"Period1Total": -139.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "27674b49-13e1-4fcc-ab93-81b70d3564aa",
"Name": "Bank - Business Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 424.8800,
"Period1Total": 424.8800,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "0279a01f-e777-42b9-9a18-f5661e6f70d5",
"Name": "Bank - Bank 33",
"Code": null,
"ExportCode": "680",
"Period1Amount": -4975.4200,
"Period1Total": -4975.4200,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "6ee27109-d1bb-4b25-b2a0-ba4b786b3aa2",
"Name": "Bank - Star Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -1384.3100,
"Period1Total": -1384.3100,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "b9fe391a-0d0f-4b90-8fb8-ac0b0cfdd1e8",
"Name": "Bank - new bank 24",
"Code": null,
"ExportCode": "680",
"Period1Amount": 10.0000,
"Period1Total": 10.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "c24717ee-e6b7-484b-bf45-3cbb529b53e3",
"Name": "Bank - Idris Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -50.0000,
"Period1Total": -50.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "45d71769-b483-469e-939a-d2b92e4145b1",
"Name": "Bank - A1 Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -99270.7500,
"Period1Total": -99270.7500,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "93750988-c39f-45c9-8a61-4cb07ee89fa6",
"Name": "Bank - Tab Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 225.5500,
"Period1Total": 225.5500,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "01e349a1-41c1-4ae6-a30e-4334e812c099",
"Name": "Bank - Boost Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -11.2500,
"Period1Total": -11.2500,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "decb9dc5-1b49-4cda-b642-600c37759e31",
"Name": "Bank - 01 Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 388.8300,
"Period1Total": 388.8300,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "168318a7-e3b1-4bc8-9619-8ec832cb6131",
"Name": "Bank - AA Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -1225.5300,
"Period1Total": -1225.5300,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "09032565-9e7e-4c01-91a9-1d293f3b553e",
"Name": "Bank - Bank 01",
"Code": null,
"ExportCode": "680",
"Period1Amount": -455.5200,
"Period1Total": -455.5200,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "542c03ac-dfe4-4261-aa4f-4d21cd11be58",
"Name": "Bank - QA Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 105.0500,
"Period1Total": 105.0500,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "59247544-7d45-479e-817d-216e0e701d46",
"Name": "Bank - New Bank 11",
"Code": null,
"ExportCode": "680",
"Period1Amount": 123456.0000,
"Period1Total": 123456.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "9d9e164c-96aa-4509-b998-116f9121fecc",
"Name": "Bank - Jon Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 181.0000,
"Period1Total": 181.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "748c0ad6-a347-4ba5-8519-329399416976",
"Name": "Bank - Tracy Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 81.0000,
"Period1Total": 81.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "dad277bb-455c-447b-8462-d202f9008a49",
"Name": "Bank - ABCDE Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 181.0000,
"Period1Total": 181.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "df55017a-a44b-445b-b5ef-84bb78779815",
"Name": "Bank - Scott NAB",
"Code": null,
"ExportCode": "680",
"Period1Amount": -26549.7200,
"Period1Total": -26549.7200,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "799bc3e5-4a17-4e52-ab42-27b3dcba2216",
"Name": "Bank - Test ABC Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 100.0000,
"Period1Total": 100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "11c9e89d-d22c-469e-b845-794442277ba4",
"Name": "Bank - Qwerty 123 Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -1100.0000,
"Period1Total": -1100.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "416e6b50-7a15-4dfd-815c-a9998798425c",
"Name": "Bank - Ubank",
"Code": null,
"ExportCode": "680",
"Period1Amount": -3394.8400,
"Period1Total": -3394.8400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "e67d276f-a31c-4254-b876-7a5d9081e87c",
"Name": "Bank - Test Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1934.0000,
"Period1Total": 1934.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "122a5ad3-3d6b-4b2a-8255-83b43a1b8c63",
"Name": "Bank - New bank 3",
"Code": null,
"ExportCode": "680",
"Period1Amount": -99.9900,
"Period1Total": -99.9900,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "7370b07e-8f3d-4472-92f6-06abade9ba29",
"Name": "Bank - New Bank 2",
"Code": null,
"ExportCode": "680",
"Period1Amount": 20.0000,
"Period1Total": 20.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "855851fd-17f9-4fb3-aeb7-be80b5ab1bf3",
"Name": "Bank - New bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 142363.4000,
"Period1Total": 142363.4000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "8c3d9e5f-ef3c-43c6-92f6-9874d675cda9",
"Name": "Bank - Closed Bank 20141201",
"Code": null,
"ExportCode": "680",
"Period1Amount": 51.0000,
"Period1Total": 51.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "f95dd6ea-87b5-43b2-a8bf-84929c93f647",
"Name": "Bank - y Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 15.0000,
"Period1Total": 15.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "38a7b28a-e5fd-43f0-a291-5826429803f4",
"Name": "Bank - Bank 2",
"Code": null,
"ExportCode": "680",
"Period1Amount": 644.8000,
"Period1Total": 644.8000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d4ea5d53-afd2-4afb-96f0-fb8d388ea146",
"Name": "Bank - Bank 1",
"Code": null,
"ExportCode": "680",
"Period1Amount": 13998047.9600,
"Period1Total": 13998047.9600,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "aa38042b-2ee1-40c8-b066-323a129d3b64",
"Name": "Bank - Qwerty",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1216.3000,
"Period1Total": 1216.3000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "196af764-bcb8-448a-923c-c105d2260c5a",
"Name": "Bank - AAA Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 112325.0000,
"Period1Total": 112325.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d1e25303-669d-4e5d-a1fe-cea8cd633ac5",
"Name": "Bank - Scott's Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1668.7000,
"Period1Total": 1668.7000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ba233955-d1d7-4026-ace5-970b00641e51",
"Name": "Bank - Inactive Bank",
"Code": null,
"ExportCode": "680",
"Period1Amount": 1.2000,
"Period1Total": 1.2000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "55cc794c-cb5a-4625-9c8d-30b4c0e33d9e",
"Name": "Bank - Cash",
"Code": null,
"ExportCode": "680",
"Period1Amount": 93190.3100,
"Period1Total": 93190.3100,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "a0d498f1-8927-4751-8943-a26e8e60f7a5",
"Name": "Accounts Receivable",
"Code": "1-1210",
"ExportCode": "662",
"Period1Amount": 2265285.1000,
"Period1Total": 2265285.1000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d8a1f0fc-7585-4513-a2c2-ea9544d1d311",
"Name": "PayPal Income",
"Code": null,
"ExportCode": null,
"Period1Amount": 145.0000,
"Period1Total": 145.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "a925cfe4-fbe6-46f6-913d-d9079c510e23",
"Name": "Parent CA",
"Code": null,
"ExportCode": null,
"Period1Amount": 0.0,
"Period1Total": 100000.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "4c1369ce-8c32-4cdd-9b54-b42f57f7dcef",
"Name": "Test Asset 1",
"Code": null,
"ExportCode": null,
"Period1Amount": -410.0000,
"Period1Total": -410.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ceddd3f1-7373-4a49-b315-c325da8f3744",
"Name": "Test CA",
"Code": null,
"ExportCode": null,
"Period1Amount": 2.2500,
"Period1Total": 2.2500,
"Period2Amount": 0.0,
"Period2Total": 0.0
}
]
},
{
"Type": "Non-current assets",
"Accounts": [
{
"ID": "2df35ec9-81f6-43c0-aa09-85629e08f5cf",
"Name": "Test FA",
"Code": null,
"ExportCode": null,
"Period1Amount": 140000.0000,
"Period1Total": 140000.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
}
]
},
{
"Type": "Current liabilities",
"Accounts": [
{
"ID": "e41a6564-cdbe-49d6-88c9-7b3a4f5d1225",
"Name": "Payroll Liabilities",
"Code": null,
"ExportCode": null,
"Period1Amount": 0.0,
"Period1Total": 4334.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "cf97084c-251c-40e1-9ccb-584b28f0fb56",
"Name": "Bank - _____________________test cc",
"Code": null,
"ExportCode": null,
"Period1Amount": 96.8700,
"Period1Total": 96.8700,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "2454d203-54b2-4c0a-bc56-597f0f2386b0",
"Name": "Bank - AAAA CC",
"Code": null,
"ExportCode": null,
"Period1Amount": 500.0000,
"Period1Total": 500.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "5eac0ff7-6edd-4106-9045-c36b0683ca5f",
"Name": "Bank - _0909CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -8669.9100,
"Period1Total": -8669.9100,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "5b824df0-1fe6-4477-b476-7b6690cfd477",
"Name": "Bank - aaa cc",
"Code": null,
"ExportCode": null,
"Period1Amount": -10.1000,
"Period1Total": -10.1000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "1cefa62c-bfb9-4509-827d-5d5351cffec5",
"Name": "Bank - 0 CC1",
"Code": null,
"ExportCode": null,
"Period1Amount": -13090.7400,
"Period1Total": -13090.7400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "e7598ce3-96cd-42d9-b1ce-de18e15cb878",
"Name": "Bank - 000CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -4274.0300,
"Period1Total": -4274.0300,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "a5599a6f-8f5e-42e6-bb58-5c16226cafb4",
"Name": "Bank - 00q",
"Code": null,
"ExportCode": null,
"Period1Amount": -257.5800,
"Period1Total": -257.5800,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "413e267d-1256-4076-8bcc-fac565c12df9",
"Name": "Bank - scott cc",
"Code": null,
"ExportCode": null,
"Period1Amount": 82.3400,
"Period1Total": 82.3400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "3868d890-3c75-4154-adda-5b4c70934e65",
"Name": "Bank - X CC",
"Code": null,
"ExportCode": null,
"Period1Amount": 1.0000,
"Period1Total": 1.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "b538fdf5-057e-4367-bc56-8ac5ddf68cc0",
"Name": "Bank - Hello CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -90003.0000,
"Period1Total": -90003.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "0df9398a-1ab8-4d07-aa71-8b3c9bc187d8",
"Name": "Bank - Red CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -445.6300,
"Period1Total": -445.6300,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d086e482-767c-49ad-8230-41f1bc239de5",
"Name": "Bank - A1 Credit Card",
"Code": null,
"ExportCode": null,
"Period1Amount": -1793.9700,
"Period1Total": -1793.9700,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "40c5a3b6-455e-44d1-9d53-37543b91a017",
"Name": "Bank - Boost CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -333.8400,
"Period1Total": -333.8400,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "2c925da5-a6d3-4ffc-bdbe-43bfeb62e1f8",
"Name": "Bank - Scott Credit Card",
"Code": null,
"ExportCode": null,
"Period1Amount": -500.0000,
"Period1Total": -500.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "f0ca8f2e-26d5-495c-9f22-fa787657143e",
"Name": "Bank - uvw CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -55.0000,
"Period1Total": -55.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "de8b6f15-6c35-4d88-bf62-7f0e782575d2",
"Name": "Bank - XYZ CC",
"Code": null,
"ExportCode": null,
"Period1Amount": 853.6600,
"Period1Total": 853.6600,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "d1d9c990-1482-4532-8a95-c3a1e0cb82f5",
"Name": "Bank - Qwerty CC",
"Code": null,
"ExportCode": null,
"Period1Amount": -6511.6500,
"Period1Total": -6511.6500,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "c109c127-ef3c-496f-9cd8-fe33424d6b20",
"Name": "Bank - Business Mastercard",
"Code": null,
"ExportCode": null,
"Period1Amount": -7795.5200,
"Period1Total": -7795.5200,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "96377d02-6127-4b74-975e-9ecb378c0db4",
"Name": "Bank - Scott's Credit Card",
"Code": null,
"ExportCode": null,
"Period1Amount": 308.1300,
"Period1Total": 308.1300,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "68dddf8a-37b9-4120-9268-0ab71bfc4d88",
"Name": "Bank - Nab MasterCard",
"Code": null,
"ExportCode": null,
"Period1Amount": -318.4200,
"Period1Total": -318.4200,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "4ba37c05-eca4-4c02-a4d7-e72b3e9d4247",
"Name": "Accounts Payable",
"Code": "2-1100",
"ExportCode": "883",
"Period1Amount": 63800.4610,
"Period1Total": 63800.4610,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "36f8fa0b-692d-45fa-ae38-516162730972",
"Name": "Super Payable",
"Code": null,
"ExportCode": null,
"Period1Amount": 1543.7600,
"Period1Total": 1543.7600,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "6ca31f73-8ee0-4b42-bf86-f8090633507d",
"Name": "GST Payable",
"Code": "2-1150",
"ExportCode": "895",
"Period1Amount": 0.0,
"Period1Total": 119059.3900,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "0913c173-be42-4d27-9998-b55edb799b40",
"Name": "Test OCL",
"Code": null,
"ExportCode": null,
"Period1Amount": -12.0000,
"Period1Total": -12.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
}
]
},
{
"Type": "Non-current liabilities",
"Accounts": [
{
"ID": "179f4aeb-92a5-4ecf-a445-fb1ca563bc11",
"Name": "Test NCL",
"Code": null,
"ExportCode": null,
"Period1Amount": -22469.0000,
"Period1Total": -22469.0000,
"Period2Amount": 0.0,
"Period2Total": 0.0
}
]
},
{
"Type": "Equity",
"Accounts": [
{
"ID": "cdd92fed-d712-45e2-b3bf-ded29552cbd7",
"Name": "Opening Balance Equity",
"Code": "3-0100",
"ExportCode": "30000",
"Period1Amount": 124694.8900,
"Period1Total": 124694.8900,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"Name": "Current year earnings",
"Code": null,
"ExportCode": null,
"Period1Amount": 1338365.8700,
"Period1Total": 1338365.8700,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "80f68f35-4962-436e-9726-edf8f494c44e",
"Name": "Retained Earnings Surplus/(Accumulated Losses)",
"Code": "3-1000",
"ExportCode": "638",
"Period1Amount": 15335113.2390,
"Period1Total": 15335113.2390,
"Period2Amount": 0.0,
"Period2Total": 0.0
},
{
"ID": "cac68cd1-90c3-45d2-9311-cec90bf60ac6",
"Name": "Test Equity",
"Code": null,
"ExportCode": null,
"Period1Amount": 18907.7200,
"Period1Total": 18907.7200,
"Period2Amount": 0.0,
"Period2Total": 0.0
}
]
}
],
"Totals": {
"TotalAssets": {
"Period1Amount": 16855870.9400,
"Period2Amount": 0.0000
},
"TotalLiabilities": {
"Period1Amount": 34039.2210,
"Period2Amount": 0.0000
},
"TotalEquity": {
"Period1Amount": 16817081.7190,
"Period2Amount": 0.0
}
}
},
"BookName": "Scotts Production Book DO NOT DELETE",
"DateGenerated": "2017-01-11T00:49:18.819+00:00",
"ReportName": "Balance sheet"
}
401 Unauthorized
You will get this response if you are not authorised with the Reckon API identity server or the user does not have acccess to the balance sheet report in the book
Code samples
@ECHO OFF
curl -v -X POST "https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false"
-H "Content-Type: application/json"
-H "Ocp-Apim-Subscription-Key: {subscription key}"
-H "Authorization: {access token}"
--data-ascii "{body}"
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;
namespace CSHttpClientSample
{
static class Program
{
static void Main()
{
MakeRequest();
Console.WriteLine("Hit ENTER to exit...");
Console.ReadLine();
}
static async void MakeRequest()
{
var client = new HttpClient();
var queryString = HttpUtility.ParseQueryString(string.Empty);
// Request headers
client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");
client.DefaultRequestHeaders.Add("Authorization", "{access token}");
var uri = "https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false?" + queryString;
HttpResponseMessage response;
// Request body
byte[] byteData = Encoding.UTF8.GetBytes("{body}");
using (var content = new ByteArrayContent(byteData))
{
content.Headers.ContentType = new MediaTypeHeaderValue("< your content type, i.e. application/json >");
response = await client.PostAsync(uri, content);
}
}
}
}
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
public class JavaSample
{
public static void main(String[] args)
{
HttpClient httpclient = HttpClients.createDefault();
try
{
URIBuilder builder = new URIBuilder("https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false");
URI uri = builder.build();
HttpPost request = new HttpPost(uri);
request.setHeader("Content-Type", "application/json");
request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");
request.setHeader("Authorization", "{access token}");
// Request body
StringEntity reqEntity = new StringEntity("{body}");
request.setEntity(reqEntity);
HttpResponse response = httpclient.execute(request);
HttpEntity entity = response.getEntity();
if (entity != null)
{
System.out.println(EntityUtils.toString(entity));
}
}
catch (Exception e)
{
System.out.println(e.getMessage());
}
}
}
<!DOCTYPE html>
<html>
<head>
<title>JSSample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
var params = {
// Request parameters
};
$.ajax({
url: "https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false?" + $.param(params),
beforeSend: function(xhrObj){
// Request headers
xhrObj.setRequestHeader("Content-Type","application/json");
xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
xhrObj.setRequestHeader("Authorization","{access token}");
},
type: "POST",
// Request body
data: "{body}",
})
.done(function(data) {
alert("success");
})
.fail(function() {
alert("error");
});
});
</script>
</body>
</html>
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSString* path = @"https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false";
NSArray* array = @[
// Request parameters
@"entities=true",
];
NSString* string = [array componentsJoinedByString:@"&"];
path = [path stringByAppendingFormat:@"?%@", string];
NSLog(@"%@", path);
NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
[_request setHTTPMethod:@"POST"];
// Request headers
[_request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
[_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
[_request setValue:@"{access token}" forHTTPHeaderField:@"Authorization"];
// Request body
[_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
NSURLResponse *response = nil;
NSError *error = nil;
NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];
if (nil != error)
{
NSLog(@"Error: %@", error);
}
else
{
NSError* error = nil;
NSMutableDictionary* json = nil;
NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
NSLog(@"%@", dataString);
if (nil != _connectionData)
{
json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
}
if (error || !json)
{
NSLog(@"Could not parse loaded json with error:%@", error);
}
NSLog(@"%@", json);
_connectionData = nil;
}
[pool drain];
return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';
$request = new Http_Request2('https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false');
$url = $request->getUrl();
$headers = array(
// Request headers
'Content-Type' => 'application/json',
'Ocp-Apim-Subscription-Key' => '{subscription key}',
'Authorization' => '{access token}',
);
$request->setHeader($headers);
$parameters = array(
// Request parameters
);
$url->setQueryVariables($parameters);
$request->setMethod(HTTP_Request2::METHOD_POST);
// Request body
$request->setBody("{body}");
try
{
$response = $request->send();
echo $response->getBody();
}
catch (HttpException $ex)
{
echo $ex;
}
?>
########### Python 2.7 #############
import httplib, urllib, base64
headers = {
# Request headers
'Content-Type': 'application/json',
'Ocp-Apim-Subscription-Key': '{subscription key}',
'Authorization': '{access token}',
}
params = urllib.urlencode({
})
try:
conn = httplib.HTTPSConnection('api.reckon.com')
conn.request("POST", "/R1/{cashbookId}/reports/balancesheet/false?%s" % params, "{body}", headers)
response = conn.getresponse()
data = response.read()
print(data)
conn.close()
except Exception as e:
print("[Errno {0}] {1}".format(e.errno, e.strerror))
####################################
########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64
headers = {
# Request headers
'Content-Type': 'application/json',
'Ocp-Apim-Subscription-Key': '{subscription key}',
'Authorization': '{access token}',
}
params = urllib.parse.urlencode({
})
try:
conn = http.client.HTTPSConnection('api.reckon.com')
conn.request("POST", "/R1/{cashbookId}/reports/balancesheet/false?%s" % params, "{body}", headers)
response = conn.getresponse()
data = response.read()
print(data)
conn.close()
except Exception as e:
print("[Errno {0}] {1}".format(e.errno, e.strerror))
####################################
require 'net/http'
uri = URI('https://api.reckon.com/R1/{cashbookId}/reports/balancesheet/false')
request = Net::HTTP::Post.new(uri.request_uri)
# Request headers
request['Content-Type'] = 'application/json'
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request headers
request['Authorization'] = '{access token}'
# Request body
request.body = "{body}"
response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
http.request(request)
end
puts response.body