---
title: "Company.SummaryReport"
method: POST
path: "/online/RivhitOnlineAPI.svc/Company.SummaryReport"
---

# Company.SummaryReport

`POST /online/RivhitOnlineAPI.svc/Company.SummaryReport`

### Get Company Summary Documents report

## Request body

- object
  - `api_token` string, uuid, required — Rivhit Merchant API Identifier. **Default:** No
  - `year` integer, required — Year to Filter by. **Default:** No **Format:** YYYY
  - `month` integer, required — Month to Filter by. **Default:** No **Format:** MM
  - `day` integer, nullable — Day to Filter by. **Default:** No **Format:** DD
  - `project_id` integer, nullable — Project ID to Filter by. **Default:** No **Range:** 0 to 999999999

## Response `200`

Success - Company Summary 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
    - `Documents` object[] — List of Summary Report by Document Type.
      - `DocCount` integer — Number of Documents.
      - `DocType` integer — Type of Document.
      - `DocTypeName` string — Name of Document Type.
      - `TotalDiscount` integer — Total Discount Amount.
      - `TotalVat` integer — Total VAT Amount.
      - `TotalWithVat` integer — Total Amount with VAT.
      - `TotalWithoutVat` integer — Total Amount without VAT.
    - `PayCodes` object[] — List of Summary Report by Payment Code Type.
      - `Count` integer — Number of Payments.
      - `PayCodeType` integer — Type of Payment Code.
      - `PayCodeTypeName` string — Name of Payment Code Type.
      - `TotalAmount` integer — Total Payment Amount.
    - `Receipts` object[] — List of Summary Report by Receipt Type.
      - `ReceiptCount` integer — Number of Receipts.
      - `ReceiptType` integer — Type of Receipt.
      - `ReceiptTypeName` string — Name of Receipt Type.
      - `TotalAmount` integer — Total Receipt Amount.

## 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)
