openapi: 3.0.3
info:
  title: 'BoCount Dynamics API'
  version: 27.0.251230.1
  description: 'Generated from AL API pages (PageType=API) and API queries (QueryType=API).'
servers:
  -
    url: 'https://api.businesscentral.dynamics.com/v2.0/{tenant}/{environment}'
    description: 'Business Central SaaS'
    variables:
      tenant:
        default: 00000000-0000-0000-0000-000000000000
        description: 'Tenant ID (GUID)'
      environment:
        default: Production
        description: 'Environment name (e.g. Production, Sandbox)'
paths:
  /companies:
    get:
      tags:
        - System
      summary: 'List companies'
      parameters:
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: array
                    items:
                      type: object
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importGeneralJournalLines':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'List importGeneralJournalLines'
      description: 'Generated from AL page 2102225 CFLW1 GenJnlLine Import API.'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines.Collection'
      security:
        -
          bearerAuth: []
    post:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Create importGeneralJournalLine'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importGeneralJournalLines({id})':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Get importGeneralJournalLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
      security:
        -
          bearerAuth: []
    patch:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Update importGeneralJournalLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
      security:
        -
          bearerAuth: []
    delete:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Delete importGeneralJournalLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        204:
          description: 'No Content'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importpurchasedocuments':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'List importpurchasedocuments'
      description: 'Generated from AL page 2102226 CFLW1 Import Purchase API.'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments.Collection'
      security:
        -
          bearerAuth: []
    post:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Create importpurchasedocument'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importpurchasedocuments({id})':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Get importpurchasedocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
      security:
        -
          bearerAuth: []
    patch:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Update importpurchasedocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
      security:
        -
          bearerAuth: []
    delete:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Delete importpurchasedocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        204:
          description: 'No Content'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importpurchasedocuments({id})/importPurchaseDocumentLines':
    get:
      tags:
        - 'dynamate/bocountdynamics/v2.0 (nav)'
      summary: 'List importPurchaseDocumentLines for importpurchasedocuments'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: array
                    items:
                      type: object
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importsalesdocuments':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'List importsalesdocuments'
      description: 'Generated from AL page 2102228 CFLW1 Import Sales Api.'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments.Collection'
      security:
        -
          bearerAuth: []
    post:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Create importsalesdocument'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importsalesdocuments({id})':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Get importsalesdocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
      security:
        -
          bearerAuth: []
    patch:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Update importsalesdocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
      security:
        -
          bearerAuth: []
    delete:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Delete importsalesdocument'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        204:
          description: 'No Content'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importsalesdocuments({id})/importSalesDocumentLines':
    get:
      tags:
        - 'dynamate/bocountdynamics/v2.0 (nav)'
      summary: 'List importSalesDocumentLines for importsalesdocuments'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: array
                    items:
                      type: object
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importSalesDocumentLines':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'List importSalesDocumentLines'
      description: 'Generated from AL page 2102229 CFLW1 Import Sales Line Api.'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines.Collection'
      security:
        -
          bearerAuth: []
    post:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Create importSalesDocumentLine'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importSalesDocumentLines({id})':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Get importSalesDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
      security:
        -
          bearerAuth: []
    patch:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Update importSalesDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
      security:
        -
          bearerAuth: []
    delete:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Delete importSalesDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        204:
          description: 'No Content'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importPurchaseDocumentLines':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'List importPurchaseDocumentLines'
      description: 'Generated from AL page 2102227 CFLW Import Purchase Line Api.'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: '$top'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$skip'
          in: query
          required: false
          schema:
            type: integer
        -
          name: '$filter'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$select'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$orderby'
          in: query
          required: false
          schema:
            type: string
        -
          name: '$expand'
          in: query
          required: false
          schema:
            type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines.Collection'
      security:
        -
          bearerAuth: []
    post:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Create importPurchaseDocumentLine'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
      security:
        -
          bearerAuth: []
  '/api/dynamate/bocountdynamics/v2.0/companies({companyId})/importPurchaseDocumentLines({id})':
    get:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Get importPurchaseDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
      security:
        -
          bearerAuth: []
    patch:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Update importPurchaseDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
      security:
        -
          bearerAuth: []
    delete:
      tags:
        - dynamate/bocountdynamics/v2.0
      summary: 'Delete importPurchaseDocumentLine'
      parameters:
        -
          name: companyId
          in: path
          required: true
          schema:
            type: string
          description: 'Company SystemId (GUID).'
        -
          name: id
          in: path
          required: true
          schema:
            type: string
          description: 'Entity key (SystemId).'
      responses:
        204:
          description: 'No Content'
      security:
        -
          bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Business Central OAuth2 access token as Bearer token.'
  schemas:
    dynamate_bocountdynamics_v2.0.importGeneralJournalLines:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: 'Source: Rec.SystemId'
          readOnly: true
        entryNo:
          type: string
          description: 'Source: rec."CFL Entry No."'
          readOnly: true
        jnlTemplate:
          type: string
          description: 'Source: rec."CFL Journal Template Name"'
        jnlBatchName:
          type: string
          description: 'Source: rec."CFL Journal Batch Name"'
        postingDate:
          type: string
          description: 'Source: rec."CFL Posting Date"'
        accountType:
          type: string
          description: 'Source: rec."CFL Account Type"'
        accountNo:
          type: string
          description: 'Source: rec."CFL Account No."'
        documentType:
          type: string
          description: 'Source: rec."CFL Document Type"'
        documentNo:
          type: string
          description: 'Source: rec."CFL Document No."'
        description:
          type: string
          description: 'Source: rec."CFL Description"'
        currencyCode:
          type: string
          description: 'Source: rec."CFL Currency Code"'
        amount:
          type: string
          description: 'Source: rec."CFL Amount"'
        amountLCY:
          type: string
          description: 'Source: rec."CFL Amount (LCY'
        appliesToDocType:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. Type"'
        appliesToDocNo:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. No."'
        genPostingType:
          type: string
          description: 'Source: rec."CFL Gen. Posting Type"'
        vatBusPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Bus. Posting Group"'
        vatProdPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Prod. Posting Group"'
        licensePlate:
          type: string
          description: 'Source: rec."CFL License Plate"'
        quantityGLAccount:
          type: string
          description: 'Source: rec."CFLW1 Quantity G/L Account"'
        shortCutDimension1Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 1 Code"'
        shortCutDimension2Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 2 Code"'
        shortCutDimension3Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 3 Code"'
        shortCutDimension4Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 4 Code"'
        shortCutDimension5Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 5 Code"'
        shortCutDimension6Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 6 Code"'
        shortCutDimension7Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 7 Code"'
        shortCutDimension8Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 8 Code"'
        dimensionSetID:
          type: string
          description: 'Source: rec."CFL Dimension Set ID"'
          readOnly: true
        errorMessage:
          type: string
          description: 'Source: rec."CFL Error Message"'
          readOnly: true
        posted:
          type: string
          description: 'Source: rec."CFL Posted"'
          readOnly: true
        '@x-odataKeyFields':
          type: string
          description: 'ODataKeyFields: SystemId'
          readOnly: true
    dynamate_bocountdynamics_v2.0.importGeneralJournalLines.Collection:
      type: object
      properties:
        value:
          type: array
          items:
            '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importGeneralJournalLines'
    dynamate_bocountdynamics_v2.0.importpurchasedocuments:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: 'Source: rec.SystemId'
          readOnly: true
        contentstring:
          type: string
          description: 'Source: ContentString'
        documentType:
          type: string
          description: 'Source: rec."CFL Document Type"'
        documentNo:
          type: string
          description: 'Source: rec."CFL Document No."'
        vendorNo:
          type: string
          description: 'Source: rec."CFL Buy-from Vendor No."'
        name:
          type: string
          description: 'Source: rec."CFL Name"'
        payToVendorNo:
          type: string
          description: 'Source: rec."CFL Pay-to Vendor No."'
        payToName:
          type: string
          description: 'Source: rec."CFL Pay-to Name"'
        vendorDocumentNo:
          type: string
          description: 'Source: rec."CFL Vendor Document No."'
        postingDescription:
          type: string
          description: 'Source: rec."CFl Posting Description"'
        standardFormatMessage:
          type: string
          description: 'Source: rec."CFL Standard Format Message"'
        yourReference:
          type: string
          description: 'Source: rec."CFL Your Reference"'
        locationCode:
          type: string
          description: 'Source: rec."CFL Location Code"'
        journalTemplateName:
          type: string
          description: 'Source: rec."CFL Journal Template Name"'
        postingDate:
          type: string
          description: 'Source: rec."CFL Posting Date"'
        documentDate:
          type: string
          description: 'Source: rec."CFL Document Date"'
        dueDate:
          type: string
          description: 'Source: rec."CFL Due Date"'
        paymentDiscountPct:
          type: string
          description: 'Source: rec."CFL Payment Discount %"'
        pmtDiscountDate:
          type: string
          description: 'Source: rec."CFL Pmt. Discount Date"'
        vatBaseDiscountPct:
          type: string
          description: 'Source: rec."CFL VAT Base Discount %"'
        currencyCode:
          type: string
          description: 'Source: rec."CFL Currency Code"'
        currencyFactor:
          type: string
          description: 'Source: rec."CFL Currency Factor"'
        vatBusPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Bus. Posting Group"'
        invoiceDiscountAmount:
          type: string
          description: 'Source: rec."CFL Invoice Discount Amount"'
        docAmountInclVAT:
          type: string
          description: 'Source: rec."CFL Doc. Amount Incl. VAT"'
        docAmountVAT:
          type: string
          description: 'Source: rec."CFL Doc. Amount VAT"'
        shortcutDimension1Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 1 Code"'
        shortcutDimension2Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 2 Code"'
        eloID:
          type: string
          description: 'Source: rec."CFL ELOID"'
        cflArea:
          type: string
          description: 'Source: rec."CFL Area"'
        transactionSpecification:
          type: string
          description: 'Source: rec."CFL Transaction Specification"'
        transactionType:
          type: string
          description: 'Source: rec."CFL Transaction Type"'
        transportMethod:
          type: string
          description: 'Source: rec."CFL Transport Method"'
        paymentMethod:
          type: string
          description: 'Source: rec."CFL Payment Method Code"'
        paymentTermsCode:
          type: string
          description: 'Source: rec."CFL Payment Terms Code"'
        onHold:
          type: string
          description: 'Source: rec."CFL On Hold"'
        docImage:
          type: string
          description: 'Source: PDFBase64String'
        docNotes:
          type: string
          description: 'Source: NotesString'
        deletedDocument:
          type: string
          description: 'Source: rec."CFL Deleted Document"'
        appliesToDocType:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. Type"'
        appliesToDocNo:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. No."'
        createdDocType:
          type: string
          description: 'Source: rec."CFL Created Doc Type"'
          readOnly: true
        createdDocSubtype:
          type: string
          description: 'Source: rec."CFL Created Doc Subtype"'
          readOnly: true
        createdDocNo:
          type: string
          description: 'Source: rec."CFL Created Doc No."'
          readOnly: true
        errorMessage:
          type: string
          description: 'Source: rec."CFL Error Message"'
          readOnly: true
        '@x-odataKeyFields':
          type: string
          description: 'ODataKeyFields: SystemId'
          readOnly: true
    dynamate_bocountdynamics_v2.0.importpurchasedocuments.Collection:
      type: object
      properties:
        value:
          type: array
          items:
            '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importpurchasedocuments'
    dynamate_bocountdynamics_v2.0.importsalesdocuments:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: 'Source: rec.SystemId'
          readOnly: true
        contentstring:
          type: string
          description: 'Source: ContentString'
        service:
          type: string
          description: 'Source: rec."CFL Service"'
        documentType:
          type: string
          description: 'Source: rec."CFL Document Type"'
        documentNo:
          type: string
          description: 'Source: rec."CFL Document No."'
        customerNo:
          type: string
          description: 'Source: rec."CFL Sell-to Customer No."'
        name:
          type: string
          description: 'Source: rec."CFL Name"'
        postingDescription:
          type: string
          description: 'Source: rec."CFl Posting Description"'
        standardFormatMessage:
          type: string
          description: 'Source: rec."CFL Standard Format Message"'
        yourReference:
          type: string
          description: 'Source: rec."CFL Your Reference"'
        externalDocumentNo:
          type: string
          description: 'Source: rec."CFL External Document No."'
        locationCode:
          type: string
          description: 'Source: rec."CFL Location Code"'
        journalTemplateName:
          type: string
          description: 'Source: rec."CFL Journal Template Name"'
        postingDate:
          type: string
          description: 'Source: rec."CFL Posting Date"'
        documentDate:
          type: string
          description: 'Source: rec."CFL Document Date"'
        dueDate:
          type: string
          description: 'Source: rec."CFL Due Date"'
        paymentDiscountPct:
          type: string
          description: 'Source: rec."CFL Payment Discount %"'
        pmtDiscountDate:
          type: string
          description: 'Source: rec."CFL Pmt. Discount Date"'
        vatBaseDiscountPct:
          type: string
          description: 'Source: rec."CFL VAT Base Discount %"'
        currencyCode:
          type: string
          description: 'Source: rec."CFL Currency Code"'
        currencyFactor:
          type: string
          description: 'Source: rec."CFL Currency Factor"'
        vatBusPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Bus. Posting Group"'
        invoiceDiscountAmount:
          type: string
          description: 'Source: rec."CFL Invoice Discount Amount"'
        docAmountInclVAT:
          type: string
          description: 'Source: rec."CFL Doc. Amount Incl. VAT"'
        docAmountVAT:
          type: string
          description: 'Source: rec."CFL Doc. Amount VAT"'
        shortcutDimension1Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 1 Code"'
        shortcutDimension2Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 2 Code"'
        eloID:
          type: string
          description: 'Source: rec."CFL ELOID"'
        eu3PartyTrade:
          type: string
          description: 'Source: rec."CFL EU 3-Party Trade"'
        cflArea:
          type: string
          description: 'Source: rec."CFL Area"'
        transactionSpecification:
          type: string
          description: 'Source: rec."CFL Transaction Specification"'
        transactionType:
          type: string
          description: 'Source: rec."CFL Transaction Type"'
        transportMethod:
          type: string
          description: 'Source: rec."CFL Transport Method"'
        paymentMethod:
          type: string
          description: 'Source: rec."CFL Payment Method Code"'
        paymentTermsCode:
          type: string
          description: 'Source: rec."CFL Payment Terms Code"'
        docImage:
          type: string
          description: 'Source: PDFBase64String'
        docNotes:
          type: string
          description: 'Source: NotesString'
        deletedDocument:
          type: string
          description: 'Source: rec."CFL Deleted Document"'
        appliesToDocType:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. Type"'
        appliesToDocNo:
          type: string
          description: 'Source: rec."CFL Applies-to Doc. No."'
        createdDocType:
          type: string
          description: 'Source: rec."CFL Created Doc Type"'
          readOnly: true
        createdDocSubtype:
          type: string
          description: 'Source: rec."CFL Created Doc Subtype"'
          readOnly: true
        createdDocNo:
          type: string
          description: 'Source: rec."CFL Created Doc No."'
          readOnly: true
        errorMessage:
          type: string
          description: 'Source: rec."CFL Error Message"'
          readOnly: true
        '@x-odataKeyFields':
          type: string
          description: 'ODataKeyFields: SystemId'
          readOnly: true
    dynamate_bocountdynamics_v2.0.importsalesdocuments.Collection:
      type: object
      properties:
        value:
          type: array
          items:
            '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importsalesdocuments'
    dynamate_bocountdynamics_v2.0.importSalesDocumentLines:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: 'Source: rec.SystemId'
          readOnly: true
        documentType:
          type: string
          description: 'Source: rec."CFL Document Type"'
        documentNo:
          type: string
          description: 'Source: rec."CFL Document No."'
        lineNo:
          type: string
          description: 'Source: rec."CFL Line No."'
        type:
          type: string
          description: 'Source: rec."CFL Type"'
        no:
          type: string
          description: 'Source: rec."CFL No."'
        vatBusPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Bus. Posting Group"'
        vatProdPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Prod. Posting Group"'
        description:
          type: string
          description: 'Source: rec."CFL Description"'
        description2:
          type: string
          description: 'Source: rec."CFL Description 2"'
        quantity:
          type: string
          description: 'Source: rec."CFL Quantity"'
        unitOfMeasureCode:
          type: string
          description: 'Source: rec."CFL Unit of Measure Code"'
        unitPrice:
          type: string
          description: 'Source: rec."CFL Unit Price"'
        lineDiscountAmount:
          type: string
          description: 'Source: rec."CFL Line Discount Amount"'
        countryofOriginCode:
          type: string
          description: 'Source: rec."CFL Country of Origin Code"'
        deferralCode:
          type: string
          description: 'Source: rec."CFL Deferral Code"'
        tariffNo:
          type: string
          description: 'Source: rec."CFL Tariff No."'
        netWeight:
          type: string
          description: 'Source: rec."CFL Net Weight"'
        shortcutDimension1Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 1 Code"'
        shortcutDimension2Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 2 Code"'
        shortcutDimension3Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 3 Code"'
        shortcutDimension4Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 4 Code"'
        shortcutDimension5Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 5 Code"'
        shortcutDimension6Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 6 Code"'
        shortcutDimension7Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 7 Code"'
        shortcutDimension8Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 8 Code"'
        allowPaymentDiscount:
          type: string
          description: 'Source: rec."CFL Allow Payment Discount"'
        allowInvoiceDiscount:
          type: string
          description: 'Source: rec."CFL Allow Invoice Disc."'
        allocationAccountNo:
          type: string
          description: 'Source: Rec."CFL Selected Alloc. Acc. No."'
        orderNo:
          type: string
          description: 'Source: rec."CFL Order No."'
        '@x-odataKeyFields':
          type: string
          description: 'ODataKeyFields: SystemId'
          readOnly: true
    dynamate_bocountdynamics_v2.0.importSalesDocumentLines.Collection:
      type: object
      properties:
        value:
          type: array
          items:
            '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importSalesDocumentLines'
    dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: 'Source: rec.SystemId'
          readOnly: true
        documentType:
          type: string
          description: 'Source: rec."CFL Document Type"'
        documentNo:
          type: string
          description: 'Source: rec."CFL Document No."'
        lineNo:
          type: string
          description: 'Source: rec."CFL Line No."'
        type:
          type: string
          description: 'Source: rec."CFL Type"'
        no:
          type: string
          description: 'Source: rec."CFL No."'
        vatBusPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Bus. Posting Group"'
        vatProdPostingGroup:
          type: string
          description: 'Source: rec."CFL VAT Prod. Posting Group"'
        description:
          type: string
          description: 'Source: rec."CFL Description"'
        description2:
          type: string
          description: 'Source: rec."CFL Description 2"'
        quantity:
          type: string
          description: 'Source: rec."CFL Quantity"'
        unitOfMeasureCode:
          type: string
          description: 'Source: rec."CFL Unit of Measure Code"'
        directUnitCost:
          type: string
          description: 'Source: rec."CFL Direct Unit Cost"'
        lineDiscountAmount:
          type: string
          description: 'Source: rec."CFL Line Discount Amount"'
        nonDeductibleVATPct:
          type: string
          description: 'Source: rec."CFL Non Deductible VAT %"'
        licensePlate:
          type: string
          description: 'Source: rec."CFL License Plate"'
        deferralCode:
          type: string
          description: 'Source: rec."CFL Deferral Code"'
        tariffNo:
          type: string
          description: 'Source: rec."CFL Tariff No."'
        netWeight:
          type: string
          description: 'Source: rec."CFL Net Weight"'
        shortcutDimension1Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 1 Code"'
        shortcutDimension2Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 2 Code"'
        shortcutDimension3Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 3 Code"'
        shortcutDimension4Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 4 Code"'
        shortcutDimension5Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 5 Code"'
        shortcutDimension6Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 6 Code"'
        shortcutDimension7Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 7 Code"'
        shortcutDimension8Code:
          type: string
          description: 'Source: rec."CFL Shortcut Dimension 8 Code"'
        allowPaymentDiscount:
          type: string
          description: 'Source: rec."CFL Allow Payment Discount"'
        allowInvoiceDiscount:
          type: string
          description: 'Source: rec."CFL Allow Invoice Disc."'
        allocationAccountNo:
          type: string
          description: 'Source: Rec."CFL Selected Alloc. Acc. No."'
        '@x-odataKeyFields':
          type: string
          description: 'ODataKeyFields: SystemId'
          readOnly: true
    dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines.Collection:
      type: object
      properties:
        value:
          type: array
          items:
            '$ref': '#/components/schemas/dynamate_bocountdynamics_v2.0.importPurchaseDocumentLines'
security:
  -
    bearerAuth: []
