Retrieve Enhanced Profit and Loss Reports

This method is used to extract the customer's Enhanced Profit and Loss reports in order to determine their creditworthiness. The call is made through the ​GET /data/companies{companyId}/connections/{connectionId}/assess/enhancedProfitandLoss Codat endpoint.

Before calling this method, make sure that the Check Status Data result contains the following parameter response: "dataType": "profitAndLoss" with "currentStatus": "Complete".

NOTE  
Make sure you include the authorization header in your API request.