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

# updateFormData



## OpenAPI

````yaml post /updateFormData
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:
  /updateFormData:
    post:
      tags:
        - EzzyRest
      summary: updateFormData
      operationId: updateFormData
      parameters:
        - name: invoiceid
          in: query
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FormData'
          text/json:
            schema:
              $ref: '#/components/schemas/FormData'
          application/*+json:
            schema:
              $ref: '#/components/schemas/FormData'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Servicestatus'
            application/json:
              schema:
                $ref: '#/components/schemas/Servicestatus'
            text/json:
              schema:
                $ref: '#/components/schemas/Servicestatus'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    FormData:
      type: object
      properties:
        purchaseOrder:
          type: string
        invoiceNumber:
          type: string
        invoiceDate:
          type: string
          format: date-time
        paymentDate:
          type: string
          format: date-time
        supplier:
          type: string
        supplier_id:
          type: string
        total:
          type: number
        tax:
          type: number
        charge:
          type: number
        discount:
          type: number
        abn:
          type: string
        description:
          type: string
        from_email:
          type: string
        delivery_to:
          type: string
        invoice_to:
          type: string
        company_invoiced:
          type: string
        delivery_to_address:
          type: string
        invoice_to_address:
          type: string
        supplier_address:
          type: string
        bankBranch:
          type: string
        bankAccount:
          type: string
        bPaycode:
          type: string
        bPayRef:
          type: string
        customField1:
          type: string
        customField2:
          type: string
        customField3:
          type: string
        customField4:
          type: string
        customValues:
          $ref: '#/components/schemas/CustomPair'
        wfsettings:
          type: string
        location:
          type: string
        tracking:
          type: string
        tracking_option:
          type: string
        glcode_option:
          type: string
        glcode_text:
          type: string
        expense_claim:
          type: string
        email_to:
          type: string
        document_subtype:
          type: integer
        switch_workflow:
          type: integer
        approver:
          type: string
        approver_email:
          type: string
        additional_request:
          type: string
        require_email:
          type: boolean
        require_bank_details:
          type: boolean
        email:
          type: string
        bank_details:
          type: string
        changed:
          type: boolean
    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
    CustomPair:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
        hint:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````