curl --request GET \
--url https://api.openint.dev/v0/unified/accounting/profit-and-loss \
--header 'x-apikey: <api-key>' \
--header 'x-connection-id: <api-key>'
{
"reportName": "<string>",
"startPeriod": "2023-12-25",
"endPeriod": "2023-12-25",
"currency": "<string>",
"accountingStandard": "<string>",
"totalIncome": 123,
"grossProfit": 123,
"totalExpenses": 123,
"netOperatingIncome": 123,
"netIncome": 123
}
Successful response
The response is of type object
.
curl --request GET \
--url https://api.openint.dev/v0/unified/accounting/profit-and-loss \
--header 'x-apikey: <api-key>' \
--header 'x-connection-id: <api-key>'
{
"reportName": "<string>",
"startPeriod": "2023-12-25",
"endPeriod": "2023-12-25",
"currency": "<string>",
"accountingStandard": "<string>",
"totalIncome": 123,
"grossProfit": 123,
"totalExpenses": 123,
"netOperatingIncome": 123,
"netIncome": 123
}