GET
/
v1
/
businesses
/
{businessId}
/
reports
/
profit-and-loss-summaries
curl --request GET \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/reports/profit-and-loss-summaries \
  --header 'Authorization: Bearer <token>'
[
  {
    "monthly_pnl_summaries": [
      {
        "year": 2024,
        "month": 3,
        "income": 1050000,
        "costOfGoodsSold": 350000,
        "grossProfit": 700000,
        "operatingExpenses": 300000,
        "profitBeforeTaxes": 400000,
        "taxes": 100000,
        "netProfit": 300000,
        "totalExpenses": 750000,
        "uncategorizedInflows": 10,
        "uncategorizedOutflows": 10,
        "fullyCategorized": true,
        "uncategorized_transactions": 1
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business to fetch the profit and loss for

Response

200
application/json

The response is of type object[].