---
title: "Accounting.PnLReport"
method: POST
path: "/online/RivhitOnlineAPI.svc/Accounting.PnLReport"
---

# Accounting.PnLReport

`POST /online/RivhitOnlineAPI.svc/Accounting.PnLReport`

## Request body

- object
  - `api_token` string, uuid, required — Rivhit Merchant API Identifier. **Default:** No
  - `from_month` integer, required — Start Month of the PnLReport. **Format:** MM **Default:** No
  - `to_month` integer, required — End Month of the PnLReport. **Format:** MM **Default:** No
  - `year` integer, required — Year of the PnLReport. **Format:** YYYY **Default:** No

## Response `200`

Success - Profit and Loss Report Returned

- object
  - `error_code` integer — The Response Error/Status Number (0 = Success).
  - `client_message` string — The Client Error Message.
  - `debug_message` string — The Response Error Message.
  - `data` object
    - `pnl_report` object[]
      - `account_id` integer — The Account ID.
      - `account_name` string — The Account Name.
      - `balance` number, double — The Account Balance.
      - `pnl_code` integer — The Profit and Loss Code.
      - `pnl_name` string — The Profit and Loss Name.

## Other responses

- `400` — Request Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/rivhit/apis/get-payment-url-22-12.md) · [All operations](https://skmtc.net/rivhit/apis/get-payment-url-22-12/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivhit/get-payment-url-22-12/revisions/ed5261a52458/schema)
