---
title: "Document.Copy"
method: POST
path: "/online/RivhitOnlineAPI.svc/Document.Copy"
---

# Document.Copy

`POST /online/RivhitOnlineAPI.svc/Document.Copy`

## Request body

- object
  - `api_token` string, uuid, required — Rivhit Merchant API Identifier. **Default:** No
  - `document_type` integer, required — The Type of the Document to Copy. **Range:** 0 to 999 **Default:** No
  - `document_number` integer, required — The Number of the Document to Copy. **Range:** 0 to 999999 **Default:** Documents settings
  - `language` 'he' | 'en', nullable — Set the Document Language. **Options:** (he/en) **Default:** he
  - `force_copy` boolean, nullable — Return the Document as Copy. **Default:** false
  - `thermal_print` boolean, nullable — Activate Thermal Print. **Default:** false

## Response `200`

Success - Document Copy 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
    - `document_type` integer — Document Type.
    - `document_number` integer — Document Number.
    - `document_identity` string, uuid — Document Identifier.
    - `document_link` string, url — Document URL Link.

## 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/versions/ed5261a52458/schema)
