---
updatedAt: 2025-05-28T09:46:22.000Z
agentTools:
  projectIndex: https://docs.payplus.co.il/llms.txt
---

# Get document types

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "PayPlus - API Documentation - Production",
    "version": "1.0"
  },
  "tags": [
    {
      "name": "Invoice+ - Misc"
    }
  ],
  "servers": [
    {
      "url": "https://restapi.payplus.co.il/api/v1.0/",
      "description": "Production"
    },
    {
      "url": "https://restapidev.payplus.co.il/api/v1.0/",
      "description": "Staging"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/books/doc_types": {
      "get": {
        "tags": [
          "Invoice+ - Misc"
        ],
        "summary": "Get document types",
        "description": "",
        "parameters": [
          {
            "name": "language_code",
            "in": "query",
            "description": "Preferred response language Example: he.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "API Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret-key",
            "in": "header",
            "description": "Secret Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n{\n\"code\": \"inv_proforma\",\n\"type_code\": 300\n},\n{\n\"code\": \"inv_tax\",\n\"type_code\": 305\n},\n{\n\"code\": \"inv_receipt\",\n\"type_code\": 400\n},\n{\n\"code\": \"inv_tax_receipt\",\n\"type_code\": 320\n},\n{\n\"code\": \"inv_refund\",\n\"type_code\": 330\n},\n{\n\"code\": \"crt_delivery\",\n\"type_code\": 200\n},\n{\n\"code\": \"crt_return\",\n\"type_code\": 210\n},\n{\n\"code\": \"order_purchase\",\n\"type_code\": 500\n},\n{\n\"code\": \"purchase\",\n\"type_code\": 100\n}\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "example": "inv_proforma"
                      },
                      "type_code": {
                        "type": "integer",
                        "example": 300,
                        "default": 0
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```