AEB

AEB Customs Inventory Management API

REST endpoint for Customs Inventory Management

Operations 6

POST /booking-requests/{id}/cancellation Cancels a booking and the belonging booking request #
GET /booking-requests/{id} Retrieves a booking request #
POST /booking-requests/{id} Creates a booking request #
DELETE /booking-requests/{id} Deletes a booking request #
GET /booking-request-types Retrieves supported booking request types #
GET /inventories/{inventory-key}/stock-accounts/balances Retrieves stock account balances #

Documentation

📖
Documentation
https://customsmanagement.docs.developers.aeb.com/
📖
APIReference
https://customsmanagement.docs.developers.aeb.com/reference/how-to-use-the-api-reference
📖
GettingStarted
https://customsmanagement.docs.developers.aeb.com/docs/your-first-consignment
📖
Documentation
https://customsmanagement.docs.developers.aeb.com/docs/about-product-classification
📖
Documentation
https://trade-compliance.docs.developers.aeb.com/
📖
APIReference
https://trade-compliance.docs.developers.aeb.com/reference/compliance-foundation
📖
GettingStarted
https://trade-compliance.docs.developers.aeb.com/docs/accessing-the-rest-services
📖
Documentation
https://transport-freight-management.docs.developers.aeb.com/
📖
APIReference
https://transport-freight-management.docs.developers.aeb.com/reference/shipping
📖
APIReference
https://transport-freight-management.docs.developers.aeb.com/reference/createroutingtask
📖
APIReference
https://transport-freight-management.docs.developers.aeb.com/reference/getshipmentsevents
📖
Documentation
https://transport-freight-management.docs.developers.aeb.com/docs/carrier-event-service/llms.txt
📖
APIReference
https://transport-freight-management.docs.developers.aeb.com/reference/getbillingscenario
📖
Documentation
https://transport-freight-management.docs.developers.aeb.com/docs/logistics-cost-management/llms.txt
📖
APIReference
https://transport-freight-management.docs.developers.aeb.com/reference/getworkstations
📖
Documentation
https://transport-freight-management.docs.developers.aeb.com/docs/document-service/llms.txt
📖
Documentation
https://sap-plugins.docs.developers.aeb.com/

Specifications

SDKs

Other Resources

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/aeb-customs-inventory-management-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

aeb-customs-inventory-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HTTP Customs Inventory Management API
  description: Thank you for using our HTTP API documentation.
  version: '1.0'
servers:
- url: https://rz3.aeb.de/test2cim/rest
security:
- SWAGGER_AUTH_KEY: []
- BASIC_AUTH: []
tags:
- name: Customs Inventory Management
  description: REST endpoint for Customs Inventory Management
paths:
  /booking-requests/{id}/cancellation:
    post:
      tags:
      - Customs Inventory Management
      summary: Cancels a booking and the belonging booking request
      description: Cancels a booking in the customs inventory management and marks the respective booking request as cancelled. If the booking request does not exist or is in a state in which no cancellation is allowed, an error message will be created and the cancellation will be stopped.
      operationId: cancelBooking
      parameters:
      - name: client_ident_code
        in: query
        description: Client identification code.
        required: true
        schema:
          maxLength: 10
          type: string
        example: APITEST
      - name: id
        in: path
        description: Unique id to identify a booking request.
        required: true
        schema:
          maxLength: 64
          type: string
      - name: cancellation_reason
        in: query
        description: Free-form text that documents the reason for the cancellation.
        required: true
        schema:
          maxLength: 1000
          type: string
        example: Delivery item 123 was incorrectly labeled as customs warehouse item.
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. The cancelled booking request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMBookingRequestsResponseDTO'
        '400':
          description: Bad request. Missing or invalid data in the request body.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '404':
          description: Not found. Booking request does not exist.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '409':
          description: Conflict. The booking request with the id is locked or does not allow the cancellation.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
  /booking-requests/{id}:
    get:
      tags:
      - Customs Inventory Management
      summary: Retrieves a booking request
      description: Rretrieves a booking request with the requested business object id.
      operationId: getBookingRequest
      parameters:
      - name: client_ident_code
        in: query
        description: Client identification code.
        required: true
        schema:
          maxLength: 10
          type: string
        example: APITEST
      - name: id
        in: path
        description: Unique id to identify a booking request.
        required: true
        schema:
          maxLength: 64
          type: string
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. The requested booking request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMBookingRequestsResponseDTO'
        '400':
          description: Bad request. Missing or invalid data in the request body.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '404':
          description: Not found. Booking request does not exist.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
    post:
      tags:
      - Customs Inventory Management
      summary: Creates a booking request
      description: Creates a booking request in order to request a booking from and/or to customs inventory management systems and to trigger the belonging customs declarations, if necessary. If any fields of the booking request are empty which are mandatory, an error message will be created and the creation stopped. Only if the mandatory fields are filled the booking request will be created.
      operationId: createBookingRequestREST
      parameters:
      - name: id
        in: path
        description: Unique id to identify a booking request.
        required: true
        schema:
          maxLength: 64
          type: string
      requestBody:
        description: The booking request data
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CIMCreateBookingRequestRequestDTO'
            examples:
              Minimal example:
                description: Example with a minimum set of required fields.
                value:
                  clientIdentCode: APITEST
                  bookingRequest:
                    profileCode: STD
                    type: CUSTOMS_WAREHOUSE_TO_FREE_CIRCULATION
                    material:
                      materialId: M-1000
                    quantity:
                      value: '10'
                      uneceUnit: NAR
                    decisiveDate:
                      dateInTimezone: '1970-01-01 00:00:00'
                      timezone: UTC
              Full example:
                description: Example with all fields filled (except additional declaration data).
                value:
                  clientIdentCode: APITEST
                  userName: API_TEST
                  resultLanguageIsoCodes:
                  - en
                  bookingRequest:
                    referenceNumber: BR-1000
                    referenceEntry:
                      registrationNumber: 25DE-1000
                      sequenceNumber: '11111'
                    remark: Remark
                    profileCode: STD
                    personInCharge:
                      forename: Jane
                      surname: Doe
                      initials: JD
                    type: CUSTOMS_WAREHOUSE_TO_FREE_CIRCULATION
                    identitiesRemoval:
                    - REMOVAL-ID-1000
                    identitiesEntry:
                    - ENTRY-ID-1000
                    decisiveDate:
                      dateInTimezone: '1970-01-01 00:00:00'
                      timezone: UTC
                    material:
                      materialId: M-1000
                    quantity:
                      value: '10'
                      uneceUnit: NAR
              Full example (with add. declaration data):
                description: Example with all fields filled.
                value:
                  clientIdentCode: APITEST
                  userName: API_TEST
                  resultLanguageIsoCodes:
                  - en
                  bookingRequest:
                    referenceNumber: BR-1000
                    referenceEntry:
                      registrationNumber: 25DE-1000
                      sequenceNumber: '11111'
                    remark: Remark
                    profileCode: STD
                    personInCharge:
                      forename: Jane
                      surname: Doe
                      initials: JD
                    type: CUSTOMS_WAREHOUSE_TO_FREE_CIRCULATION
                    identitiesRemoval:
                    - REMOVAL-ID-1000
                    identitiesEntry:
                    - ENTRY-ID-1000
                    decisiveDate:
                      dateInTimezone: '1970-01-01 00:00:00'
                      timezone: UTC
                    material:
                      materialId: M-1000
                    quantity:
                      value: '10'
                      uneceUnit: NAR
                    additionalDeclarationData:
                      transactionNature: '11'
                      netPrice:
                        value: '10'
                        currencyIsoCode: EUR
                      netMass:
                        value: '10'
                        uneceUnit: KGM
                      grossMass:
                        value: '15'
                        uneceUnit: KGM
                      additionalQuantities:
                      - value: '1'
                        unit: MTK
                      packages:
                      - numberOfPackages: '10'
                        typeUneceCode: CS
                        marksAndNumbers: Marks
                      originCountryCode: CN
                      preferentialOriginCountryCode: CN
        required: true
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. The created booking request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMBookingRequestsResponseDTO'
        '400':
          description: Bad request. Missing or invalid data in the request body.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '409':
          description: Conflict. A booking request with the id already exists.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
    delete:
      tags:
      - Customs Inventory Management
      summary: Deletes a booking request
      description: Deletes a booking request. If the booking request does not exist or is in a state in which no deletion is allowed, an error message will be created and the deletion will be stopped.
      operationId: deleteBookingRequest
      parameters:
      - name: client_ident_code
        in: query
        description: Client identification code.
        required: true
        schema:
          maxLength: 10
          type: string
        example: APITEST
      - name: id
        in: path
        description: Unique id to identify a booking request.
        required: true
        schema:
          maxLength: 64
          type: string
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. The updated/created booking request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMBookingRequestsResponseDTO'
        '400':
          description: Bad request. Missing or invalid data in the request body.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '404':
          description: Not found. Booking request does not exist.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '409':
          description: Conflict. The booking request with the ids is locked or does not allow deletion any longer.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
  /booking-request-types:
    get:
      tags:
      - Customs Inventory Management
      summary: Retrieves supported booking request types
      description: Returns a list of supported codes and its descriptions which can be used as booking request type.
      operationId: getBookingRequestTypes
      parameters:
      - name: client_ident_code
        in: query
        description: Client identification code.
        required: true
        schema:
          maxLength: 10
          type: string
        example: APITEST
      - name: result_language_iso_code
        in: query
        description: '2-letter ISO code of the language in which texts will be returned. '
        schema:
          maxLength: 2
          type: string
        example: en
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. The supported booking request type codes and its descriptions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMGetBookingRequestTypesResponseDTO'
  /inventories/{inventory-key}/stock-accounts/balances:
    get:
      tags:
      - Customs Inventory Management
      summary: Retrieves stock account balances
      description: Returns the stock account balances for the requested inventory.
      operationId: getStockAccountBalances
      parameters:
      - name: inventory-key
        in: path
        description: Key of the target inventory.
        required: true
        schema:
          type: string
      - name: client_ident_code
        in: query
        description: Client identification code.
        required: true
        schema:
          maxLength: 10
          type: string
        example: APITEST
      - name: stock_account_keys
        in: query
        description: <p>List with keys of stock accounts for which stock account balances will be returned.</p><p>If the list is empty, stock balances with zero quantity are not returned, these are returned only for the requested stock accounts.</p><p>Maximum number of keys = 99. Empty and repeated keys are not allowed.</p>
        schema:
          maxItems: 99
          uniqueItems: true
          type: array
          items:
            minLength: 1
            type: string
      - name: group_by_identities
        in: query
        description: True if the result is to be grouped by identities - Default is false.
        schema:
          type: boolean
      responses:
        '401':
          description: Unauthorized. Missing or invalid authorization token.
        '405':
          description: Method not allowed.
        '406':
          description: Not Acceptable.
        '415':
          description: Unsupported Media Type. Use application/json
        '500':
          description: Other errors like an internal server error. See response for details.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
        '200':
          description: OK. Stock account balances inquiry result data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CIMStockAccountBalancesResponseDTO'
        '404':
          description: Not found. Stock does not exist.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDTO'
components:
  schemas:
    ErrorResponseMessageDTO:
      type: object
      properties:
        messageIdentCode:
          type: string
          description: Code identifying the type of the error.
          example: EMPTY_MANDATORY_FIELD
        messageTexts:
          type: array
          description: Description of the error in the requested languages.
          items:
            $ref: '#/components/schemas/TextInLanguageDTO'
        field:
          type: string
          description: Pointer to the data field which contains the erroneous value. This field is only filled in case of field errors.
          example: item[2].itemNumber
        invalidValue:
          type: string
          description: Textual representation of the erroneous value. This field is only filled in case of field errors.
          example: 'null'
      description: DTO for general errors messages or errors messages related to a contraint violation of a certain field.
    CIMCreateBookingRequestRequestDTO:
      required:
      - bookingRequest
      type: object
      properties:
        clientIdentCode:
          type: string
          description: '<p>Client identification code.</p><p>Maximum length: 10</p>'
          example: APITEST
        userName:
          type: string
          description: <p>User who initiated the request from the client system.</p><p>If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.</p><p>If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.</p><p>Actual authentication is handled separately via the request's headers, so no password is required in the request's data.</p>
          example: API_TEST
        resultLanguageIsoCodes:
          type: array
          description: <p>2-letter ISO codes of the languages in which texts will be returned.</p><p>English ('en') and German ('de') are typically supported by default. Other languages may be supported.</p><p>Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.</p>
          example:
          - en
          - de
          items:
            type: string
            description: <p>2-letter ISO codes of the languages in which texts will be returned.</p><p>English ('en') and German ('de') are typically supported by default. Other languages may be supported.</p><p>Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.</p>
            example: '["en","de"]'
        bookingRequest:
          $ref: '#/components/schemas/CIMBookingRequestDTO'
      description: The request DTO for updating a booking request.
    CIMDocumentReferenceDTO:
      required:
      - date
      - referenceNumber
      - type
      type: object
      properties:
        type:
          maxLength: 4
          type: string
          description: Type of the document reference.
        referenceNumber:
          maxLength: 70
          type: string
          description: Reference number of the document reference.
        date:
          $ref: '#/components/schemas/CIMDateAndZoneDTO'
        documentAtHandFlag:
          type: boolean
          description: Flag to indicate whether the referenced document is at hand at the time of booking.
        writeOffQuantity:
          $ref: '#/components/schemas/CIMCustomsQuantityDTO'
      description: DTO to hold data of a document references.
    CIMQuantityDTO:
      type: object
      properties:
        value:
          multipleOf: 0.001
          maximum: 999999999999.999
          minimum: 0.001
          type: number
          description: The value of the quantity
          example: 10.0
        unit:
          maxLength: 10
          type: string
          description: 'Identifier of the quantity unit. Use quantity units known from your AEB application or alternatively domain specific or legacy quantity codes, but not the UNECE code.

            For UNECE unit codes use the ''uneceUnit'' field.<br/>



            Weight unit codes:

            * `kg` - Kilogram

            * `gr` - Gram

            * `t`  - Metric ton

            * `lb` - Pound

            * `oz` - Ounce


            Length unit codes:

            * `m`  - Meter

            * `mm` - Milimeter

            * `cm` - Centimeter

            * `dm` - Decimeter

            * `km` - Kilometer

            * `ft` - Foot

            * `in` - Inch

            * `mi` - Mile

            * `nm` - Nanometer

            * `µm` - Micrometer


            Volume unit codes:

            * `ccm`  - Cubic centimeter

            * `cdm`  - Cubic decimeter

            * `m3`   - Cubic meter

            * `ml`   - Milliliter

            * `cl`   - Centiliter

            * `hl`   - Hectoliter

            * `l`    - Liter

            * `cuin` - Cubic inch

            * `cuft` - Cubic foot


            Quantity unit codes:

            * `St`   - Piece

            * `Paar` - Pair


            Density unit codes:

            * `g/ccm` - grams per cubic centimeter

            * `kg/m3` - kilogram per cubic meter


            Time unit codes:

            * `h`   - Hour

            * `stu` - Hour

            * `std` - Hour

            * `oph` - Operational hour

            * `s`   - Second

            * `min` - Minute

            * `15m` - 15 mins

            * `d`   - Day

            * `tag` - Day

            * `wch` - Week

            * `mon` - Month

            * `jhr` - Year

            * `mis` - Millisecond

            * `ms`  - Microsecond

            * `ns`  - Nanosecond

            * `ps`  - Picosecond


            Area unit codes:

            * `qm`  - Square meter

            * `qmm` - Square millimeter

            * `qcm` - Square centimeter

            * `qdm` - Square decimeter

            '
          example: St
        uneceUnit:
          maxLength: 3
          type: string
          description: 'Identifier of the quantity unit based on ''Recommendation No. 20 - Units of Measure used in International Trade''.<br/>


            Weight unit codes:

            * `KGM` - Kilogram

            * `GRM` - Gram (10⁻³ kg)

            * `TNE` - Metric ton (10³ kg)

            * `LBR` - Pound (0,453 592 37 kg)

            * `ONZ` - Ounce (2,834 952 x 10⁻² kg)


            Length unit codes:

            * `MTR` - Meter

            * `CMT` - Centimeter (10⁻² m)

            * `MMT` - Millimeter (10⁻³ m)

            * `KMT` - Kilometer (10³ m)

            * `YRD` - Yard (0,914 4 m)

            * `FOT` - Foot (0,304 8 m)

            * `INH` - Inch (25,4 x 10⁻³ m)

            * `SMI` - Mile (statute mile) (1609,344 m)


            Volume unit codes:

            * `MTQ` - Cubic meter

            * `CMQ` - Cubic centimeter (10⁻⁶ m³)

            * `HLT` - Hectoliter (10⁻¹ m³)

            * `LTR` - Liter (10⁻³ m³)

            * `MLT` - Milliliter (10⁻⁶ m³)

            * `YDQ` - Cubic yard (0,764 555 m³)

            * `FTQ` - Cubic foot (2,831 685 x 10⁻² m³)

            * `INQ` - Cubic inch (16,387 064 x 10⁻⁶ m³)


            Area unit codes:

            * `MTK` - Square meter

            * `CMK` - Square centimeter (10⁻⁴ m²)

            * `MMK` - Square millimeter (10⁻⁶ m²)

            * `YDK` - Square yard (8.361 274 x 10⁻¹ m² )

            * `FTK` - Square foot (9,290 304 x 10⁻² m²)

            * `INK` - Square inch (6,451 6 x 10⁻⁴ m²)


            Quantity unit codes:

            * `NAR` - Number of articles

            * `NPR` - Number of pairs

            * `CEN` - A unit of count defining the number of units in multiples of 100

            * `MIL` - A unit of count defining the number of units in multiples of 1000

            '
          example: NAR
          enum:
          - KGM
          - GRM
          - TNE
          - LBR
          - ONZ
          - MTR
          - CMT
          - MMT
          - KMT
          - YRD
          - FOT
          - INH
          - SMI
          - MTQ
          - CMQ
          - HLT
          - LTR
          - MLT
          - YDQ
          - FTQ
          - INQ
          - MTK
          - CMK
          - MMK
          - YDK
          - FTK
          - INK
          - NAR
          - NPR
          - CEN
          - MIL
      description: Value and unit of the remaining quantity.
    CIMWeightDTO:
      type: object
      properties:
        value:
          multipleOf: 0.001
          maximum: 999999999999.999
          minimum: 0.001
          type: number
          description: The value of the weight
          example: 10.0
        unit:
          maxLength: 10
          type: string
          description: 'Identifier of the weight unit known from your AEB application, but not the UNECE code.<br/>

            For UNECE unit codes use the ''uneceUnit'' field.

            * `kg` - Kilogram

            * `gr` - Gram

            * `t`  - Metric ton

            * `lb` - Pound

            * `oz` - Ounce

            '
          example: kg
          enum:
          - kg
          - gr
          - t
          - lb
          - oz
        uneceUnit:
          maxLength: 3
          type: string
          description: 'Identifier of the weight unit based on ''Recommendation No. 20 - Units of Measure used in International Trade''.

            * `KGM` - Kilogram

            * `GRM` - Gram (10⁻³ kg)

            * `TNE` - Metric ton (10³ kg)

            * `LBR` - Pound (0,453 592 37 kg)

            * `ONZ` - Ounce (2,834 952 x 10⁻² kg)

            '
          example: KGM
          enum:
          - KGM
          - GRM
          - TNE
          - LBR
          - ONZ
      description: The gross mass of the goods to book.
    CIMBookingRequestStatusDTO:
      type: object
      properties:
        identCode:
          maxLength: 15
          type: string
          description: IdentCode of the status.
          example: BOOKED
          enum:
          - NEW
          - BASIC_DATA
          - BOOKED
          - TRANSFER_INIT
          - COMPLETE
          - CANCELLED
      description: DTO which contains information about the status of a booking request.
      readOnly: true
    CIMGetBookingRequestTypesResponseDTO:
      type: object
      properties:
        types:
          type:
          - array
          - 'null'
          description: List of possible booking request types.
          items:
            $ref: '#/components/schemas/ICCodeDTO'
        hasWarnings:
          type: boolean
          description: <p>True, if there are any error messages.</p><p>Error details are provided in the messages[] array.</p>
          example: true
        messages:
          type: array
          description: <p>Error or warning messages at the request level.</p><p>There may be additional messages[] arrays at lower data levels as specified in the documentation.</p>
          items:
            $ref: '#/components/schemas/ResponseMessageDTO'
      description: The response DTO to the request for the supported booking request types.
    CIMBookingRequestsResponseDTO:
      type: object
      properties:
        bookingRequests:
          type:
          - array
          - 'null'
          description: List of the booking requests.
          items:
            $ref: '#/components/schemas/CIMBookingRequestResultDTO'
        hasWarnings:
          type: boolean
          description: <p>True, if there are any error messages.</p><p>Error details are provided in the messages[] array.</p>
          example: true
        messages:
          type: array
          description: <p>Error or warning messages at the request level.</p><p>There may be additional messages[] arrays at lower data levels as specified in the documentation.</p>
          items:
            $ref: '#/components/schemas/ResponseMessageDTO'
      description: The response DTO to the creation request for booking requests.
    CIMStockAccountBalancesDTO:
      type: object
      properties:
        stockAccountKey:
          type: string
          description: Key of the stock account for which the balances information will be returned.
        stockAccountBalances:
          type: array
          description: Collection of stock account balances information.
          items:
            $ref: '#/components/schemas/CIMStockAccountBalanceDTO'
      description: Result data of stock account balances information about remaining quantities, storage locations and identities.
    CIMBookingRequestReferenceEntryDTO:
      required:
      - registrationNumber
      - sequenceNumber
      type: object
      properties:
        registrationNumber:
          maxLength: 21
          type: string
          description: MRN or ATLAS registration number of the reference entry from which the quantity is reduced or increased.
          example: 25DE9459DEM00016R5
        sequenceNumber:
          minimum: 1
          maxLength: 5
          type: integer
          description: Sequence number of the reference entry from which the quantity is reduced or increased.
          format: int32
          example: 11111
      description: DTO to hold data of a reference entry booking request.
    CIMAmountOfMoneyDTO:
      required:
      - value
      type: object
      properties:
        value:
          multipleOf: 0.01
          maximum: 9999999999999.99
          minimum: 0.01
          type: number
          description: 'The value of the amount of money '
          example: 25.0
        currencyIsoCode:
          maxLength: 3
          type: string
          description: The currency isoCode of the amount of money
          example: EUR
      description: An amount of money with a value and an currency ISO code.
    ICCodeDTO:
      type:
      - object
      - 'null'
      properties:
        code:
          maxLength: 50
          type: string
          description: The ident code value.
        descriptions:
          maxLength: 50
          type: array
          description: List of Human readable description of the code in the requested languages.
          items:
            $ref: '#/components/schemas/TextInLanguageDTO'
      description: The DTO object containing information of a code and its descriptions in given languages.
    CIMDateAndZoneDTO:
      type: object
      properties:
        dateInTimezone:
          maxLength: 19
          minLength: 19
          pattern: yyyy-MM-dd HH:mm:ss
          type: string
          description: <p>String representation of the date/time stamp in the format yyyy-MM-dd HH:mm:ss</p>
          example: '2023-08-26 08:59:59'
        timezone:
          maxLength: 50
          type: string
          description: <p>Time zone of the timestamp.</p>
          example: GMT+1
      description: The date of the query.
    ProblemDTO:
      type: object
      properties:
        type:
          type: string
          description: A URI reference that uniquely identifies the problem type in the context of the provided API. Opposed to the specification in RFC-7807, it neither points to a human-readable documentation nor globally unique for the problem type.
          default: about:blank
        status:
          type: integer
          description: The HTTP status code generated by the origin server for this occurren

# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/aeb/refs/heads/main/openapi/aeb-customs-inventory-management-api-openapi.yml