VUZDevelopers

Generate Profit & Loss Statement

GET
/reports/profit-loss

Generate Profit & Loss Statement (דוח רווח והפסד / Income Statement) showing revenue, expenses, and net income for a specified period. Includes gross profit, operating income, tax expense, and profit margins.

X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Query Parameters

startDate?string

Period start date (ISO 8601)

endDate?string

Period end date (ISO 8601)

fiscalYear?number

Fiscal year

hideZeroBalances?boolean

Hide accounts with zero balance and zero movements

variant?string

Trial Balance variant: combined (3-column), balances, or movements

Value in

  • "combined"
  • "balances"
  • "movements"
accountCategory?string

Filter by account category

Value in

  • "ASSET"
  • "LIABILITY"
  • "EQUITY"
  • "REVENUE"
  • "EXPENSE"
locale?string

Display locale for report line labels (Cash Flow section item names). Defaults to Hebrew.

Value in

  • "he"
  • "en"

Header Parameters

X-Business-Id*string

Response Body

application/json

curl -X GET "https://example.com/reports/profit-loss" \  -H "X-Business-Id: string"
{  "businessId": "123e4567-e89b-12d3-a456-426614174000",  "startDate": "2025-01-01",  "endDate": "2025-12-31",  "revenue": [    {      "accountCode": "4000",      "accountName": "Revenue",      "amount": 850000,      "percentOfRevenue": 100    }  ],  "totalRevenue": 850000,  "expenses": [    {      "accountCode": "4000",      "accountName": "Revenue",      "amount": 850000,      "percentOfRevenue": 100    }  ],  "totalExpenses": 350000,  "grossProfit": 850000,  "operatingIncome": 500000,  "netIncomeBeforeTax": 500000,  "taxExpense": 115000,  "netIncomeAfterTax": 385000,  "netProfitMargin": 45.3,  "generatedAt": "2025-12-31T23:59:59.000Z"}