# Validate Documents Json

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /Documents/Validations/Json:
    post:
      summary: Validate Documents Json
      deprecated: false
      description: ''
      tags:
        - eTaxGo/Document Management/Validate Documents
        - ETaxGo
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataImportModel'
            example: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Validate:
                    type: boolean
                    description: ผลตรวจสอบข้อมูล
                  ErrorMessage:
                    type: string
                    description: >-
                      ข้อความ Error: แจ้งผลการตรวจสอบข้อมูลล้มเหลง
                      (ข้อมูลไม่ตรงหรือผิด)
                      โดยจะบอกข้อผิดพลาดทั้งหมดในข้อมูลที่ส่งมา
                  Items:
                    type: array
                    items:
                      type: object
                      properties:
                        Validate:
                          type: boolean
                          description: ผลตรวจสอบข้อมูล
                        ValidateEmail:
                          type: boolean
                          description: ผลตรวจสอบอีเมล
                        ValidateSms:
                          type: boolean
                          description: ผลตรวจสอบเบอร์สำหรับส่ง SMS
                        ErrorMessage:
                          type: string
                          description: >-
                            ข้อความ Error: แจ้งผลการตรวจสอบข้อมูลล้มเหลง
                            (ข้อมูลไม่ตรงหรือผิด)
                            โดยจะบอกข้อผิดพลาดทั้งหมดในข้อมูลที่ส่งมา
                        WarningMessage:
                          type: string
                          description: >-
                            ข้อความเตือน: ไม่มีผลต่อการสร้างเอกสาร
                            แต่จะกระทบการทำงานอื่น ๆ เช่น Email ไม่ถูกต้อง
                            ทำให้ไม่สามารถส่ง Email ได้
                        DocumentNo:
                          type: string
                          description: เลขที่เอกสาร
                      x-apidog-orders:
                        - Validate
                        - ValidateEmail
                        - ValidateSms
                        - ErrorMessage
                        - WarningMessage
                        - DocumentNo
                      x-apidog-ignore-properties: []
                    description: รายการ
                required:
                  - Validate
                  - ErrorMessage
                  - Items
                x-apidog-orders:
                  - Validate
                  - ErrorMessage
                  - Items
                x-apidog-ignore-properties: []
              example:
                validate: true
                errorMessage: ''
                items:
                  - validate: true
                    validateEmail: true
                    validateSms: true
                    errorMessage: ''
                    warningMessage: ''
                    documentNo: 123456789AB
          headers: {}
          x-apidog-name: Success
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Forbidden
        x-200:User authentication required V2.:
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Required%20authorization'
                  status:
                    $ref: '#/components/schemas/Response%20Error%20Msg%20'
                required:
                  - data
                  - status
                x-apidog-orders:
                  - data
                  - status
                x-apidog-ignore-properties: []
              example:
                data:
                  subCode: E9103
                  description: Authorization credentials required
                  metadata: {}
                status:
                  code: '4001'
                  description: Business error with 1 errors
          headers: {}
          x-apidog-name: User authentication required V2.
      security:
        - bearerAuth: []
          x-apidog:
            schemeGroups:
              - id: uyL_cJmK7q60QJZRTi5ot
                schemeIds:
                  - bearerAuth
            required: true
            use:
              id: uyL_cJmK7q60QJZRTi5ot
            scopes:
              uyL_cJmK7q60QJZRTi5ot:
                bearerAuth: []
      x-apidog-folder: eTaxGo/Document Management/Validate Documents
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-3627543-run
components:
  schemas:
    DataImportModel:
      type: object
      properties:
        deliveryModels:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryModel'
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - deliveryModels
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DeliveryModel:
      type: object
      properties:
        deliveryInfo:
          $ref: '#/components/schemas/DeliveryInfo'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
          nullable: true
        eTaxNo:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - deliveryInfo
        - documents
        - eTaxNo
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Document:
      type: object
      properties:
        header:
          $ref: '#/components/schemas/Header'
        details:
          type: array
          items:
            $ref: '#/components/schemas/Detail'
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - header
        - details
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Detail:
      type: object
      properties:
        includedSupplyChainTradeLineItem:
          $ref: '#/components/schemas/DIncludedSupplyChainTradeLineItem'
        applicableTradeTax:
          $ref: '#/components/schemas/DApplicableTradeTax'
        specifiedTradeAllowance:
          $ref: '#/components/schemas/DSpecifiedTradeAllowance'
        specifiedTradeSettlementMonetarySummation:
          $ref: '#/components/schemas/DSpecifiedTradeSettlementMonetarySummation'
        custom: &ref_0
          $ref: '#/components/schemas/DCustom'
        subDetails:
          type: array
          items: *ref_0
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - includedSupplyChainTradeLineItem
        - applicableTradeTax
        - specifiedTradeAllowance
        - specifiedTradeSettlementMonetarySummation
        - custom
        - subDetails
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DCustom:
      type: object
      properties:
        custom01:
          type: string
          nullable: true
        custom02:
          type: string
          nullable: true
        custom03:
          type: string
          nullable: true
        custom04:
          type: string
          nullable: true
        custom05:
          type: string
          nullable: true
        custom06:
          type: string
          nullable: true
        custom07:
          type: string
          nullable: true
        custom08:
          type: string
          nullable: true
        custom09:
          type: string
          nullable: true
        custom10:
          type: string
          nullable: true
        custom11:
          type: string
          nullable: true
        custom12:
          type: string
          nullable: true
        custom13:
          type: string
          nullable: true
        custom14:
          type: string
          nullable: true
        custom15:
          type: string
          nullable: true
        custom16:
          type: string
          nullable: true
        custom17:
          type: string
          nullable: true
        custom18:
          type: string
          nullable: true
        custom19:
          type: string
          nullable: true
        custom20:
          type: string
          nullable: true
        custom21:
          type: string
          nullable: true
        custom22:
          type: string
          nullable: true
        custom23:
          type: string
          nullable: true
        custom24:
          type: string
          nullable: true
        custom25:
          type: string
          nullable: true
        custom26:
          type: string
          nullable: true
        custom27:
          type: string
          nullable: true
        custom28:
          type: string
          nullable: true
        custom29:
          type: string
          nullable: true
        custom30:
          type: string
          nullable: true
        custom31:
          type: string
          nullable: true
        custom32:
          type: string
          nullable: true
        custom33:
          type: string
          nullable: true
        custom34:
          type: string
          nullable: true
        custom35:
          type: string
          nullable: true
        custom36:
          type: string
          nullable: true
        custom37:
          type: string
          nullable: true
        custom38:
          type: string
          nullable: true
        custom39:
          type: string
          nullable: true
        custom40:
          type: string
          nullable: true
        custom41:
          type: string
          nullable: true
        custom42:
          type: string
          nullable: true
        custom43:
          type: string
          nullable: true
        custom44:
          type: string
          nullable: true
        custom45:
          type: string
          nullable: true
        custom46:
          type: string
          nullable: true
        custom47:
          type: string
          nullable: true
        custom48:
          type: string
          nullable: true
        custom49:
          type: string
          nullable: true
        custom50:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - custom01
        - custom02
        - custom03
        - custom04
        - custom05
        - custom06
        - custom07
        - custom08
        - custom09
        - custom10
        - custom11
        - custom12
        - custom13
        - custom14
        - custom15
        - custom16
        - custom17
        - custom18
        - custom19
        - custom20
        - custom21
        - custom22
        - custom23
        - custom24
        - custom25
        - custom26
        - custom27
        - custom28
        - custom29
        - custom30
        - custom31
        - custom32
        - custom33
        - custom34
        - custom35
        - custom36
        - custom37
        - custom38
        - custom39
        - custom40
        - custom41
        - custom42
        - custom43
        - custom44
        - custom45
        - custom46
        - custom47
        - custom48
        - custom49
        - custom50
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DSpecifiedTradeSettlementMonetarySummation:
      type: object
      properties:
        taxTotalAmount:
          type: string
          nullable: true
        netLineTotalAmount:
          type: string
          nullable: true
        netIncludingTaxesLineTotalAmount:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - taxTotalAmount
        - netLineTotalAmount
        - netIncludingTaxesLineTotalAmount
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DSpecifiedTradeAllowance:
      type: object
      properties:
        chargeIndicator:
          type: string
          nullable: true
        actualAmount:
          type: string
          nullable: true
        reasonCode:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - chargeIndicator
        - actualAmount
        - reasonCode
        - reason
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DApplicableTradeTax:
      type: object
      properties:
        typeCode:
          type: string
          nullable: true
        calculatedRate:
          type: string
          nullable: true
        basisAmount:
          type: string
          nullable: true
        calculatedAmount:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - typeCode
        - calculatedRate
        - basisAmount
        - calculatedAmount
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DIncludedSupplyChainTradeLineItem:
      type: object
      properties:
        lineId:
          type: string
          nullable: true
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        chargeAmount:
          type: string
          nullable: true
        billedQuantity:
          type: string
          nullable: true
        billedQuantityUnit:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - lineId
        - id
        - name
        - chargeAmount
        - billedQuantity
        - billedQuantityUnit
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Header:
      type: object
      properties:
        exchangedDocument:
          $ref: '#/components/schemas/HExchangedDocument'
        sellerTradeParty:
          $ref: '#/components/schemas/HSellerTradeParty'
        buyerTradeParty:
          $ref: '#/components/schemas/HBuyerTradeParty'
        additionalReferencedDocument:
          $ref: '#/components/schemas/HAdditionalReferencedDocument'
        applicableTradeTax:
          $ref: '#/components/schemas/HApplicableTradeTax'
        specifiedTradeAllowance:
          $ref: '#/components/schemas/HSpecifiedTradeAllowance'
        specifiedTradeCharge:
          $ref: '#/components/schemas/HSpecifiedTradeCharge'
        specifiedTradeSettlementHeaderMonetarySummation:
          $ref: >-
            #/components/schemas/HSpecifiedTradeSettlementHeaderMonetarySummation
        custom:
          $ref: '#/components/schemas/HCustom'
      additionalProperties: false
      x-apidog-orders:
        - exchangedDocument
        - sellerTradeParty
        - buyerTradeParty
        - additionalReferencedDocument
        - applicableTradeTax
        - specifiedTradeAllowance
        - specifiedTradeCharge
        - specifiedTradeSettlementHeaderMonetarySummation
        - custom
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HCustom:
      type: object
      properties:
        custom01:
          type: string
          nullable: true
        custom02:
          type: string
          nullable: true
        custom03:
          type: string
          nullable: true
        custom04:
          type: string
          nullable: true
        custom05:
          type: string
          nullable: true
        custom06:
          type: string
          nullable: true
        custom07:
          type: string
          nullable: true
        custom08:
          type: string
          nullable: true
        custom09:
          type: string
          nullable: true
        custom10:
          type: string
          nullable: true
        custom11:
          type: string
          nullable: true
        custom12:
          type: string
          nullable: true
        custom13:
          type: string
          nullable: true
        custom14:
          type: string
          nullable: true
        custom15:
          type: string
          nullable: true
        custom16:
          type: string
          nullable: true
        custom17:
          type: string
          nullable: true
        custom18:
          type: string
          nullable: true
        custom19:
          type: string
          nullable: true
        custom20:
          type: string
          nullable: true
        custom21:
          type: string
          nullable: true
        custom22:
          type: string
          nullable: true
        custom23:
          type: string
          nullable: true
        custom24:
          type: string
          nullable: true
        custom25:
          type: string
          nullable: true
        custom26:
          type: string
          nullable: true
        custom27:
          type: string
          nullable: true
        custom28:
          type: string
          nullable: true
        custom29:
          type: string
          nullable: true
        custom30:
          type: string
          nullable: true
        custom31:
          type: string
          nullable: true
        custom32:
          type: string
          nullable: true
        custom33:
          type: string
          nullable: true
        custom34:
          type: string
          nullable: true
        custom35:
          type: string
          nullable: true
        custom36:
          type: string
          nullable: true
        custom37:
          type: string
          nullable: true
        custom38:
          type: string
          nullable: true
        custom39:
          type: string
          nullable: true
        custom40:
          type: string
          nullable: true
        custom41:
          type: string
          nullable: true
        custom42:
          type: string
          nullable: true
        custom43:
          type: string
          nullable: true
        custom44:
          type: string
          nullable: true
        custom45:
          type: string
          nullable: true
        custom46:
          type: string
          nullable: true
        custom47:
          type: string
          nullable: true
        custom48:
          type: string
          nullable: true
        custom49:
          type: string
          nullable: true
        custom50:
          type: string
          nullable: true
        custom51:
          type: string
          nullable: true
        custom52:
          type: string
          nullable: true
        custom53:
          type: string
          nullable: true
        custom54:
          type: string
          nullable: true
        custom55:
          type: string
          nullable: true
        custom56:
          type: string
          nullable: true
        custom57:
          type: string
          nullable: true
        custom58:
          type: string
          nullable: true
        custom59:
          type: string
          nullable: true
        custom60:
          type: string
          nullable: true
        custom61:
          type: string
          nullable: true
        custom62:
          type: string
          nullable: true
        custom63:
          type: string
          nullable: true
        custom64:
          type: string
          nullable: true
        custom65:
          type: string
          nullable: true
        custom66:
          type: string
          nullable: true
        custom67:
          type: string
          nullable: true
        custom68:
          type: string
          nullable: true
        custom69:
          type: string
          nullable: true
        custom70:
          type: string
          nullable: true
        custom71:
          type: string
          nullable: true
        custom72:
          type: string
          nullable: true
        custom73:
          type: string
          nullable: true
        custom74:
          type: string
          nullable: true
        custom75:
          type: string
          nullable: true
        custom76:
          type: string
          nullable: true
        custom77:
          type: string
          nullable: true
        custom78:
          type: string
          nullable: true
        custom79:
          type: string
          nullable: true
        custom80:
          type: string
          nullable: true
        custom81:
          type: string
          nullable: true
        custom82:
          type: string
          nullable: true
        custom83:
          type: string
          nullable: true
        custom84:
          type: string
          nullable: true
        custom85:
          type: string
          nullable: true
        custom86:
          type: string
          nullable: true
        custom87:
          type: string
          nullable: true
        custom88:
          type: string
          nullable: true
        custom89:
          type: string
          nullable: true
        custom90:
          type: string
          nullable: true
        custom91:
          type: string
          nullable: true
        custom92:
          type: string
          nullable: true
        custom93:
          type: string
          nullable: true
        custom94:
          type: string
          nullable: true
        custom95:
          type: string
          nullable: true
        custom96:
          type: string
          nullable: true
        custom97:
          type: string
          nullable: true
        custom98:
          type: string
          nullable: true
        custom99:
          type: string
          nullable: true
        custom100:
          type: string
          nullable: true
        custom101:
          type: string
          nullable: true
        custom102:
          type: string
          nullable: true
        custom103:
          type: string
          nullable: true
        custom104:
          type: string
          nullable: true
        custom105:
          type: string
          nullable: true
        custom106:
          type: string
          nullable: true
        custom107:
          type: string
          nullable: true
        custom108:
          type: string
          nullable: true
        custom109:
          type: string
          nullable: true
        custom110:
          type: string
          nullable: true
        custom111:
          type: string
          nullable: true
        custom112:
          type: string
          nullable: true
        custom113:
          type: string
          nullable: true
        custom114:
          type: string
          nullable: true
        custom115:
          type: string
          nullable: true
        custom116:
          type: string
          nullable: true
        custom117:
          type: string
          nullable: true
        custom118:
          type: string
          nullable: true
        custom119:
          type: string
          nullable: true
        custom120:
          type: string
          nullable: true
        custom121:
          type: string
          nullable: true
        custom122:
          type: string
          nullable: true
        custom123:
          type: string
          nullable: true
        custom124:
          type: string
          nullable: true
        custom125:
          type: string
          nullable: true
        custom126:
          type: string
          nullable: true
        custom127:
          type: string
          nullable: true
        custom128:
          type: string
          nullable: true
        custom129:
          type: string
          nullable: true
        custom130:
          type: string
          nullable: true
        custom131:
          type: string
          nullable: true
        custom132:
          type: string
          nullable: true
        custom133:
          type: string
          nullable: true
        custom134:
          type: string
          nullable: true
        custom135:
          type: string
          nullable: true
        custom136:
          type: string
          nullable: true
        custom137:
          type: string
          nullable: true
        custom138:
          type: string
          nullable: true
        custom139:
          type: string
          nullable: true
        custom140:
          type: string
          nullable: true
        custom141:
          type: string
          nullable: true
        custom142:
          type: string
          nullable: true
        custom143:
          type: string
          nullable: true
        custom144:
          type: string
          nullable: true
        custom145:
          type: string
          nullable: true
        custom146:
          type: string
          nullable: true
        custom147:
          type: string
          nullable: true
        custom148:
          type: string
          nullable: true
        custom149:
          type: string
          nullable: true
        custom150:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - custom01
        - custom02
        - custom03
        - custom04
        - custom05
        - custom06
        - custom07
        - custom08
        - custom09
        - custom10
        - custom11
        - custom12
        - custom13
        - custom14
        - custom15
        - custom16
        - custom17
        - custom18
        - custom19
        - custom20
        - custom21
        - custom22
        - custom23
        - custom24
        - custom25
        - custom26
        - custom27
        - custom28
        - custom29
        - custom30
        - custom31
        - custom32
        - custom33
        - custom34
        - custom35
        - custom36
        - custom37
        - custom38
        - custom39
        - custom40
        - custom41
        - custom42
        - custom43
        - custom44
        - custom45
        - custom46
        - custom47
        - custom48
        - custom49
        - custom50
        - custom51
        - custom52
        - custom53
        - custom54
        - custom55
        - custom56
        - custom57
        - custom58
        - custom59
        - custom60
        - custom61
        - custom62
        - custom63
        - custom64
        - custom65
        - custom66
        - custom67
        - custom68
        - custom69
        - custom70
        - custom71
        - custom72
        - custom73
        - custom74
        - custom75
        - custom76
        - custom77
        - custom78
        - custom79
        - custom80
        - custom81
        - custom82
        - custom83
        - custom84
        - custom85
        - custom86
        - custom87
        - custom88
        - custom89
        - custom90
        - custom91
        - custom92
        - custom93
        - custom94
        - custom95
        - custom96
        - custom97
        - custom98
        - custom99
        - custom100
        - custom101
        - custom102
        - custom103
        - custom104
        - custom105
        - custom106
        - custom107
        - custom108
        - custom109
        - custom110
        - custom111
        - custom112
        - custom113
        - custom114
        - custom115
        - custom116
        - custom117
        - custom118
        - custom119
        - custom120
        - custom121
        - custom122
        - custom123
        - custom124
        - custom125
        - custom126
        - custom127
        - custom128
        - custom129
        - custom130
        - custom131
        - custom132
        - custom133
        - custom134
        - custom135
        - custom136
        - custom137
        - custom138
        - custom139
        - custom140
        - custom141
        - custom142
        - custom143
        - custom144
        - custom145
        - custom146
        - custom147
        - custom148
        - custom149
        - custom150
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HSpecifiedTradeSettlementHeaderMonetarySummation:
      type: object
      properties:
        originalInformationAmount:
          type: string
          nullable: true
        lineTotalAmount:
          type: string
          nullable: true
        differenceSalesInformationAmount:
          type: string
          nullable: true
        allowanceTotalAmount:
          type: string
          nullable: true
        chargeTotalAmount:
          type: string
          nullable: true
        taxBasisTotalAmount:
          type: string
          nullable: true
        taxTotalAmount:
          type: string
          nullable: true
        grandTotalAmount:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - originalInformationAmount
        - lineTotalAmount
        - differenceSalesInformationAmount
        - allowanceTotalAmount
        - chargeTotalAmount
        - taxBasisTotalAmount
        - taxTotalAmount
        - grandTotalAmount
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HSpecifiedTradeCharge:
      type: object
      properties:
        chargeIndicator:
          type: string
          nullable: true
        actualAmount:
          type: string
          nullable: true
        reasonCode:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - chargeIndicator
        - actualAmount
        - reasonCode
        - reason
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HSpecifiedTradeAllowance:
      type: object
      properties:
        chargeIndicator:
          type: string
          nullable: true
        actualAmount:
          type: string
          nullable: true
        reasonCode:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - chargeIndicator
        - actualAmount
        - reasonCode
        - reason
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HApplicableTradeTax:
      type: object
      properties:
        currencyCode:
          type: string
          nullable: true
        typeCode:
          type: string
          nullable: true
        calculatedRate:
          type: string
          nullable: true
        basisAmount:
          type: string
          nullable: true
        calculatedAmount:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - currencyCode
        - typeCode
        - calculatedRate
        - basisAmount
        - calculatedAmount
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HAdditionalReferencedDocument:
      type: object
      properties:
        issueAssignedId:
          type: string
          nullable: true
        issueDateTime:
          type: string
          nullable: true
        referenceTypeCode:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - issueAssignedId
        - issueDateTime
        - referenceTypeCode
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HBuyerTradeParty:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        taxId:
          type: string
          nullable: true
        taxIdSchemeId:
          type: string
          nullable: true
        postcode:
          type: string
          nullable: true
        buildingName:
          type: string
          nullable: true
        addressLine1:
          type: string
          nullable: true
        addressLine2:
          type: string
          nullable: true
        line3:
          type: string
          nullable: true
        line4:
          type: string
          nullable: true
        line5:
          type: string
          nullable: true
        streetName:
          type: string
          nullable: true
        cityName:
          type: string
          nullable: true
        citySubDivisionName:
          type: string
          nullable: true
        countryId:
          type: string
          nullable: true
        countrySubDivisionName:
          type: string
          nullable: true
        buildingNumber:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - id
        - name
        - taxId
        - taxIdSchemeId
        - postcode
        - buildingName
        - addressLine1
        - addressLine2
        - line3
        - line4
        - line5
        - streetName
        - cityName
        - citySubDivisionName
        - countryId
        - countrySubDivisionName
        - buildingNumber
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HSellerTradeParty:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        taxId:
          type: string
          nullable: true
        postcode:
          type: string
          nullable: true
        buildingName:
          type: string
          nullable: true
        addressLine1:
          type: string
          nullable: true
        addressLine2:
          type: string
          nullable: true
        line3:
          type: string
          nullable: true
        line4:
          type: string
          nullable: true
        line5:
          type: string
          nullable: true
        streetName:
          type: string
          nullable: true
        cityName:
          type: string
          nullable: true
        citySubDivisionName:
          type: string
          nullable: true
        countryId:
          type: string
          nullable: true
        countrySubDivisionName:
          type: string
          nullable: true
        buildingNumber:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - id
        - name
        - taxId
        - postcode
        - buildingName
        - addressLine1
        - addressLine2
        - line3
        - line4
        - line5
        - streetName
        - cityName
        - citySubDivisionName
        - countryId
        - countrySubDivisionName
        - buildingNumber
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HExchangedDocument:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        typeCode:
          type: string
          nullable: true
        issueDateTime:
          type: string
          nullable: true
        purpose:
          type: string
          nullable: true
        purposeCode:
          type: string
          nullable: true
        creationDateTime:
          type: string
          nullable: true
        subject:
          type: string
          nullable: true
        content:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - id
        - name
        - typeCode
        - issueDateTime
        - purpose
        - purposeCode
        - creationDateTime
        - subject
        - content
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DeliveryInfo:
      type: object
      properties:
        emailAddress1:
          type: string
          nullable: true
        emailAddress2:
          type: string
          nullable: true
        customEmailAddresses:
          type: array
          items:
            type: string
          nullable: true
        smsTelNo1:
          type: string
          nullable: true
        customSMSTelNos:
          type: array
          items:
            type: string
          nullable: true
        password:
          type: string
          nullable: true
        printDeiveryType:
          type: string
          nullable: true
        eDeliveryType:
          type: string
          nullable: true
        isAlertbySMS:
          type: string
          nullable: true
        templateToken:
          type: string
          nullable: true
        sendEmailDateTime:
          type: string
          nullable: true
        sendSmsDateTime:
          type: string
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - emailAddress1
        - emailAddress2
        - customEmailAddresses
        - smsTelNo1
        - customSMSTelNos
        - password
        - printDeiveryType
        - eDeliveryType
        - isAlertbySMS
        - templateToken
        - sendEmailDateTime
        - sendSmsDateTime
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    'Response Error Msg ':
      type: object
      properties:
        code:
          type: string
          x-apidog-mock: '4001'
        description:
          type: string
          x-apidog-mock: Business error with 1 errors
      required:
        - code
        - description
      x-apidog-orders:
        - code
        - description
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Required authorization:
      type: object
      properties:
        subCode:
          type: string
          x-apidog-mock: E9103
        description:
          type: string
          x-apidog-mock: Authorization credentials required
        metadata:
          type: object
          properties: {}
          x-apidog-orders: []
          x-apidog-ignore-properties: []
      required:
        - subCode
        - description
        - metadata
      x-apidog-orders:
        - subCode
        - description
        - metadata
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: ใส่ JWT Token ในรูปแบบ Bearer {token}
    bearer:
      type: bearer
      scheme: bearer
servers:
  - url: https://api.gofive.co.th
    description: Production
security:
  - bearerAuth: []
    x-apidog:
      schemeGroups:
        - id: uyL_cJmK7q60QJZRTi5ot
          schemeIds:
            - bearerAuth
      required: true
      use:
        id: uyL_cJmK7q60QJZRTi5ot
      scopes:
        uyL_cJmK7q60QJZRTi5ot:
          bearerAuth: []

```
