{
  "opencollection": "1.0.0",
  "info": {
    "name": "API reference Bill Ocr API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Ocr",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ocr Document Form",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.payabli.com/api/Import/ocrDocumentForm/:typeResult",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "typeResult",
                "value": "",
                "type": "path",
                "description": "The type of object to create in Payabli. Accepted values are `bill` and `invoice`."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this endpoint to upload an image file for OCR processing. The accepted file formats include PDF, JPG, JPEG, PNG, and GIF. Specify the desired type of result (either 'bill' or 'invoice') in the path parameter `typeResult`. The response will contain the OCR processing results, including extracted data such as bill number, vendor information, bill items, and more."
        },
        {
          "info": {
            "name": "Ocr Document Json",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.payabli.com/api/Import/ocrDocumentJson/:typeResult",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "typeResult",
                "value": "",
                "type": "path",
                "description": "The type of object to create in Payabli. Accepted values are `bill` and `invoice`."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this endpoint to submit a Base64-encoded image file for OCR processing. The accepted file formats include PDF, JPG, JPEG, PNG, and GIF. Specify the desired type of result (either 'bill' or 'invoice') in the path parameter `typeResult`. The response will contain the OCR processing results, including extracted data such as bill number, vendor information, bill items, and more."
        }
      ]
    }
  ],
  "bundled": true
}