Get Balance Sheet

Get balance sheet

GEThttps://apione.zwapgrid.com/accounting/api/v1/consents/{consentId}/balancesheet
Path parameters
consentId*string (uuid)

The consent for which you wish to get balance sheet.

Query parameters
Header parameters
Response

OK

Body
accountBalancePeriodPeriodDto (object)
financialReportFinancialReportDto (object)
Request
const response = await fetch('https://apione.zwapgrid.com/accounting/api/v1/consents/{consentId}/balancesheet', {
    method: 'GET',
    headers: {
      "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000"
    },
});
const data = await response.json();
Response
{
  "accountBalancePeriod": {
    "startDate": "text",
    "endDate": "text"
  },
  "financialReport": {
    "categories": [
      {
        "descriptions": [
          {
            "text": "text",
            "languageId": "text"
          }
        ],
        "balance": {
          "baseCurrencies": [
            {
              "currencyId": "text",
              "baseAmount": 0
            }
          ]
        },
        "subCategories": [
          {
            "descriptions": [
              {
                "text": "text",
                "languageId": "text"
              }
            ],
            "balance": {
              "baseCurrencies": [
                {
                  "currencyId": "text",
                  "baseAmount": 0
                }
              ]
            },
            "accounts": [
              {
                "accountingAccount": {
                  "id": "text",
                  "accountingAccountId": "text",
                  "name": "text",
                  "descriptions": [
                    {
                      "text": "text",
                      "languageId": "text"
                    }
                  ],
                  "accountingAccountTypeCode": {
                    "code": "text",
                    "listId": "text"
                  }
                },
                "balance": {
                  "baseCurrencies": [
                    {
                      "currencyId": "text",
                      "baseAmount": 0
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

Last updated