> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.ezzydoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# uploadInvoiceImage2



## OpenAPI

````yaml post /uploadInvoiceImage2
openapi: 3.0.1
info:
  title: EzzyRest API
  version: 1.0.0
servers:
  - url: https://app.ezzydoc.com/EzzyService.svc/Rest/
    description: Production Server
security: []
paths:
  /uploadInvoiceImage2:
    post:
      tags:
        - EzzyRest
      summary: uploadInvoiceImage2
      operationId: uploadInvoiceImage2
      parameters:
        - name: doc_type
          in: query
          required: true
          schema:
            type: integer
            enum:
              - 0
              - 1
              - 2
              - 3
              - 4
              - 5
              - 6
              - 7
              - 8
              - 9
              - 10
              - 11
              - 12
              - 13
              - 14
              - 15
              - 16
              - 17
              - 18
              - 19
              - 20
              - 21
            x-enumNames:
              - Unknown
              - Invoice
              - EInvoice
              - Correspondence
              - BusinessCards
              - Picture
              - Order
              - Data
              - Notes
              - Media
              - Template
              - Form
              - Blob
              - Statement
              - Application
              - Junk
              - Event
              - Enquiry
              - Generic
              - Remittance
              - AI
              - AIWEB
        - name: tag
          in: query
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PictureFileSS'
          text/json:
            schema:
              $ref: '#/components/schemas/PictureFileSS'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PictureFileSS'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/UploadStatusSS'
            application/json:
              schema:
                $ref: '#/components/schemas/UploadStatusSS'
            text/json:
              schema:
                $ref: '#/components/schemas/UploadStatusSS'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    PictureFileSS:
      type: object
      properties:
        PictureName:
          type: string
        PictureStream:
          type: string
          format: byte
        service_status:
          $ref: '#/components/schemas/Servicestatus'
    UploadStatusSS:
      type: object
      properties:
        unresolved:
          type: string
    Servicestatus:
      type: object
      properties:
        invoice_id:
          type: integer
        message:
          type: string
        status:
          type: integer
          enum:
            - 0
            - 1
            - 2
            - 3
          x-enumNames:
            - OK
            - FAILED
            - NO_MORE_INVOICES
            - NOT_PERMITTED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````