---
updatedAt: 2025-07-23T06:34:13.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# Receipt.Copy

### Get a Link to a Receipt copy

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Get a Link to a Receipt copy",
    "version": "1.0.0"
  },
  "paths": {
    "/online/RivhitOnlineAPI.svc/Receipt.Copy": {
      "post": {
        "summary": "Receipt.Copy",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "api_token": {
                    "type": "string",
                    "format": "uuid",
                    "example": "DECD03E5-E35C-41E8-84F7-FBA2FB483928",
                    "description": "Rivhit Merchant API Identifier.\n\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  },
                  "receipt_type": {
                    "type": "integer",
                    "example": 1,
                    "description": "Receipt Type.\n\n**Range:** 0 to 999\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  },
                  "receipt_number": {
                    "type": "integer",
                    "example": 1000,
                    "description": "Receipt Number.\n\n**Range:** 0 to 999999  \n**Default:** Documents settings\n",
                    "nullable": false,
                    "deprecated": false
                  },
                  "language": {
                    "type": "string",
                    "example": "he",
                    "description": "Set the Document Language.\n\n**Options:** (he/en)\n**Default:** he\n",
                    "nullable": true,
                    "deprecated": false,
                    "enum": [
                      "he",
                      "en"
                    ]
                  },
                  "force_copy": {
                    "type": "boolean",
                    "example": false,
                    "description": "Return the Receipt as Copy.\n\n**Default:** false\n",
                    "nullable": true,
                    "deprecated": false
                  },
                  "thermal_print": {
                    "type": "boolean",
                    "example": false,
                    "description": "Activate Thermal Print.\n\n**Default:** false\n",
                    "nullable": true,
                    "deprecated": false
                  }
                },
                "required": [
                  "api_token",
                  "receipt_type",
                  "receipt_number"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success - Receipt Copy Returned",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "description": "The Response Error/Status Number (0 = Success)."
                    },
                    "client_message": {
                      "type": "string",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "document_type": {
                          "type": "integer",
                          "description": "Receipt Type."
                        },
                        "document_number": {
                          "type": "integer",
                          "description": "Receipt Number."
                        },
                        "document_identity": {
                          "type": "string",
                          "description": "Receipt Identifier."
                        },
                        "document_link": {
                          "type": "string",
                          "description": "Receipt Link."
                        }
                      }
                    }
                  }
                },
                "example": {
                  "error_code": 0,
                  "client_message": "",
                  "debug_message": "",
                  "data": {
                    "status": 0,
                    "document_type": 1,
                    "document_number": 16753,
                    "document_identity": "9eccd069-1beb-4b84-8383-22b4282d1cc5",
                    "document_link": "https://api.rivhit.co.il/pdf/FileService.svc/GetDocument/000008888/9eccd069-1beb-4b84-8383-22b4282d1cc5/true/01_016753"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Request Error"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "example": -2,
                      "description": "Error code of the response."
                    },
                    "client_message": {
                      "type": "string",
                      "example": "לא נמצאו נתונים",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "example": "-2 : NO_DATA_FOUND",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "array",
                      "example": null,
                      "description": "Error Data."
                    }
                  }
                },
                "example": {
                  "error_code": -2,
                  "client_message": "לא נמצאו נתונים",
                  "debug_message": "-2 : NO_DATA_FOUND",
                  "data": null
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.rivhit.co.il/"
    }
  ]
}
```