Skip to main content
GET
/
service
/
general-ledger
/
reports
/
income-statement
curl -X GET "https://kube.acho.io/service/general-ledger/reports/income-statement?start_date=2024-01-01&end_date=2024-01-31" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "report": "Income Statement",
  "period": {
    "start_date": "2024-01-01",
    "end_date": "2024-01-31"
  },
  "generated_at": "2024-02-01T10:00:00Z",
  "revenue": {
    "accounts": [
      {
        "account_id": "4000",
        "account_name": "Service Revenue",
        "amount": 80000.00
      },
      {
        "account_id": "4100",
        "account_name": "Product Sales",
        "amount": 20000.00
      }
    ],
    "total_revenue": 100000.00
  },
  "cost_of_goods_sold": {
    "accounts": [
      {
        "account_id": "5000",
        "account_name": "Cost of Goods Sold",
        "amount": 15000.00
      }
    ],
    "total_cogs": 15000.00
  },
  "gross_profit": 85000.00,
  "operating_expenses": {
    "accounts": [
      {
        "account_id": "6000",
        "account_name": "Salaries & Wages",
        "amount": 15000.00
      },
      {
        "account_id": "6100",
        "account_name": "Rent Expense",
        "amount": 5000.00
      },
      {
        "account_id": "6200",
        "account_name": "Utilities",
        "amount": 2000.00
      },
      {
        "account_id": "6300",
        "account_name": "Office Supplies",
        "amount": 500.00
      }
    ],
    "total_operating_expenses": 22500.00
  },
  "operating_income": 62500.00,
  "other_income_expense": {
    "accounts": [
      {
        "account_id": "7000",
        "account_name": "Interest Income",
        "amount": 500.00
      },
      {
        "account_id": "7100",
        "account_name": "Interest Expense",
        "amount": -1000.00
      }
    ],
    "total_other": -500.00
  },
  "net_income": 62000.00
}

Request

Generate an income statement (profit and loss) report for a date range.

Query Parameters

start_date
string
required
Start date (YYYY-MM-DD)
end_date
string
required
End date (YYYY-MM-DD)
posting_period_id
string
Alternative: Filter by accounting period
curl -X GET "https://kube.acho.io/service/general-ledger/reports/income-statement?start_date=2024-01-01&end_date=2024-01-31" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "report": "Income Statement",
  "period": {
    "start_date": "2024-01-01",
    "end_date": "2024-01-31"
  },
  "generated_at": "2024-02-01T10:00:00Z",
  "revenue": {
    "accounts": [
      {
        "account_id": "4000",
        "account_name": "Service Revenue",
        "amount": 80000.00
      },
      {
        "account_id": "4100",
        "account_name": "Product Sales",
        "amount": 20000.00
      }
    ],
    "total_revenue": 100000.00
  },
  "cost_of_goods_sold": {
    "accounts": [
      {
        "account_id": "5000",
        "account_name": "Cost of Goods Sold",
        "amount": 15000.00
      }
    ],
    "total_cogs": 15000.00
  },
  "gross_profit": 85000.00,
  "operating_expenses": {
    "accounts": [
      {
        "account_id": "6000",
        "account_name": "Salaries & Wages",
        "amount": 15000.00
      },
      {
        "account_id": "6100",
        "account_name": "Rent Expense",
        "amount": 5000.00
      },
      {
        "account_id": "6200",
        "account_name": "Utilities",
        "amount": 2000.00
      },
      {
        "account_id": "6300",
        "account_name": "Office Supplies",
        "amount": 500.00
      }
    ],
    "total_operating_expenses": 22500.00
  },
  "operating_income": 62500.00,
  "other_income_expense": {
    "accounts": [
      {
        "account_id": "7000",
        "account_name": "Interest Income",
        "amount": 500.00
      },
      {
        "account_id": "7100",
        "account_name": "Interest Expense",
        "amount": -1000.00
      }
    ],
    "total_other": -500.00
  },
  "net_income": 62000.00
}