FlowAccount Employee API

The Employee API from FlowAccount — 3 operation(s) for employee.

Operations 6

GET /Employee/{id} Get employee by Id #
DELETE /Employee/{id} Delete/Remove Employee by Id #
GET /Employee Get employee list with payrollQuery model #
POST /Employee Create Employee #
PUT /Employee Update Employee #
GET /Employee/count Count employees #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/flowaccount-employee-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

flowaccount-employee-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FlowAccount Open BatchImport Employee API
  version: 1.0.0
servers:
- url: https://openapi.flowaccount.com/sandbox
  description: The sandbox server
- url: https://openapi.flowaccount.com/v3-alpha
  description: The prod server
security:
- bearer: []
tags:
- name: Employee
paths:
  /Employee/{id}:
    get:
      tags:
      - Employee
      summary: Get employee by Id
      operationId: Employee_GetById
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
    delete:
      tags:
      - Employee
      summary: Delete/Remove Employee by Id
      operationId: Employee_Remove
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
  /Employee:
    get:
      tags:
      - Employee
      summary: Get employee list with payrollQuery model
      operationId: Employee_GetList
      requestBody:
        x-name: queryStringModel
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PayrollQuery'
        required: true
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
    post:
      tags:
      - Employee
      summary: Create Employee
      operationId: Employee_Create
      requestBody:
        x-name: employee
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmployeeModel'
        required: true
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
    put:
      tags:
      - Employee
      summary: Update Employee
      operationId: Employee_Edit
      requestBody:
        x-name: employee
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmployeeModel'
        required: true
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
  /Employee/count:
    get:
      tags:
      - Employee
      summary: Count employees
      operationId: Employee_Count
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - bearer: []
components:
  schemas:
    DocumentTemplates:
      type: integer
      description: '1 = Default

        3 = Template1

        5 = Template2

        7 = Template3

        9 = Template4

        11 = Template5

        13 = TemplateA5

        15 = Template9x11withOriginal

        17 = Template8

        101 = NativeDefault

        103 = Native1

        105 = Native3

        107 = Native5

        109 = Native7

        111 = Native9

        113 = Native11

        115 = Native13

        201 = Thermal1

        203 = Thermal2

        205 = SocialSlip

        301 = ShortCA1

        303 = ShortCA2

        305 = ShortCA3'
      x-enumNames:
      - Default
      - Template1
      - Template2
      - Template3
      - Template4
      - Template5
      - TemplateA5
      - Template9x11withOriginal
      - Template8
      - NativeDefault
      - Native1
      - Native3
      - Native5
      - Native7
      - Native9
      - Native11
      - Native13
      - Thermal1
      - Thermal2
      - SocialSlip
      - ShortCA1
      - ShortCA2
      - ShortCA3
      enum:
      - 1
      - 3
      - 5
      - 7
      - 9
      - 11
      - 13
      - 15
      - 17
      - 101
      - 103
      - 105
      - 107
      - 109
      - 111
      - 113
      - 115
      - 201
      - 203
      - 205
      - 301
      - 303
      - 305
    ReceivableInvoice:
      allOf:
      - $ref: '#/components/schemas/Document2'
      - type: object
        additionalProperties: false
        required:
        - companyId
        - createdOn
        - modifiedOn
        - publishedOn
        - documentDate
        properties:
          id:
            type: integer
            format: int64
          contactId:
            type: integer
            format: int64
          companyId:
            type: integer
            format: int64
          status:
            $ref: '#/components/schemas/ReceivableInvoiceStatus'
          createdOn:
            type: string
            format: date-time
            default: CURRENT_TIMESTAMP
            minLength: 1
          modifiedOn:
            type: string
            format: date-time
            default: CURRENT_TIMESTAMP
            minLength: 1
          publishedOn:
            type: string
            format: date-time
            default: CURRENT_TIMESTAMP
            minLength: 1
          documentDate:
            type: string
            format: date-time
            default: CURRENT_TIMESTAMP
            minLength: 1
          published:
            type: boolean
          approved:
            type: boolean
          approvedBy:
            type:
            - integer
            - 'null'
            format: int64
          approvedByClientId:
            type:
            - integer
            - 'null'
            format: int64
          approvedImageUrl:
            type:
            - string
            - 'null'
          documentSerial:
            type:
            - string
            - 'null'
          remarks:
            type:
            - string
            - 'null'
          name:
            type:
            - string
            - 'null'
          value:
            type: number
            format: decimal
          dueDate:
            type:
            - string
            - 'null'
            format: date-time
          expectedDate:
            type:
            - string
            - 'null'
            format: date-time
          createdBy:
            type: integer
            format: int64
          documentId:
            type:
            - string
            - 'null'
          isDelete:
            type: boolean
          vatRate:
            type: integer
            format: int32
          internalNotes:
            type:
            - string
            - 'null'
          galleryId:
            type:
            - integer
            - 'null'
            format: int64
          isVatInclusive:
            type: boolean
          salesId:
            type:
            - integer
            - 'null'
            format: int64
          salesName:
            type:
            - string
            - 'null'
          roundingAdjustment:
            type: number
            format: decimal
          isInlineDiscount:
            type: boolean
            default: false
          isInlineVat:
            type: boolean
            default: false
          tax:
            type:
            - number
            - 'null'
            format: decimal
          documentSerialNoPrefix:
            type:
            - integer
            - 'null'
            format: int64
          vatValue:
            type:
            - number
            - 'null'
            format: decimal
          resetTransactionId:
            type:
            - integer
            - 'null'
            format: int64
          contact:
            oneOf:
            - $ref: '#/components/schemas/Contact'
          approvedByClient:
            oneOf:
            - $ref: '#/components/schemas/User'
          company:
            oneOf:
            - $ref: '#/components/schemas/Company'
          createdByUser:
            oneOf:
            - $ref: '#/components/schemas/User'
          approvedByUser:
            oneOf:
            - $ref: '#/components/schemas/User'
          sales:
            oneOf:
            - $ref: '#/components/schemas/User'
          gallery:
            oneOf:
            - $ref: '#/components/schemas/Gallery'
          inlineVatValue:
            type: number
            format: decimal
          inlineDiscountValue:
            type: number
            format: decimal
          ruleCompileStatus:
            $ref: '#/components/schemas/RuleCompileStatus'
          runningNumberType:
            type: integer
            format: int32
          runningModifiedOn:
            type:
            - string
            - 'null'
            format: date-time
          exemptAmount:
            type: number
            format: decimal
          vatableAmount:
            type: number
            format: decimal
          totalAfterDiscount:
            type: number
            format: decimal
          subTotal:
            type: number
            format: decimal
          documentReferences:
            type:
            - array
            - 'null'
            items:
              $ref: '#/components/schemas/IDocumentReference'
          referencedToMe:
            type:
            - array
            - 'null'
            items:
              $ref: '#/components/schemas/IDocumentReference'
          referencedByMe:
            type:
            - array
            - 'null'
            items:
              $ref: '#/components/schemas/IDocumentReference'
          statusInt:
            type: integer
            format: int32
          isReCalculate:
            type: boolean
          partialPaymentMethod:
            oneOf:
            - $ref: '#/components/schemas/PartialPaymentMethod'
          vatAmount:
            type:
            - number
            - 'null'
            format: decimal
          isMigrate:
            type: boolean
    SendEmailStatus:
      type: integer
      description: '1 = Sent

        3 = NoEmail'
      x-enumNames:
      - Sent
      - NoEmail
      enum:
      - 1
      - 3
    ProductUnit:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
          maxLength: 255
          minLength: 0
        isShare:
          type: boolean
        isDelete:
          type: boolean
    UpgradeType:
      type: integer
      description: '1 = Upgrade

        3 = Renew

        5 = ChangePackage'
      x-enumNames:
      - Upgrade
      - Renew
      - ChangePackage
      enum:
      - 1
      - 3
      - 5
    PettyCash:
      type: object
      additionalProperties: false
      required:
      - companyId
      properties:
        id:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        createdOn:
          type: string
          format: date-time
        modifiedOn:
          type: string
          format: date-time
        isDelete:
          type: boolean
          default: false
        description:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        cashLimit:
          type: number
          format: decimal
        chartOfAccountId:
          type:
          - integer
          - 'null'
          format: int64
        chartOfAccount:
          oneOf:
          - $ref: '#/components/schemas/ChartOfAccount'
        cashHolderId:
          type: integer
          format: int64
        cashHolder:
          oneOf:
          - $ref: '#/components/schemas/User'
        status:
          $ref: '#/components/schemas/BankingChannelsStatus'
        cashHolderName:
          type:
          - string
          - 'null'
        remainingBalance:
          type: number
          format: decimal
    PayrollDetail:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int64
        payrollId:
          type: integer
          format: int64
        employeeId:
          type: integer
          format: int64
        salary:
          type: number
          format: decimal
        socialSecurityValue:
          type: number
          format: decimal
        commission:
          type: number
          format: decimal
        bonus:
          type: number
          format: decimal
        deduction:
          type: number
          format: decimal
        withholdingTax:
          type: number
          format: decimal
        status:
          $ref: '#/components/schemas/PayrollDetailStatus'
        isDelete:
          type: boolean
        withheld:
          type: number
          format: decimal
        datePayment:
          type:
          - string
          - 'null'
          format: date-time
        fee:
          type:
          - number
          - 'null'
          format: decimal
        ref:
          type:
          - string
          - 'null'
        transactionId:
          type:
          - string
          - 'null'
        amount:
          type:
          - number
          - 'null'
          format: decimal
        payStatus:
          type:
          - integer
          - 'null'
          format: int32
        remarks:
          type:
          - string
          - 'null'
        expenseId:
          type:
          - integer
          - 'null'
          format: int64
        overtime:
          type: number
          format: decimal
        advance:
          type: number
          format: decimal
        otherAddition:
          type: number
          format: decimal
        otherDeduction:
          type: number
          format: decimal
        providentFund:
          type: number
          format: decimal
        securityMoney:
          type: number
          format: decimal
        value:
          type: number
          format: decimal
        note:
          type:
          - string
          - 'null'
        createdOn:
          type:
          - string
          - 'null'
          format: date-time
        createdBy:
          type:
          - integer
          - 'null'
          format: int64
        modifiedOn:
          type:
          - string
          - 'null'
          format: date-time
        lastModifiedBy:
          type: integer
          format: int64
        employerSocialSecurity:
          type: number
          format: decimal
        allowance:
          type: number
          format: decimal
        cola:
          type: number
          format: decimal
        medicalExpense:
          type: number
          format: decimal
        accommodation:
          type: number
          format: decimal
        directorRemuneration:
          type: number
          format: decimal
        methodPayment:
          type:
          - integer
          - 'null'
          format: int32
        bankId:
          type:
          - integer
          - 'null'
          format: int32
        accountNumber:
          type:
          - string
          - 'null'
        accountNumberMasking:
          type:
          - string
          - 'null'
        employeeTitle:
          type:
          - string
          - 'null'
        employeeCode:
          type:
          - string
          - 'null'
        employeeFirstName:
          type:
          - string
          - 'null'
        employeeLastName:
          type:
          - string
          - 'null'
        employeeFirstNameForeign:
          type:
          - string
          - 'null'
        employeeLastNameForeign:
          type:
          - string
          - 'null'
        employeeStartDate:
          type:
          - string
          - 'null'
          format: date-time
        isSocialSecurityRegistered:
          type: boolean
        bankBranchCode:
          type:
          - string
          - 'null'
        accountType:
          oneOf:
          - $ref: '#/components/schemas/BankAccountType'
        referenceId:
          type:
          - string
          - 'null'
        isMigrate:
          type: boolean
        employee:
          oneOf:
          - $ref: '#/components/schemas/Employee'
        expenseList:
          oneOf:
          - $ref: '#/components/schemas/ExpenseList'
        payroll:
          oneOf:
          - $ref: '#/components/schemas/Payroll'
        bank:
          oneOf:
          - $ref: '#/components/schemas/Bank'
        lastModifiedByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        ruleCompileStatus:
          $ref: '#/components/schemas/RuleCompileStatus'
        employerAccountBranch:
          type:
          - string
          - 'null'
        employerAccountNumber:
          type:
          - string
          - 'null'
        bankAccountId:
          type:
          - integer
          - 'null'
          format: int64
        paymentRemarks:
          type:
          - string
          - 'null'
        payrollPaymentId:
          type:
          - integer
          - 'null'
          format: int64
        kcProcessingStatus:
          type:
          - integer
          - 'null'
          format: int32
        departmentId:
          type:
          - integer
          - 'null'
          format: int64
        departmentName:
          type:
          - string
          - 'null'
        departmentCode:
          type:
          - string
          - 'null'
        workDays:
          type:
          - number
          - 'null'
          format: decimal
        wage:
          type:
          - number
          - 'null'
          format: decimal
        isSocialSecurityAutoCal:
          type: boolean
        socialSecurityPercent:
          type: number
          format: decimal
          default: 5
        sendEmailStatus:
          oneOf:
          - $ref: '#/components/schemas/SendEmailStatus'
        studentLoan:
          type: number
          format: decimal
        conditionsWithholdingTax:
          oneOf:
          - $ref: '#/components/schemas/ConditionsOfWithholdingTax'
        overtimePND:
          type:
          - integer
          - 'null'
          format: int32
        commissionPND:
          type:
          - integer
          - 'null'
          format: int32
        bonusPND:
          type:
          - integer
          - 'null'
          format: int32
        allowancePND:
          type:
          - integer
          - 'null'
          format: int32
        colaPND:
          type:
          - integer
          - 'null'
          format: int32
        medicalExpensePND:
          type:
          - integer
          - 'null'
          format: int32
        accommodationPND:
          type:
          - integer
          - 'null'
          format: int32
        directorRemunerationPND:
          type:
          - integer
          - 'null'
          format: int32
        otherAdditionPND:
          type:
          - integer
          - 'null'
          format: int32
        withholdingTax401:
          type: number
          format: decimal
        withholdingTax402:
          type: number
          format: decimal
        statusInt:
          type: integer
          format: int32
    JournalEntry:
      type: object
      additionalProperties: false
      required:
      - documentType
      - status
      - documentDate
      - isSystemDocument
      properties:
        id:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        documentSerial:
          type:
          - string
          - 'null'
          maxLength: 100
          minLength: 0
        documentType:
          $ref: '#/components/schemas/DocumentTypes'
        status:
          $ref: '#/components/schemas/JournalEntryStatus'
        documentDate:
          type: string
          format: date-time
          default: CURRENT_TIMESTAMP
          minLength: 1
        description:
          type:
          - string
          - 'null'
          maxLength: 2000
          minLength: 0
        descriptionForeign:
          type:
          - string
          - 'null'
          maxLength: 2000
          minLength: 0
        voidDescription:
          type:
          - string
          - 'null'
          maxLength: 2000
          minLength: 0
        voidedOn:
          type:
          - string
          - 'null'
          format: date-time
        approvedOn:
          type:
          - string
          - 'null'
          format: date-time
        transactionNo:
          type:
          - integer
          - 'null'
          format: int64
        note:
          type:
          - string
          - 'null'
        templateType:
          $ref: '#/components/schemas/JournalEntryTemplateType'
        contactName:
          type:
          - string
          - 'null'
        documentSerialNoPrefix:
          type:
          - integer
          - 'null'
          format: int64
        createdBy:
          type: integer
          format: int64
        modifiedBy:
          type: integer
          format: int64
        approvedBy:
          type:
          - integer
          - 'null'
          format: int64
        voidedBy:
          type:
          - integer
          - 'null'
          format: int64
        galleryId:
          type:
          - integer
          - 'null'
          format: int64
        contactId:
          type:
          - integer
          - 'null'
          format: int64
        runningNumberType:
          oneOf:
          - $ref: '#/components/schemas/RunningNumberType'
        fiscalYearId:
          type:
          - integer
          - 'null'
          format: int64
        gallery:
          oneOf:
          - $ref: '#/components/schemas/Gallery'
        company:
          oneOf:
          - $ref: '#/components/schemas/Company'
        approvedByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        modifiedByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        voidedByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        remarks:
          type:
          - string
          - 'null'
          maxLength: 2000
          minLength: 0
        contact:
          oneOf:
          - $ref: '#/components/schemas/Contact'
        fiscalYear:
          oneOf:
          - $ref: '#/components/schemas/FiscalYear'
        reference:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        referenceId:
          type:
          - integer
          - 'null'
          format: int64
        referenceDocumentType:
          oneOf:
          - $ref: '#/components/schemas/DocumentTypes'
        isSystemDocument:
          type: boolean
          default: false
        ruleCompileStatus:
          $ref: '#/components/schemas/RuleCompileStatus'
        bookOfAccounts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/IBookOfAccount'
        isChangedDocumentDate:
          type: boolean
        isResetDocument:
          type: boolean
    PaymentChannelsType:
      type: integer
      description: '1 = POS

        3 = PayemntGateWay

        5 = EDC

        7 = ECommerce'
      x-enumNames:
      - POS
      - PayemntGateWay
      - EDC
      - ECommerce
      enum:
      - 1
      - 3
      - 5
      - 7
    CompanyTypeEnum:
      type: integer
      description: '10 = PrivateWithTax

        20 = PrivateWithoutTax

        30 = Personal

        40 = PersonalWithTax

        50 = PartnershipLimitedWithTax

        60 = PartnershipLimitedWithoutTax'
      x-enumNames:
      - PrivateWithTax
      - PrivateWithoutTax
      - Personal
      - PersonalWithTax
      - PartnershipLimitedWithTax
      - PartnershipLimitedWithoutTax
      enum:
      - 10
      - 20
      - 30
      - 40
      - 50
      - 60
    CustomDocumentModel:
      type: integer
      description: 1 = SwitchProductItemSellToBuy
      x-enumNames:
      - SwitchProductItemSellToBuy
      enum:
      - 1
    FiscalYear:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        beginPeriod:
          type: string
          format: date-time
        endPeriod:
          type: string
          format: date-time
        status:
          $ref: '#/components/schemas/FiscalYearStatus'
        closedOn:
          type:
          - string
          - 'null'
          format: date-time
        closedBy:
          type:
          - integer
          - 'null'
          format: int64
        createdOn:
          type: string
          format: date-time
        company:
          oneOf:
          - $ref: '#/components/schemas/Company'
    TemplateFont:
      type: integer
      description: '1 = ChatThai

        3 = Rsu'
      x-enumNames:
      - ChatThai
      - Rsu
      enum:
      - 1
      - 3
    SupplierInvoice:
      type: object
      additionalProperties: false
      required:
      - companyId
      - documentDate
      - createdOn
      - modifiedOn
      properties:
        id:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        documentDate:
          type: string
          format: date-time
          default: CURRENT_TIMESTAMP
          minLength: 1
        documentSerial:
          type:
          - string
          - 'null'
        contactName:
          type:
          - string
          - 'null'
        contactTaxId:
          type:
          - string
          - 'null'
        contactBranch:
          type:
          - string
          - 'null'
        isDelete:
          type: boolean
        galleryId:
          type:
          - integer
          - 'null'
          format: int64
        referenceDocumentId:
          type: integer
          format: int64
        referenceDocumentType:
          $ref: '#/components/schemas/DocumentTypes'
        createdBy:
          type: integer
          format: int64
        modifiedBy:
          type: integer
          format: int64
        createdOn:
          type: string
          format: date-time
          default: CURRENT_TIMESTAMP
          minLength: 1
        modifiedOn:
          type: string
          format: date-time
          default: CURRENT_TIMESTAMP
          minLength: 1
        company:
          oneOf:
          - $ref: '#/components/schemas/Company'
        createdByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        modifiedByUser:
          oneOf:
          - $ref: '#/components/schemas/User'
        gallery:
          oneOf:
          - $ref: '#/components/schemas/Gallery'
    ExpenseStatus:
      type: integer
      description: '1 = Awaiting

        3 = Approved

        4 = PendingPayment

        5 = Paid

        6 = PaidByPaymentSlip

        7 = Void

        9 = ApprovedAndProcessed

        11 = Received

        23 = ReceivedByPaymentSlip'
      x-enumNames:
      - Awaiting
      - Approved
      - PendingPayment
      - Paid
      - PaidByPaymentSlip
      - Void
      - ApprovedAndProcessed
      - Received
      - ReceivedByPaymentSlip
      enum:
      - 1
      - 3
      - 4
      - 5
      - 6
      - 7
      - 9
      - 11
      - 23
    DeductionType:
      type: integer
      description: '0 = None

        1 = CashDiscount

        3 = Commission

        5 = ManagementFee

        7 = Roundings

        9 = Retentions'
      x-enumNames:
      - None
      - CashDiscount
      - Commission
      - ManagementFee
      - Roundings
      - Retentions
      enum:
      - 0
      - 1
      - 3
      - 5
      - 7
      - 9
    FilterOptions:
      type: object
      additionalProperties: false
      properties:
        columnName:
          type:
          - string
          - 'null'
        columnValue:
          type:
          - string
          - 'null'
        columnPredicateOperator:
          $ref: '#/components/schemas/PredicateOperator'
    Bank:
      type: object
      additionalProperties: false
      required:
      - name
      - bankCode
      properties:
        name:
          type: string
          minLength: 1
        countryCode:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        id:
          type: integer
          format: int32
        bankCode:
          type: string
          maxLength: 20
          minLength: 0
        isDelete:
          type: boolean
        orderNumber:
          type: integer
          format: int32
        url:
          type:
          - string
          - 'null'
          maxLength: 255
          minLength: 0
        isCustomBank:
          type: boolean
        bankAccount:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/BankAccount'
        reconciledDocument:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ReconciledDocument'
    ChartOfAccountCategory:
      type: integer
      description: '1 = Assets

        2 = Liabilities

        3 = Equity

        4 = Revenue

        5 = Expenses'
      x-enumNames:
      - Assets
      - Liabilities
      - Equity
      - Revenue
      - Expenses
      enum:
      - 1
      - 2
      - 3
      - 4
      - 5
    ConditionsOfWithholdingTax:
      type: integer
      description: '1 = WithholdsTaxAtSource

        2 = PayEveryTime

        3 = PayOneTime'
      x-enumNames:
      - WithholdsTaxAtSource
      - PayEveryTime
      - PayOneTime
      enum:
      - 1
      - 2
      - 3
    OtherChannelsType:
      type: integer
      description: '1 = Receive

        3 = ReceivePay

        5 = Pay'
      x-enumNames:
      - Receive
      - ReceivePay
      - Pay
      enum:
      - 1
      - 3
      - 5
    PartialPaymentMethod:
      type: integer
      description: '0 = Default

        1 = None

        3 = Quantity

        5 = Price

        7 = Percentage

        11 = RECPartial'
      x-enumNames:
      - Default
      - None
      - Quantity
      - Price
      - Percentage
      - RECPartial
      enum:
      - 0
      - 1
      - 3
      - 5
      - 7
      - 11
    ProductNonInventoryType:
      type: integer
      description: '1 = NonStockProduct

        3 = SparepartProduct

        5 = SampleProduct

        7 = FreemiumProduct

        9 = SupplyProduct

        11 = OthersProduct'
      x-enumNames:
      - NonStockProduct
      - SparepartProduct
      - SampleProduct
      - FreemiumProduct
      - SupplyProduct
      - OthersProduct
      enum:
      - 1
      - 3
      - 5
      - 7
      - 9
      - 11
    Company:
      type: object
      additionalProperties: false
      required:
      - nameLocal
      - createdOn
      - modifiedOn
      - contactType
      - logoType
      - isAdvance
      properties:
        id:
          type: integer
          format: int64
        nameLocal:
          type: string
          minLength: 1
        nameForeign:
          type:
          - string
          - 'null'
        addressLocal:
          type:
          - string
          - 'null'
        addressForeign:
          type:
          - string
          - 'null'
        companyTaxId:
          type:
          - string
          - 'null'
        logoImage:
          type:
          - string
          - 'null'
        fax:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        phone1:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        phone2:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        phone3:
          type:
          - string
          - 'null'
          maxLength: 50
          minLength: 0
        websites:
          type:
          - string
          - 'null'
    

# --- truncated at 32 KB (141 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/flowaccount/refs/heads/main/openapi/flowaccount-employee-api-openapi.yml