> ## 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.

# getInvoiceHeaderBlocksTableExclusive



## OpenAPI

````yaml get /getInvoiceHeaderBlocksTableExclusive
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:
  /getInvoiceHeaderBlocksTableExclusive:
    get:
      tags:
        - EzzyRest
      summary: getInvoiceHeaderBlocksTableExclusive
      operationId: getInvoiceHeaderBlocksTableExclusive
      parameters:
        - name: invoiceid
          in: query
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/InvoiceBlocks2SS'
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceBlocks2SS'
            text/json:
              schema:
                $ref: '#/components/schemas/InvoiceBlocks2SS'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    InvoiceBlocks2SS:
      type: object
      properties:
        service_status:
          $ref: '#/components/schemas/Servicestatus'
        invoiceForm:
          $ref: '#/components/schemas/InvoiceForm'
        list:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceBlockValues'
        table:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceRow'
        taxInclusive:
          type: boolean
        locale:
          type: integer
    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
    InvoiceForm:
      type: object
      properties:
        ABNnumber:
          type: string
        bankAccount:
          type: string
        bankBranch:
          type: string
        bankReference:
          type: string
        chargeTotal:
          type: number
        discountTotal:
          type: number
        docType:
          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
        gstTotal:
          type: number
        invoiceDate:
          type: string
          format: date-time
        invoiceNumber:
          type: string
        invoiceTotal:
          type: number
        paymentDate:
          type: string
          format: date-time
        purchaseOrder:
          type: string
        RefNumber:
          type: string
        subTotal:
          type: number
        supplierName:
          type: string
        tag:
          type: string
    InvoiceBlockValues:
      type: object
      properties:
        header:
          type: integer
        height:
          type: integer
        page:
          type: integer
        text:
          type: string
        width:
          type: integer
        x:
          type: integer
        'y':
          type: integer
    InvoiceRow:
      type: object
      properties:
        article_code:
          type: string
        description:
          type: string
        description2:
          type: string
        contact_name:
          type: string
        gl_code:
          type: string
        po_item_number:
          type: string
        gst:
          type: number
        quantity:
          type: number
        row_height:
          type: integer
        row_page:
          type: integer
        row_y:
          type: integer
        tax_code:
          type: string
        total:
          type: number
        total_excl:
          type: number
        total_incl:
          type: number
        tracking:
          type: string
        unit_measure:
          type: string
        unit_price:
          type: number
        approver_name:
          type: string
        is_approved:
          type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````