List PnL
Header Parameters
Authorizationstring
x-client-idstring
x-timestampstring
x-signaturestring
Path Parameters
pagestring
limitstring
sortBystring
sortOrderstring
startDatestring
endDatestring
searchstring
Response
200
Object
{
"status": "success",
"message": "P&L reports retrieved successfully",
"data": {
"reports": [
{
"reportId": 98765,
"reportTitle": "Annual P&L 2024",
"startDate": "2024-01-01",
"endDate": "2024-12-31",
"reportType": "accrual",
"currency": "USD",
"summary": {
"totalIncome": 150000.00,
"totalExpenses": 95000.00,
"netIncome": 55000.00,
"netProfitMargin": 36.67
},
"createdAt": "2024-12-31T23:59:59Z",
"createdBy": "John Doe",
"fiscalYear": 2024
},
{
"reportId": 98764,
"reportTitle": "Q4 2024 P&L",
"startDate": "2024-10-01",
"endDate": "2024-12-31",
"reportType": "accrual",
"currency": "USD",
"summary": {
"totalIncome": 45000.00,
"totalExpenses": 28000.00,
"netIncome": 17000.00,
"netProfitMargin": 37.78
},
"createdAt": "2024-12-31T18:30:00Z",
"createdBy": "Jane Smith",
"fiscalYear": 2024
}
],
"pagination": {
"currentPage": 1,
"totalPages": 5,
"totalReports": 87,
"limit": 20,
"hasNextPage": true,
"hasPreviousPage": false
}
}
}
Was this section helpful?
Response
Was this section helpful?